mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
fix: update dependencies and add settings for npm permissions
This commit is contained in:
@@ -101,7 +101,7 @@ ${lastMessageText}
|
||||
// model: google("gemini-2.5-pro"),
|
||||
// model: bedrock('anthropic.claude-sonnet-4-20250514-v1:0'),
|
||||
system: systemMessage,
|
||||
model: openai.chat('gpt-5'),
|
||||
model: bedrock('global.anthropic.claude-sonnet-4-5-20250929-v1:0'),
|
||||
// model: openrouter('moonshotai/kimi-k2:free'),
|
||||
// model: model,
|
||||
// providerOptions: {
|
||||
@@ -111,11 +111,11 @@ ${lastMessageText}
|
||||
// },
|
||||
// }
|
||||
// },
|
||||
providerOptions: {
|
||||
openai: {
|
||||
reasoningEffort: "minimal"
|
||||
},
|
||||
},
|
||||
// providerOptions: {
|
||||
// openai: {
|
||||
// reasoningEffort: "minimal"
|
||||
// },
|
||||
// },
|
||||
messages: enhancedMessages,
|
||||
tools: {
|
||||
// Client-side tool that will be executed on the client
|
||||
|
||||
Reference in New Issue
Block a user