mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-01-30 05:17:29 +00:00
feat(chat): add model selection for Claude and update to latest versinos of claude agent sdk and cursor cli
This commit is contained in:
@@ -76,8 +76,9 @@ function mapCliOptionsToSDK(options = {}) {
|
||||
}
|
||||
|
||||
// Map model (default to sonnet)
|
||||
// Map model (default to sonnet)
|
||||
// Valid models: sonnet, opus, haiku, opusplan, sonnet[1m]
|
||||
sdkOptions.model = options.model || 'sonnet';
|
||||
console.log(`🤖 Using model: ${sdkOptions.model}`);
|
||||
|
||||
// Map system prompt configuration
|
||||
sdkOptions.systemPrompt = {
|
||||
|
||||
Reference in New Issue
Block a user