Commit Graph

2135 Commits

Author SHA1 Message Date
Matt Rubens
fc688bbe8e Merge pull request #644 from Szpadel/oai-delta-und
Fix crash when delta in openai api handling could be empty in some ca…
2025-01-29 13:50:00 -05:00
Piotr Rogowski
60cb550db7 Fix crash when delta in openai api handling could be empty in some cases.
Fixes #641
2025-01-29 19:43:10 +01:00
Matt Rubens
449b9ef610 Merge pull request #642 from websentry-ai/vs/fix-anthropic-cache-tokens
Fixes the cached token count for unbound provider models
2025-01-29 12:32:51 -05:00
Vignesh Subbiah
d6433591b2 Add typing for usageData and adds some unit tests 2025-01-29 22:53:43 +05:30
Vignesh Subbiah
6ccb061d33 Refactors the cached token code for all models 2025-01-29 22:25:01 +05:30
sam hoang
6db3ecf73e chore: update eslint config and quiet lint output
- Add recommended TypeScript ESLint rules and configurations
- Configure explicit function return types and member accessibility
- Add environment settings for Node.js and ES2021
- Update parser options and ignore patterns
- Add --quiet flag to lint commands to reduce noise
2025-01-29 23:42:15 +07:00
kinandan
26369ca48b Fixing anthropic model caching in roo-code 2025-01-29 21:44:47 +05:30
Matt Rubens
117c4abfee Merge pull request #640 from RooVetGit/new_task_tool
Add a new_task tool
2025-01-29 10:59:35 -05:00
Matt Rubens
5c17f79bcc Merge pull request #633 from Szpadel/r1-perplexity-support
Add support for perplexity/sonar-reasoning
2025-01-29 10:57:50 -05:00
Matt Rubens
13de490c3b Add a new_task tool 2025-01-29 10:56:44 -05:00
sam hoang
477daf8f64 update css variable for shadcn component 2025-01-29 21:35:14 +07:00
sam hoang
43bcfe38a8 Roo Cline -> Roo Code 2025-01-29 21:21:20 +07:00
sam hoang
12dd54671a refactor: migrate from CRA to Vite and improve testing
Replace Create React App with Vite build system
Add ESLint configuration and improve TypeScript types
Create VSCode UI component mocks for better testing
Update test files with proper async handling
Add Tailwind CSS integration
Fix accessibility by adding ARIA roles
2025-01-29 21:15:28 +07:00
Piotr Rogowski
1534a9c047 Add support for perplexity/sonar-reasoning 2025-01-29 09:54:19 +01:00
Prathmesh Vhatkar
a07f94fa19 fix: Move sliders to newline in settings to avoid horizontal scroll at normal(20-25%) window size 2025-01-29 11:57:24 +05:30
Matt Rubens
4026a87d2c Merge pull request #631 from samhvw8/fix/config-profile-dropdown-zindex
fix config-profile-dropdown-zindex
2025-01-29 00:50:48 -05:00
sam hoang
e8ff70ebf0 fix config-profile-dropdown-zindex 2025-01-29 12:40:24 +07:00
Matt Rubens
76278ed99e Merge pull request #616 from websentry-ai/vs/support-unbound
Supports unbound API provider
2025-01-29 00:10:21 -05:00
Matt Rubens
e07d2aa892 Merge pull request #599 from samhvw8/refactor/change-console-log-to-output-channel
refactor: improve error logging in ClineProvider
2025-01-28 23:48:07 -05:00
Matt Rubens
a968cc3b58 Merge pull request #615 from psv2522/change-select-to-dropdown
fix: Use Dropdown instead of select in settings for more UI consistency
2025-01-28 23:43:56 -05:00
Prathmesh Vhatkar
7e38e50d79 fix: Mock dropdown in tests correctly 2025-01-29 09:14:16 +05:30
Matt Rubens
76694777ea Merge pull request #625 from RooVetGit/changeset-release/main
Changeset version bump
2025-01-28 22:15:20 -05:00
Matt Rubens
289e9031b5 Update CHANGELOG.md 2025-01-28 22:12:06 -05:00
Matt Rubens
ae86fffc5d Update CHANGELOG.md 2025-01-28 22:11:25 -05:00
Matt Rubens
8ae01b4d15 Merge remote-tracking branch 'origin/main' into changeset-release/main 2025-01-28 21:55:02 -05:00
Matt Rubens
b20af10845 Merge pull request #629 from MuriloFP/fix/stable-context-counter
fix: prevent context token counter flickering during API requests
2025-01-28 19:54:36 -05:00
MFPires
86eb383227 fix: prevent context token counter flickering during API requests
Maintains the last valid context token count between API requests by:
- Adding tracking of last valid context tokens
- Using last known value as fallback when current request lacks token data
- Only updating when new valid token counts are available

This prevents the context counter from flickering to "-" during tool calls
and API request transitions, improving the UI stability.
2025-01-28 21:49:26 -03:00
R00-B0T
7b57f0fca7 Updating CHANGELOG.md format 2025-01-28 20:33:55 +00:00
github-actions[bot]
a11cb5c46c changeset version bump 2025-01-28 20:33:11 +00:00
Matt Rubens
9056a5916a Merge pull request #624 from RooVetGit/v3.3.5
V3.3.5
2025-01-28 15:32:14 -05:00
Matt Rubens
93f43bea43 More renaming 2025-01-28 15:24:45 -05:00
Matt Rubens
15c2b49671 Merge remote-tracking branch 'origin/main' into v3.3.5 2025-01-28 15:03:03 -05:00
Matt Rubens
6dc1a036dd Merge pull request #623 from Szpadel/r1-variants
handle other deepseek-r1 variants on openrouter
2025-01-28 15:01:33 -05:00
Piotr Rogowski
9710fd1110 handle other deepseek-r1 variants on openrouter 2025-01-28 20:53:07 +01:00
Matt Rubens
b17f435e56 Merge remote-tracking branch 'origin/main' into v3.3.5 2025-01-28 14:41:07 -05:00
Matt Rubens
5bee585620 Merge pull request #622 from MuriloFP/feature/add-context-to-environment
Feature/add context to environment
2025-01-28 14:39:22 -05:00
Matt Rubens
d836548c19 insert_code_block -> insert_content 2025-01-28 14:36:12 -05:00
MFPires
ea6dc7c16e feat(ui): add context window percentage to task header
Display the percentage of total context window used alongside token count in the task header. This helps users better understand their context usage relative to the model's capacity.

Implementation details:
- Retrieve model's context window size from normalized API configuration
- Calculate percentage of context window used based on current context tokens
- Display percentage in parentheses next to token count (e.g. "40,000 (20%)")
- Default to context window size of 1 if model info is unavailable
- Format numbers with commas for better readability
2025-01-28 16:33:06 -03:00
MFPires
f7cf08c607 feat: Add context tokens to environment details
Adds the current conversation's context token count to the environment details section by:
- Using existing getApiMetrics() to retrieve contextTokens from the last API request
- Adding a new "Context Tokens" section between "Current Time" and "Current Mode"
- Formatting the token count with toLocaleString() for better readability
- Showing "(Not available)" when no context tokens are present

This provides visibility into the current conversation's token usage directly in the environment details, helping track context window utilization.
2025-01-28 15:49:36 -03:00
Matt Rubens
68035507af v3.3.5 2025-01-28 13:22:16 -05:00
pugazhendhi-m
ea30563cca Merge branch 'main' into vs/support-unbound 2025-01-28 21:58:23 +05:30
Matt Rubens
f2ac56917c Merge pull request #538 from samhvw8/feat/insert_and_search_replace_tools
New Roo Tool insert and search replace tools
2025-01-28 11:23:06 -05:00
Pugazhendhi
63b8e8972f Adds button to get unbound api key 2025-01-28 21:52:12 +05:30
Matt Rubens
50eb2e2c93 Merge pull request #617 from RooVetGit/mode_switch_delay
Add a delay to allow auto approved mode changes to take effect
2025-01-28 11:21:57 -05:00
Matt Rubens
bd0a613be1 Add a delay to allow auto approved mode changes to take effect 2025-01-28 11:11:28 -05:00
Vignesh Subbiah
5329c712de Yields the usage tokens 2025-01-28 21:11:16 +05:30
Matt Rubens
800ec10684 Merge pull request #613 from samhvw8/fix/OpenAiModelPicker.tsx
fix missing set search term in make input lag in openai picker
2025-01-28 10:29:30 -05:00
Matt Rubens
5579922f98 Sneak in a change to apply_diff error message 2025-01-28 10:24:16 -05:00
sam hoang
003bb5cabc fix diffview for search-and-replace tool and insert tool 2025-01-28 22:13:51 +07:00
Matt Rubens
eef34c03dc Update prompts and fix tests 2025-01-28 10:11:00 -05:00