zed icon indicating copy to clipboard operation
zed copied to clipboard

docs: Inform users about the supports_tools flag

Open mrbojangles3 opened this issue 9 months ago • 2 comments

Closes #30115

Release Notes:

  • Improved documentation on Ollama supports_tools feature.

mrbojangles3 avatar May 16 '25 17:05 mrbojangles3

I did some experimenting for this docs change. I am very open to edits by maintainers and happy to change things as needed.

mrbojangles3 avatar May 16 '25 17:05 mrbojangles3

There's a rather annoying quirk where if you define a custom model, but don't provide a value for supports_tools, it will default to false, and override what ollama returns. This means it essentially breaks tool models if you don't provide the value. This should likely be changed so not sure if it should be included in the docs.

tidely avatar May 16 '25 21:05 tidely

@tidely, that seems like a reasonable thing to create a separate PR that fixes it, and not include in the docs

probably-neb avatar May 17 '25 10:05 probably-neb

@mrbojangles3 Seems like a good addition to our docs, nice work!

probably-neb avatar May 17 '25 11:05 probably-neb