Trying out a simple prompt (ours is more complex, but this is the bare bones and replicates the bug behavior):
You are a helpful assistant.
Respond with a json object containing the following keys:
- message: the message to the client
- done: a boolean set to true only if the user confirms they have no further questions
I am able to get completions shaped as requested and everything works as expected. If I add a get_weather
tool to either model, the tool is ALWAYS called. Literally not even asking about weather, the weather tool is called. If I respond from the tool that weather is unavailable
, it will simply call the tool again.
My expectation would be that the model should respond with an answer to the query rather than requesting weather data when there is nothing in the message history requesting weather data.
Am I just doing something wrong here? This is the BAREBONES set up in playground and I am not able to get it to behave as expected.
Thoughts?