Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Nov 30, 2025

Important

Adds native tool calling support to DeepInfra provider with comprehensive tests.

  • Behavior:
    • Adds supportsNativeTools: true to deepInfraDefaultModelInfo in deepinfra.ts.
    • Updates createMessage in DeepInfraHandler to handle native tool calls, including tool_choice and parallel_tool_calls options.
    • Implements tool call handling in streaming responses, yielding tool_call_partial chunks.
  • Tests:
    • Adds deepinfra.spec.ts to test native tool calling, including tool inclusion, tool_choice, and parallel_tool_calls.
    • Tests createMessage for text, reasoning, and usage data streaming.
  • Misc:
    • Updates getDeepInfraModels to set supportsNativeTools: true for models.

This description was created by Ellipsis for 5bd56ab. You can customize this summary. It will automatically update as commits are pushed.

@mrubens mrubens requested review from cte and jr as code owners November 30, 2025 01:00
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request labels Nov 30, 2025
@roomote
Copy link
Contributor

roomote bot commented Nov 30, 2025

Rooviewer Clock   See task on Roo Cloud

Review complete. This PR successfully adds native tool calling support to the DeepInfra provider with comprehensive test coverage and proper implementation following established patterns.

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 30, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Nov 30, 2025
@mrubens mrubens merged commit 4591e96 into main Nov 30, 2025
23 of 24 checks passed
@mrubens mrubens deleted the deepinfra_ntc branch November 30, 2025 01:05
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Nov 30, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants