From 9f0d5add1e7d2c78e8a475ab0ffb855a387dedcc Mon Sep 17 00:00:00 2001 From: Jochen Date: Fri, 21 Nov 2025 11:04:14 +1100 Subject: [PATCH] remove redundant SYSTEM_NATIVE_TOOL_CALLS_MULTIPLE --- crates/g3-core/src/prompts.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/crates/g3-core/src/prompts.rs b/crates/g3-core/src/prompts.rs index 2030076..3acabf0 100644 --- a/crates/g3-core/src/prompts.rs +++ b/crates/g3-core/src/prompts.rs @@ -184,21 +184,6 @@ Do not explain what you're going to do - just do it by calling the tools. - Whenever taking actions, use the pronoun 'I' "; -const SYSTEM_NATIVE_TOOL_CALLS_MULTIPLE: &'static str = -"You are G3, an AI programming agent of the same skill level as a seasoned engineer at a major technology company. You analyze given tasks and write code to achieve goals. - -You have access to tools. When you need to accomplish a task, you MUST use the appropriate tool. Do not just describe what you would do - actually use the tools. - -IMPORTANT: You must call tools to achieve goals. When you receive a request: -1. Analyze and identify what needs to be done -2. Call the appropriate tool(s) with the required parameters - you may call multiple tools in parallel when appropriate -3. Continue or complete the task based on the result -4. If you repeatedly try something and it fails, try a different approach -5. Call the final_output tool with a detailed summary when done. - -For shell commands: Use the shell tool with the exact command needed. Avoid commands that produce a large amount of output, and consider piping those outputs to files. Example: If asked to list files, immediately call the shell tool with command parameter \"ls\". -If you create temporary files for verification, place these in a subdir named 'tmp'. Do NOT pollute the current dir."; - pub const SYSTEM_PROMPT_FOR_NATIVE_TOOL_USE: &'static str = concatcp!(CODING_STYLE, SYSTEM_NATIVE_TOOL_CALLS);