Daniel
afe51e0fe8
feat: migrate Gemini and Vertex providers to AI SDK ( #11180 )
...
* feat: migrate Gemini and Vertex providers to AI SDK
- Migrate GeminiHandler from @google/genai to @ai-sdk/google
- Create standalone VertexHandler using @ai-sdk/google-vertex
- Use shared AI SDK utilities (streamText, generateText, convertToAiSdkMessages)
- Support thinkingConfig via providerOptions.google.thinkingConfig
- Support Google Search and URL Context grounding tools
- Preserve cost calculation with tiered pricing
- Remove gemini-format.ts (AI SDK handles message conversion)
EXT-643
* fix: remove unused import and implement allowedFunctionNames tool filtering
- Remove unused handleAiSdkError import from gemini.ts
- Implement tool filtering based on allowedFunctionNames in both
GeminiHandler and VertexHandler createMessage methods
- Filter tools before converting to AI SDK format to restrict
model access to only allowed functions
2026-02-04 17:31:48 -07:00
roomote[bot]
460cff4c3b
feat: migrate HuggingFace provider to AI SDK ( #11156 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2026-02-03 11:59:26 -05:00
roomote[bot]
e90e6178e3
feat: migrate xAI provider to use dedicated @ai-sdk/xai package ( #11158 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2026-02-02 23:56:07 -05:00
roomote[bot]
67fb150727
feat: use custom Base URL for OpenRouter model list fetch ( #11154 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-02-02 23:03:47 -05:00
roomote[bot]
c5874fc764
feat: migrate SambaNova provider to AI SDK ( #11153 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2026-02-02 23:02:32 -05:00
Daniel
b020f6be43
feat(api): migrate Mistral provider to AI SDK ( #11089 )
...
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
2026-02-02 10:45:51 -05:00
Daniel
b5ae557834
feat(api): migrate Fireworks provider to AI SDK ( #11118 )
2026-01-30 14:52:49 -05:00
Daniel
e771a4936b
feat: migrate Groq provider to @ai-sdk/groq ( #11088 )
2026-01-30 09:45:21 -05:00
Hannes Rudolph
cc86049f10
refactor(read_file): Codex-inspired read_file refactor EXT-617 ( #10981 )
2026-01-29 15:16:32 -07:00
Daniel
0f43cc9814
feat: migrate Cerebras provider to AI SDK ( #11086 )
2026-01-29 17:07:59 -05:00
Daniel
4b1d78fe0a
feat: migrate DeepSeek to @ai-sdk/deepseek + fix AI SDK tool streaming ( #11079 )
2026-01-29 15:56:51 -05:00
Matt Rubens
40b2bdc4d0
Revert "feat(vscode-lm): add image support for VS Code LM API provider" ( #11068 )
2026-01-29 01:41:20 -05:00
roomote[bot]
49aac7ea00
feat(vscode-lm): add image support for VS Code LM API provider ( #11065 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2026-01-29 01:34:09 -05:00
Daniel
8d38e60187
feat: Add OpenAI-compatible base provider and migrate Moonshot to AI SDK ( #11063 )
2026-01-29 01:29:33 -05:00
Daniel
ed35b09aad
Enable parallel tool calls by default ( #11031 )
2026-01-29 01:29:15 -05:00
Daniel
17d3456e96
fix: remove duplicate tool_call emission from Responses API providers ( #11008 )
2026-01-27 13:33:15 -05:00
Daniel
f5d32e771a
Fix LiteLLM tool ID validation errors for Bedrock proxy ( #10990 )
2026-01-26 23:54:48 -05:00
Daniel
dd245cc40c
fix: VS Code LM token counting returns 0 outside requests, breaking context condensing (EXT-620) ( #10983 )
...
- Modified VsCodeLmHandler.internalCountTokens() to create temporary cancellation tokens when needed
- Token counting now works both during and outside of active requests
- Added 4 new tests to verify the fix and prevent regression
- Resolves issue where VS Code LM API users experienced context overflow errors
2026-01-26 19:43:10 -05:00
Hannes Rudolph
be0e8c2665
chore: clean up XML legacy code and native-only comments ( #10900 )
2026-01-22 15:56:11 -05:00
Hannes Rudolph
1feefb6f43
fix(openai): prevent double emission of text/reasoning in native and codex handlers ( #10888 )
2026-01-22 01:22:29 -05:00
Daniel
7f854c0dd7
feat: remove Claude Code provider ( #10883 )
2026-01-21 21:32:56 -05:00
Hannes Rudolph
8de9337e63
chore: remove XML tool calling support ( #10841 )
...
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2026-01-20 20:25:08 -05:00
Daniel
95be704ebf
fix(litellm): detect Gemini models with space-separated names for thought signature injection ( #10787 )
2026-01-16 17:43:51 -05:00
Hannes Rudolph
9533f0be3c
fix(openai-codex): reset invalid model selection ( #10777 )
2026-01-16 14:55:01 -07:00
Daniel
ddac338fdd
fix: Gemini thought signature validation errors ( #10694 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-15 23:25:42 -05:00
Daniel
e34d93e2cb
fix: truncate call_id to 64 chars for OpenAI Responses API ( #10763 )
2026-01-15 23:09:54 -05:00
Daniel
bbf3196837
fix: filter Ollama models without native tool support ( #10735 )
2026-01-15 23:01:25 -05:00
Hannes Rudolph
f2b16d400d
fix: handle missing tool identity in OpenAI Native streams ( #10719 )
2026-01-15 11:42:34 -07:00
Daniel
d7b7e17a21
fix(litellm): inject dummy thought signatures on ALL tool calls for Gemini ( #10743 )
2026-01-14 23:49:22 -05:00
Hannes Rudolph
4ebbca08b0
feat: add OpenAI Codex provider with OAuth subscription authentication ( #10736 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-14 23:48:51 -05:00
Hannes Rudolph
9b1c8500d9
feat(gemini): add allowedFunctionNames support to prevent mode switch errors ( #10708 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-13 23:49:57 -05:00
Daniel
2d4dba0286
fix: omit parallel_tool_calls when not explicitly enabled (COM-406) ( #10671 )
2026-01-13 01:37:41 -05:00
Daniel
f439496147
fix: correct Gemini 3 thought signature injection format via OpenRouter ( #10640 )
2026-01-12 17:05:00 -05:00
Hannes Rudolph
5a82c334ae
chore: disable edit_file tool for Gemini/Vertex ( #10594 )
2026-01-09 21:24:15 -05:00
roomote[bot]
d97e540ac6
fix(cerebras): ensure all tools have consistent strict mode values ( #10589 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-09 18:50:16 -07:00
Hannes Rudolph
168cfcaba5
fix: round-trip Gemini thought signatures for tool calls ( #10590 )
2026-01-09 20:03:58 -05:00
Chris Estreich
a4eb15b5a8
Add some functionality to @roo-code/core for the cli ( #10584 )
2026-01-09 13:05:15 -08:00
Chris Estreich
3171ffc809
Move more types to @roo-code/types (for the cli) ( #10583 )
2026-01-09 11:59:06 -08:00
Daniel
907b94bc40
fix(openai): remove convertToSimpleMessages to fix tool calling for OpenAI-compatible providers ( #10575 )
2026-01-09 12:03:46 -05:00
Daniel
e3c0cd64dc
fix: disable Gemini thought signature persistence to prevent corrupted signature errors ( #10554 )
2026-01-08 17:36:45 -05:00
roomote[bot]
e287a82144
fix: remove legacy Claude 2 series models from Bedrock provider ( #10501 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-07 11:30:37 -05:00
roomote[bot]
781ed1e178
feat: add Kimi K2 thinking model to Fireworks AI provider ( #9202 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-06 20:31:56 -05:00
Daniel
6b13d1d84e
fix: add additionalProperties: false to MCP tool schemas for OpenAI Responses API ( #10472 )
2026-01-06 00:26:17 -05:00
Hannes Rudolph
3074ccc278
fix(claude-code): stop frequent sign-ins by hardening OAuth refresh ( #10410 )
...
* fix(claude-code): prevent sign-outs on oauth refresh
* test(claude-code): restore fetch after mocking
* refactor(claude-code): replace while(true) with bounded for loop for clarity
---------
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-01 07:52:01 -08:00
Hannes Rudolph
c37aa02b21
chore: remove human-relay provider ( #10388 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-30 15:38:46 -07:00
Hannes Rudolph
6ba793137d
Revert "feat: enable mergeToolResultText for all OpenAI-compatible providers ( #10299 )" ( #10381 )
2025-12-29 16:07:24 -07:00
Matt Rubens
25f76ce25e
Revert "fix: capture extended thinking signatures for tool use continuations" ( #10360 )
2025-12-27 11:44:46 -08:00
Matt Rubens
c61dd7ad31
Remove the mergeToolResultText in the Roo provider for now ( #10359 )
2025-12-27 11:28:29 -08:00
Daniel
2eebf3c2c4
fix: capture extended thinking signatures for tool use continuations ( #10351 )
2025-12-26 17:11:03 -05:00
roomote[bot]
a07d28c7e6
feat: remove OpenRouter Transforms feature ( #10341 )
...
- Remove openRouterUseMiddleOutTransform checkbox from settings UI
- Remove openRouterUseMiddleOutTransform from TypeScript types
- Remove transforms parameter logic from OpenRouter handler
- Remove setting from EVALS_SETTINGS
- Remove translation keys from all locale files (18 locales)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-25 09:53:48 -08:00