Commit Graph

2064 Commits

Author SHA1 Message Date
Matt Rubens
3862057a4d Merge pull request #608 from MuriloFP/feature/context-token-counter
Feature/context token counter
2025-01-27 22:46:21 -05:00
Murilo Pires
1ba632fe89 Update webview-ui/src/components/chat/TaskHeader.tsx
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-01-28 00:39:40 -03:00
MFPires
5311e0c8ab fix: Make context token counter more reliable
- Only consider API requests with valid token information
- Skip messages with invalid/missing token data
- Prevent counter from resetting on action approval messages
- Ensure both tokensIn and tokensOut are valid numbers

This makes the context token counter more stable and accurate
by only updating on valid API responses with complete token data.
2025-01-28 00:27:17 -03:00
MFPires
97fe13dcb1 fix: Prevent context token counter from resetting on failed API calls
- Only update context tokens when both input and output tokens are non-zero
- Keep previous context token count when API calls fail
- Avoid resetting counter on partial or failed responses

This makes the context token counter more resilient against edge cases
and provides more accurate context size tracking during API failures.
2025-01-27 23:12:01 -03:00
MFPires
e668169ed9 feat: Add conversation context token counter
- Add contextTokens to ApiMetrics interface
- Calculate context size using last API request's tokens
- Display context token count in TaskHeader below total tokens
- Use exact token counts instead of character estimation

This helps users track the total size of their conversation context,
which is useful for managing context window limits.
2025-01-27 23:02:25 -03:00
Matt Rubens
86d4a10a9a Merge pull request #605 from eltociear/patch-2
chore: update CodeBlock.tsx
2025-01-27 15:35:21 -05:00
Piotr Rogowski
cb23be6346 Extend deepseek-r1 support 2025-01-27 21:27:24 +01:00
Ikko Eltociear Ashimine
bfe935e5f5 chore: update CodeBlock.tsx
langauge -> language
2025-01-28 03:13:14 +09:00
Matt Rubens
73532e4b12 Merge pull request #591 from RooVetGit/changeset-release/main
Changeset version bump
2025-01-27 09:54:55 -05:00
Matt Rubens
3f47802538 Update CHANGELOG.md 2025-01-27 09:54:41 -05:00
Matt Rubens
39eab08080 Update CHANGELOG.md 2025-01-27 09:51:28 -05:00
github-actions[bot]
f153bf5b8f changeset version bump 2025-01-27 14:46:27 +00:00
Matt Rubens
67f470ef0b Merge pull request #600 from RooVetGit/v3.3.4
v3.3.4
2025-01-27 09:45:26 -05:00
Matt Rubens
f542aa47d8 v3.3.4 2025-01-27 09:44:41 -05:00
Matt Rubens
ed1f656258 Merge pull request #594 from samhvw8/feat/code-action-with-current-task
feat(code-actions): add "Fix Code in Current Task" action
2025-01-27 09:43:46 -05:00
Matt Rubens
9627551716 Merge pull request #595 from RooVetGit/simpler_apply_diff_speedup
Speed up diff edits
2025-01-27 09:42:01 -05:00
Matt Rubens
61fb096f96 Add new/existing task for all three actions 2025-01-27 09:40:04 -05:00
sam hoang
0a19745c23 fix pr comment 2025-01-27 21:28:58 +07:00
Pugazhendhi
31ec687768 Adds provider names to dropdown 2025-01-27 19:48:43 +05:30
Pugazhendhi
aed51a2bc5 Updates error reading 2025-01-27 19:48:31 +05:30
Pugazhendhi
f222e8341c Added mistral and deepseek models 2025-01-27 19:48:23 +05:30
Pugazhendhi
336f76baa9 Changes production url 2025-01-27 19:48:17 +05:30
Pugazhendhi
d78c6a6862 Updates test file 2025-01-27 19:48:10 +05:30
Pugazhendhi
270105bac8 Adds test file 2025-01-27 19:48:04 +05:30
Pugazhendhi
698ae6566d Handles error messages 2025-01-27 19:47:52 +05:30
Pugazhendhi
20d9a88bb4 Removed comments 2025-01-27 19:47:40 +05:30
Pugazhendhi
02ccd77004 Fixed model mismatch 2025-01-27 19:47:34 +05:30
Pugazhendhi
62dcfbe549 Adds unbound provider to roo cline 2025-01-27 19:47:28 +05:30
sam hoang
17c0deaf6b refactor: improve error logging in ClineProvider
- Replace console.error with outputChannel.appendLine for better error visibility
- Add detailed error information using JSON.stringify with full error properties
- Improve error message formatting and consistency across all error handlers
2025-01-27 21:12:53 +07:00
Matt Rubens
db0ec64d1c Merge pull request #597 from RooVetGit/mrubens-patch-1
Update README.md
2025-01-27 03:22:37 -05:00
Matt Rubens
f81c2378e0 Update README.md 2025-01-27 03:21:19 -05:00
Matt Rubens
1c1810ebdc Merge pull request #596 from RooVetGit/readme-links
Update README.md
2025-01-27 03:19:01 -05:00
Matt Rubens
407fe8f6f3 Update README.md 2025-01-27 03:14:40 -05:00
Matt Rubens
2ffb009e6a Speed up diff edits 2025-01-27 02:52:05 -05:00
sam hoang
85c49d8eff feat(code-actions): add "Fix Code in Current Task" action
Adds ability to fix code within the context of an active task instead of starting a new one. This allows for more efficient workflow when already working with Roo.

Add new FIX_IN_CURRENT_TASK code action and command
Enhance ClineProvider to support context-aware code fixing
Update tests to verify new action functionality
2025-01-27 14:24:26 +07:00
Matt Rubens
f47dd2d0db Merge pull request #584 from RooVetGit/mcp_timeouts
Add per-server MCP network timeout configuration
2025-01-26 22:54:26 -05:00
Matt Rubens
57518e10b3 Add per-server MCP network timeout configuration 2025-01-26 22:49:21 -05:00
Matt Rubens
3deeb0c28b Merge pull request #579 from RooVetGit/changeset-release/main
Changeset version bump
2025-01-26 14:23:08 -05:00
Matt Rubens
96dc4f58fd Update CHANGELOG.md 2025-01-26 14:19:21 -05:00
github-actions[bot]
efd599e3e5 changeset version bump 2025-01-26 19:17:46 +00:00
Matt Rubens
ffa7d34f0b Merge pull request #582 from RooVetGit/v3.3.3
v3.3.3
2025-01-26 14:16:51 -05:00
Matt Rubens
3c5019dec4 v3.3.3 2025-01-26 14:14:59 -05:00
Matt Rubens
601ede7482 Merge pull request #577 from psv2522/fix-issue-562
fix:Added correct styling for the select options
2025-01-26 08:46:38 -05:00
Prathmesh Vhatkar
2d65b8aabe fix:Using optionStyle everywhere correctly 2025-01-26 19:10:16 +05:30
Matt Rubens
6b3fffce3e Merge pull request #574 from RooVetGit/better_file_suffix_check
Throw FileRestrictionErrors sooner
2025-01-26 08:21:11 -05:00
Prathmesh Vhatkar
63787d1f7b fix:Added correct styling for the select options 2025-01-26 18:00:10 +05:30
Matt Rubens
5d20477785 Throw FileRestrictionErrors sooner 2025-01-26 02:44:59 -05:00
Matt Rubens
813c607440 Merge pull request #565 from RooVetGit/changeset-release/main
Changeset version bump
2025-01-26 00:59:30 -05:00
Matt Rubens
a6ff8d250b Update CHANGELOG.md 2025-01-26 00:57:00 -05:00
Matt Rubens
3af81a7ae5 Update CHANGELOG.md 2025-01-26 00:54:57 -05:00