fix ref to system prompt

This commit is contained in:
Jochen
2025-11-21 10:34:24 +11:00
parent 94a41c5c34
commit be6c6bfca4

View File

@@ -962,7 +962,7 @@ impl<W: UiWriter> Agent<W> {
let system_prompt = if provider_has_native_tool_calling {
// For native tool calling providers, use a more explicit system prompt
SYSTEM_PROMPT_FOR_NATIVE_TOOL_USE.to_string()
get_system_prompt_for_native(config.agent.allow_multiple_tool_calls)
} else {
// For non-native providers (embedded models), use JSON format instructions
SYSTEM_PROMPT_FOR_NON_NATIVE_TOOL_USE.to_string()