mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
examples/tools.py ignores defined tools and spits out usual LLM results. #299
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nise on GitHub (Sep 17, 2025).
I have taken the provided example and manipulated the function to add up or subtract two numbers. However, the LLM alway does the calculation without using the defined tools.
@ParthSareen commented on GitHub (Sep 17, 2025):
it's up to the model to use tools or not - i'd also recommend
qwen3for tool calling instead ofllama3.1@Mohamed0Hegazi commented on GitHub (Sep 17, 2025):
استدعاء الادوات
Stop qwen3