daniel-lxs
214790fc56
fix: handle tool_result blocks in Anthropic countTokens method
...
Fixes #9871
When the Anthropic countTokens method receives content containing
tool_result blocks, it now falls back to local tiktoken estimation
instead of making an API call. This prevents 400 errors because
Anthropic's countTokens API validates message structure the same
way as the chat API - tool_result blocks require a preceding
assistant message with a matching tool_use block.
Changes:
- Added tool_result detection in AnthropicHandler.countTokens()
- Added 5 test cases covering the new behavior
2025-12-05 16:17:54 -05:00
Hannes Rudolph
9f4dcfc0e6
fix: sanitize removed/invalid API providers to prevent infinite loop ( #9869 )
2025-12-05 16:03:19 -05:00
Bruno Bergher
d285d01853
web: Product pages ( #9865 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-12-05 14:01:41 -05:00
Alex Ker
642a187030
(update): Add DeepSeek V3-2 Support for Baseten Provider ( #9861 )
...
Co-authored-by: AlexKer <AlexKer@users.noreply.github.com>
2025-12-05 12:11:08 -05:00
Chris Estreich
5c501600cd
Better error logs for parseToolCall exceptions ( #9857 )
2025-12-04 23:06:58 -08:00
github-actions[bot]
65c750d1be
Changeset version bump ( #9856 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-05 01:07:34 -05:00
Matt Rubens
1b151c0c26
Release v3.36.2 ( #9855 )
2025-12-05 01:03:48 -05:00
Chris Estreich
6bdefb8de3
Fix chutes model fetching ( #9854 )
2025-12-05 00:57:06 -05:00
Hannes Rudolph
e633c62e70
chore: restrict gpt-5 tool set to apply_patch ( #9853 )
2025-12-05 00:35:45 -05:00
Hannes Rudolph
a3de2935b3
feat: add dynamic settings support for Roo models from API ( #9852 )
2025-12-04 23:57:00 -05:00
github-actions[bot]
247bf017e0
Changeset version bump ( #9840 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-04 22:44:20 -05:00
Matt Rubens
39a549f056
Release v3.36.1 ( #9851 )
2025-12-04 22:39:24 -05:00
Matt Rubens
3e3fa327e9
Delete .changeset/symlink-commands.md
2025-12-04 22:38:58 -05:00
Hannes Rudolph
bea7d81510
feat: add gpt-5.1-codex-max model to OpenAI provider ( #9848 )
2025-12-04 22:30:07 -05:00
Daniel
9f111e174b
fix: handle unknown/invalid native tool calls to prevent extension freeze ( #9834 )
2025-12-04 22:21:09 -05:00
Matt Rubens
79458600aa
Revert "Exclude the ID from Roo reasoning details" ( #9850 )
2025-12-04 22:16:01 -05:00
Hannes Rudolph
c10d1d9ffc
feat(web-evals): add multi-model launch and UI improvements ( #9845 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-04 20:48:38 -05:00
Hannes Rudolph
630c8bce90
FIX + feat: add MessageManager layer for centralized history coordination ( #9842 )
2025-12-04 20:48:31 -05:00
Hannes Rudolph
a1d392f5cc
fix: prevent cascading truncation loop by only truncating visible messages ( #9844 )
2025-12-04 20:41:49 -05:00
Matt Rubens
581256dec0
Exclude the ID from Roo reasoning details ( #9847 )
2025-12-04 20:40:27 -05:00
Matt Rubens
b9e2fd16b7
Revert "fix: sanitize reasoning_details IDs to remove invalid characters" ( #9846 )
2025-12-04 20:16:58 -05:00
John Richmond
c719117fb4
Be safer about large file reads ( #9843 )
...
validateFileTokenBudget wasn't being called considering
the output budget.
2025-12-04 13:35:26 -08:00
Hannes Rudolph
8433eafb05
feat(evals-ui): Add filtering, bulk delete, tool consolidation, and run notes ( #9837 )
2025-12-04 14:28:37 -07:00
Daniel
ae655c5d29
fix: sanitize reasoning_details IDs to remove invalid characters ( #9839 )
2025-12-04 15:53:10 -05:00
Matt Rubens
63f6fecb1a
feat: add symlink support for slash commands in .roo/commands folder ( #9838 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-04 15:41:10 -05:00
Hannes Rudolph
61aabe715c
ChatView: smoother stick-to-bottom during streaming ( #8999 )
2025-12-04 14:38:17 -05:00
Chris Estreich
ffff38be2c
Always enabled reasoning for models that require it ( #9836 )
2025-12-04 10:52:47 -08:00
Bruno Bergher
29385e01d7
fix: Overly round follow-up question suggestions ( #9829 )
...
Not that rounded
2025-12-04 16:31:04 +00:00
Matt Rubens
3178113402
Ignore input to the execa terminal process ( #9827 )
2025-12-04 10:55:58 -05:00
Bruno Bergher
0ed5f3ccd4
web: New Pricing Page ( #9821 )
...
* Removes Pro, restructures pricing page
* Solves provider/credits
* Update apps/web-roo-code/src/app/pricing/page.tsx
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
* Updates agent landing pages to not mention a trial that doesn't exist
* Updates agent-specific landing pages to reflect new home and trial
* Indicate the agent landing page the user came from
* Clean up the carousel
---------
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-12-04 15:40:07 +00:00
Bruno Bergher
0eddc97d13
ux: improved error messages and documentation links ( #9777 )
...
* Minor ui tweaks
* Basic setup for richer API request errors
* Better errors messages and contact link
* i18n
* Update webview-ui/src/i18n/locales/en/chat.json
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
* Update webview-ui/src/i18n/locales/en/chat.json
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
* Empty better than null
* Update webview-ui/src/i18n/locales/nl/chat.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* i18n
* Start retryAttempt at 1
* Reverse retryAttempt number, just ommit it from the message
---------
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-12-04 15:25:23 +00:00
github-actions[bot]
7df268ce48
Changeset version bump ( #9828 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-04 09:22:15 -05:00
Matt Rubens
a698875315
Release v3.36.0 ( #9814 )
2025-12-04 09:17:33 -05:00
Seb Duerr
94c997c9d6
Fix/cerebras conservative max tokens ( #9804 )
...
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-04 00:43:22 -05:00
Matt Rubens
573cfc31fd
Default to native tools for all models in the Roo provider ( #9811 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-04 00:40:53 -05:00
Matt Rubens
d065b881e3
Fix the download count on the homepage ( #9807 )
2025-12-03 23:46:00 -05:00
John Richmond
72a6805b4b
Update next.js ( #9799 )
2025-12-03 20:17:28 -08:00
Hannes Rudolph
837ce3f334
chore: hide parallel tool calls experiment and disable feature ( #9798 )
2025-12-03 17:07:13 -07:00
roomote[bot]
ec551b1ae0
feat: add reasoning_details support to Roo provider ( #9796 )
...
- Add currentReasoningDetails accumulator to track reasoning details
- Add getReasoningDetails() method to expose accumulated details
- Handle reasoning_details array format in streaming responses
- Accumulate reasoning details by type-index key
- Support reasoning.text, reasoning.summary, and reasoning.encrypted types
- Maintain backward compatibility with legacy reasoning format
- Follows same pattern as OpenRouter provider
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-03 18:47:21 -05:00
Daniel
ce229012a3
refactor: remove insert_content tool ( #9751 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-03 16:33:22 -05:00
Chris Estreich
1879200964
Fix Vercel AI Gateway model fetching ( #9791 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-03 11:46:15 -08:00
roomote[bot]
86edc01cb1
fix: remove omission detection logic to fix false positives ( #9787 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-03 13:20:22 -05:00
Hannes Rudolph
23605bed93
fix: restore context when rewinding after condense ( #8295 ) ( #9665 )
2025-12-03 11:40:39 -05:00
Matt Rubens
a4f4f35b46
Use search_and_replace for minimax ( #9780 )
2025-12-03 11:37:56 -05:00
github-actions[bot]
48dc4d98e3
Changeset version bump ( #9783 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-03 11:27:41 -05:00
Matt Rubens
40a8e0cc11
Release v3.35.5 ( #9781 )
2025-12-03 11:23:39 -05:00
Matt Rubens
822343ccdf
Update model key for minimax in MODEL_DEFAULTS ( #9778 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-03 10:58:46 -05:00
roomote[bot]
18117f0723
ux: Updates to CloudView ( #9776 )
...
* refactor: remove TabHeader and onDone callback from CloudView
- Removed TabHeader component from CloudView as it is no longer needed
- Removed onDone prop from CloudView component definition and usage
- Updated all test files to reflect the removal of onDone prop
- Kept Button import that was accidentally removed initially
* Updates upsell copy to reflect today's product
* Update webview-ui/src/components/cloud/CloudView.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update webview-ui/src/i18n/locales/ko/cloud.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update webview-ui/src/i18n/locales/zh-CN/cloud.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Test fixes
---------
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-12-03 13:36:33 +00:00
SannidhyaSah
873a763ea7
feat: Add provider routing selection for OpenRouter embeddings ( #9144 ) ( #9693 )
...
Co-authored-by: Sannidhya <sann@Sannidhyas-MacBook-Pro.local>
2025-12-02 22:59:55 -05:00
Chris Estreich
648e009b8d
Update the evals keygen command ( #9754 )
2025-12-02 19:44:11 -08:00