-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Support tool calling in native ollama provider #9696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Review completed. No issues found with the new changes. The latest commit correctly updates test expectations to include Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
|
@roomote fix the failing test please |
Fixed the failing test by adding |
(And remove the deprecated ollama provider)
Important
Enhance
NativeOllamaHandlerwith tool calling support and remove deprecatedOllamaHandler.NativeOllamaHandlerinnative-ollama.ts.OllamaHandlerand its tests (ollama.ts,ollama.spec.ts,ollama-timeout.spec.ts).native-ollama.spec.tsto test tool calling functionality, including cases where tools are included or excluded based on model support and protocol.ollama.test.tsto includesupportsNativeToolsin model parsing.OllamaHandlerexport fromindex.ts.supportsNativeToolstoollamaDefaultModelInfoinollama.ts.This description was created by
for dbe5411. You can customize this summary. It will automatically update as commits are pushed.