Skip to content

Painting pixels...why? #68

Answered by nbonamy
jdeepwell asked this question in Q&A
Feb 6, 2025 · 5 comments · 1 reply
Discussion options

You must be logged in to vote

Tools are exposed part of the API call to the models. Witsy (as every other software) provides a list of tools and importantly a tool_choice flag which indicates how the model should use tools. Common values are auto (LLM decides), any (force LLM to use one of the tools (of its choice)) ,tool (force LLM to use a specific tool). Witsy uses auto for all providers (https://github.com/nbonamy/multi-llm-ts/blob/5cb3d5bedc2c232aaa298a29cea6a33f026eaad3/src/providers/anthropic.ts#L194) (https://github.com/nbonamy/multi-llm-ts/blob/main/src/providers/ollama.ts#L174).

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jdeepwell
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nbonamy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants