Murilo Pires
26cc335cd3
Merge branch 'RooVetGit:main' into fix-context-calculation
2025-02-01 18:00:41 -03:00
MFPires
70af1d2cb3
fix: update context token calculation to match upstream
...
The context token calculation has been updated to:
- Include cache tokens (cacheWrites + cacheReads) in the total context size
- Use a cleaner approach to find the last valid API request
- Fix issue where placeholder messages without token info were being counted
- Match upstream's implementation of getTotalTokensFromMessage
This fixes the issue where context size was incorrectly showing as 139 tokens
without any API requests being made.
2025-02-01 17:38:52 -03:00
Matt Rubens
94b831c6ab
Merge pull request #714 from RooVetGit/opened_tabs_and_selection_mentions
...
Mention shortcuts to open tabs
2025-02-01 12:23:39 -05:00
Matt Rubens
70ad037016
Fix tests
2025-02-01 12:21:13 -05:00
Matt Rubens
1e5a257e52
Removed active selection for now
2025-02-01 11:57:36 -05:00
Chris Estreich
a568577c78
Merge pull request #702 from RooVetGit/cte/activation-cleanup
2025-02-01 08:39:39 -08:00
loup
064dc4e52f
feat: opened tabs and selection in the @ menu
2025-02-01 11:16:38 -05:00
Henri Sara
18e1bbf00d
fix: Update pricing for OpenAI o1-mini
...
Together with o3-mini release, OpenAI reduced the price of o1-mini to match it.
2025-02-01 12:06:54 +02:00
Matt Rubens
d047c8beae
Add o3-mini-high and o3-mini-low
2025-02-01 00:52:41 -05:00
cte
aa806fdc17
Extension activation cleanup
2025-01-31 21:23:07 -08:00
Matt Rubens
3d67133435
Merge pull request #698 from RooVetGit/more_o3_mini_fixes
...
Make o3-mini work in glama
2025-01-31 23:22:43 -05:00
Matt Rubens
0cd1642612
PR feedback
2025-01-31 23:19:50 -05:00
Matt Rubens
11fd3607ea
Merge pull request #697 from samhvw8/fix/config-profile-rename-bug
...
fix: prevent unnecessary config operations when renaming to same name
2025-01-31 23:04:02 -05:00
Matt Rubens
0050daf746
Make o3-mini work in glama
2025-01-31 22:54:35 -05:00
sam hoang
ab556286f1
fix: prevent unnecessary config operations when renaming to same name
...
- Add validation in UI to early return when renaming config to current name
- Add server-side validation to prevent config save/delete operations
2025-02-01 10:49:09 +07:00
sam hoang
1c247ed8bc
revert not intentional change
2025-02-01 09:59:34 +07:00
sam hoang
f906755d90
feat: add setting to enable/disable MCP server creation
...
- Add enableMcpServerCreation setting to control whether MCP server creation is allowed
- Add UI toggle in settings view for this feature
- Update system prompt to conditionally include MCP server creation documentation
- Add tests for new functionality
2025-02-01 09:34:53 +07:00
Chris Estreich
8ce5f9a890
Merge pull request #691 from RooVetGit/cte/integration-tests
2025-01-31 16:51:31 -08:00
cte
79c248be2a
Get rid of type change, improve detection of webview initialization
2025-01-31 16:37:23 -08:00
cte
5fd8d8911a
Fix ENV var name
2025-01-31 15:18:20 -08:00
Matt Rubens
7d28ff516c
Streaming version of o3-mini
2025-01-31 17:51:03 -05:00
cte
85d1d4a77b
Run integration tests in CI
2025-01-31 14:12:21 -08:00
Matt Rubens
9aeb498f99
Add optional rate limiting between API calls
2025-01-31 16:44:32 -05:00
Matt Rubens
af9231d22d
Make o3-mini work
2025-01-31 16:35:32 -05:00
Anton Shpigunov
7329e945b4
Add expectation to match actual API response in tests
2025-01-31 23:19:17 +02:00
Anton Shpigunov
58fdb6f9ef
support o3-mini
2025-01-31 23:09:05 +02:00
cte
5b6c6be022
Update README
2025-01-30 21:35:56 -08:00
cte
275dab042e
Merge branch 'main' into cte/shadcn-ui-storybook
2025-01-30 21:28:05 -08:00
cte
901d769bfd
Fix tests
2025-01-30 21:26:29 -08:00
Matt Rubens
bedd6fd2a8
Merge pull request #656 from samhvw8/feat/add-to-context-code-action
...
Feat add to context code action & Fix some code action error
2025-01-31 00:24:38 -05:00
Matt Rubens
7614048ed4
Update src/shared/support-prompt.ts
2025-01-31 00:22:26 -05:00
Matt Rubens
099447d06b
Update src/shared/support-prompt.ts
2025-01-31 00:22:20 -05:00
Matt Rubens
308eab0563
Update src/shared/support-prompt.ts
2025-01-31 00:22:15 -05:00
cte
7282e02de3
Merge main
2025-01-30 21:15:34 -08:00
Matt Rubens
81a5e805b2
Merge pull request #638 from napter/approval-feedback
...
Allow the user to send context with approval or rejection
2025-01-30 23:36:43 -05:00
Matt Rubens
69d05a3296
Merge pull request #668 from RooVetGit/clearer_modes_prompt
...
Clearer modes prompt section
2025-01-30 22:48:14 -05:00
Matt Rubens
ce072d99d2
Clearer modes prompt section
2025-01-30 22:29:57 -05:00
cte
97367951a2
Enable HMR for the webview, complements of vite
2025-01-30 16:25:13 -08:00
Piotr Rogowski
161a6a5d9e
Relax deepseek-r1 detection so it also includes distilled models
2025-01-30 23:43:15 +01:00
Matt Rubens
29dfe11303
Merge pull request #662 from RooVetGit/use_exponential_retry_for_api_failures
...
Use an exponential delay for API retries
2025-01-30 11:51:53 -05:00
Matt Rubens
e10004d865
Use an exponential delay for API retries
2025-01-30 11:46:26 -05:00
Matt Rubens
886070de2d
Merge pull request #636 from samhvw8/feat/vite-tailwind
...
refactor: migrate from CRA to Vite and improve testing
2025-01-30 11:40:27 -05:00
sam hoang
bb5d506679
refactor: extract editor utilities into EditorUtils module and add tests
2025-01-30 17:42:11 +07:00
sam hoang
2e56149620
feat: add 'Add To Context' code action
...
- Add new command registration and menu item
- Add new code action type and command ID
- Add support prompt config for adding code to context
- Add message handling in webview for setting chat box content
- Add logic to append selected code to existing chat input
2025-01-30 17:23:12 +07:00
sam hoang
35a7e433f2
refactor: centralize editor utilities and unify command handling
...
- Create EditorUtils class to centralize shared editor functionality
- Remove duplicated code between CodeActionProvider and command handlers
- Improve command handling to work consistently for both code actions and direct commands
- Add better type safety and error handling for editor operations
2025-01-30 16:26:44 +07:00
Nathan Apter
3aa5b3f9be
Allow the user to send context with approval or rejection
2025-01-29 15:28:46 -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
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
kinandan
26369ca48b
Fixing anthropic model caching in roo-code
2025-01-29 21:44:47 +05:30