fix provider switch not presistingin session (#903)
* fix provider switch not presistingin session * fix broken tests
This commit is contained in:
@@ -496,7 +496,7 @@ ${CYBER_RISK_INSTRUCTION}`,
|
||||
systemPromptSection('ant_model_override', () =>
|
||||
getAntModelOverrideSection(),
|
||||
),
|
||||
systemPromptSection('env_info_simple', () =>
|
||||
systemPromptSection(`env_info_simple:${model}`, () =>
|
||||
computeSimpleEnvInfo(model, additionalWorkingDirectories),
|
||||
),
|
||||
systemPromptSection('language', () =>
|
||||
@@ -519,7 +519,7 @@ ${CYBER_RISK_INSTRUCTION}`,
|
||||
'MCP servers connect/disconnect between turns',
|
||||
),
|
||||
systemPromptSection('scratchpad', () => getScratchpadInstructions()),
|
||||
systemPromptSection('frc', () => getFunctionResultClearingSection(model)),
|
||||
systemPromptSection(`frc:${model}`, () => getFunctionResultClearingSection(model)),
|
||||
systemPromptSection(
|
||||
'summarize_tool_results',
|
||||
() => SUMMARIZE_TOOL_RESULTS_SECTION,
|
||||
|
||||
Reference in New Issue
Block a user