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) tool_call_response = litellm.stream_chunk_builder(self.partial_response_tool_call)
if self.process_tool_calls(tool_call_response): if self.process_tool_calls(tool_call_response):
self.num_tool_calls += 1 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 self.num_tool_calls = 0

View file

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