Fix typo in tool_prompt: add missing space before 'available'

This commit is contained in:
Quinlan Jager 2025-05-06 12:10:56 -07:00
parent de35fb6a2c
commit 0fe93b7979
2 changed files with 8 additions and 10 deletions

View file

@ -1549,7 +1549,7 @@ class Coder:
tool_call_response = litellm.stream_chunk_builder(self.partial_response_tool_call)
if self.process_tool_calls(tool_call_response):
self.num_tool_calls += 1
return self.run(with_message="Continue", preproc=False)
return self.run(with_message="Continue with tool call response", preproc=False)
self.num_tool_calls = 0

View file

@ -56,15 +56,13 @@ Do not edit these files!
no_shell_cmd_prompt = ""
no_shell_cmd_reminder = ""
tool_prompt = """Answer the user's request using the relevant tool(s), if they are available.
Check that all the required parameters for each tool call are provided or can reasonably be
inferred from context. IF there are no relevant tools or there are missing values for required
parameters, ask the user to supply these values; otherwise proceed with the tool calls. If the
user provides a specific value for a parameter (for example provided in quotes), make sure to
use that value EXACTLY.
DO NOT make up values for or ask about optional parameters. Carefully analyze descriptive terms in
the request as they may indicate required parameter values that should be included even if not
explicitly quoted.
tool_prompt = """ALWAYS Answer the user's request using the relevant tool(s), if they are
available.
Do your best to infer required parameters from your context. If the user provides a
specific value for a parameter (for example provided in quotes), make sure to use that
value EXACTLY.
Carefully analyze descriptive terms in the request as they may indicate required parameter values
that should be included even if not explicitly quoted.
"""
rename_with_shell = ""