-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Native tool calling #8921
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
Native tool calling #8921
Conversation
Review SummaryI've reviewed the native tool calling implementation. The previously identified issue has been resolved in the recent commits. Issues Found
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review complete. Please address the issue noted above before merging.
|
Hello @mrubens , thank you for your work on this PR. Could you provide an estimated timeline for when native tool calling will be merged into the main branch? This feature would be extremely valuable for our use case. Much appreciated! |
|
Superseded by #9159 |
Experimental native tool calling for a few providers/models behind a vscode setting.
Important
Introduces experimental native tool calling for specific providers/models, with updates to models, API handlers, and configuration settings to support this feature.
nativeToolCallinginpackage.json.generateSystemPrompt.tsto check for native tool support and pass this information toSYSTEM_PROMPT.supportsNativeToolCallingflag to models inmodel.ts,anthropic.ts, andopenai.ts.ApiHandlerinterface inindex.tsto includesupportsNativeTools()andtoolsparameter increateMessage().AnthropicHandler,OpenAiNativeHandler, andOpenAiHandlerto handle native tool calling.ToolCallProcessorintool-call-processor.tsfor processing tool call deltas.tool-converters.tsandtool-specsdirectory for various tools likeread_file,write_to_file, etc.system.tsto generate tool specifications when native tools are enabled.ClineProvider.spec.tsandgenerateSystemPrompt.browser-capability.spec.tsto mock and verify native tool calling behavior.This description was created by
for 6c83b59. You can customize this summary. It will automatically update as commits are pushed.