This commit is contained in:
Dhanji Prasanna
2025-09-26 21:38:01 +10:00
parent dd20e0bb01
commit 5ef4a74468
3 changed files with 4 additions and 2 deletions

View File

@@ -565,7 +565,7 @@ impl Agent {
let provider = self.providers.get(None)?;
let system_prompt = if provider.has_native_tool_calling() {
// For native tool calling providers, use a more explicit system prompt
"You are G3, a general-purpose AI agent. Your goal is to analyze and solve problems by writing code.
"You are G3, a general-purpose AI agent. Your goal is to analyze and solve problems by writing code. The current directory always contains a project that the user is working on and likely referring to.
You have access to tools. When you need to accomplish a task, you MUST use the appropriate tool immediately. Do not just describe what you would do - actually use the tools.