mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 15:04:16 -07:00
feat(core): Align internal agent settings with configs exposed through settings.json (#16458)
This commit is contained in:
@@ -281,12 +281,14 @@ export function markdownToAgentDefinition(
|
||||
},
|
||||
modelConfig: {
|
||||
model: modelName,
|
||||
temp: markdown.temperature ?? 1,
|
||||
top_p: 0.95,
|
||||
generateContentConfig: {
|
||||
temperature: markdown.temperature ?? 1,
|
||||
topP: 0.95,
|
||||
},
|
||||
},
|
||||
runConfig: {
|
||||
max_turns: markdown.max_turns,
|
||||
max_time_minutes: markdown.timeout_mins || 5,
|
||||
maxTurns: markdown.max_turns,
|
||||
maxTimeMinutes: markdown.timeout_mins || 5,
|
||||
},
|
||||
toolConfig: markdown.tools
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user