reorder system prompt

This commit is contained in:
Jochen
2025-11-26 09:30:26 +11:00
parent 2e252cd298
commit bd29addefa

View File

@@ -189,7 +189,7 @@ Do not explain what you're going to do - just do it by calling the tools.
"; ";
pub const SYSTEM_PROMPT_FOR_NATIVE_TOOL_USE: &'static str = pub const SYSTEM_PROMPT_FOR_NATIVE_TOOL_USE: &'static str =
concatcp!(CODING_STYLE, SYSTEM_NATIVE_TOOL_CALLS); concatcp!(SYSTEM_NATIVE_TOOL_CALLS, CODING_STYLE);
/// Generate system prompt based on whether multiple tool calls are allowed /// Generate system prompt based on whether multiple tool calls are allowed
pub fn get_system_prompt_for_native(allow_multiple: bool) -> String { pub fn get_system_prompt_for_native(allow_multiple: bool) -> String {
@@ -371,4 +371,4 @@ If you can complete it with 1-2 tool calls, skip TODO.
"; ";
pub const SYSTEM_PROMPT_FOR_NON_NATIVE_TOOL_USE: &'static str = pub const SYSTEM_PROMPT_FOR_NON_NATIVE_TOOL_USE: &'static str =
concatcp!(CODING_STYLE, SYSTEM_NON_NATIVE_TOOL_USE); concatcp!(SYSTEM_NON_NATIVE_TOOL_USE, CODING_STYLE);