mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
change model back to gpt5
This commit is contained in:
@@ -84,23 +84,23 @@ ${lastMessageText}
|
|||||||
|
|
||||||
const result = streamText({
|
const result = streamText({
|
||||||
// model: google("gemini-2.5-flash-preview-05-20"),
|
// model: google("gemini-2.5-flash-preview-05-20"),
|
||||||
model: google("gemini-2.5-pro"),
|
// model: google("gemini-2.5-pro"),
|
||||||
// model: bedrock('anthropic.claude-sonnet-4-20250514-v1:0'),
|
// model: bedrock('anthropic.claude-sonnet-4-20250514-v1:0'),
|
||||||
// model: openai.chat('gpt-5'),
|
model: openai.chat('gpt-5'),
|
||||||
// model: openrouter('moonshotai/kimi-k2:free'),
|
// model: openrouter('moonshotai/kimi-k2:free'),
|
||||||
// model: model,
|
// model: model,
|
||||||
providerOptions: {
|
|
||||||
google: {
|
|
||||||
thinkingConfig: {
|
|
||||||
thinkingBudget: 128,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// providerOptions: {
|
// providerOptions: {
|
||||||
// openai: {
|
// google: {
|
||||||
// reasoningEffort: "minimal"
|
// thinkingConfig: {
|
||||||
// },
|
// thinkingBudget: 128,
|
||||||
|
// },
|
||||||
|
// }
|
||||||
// },
|
// },
|
||||||
|
providerOptions: {
|
||||||
|
openai: {
|
||||||
|
reasoningEffort: "minimal"
|
||||||
|
},
|
||||||
|
},
|
||||||
messages: enhancedMessages,
|
messages: enhancedMessages,
|
||||||
tools: {
|
tools: {
|
||||||
// Client-side tool that will be executed on the client
|
// Client-side tool that will be executed on the client
|
||||||
|
|||||||
Reference in New Issue
Block a user