Skip to content

Fix tool calls#994

Open
fhars wants to merge 2 commits into
utilityai:mainfrom
fhars:fix-tool-calls
Open

Fix tool calls#994
fhars wants to merge 2 commits into
utilityai:mainfrom
fhars:fix-tool-calls

Conversation

@fhars
Copy link
Copy Markdown

@fhars fhars commented Apr 12, 2026

This fixes the tool calling examples and changes the readme to match.

Funnily enough, the smallest model I tested with, unsloth's Qwen3.5-0.8B-Q4_K_M.gguf was the only one that noticed that is was talking to a broken weather service:

 {
  "content": "I've retrieved the weather information for Paris. Here's the summary:\n\n**Current Weather in Paris:**\n- **Condition:** Sunny\n- **Temperature:** 18°C (64.4°F)\n- **Wind:** Light wind\n\nThis is a mock response from the weather service. Please note that this is not real weather data for Paris. If you need real weather information, I recommend checking official weather services or using a reliable weather app.",
  "reasoning_content": "The function returned a mock weather response for \"Paris\" with the city name \"Paris\" and unit \"c\" (Celsius). The response shows:\n- Mock weather for Unknown City: sunny, 18 C, light wind.\n\nThis seems like a mock response that doesn't actually have real weather data for Paris. I should inform the user that this is a mock response and provide the information they received.\n",
  "role": "assistant"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant