Commit Graph

919 Commits

Author SHA1 Message Date
Matt Rubens
48edfe6689 Only load context and parse @-mentions in user input 2025-01-09 10:40:38 -05:00
Matt Rubens
382d467e64 Add test 2025-01-09 00:21:15 -05:00
Matt Rubens
9183244c28 Warnings and error handling 2025-01-09 00:11:53 -05:00
Matt Rubens
d1c39c17e9 Add tests 2025-01-08 17:59:22 -05:00
Matt Rubens
7137f8c528 Spacing adjustments 2025-01-08 17:28:32 -05:00
Daniel Riccio
44dc489e49 revert: lower the confidence levels 2025-01-08 17:18:09 -05:00
Daniel Riccio
9591ae062a Refactor edit strategies and confidence validation in unified diff processing
- Enhanced the applyContextMatching and applyDMP functions to improve handling of context and edit changes.
- Updated confidence validation logic to ensure stricter checks, now requiring a minimum confidence of 1 for successful edits.
- Refined the way changes are processed, including better tracking of removal and addition changes.
- Improved the validation of edit results by incorporating strategy-specific checks and logging for better debugging.
- Adjusted the applyEdit function to ensure strategies are applied in a more robust manner, with clearer handling of debug mode.
2025-01-08 17:13:46 -05:00
RaySinner
d5fd2bbb82 merge: resolve conflicts after upstream merge 2025-01-08 23:47:26 +03:00
Daniel Riccio
995692c48e Improve strategies and confidence system 2025-01-08 12:28:31 -05:00
RaySinner
58bc329481 refactor: update API options and remove unused type definitions 2025-01-08 10:36:14 +03:00
Matt Rubens
41beb77451 Read in conventions from .windsurfrules files as well 2025-01-08 01:43:27 -05:00
Matt Rubens
16495560d7 Add test 2025-01-07 23:42:06 -05:00
Matt Rubens
9e8f8be5e1 Handle image blocks when switching to a model that doesn't support them 2025-01-07 23:36:28 -05:00
Matt Rubens
5f3ace4379 Minor code cleanup 2025-01-07 22:38:54 -05:00
Matt Rubens
525b7424fe Cleanup the welcome screen to be less Claude focused 2025-01-07 22:31:08 -05:00
Matt Rubens
20322af5df Delete confirmation tweak 2025-01-07 20:10:15 -05:00
sam hoang
3346844584 fix: change provider not update without done, update chatbox change provider from MrUbens 2025-01-07 20:10:14 -05:00
sam hoang
840276b297 chore: remove verbose log 2025-01-07 20:09:56 -05:00
sam hoang
352f34d8ce feat: config manager using secret store 2025-01-07 20:09:55 -05:00
Daniel Riccio
594481643b Add New Unified Diff Strategy Implementation
- Introduced a new unified diff strategy with support for context matching, DMP, and Git-based edits.
- Implemented helper functions for parsing unified diffs and evaluating similarity.
- Added types for changes, hunks, and diffs to enhance type safety.
- Created a main edit function that applies strategies sequentially based on confidence levels.
- Included detailed descriptions and usage examples for the new strategy.
2025-01-07 19:01:12 -05:00
Daniel Riccio
2857dd4996 Refactor test cases in search-replace and unified strategies to use async/await for applyDiff method, ensuring consistent handling of asynchronous operations across all tests. 2025-01-07 19:00:29 -05:00
Daniel Riccio
70cf27071b Refactor applyDiff methods in search-replace and unified strategies to return Promises for asynchronous handling 2025-01-07 18:59:55 -05:00
Daniel Riccio
420c6c72dd Replace SearchReplaceDiffStrategy with NewUnifiedDiffStrategy in getDiffStrategy function 2025-01-07 18:59:16 -05:00
Daniel Riccio
612d7020f3 Add unit tests for NewUnifiedDiffStrategy 2025-01-07 18:58:23 -05:00
Daniel Riccio
4356cffb0d Refactor applyDiff method to return a Promise and add logging for diff results 2025-01-07 18:57:40 -05:00
Matt Rubens
5fbfe9b775 Add test coverage 2025-01-07 16:20:11 -05:00
Matt Rubens
bd888d8f5c Merge pull request #189 from RooVetGit/o1_model
Add the o1 model
2025-01-07 15:12:36 -05:00
Matt Rubens
00ac5b48bf Better API error messages 2025-01-07 13:58:53 -05:00
Matt Rubens
0aa5f1fb85 Add the o1 model 2025-01-07 13:33:47 -05:00
Matt Rubens
0ff8fe45d4 UI tweaks 2025-01-07 10:38:51 -05:00
Matt Rubens
c9de9cda66 Revert some whitespace changes 2025-01-07 10:31:42 -05:00
RaySinner
fe22d1ff2d feat: add retry request control with delay settings
- Add requestDelaySeconds setting for configuring delay between retry attempts
- Add alwaysApproveResubmit option for automatic retry approval
- Add api_req_retry_delayed message type for delayed retries
- Update UI components to support new retry control settings
2025-01-07 10:21:51 -05:00
Matt Rubens
87ba95b288 Allow deleting single messages 2025-01-06 23:27:32 -05:00
Mike C
ae2e429fc3 Merge pull request #270 from RooVetGit/feat/full_Integration_Tests
Set up vscode integration test
2025-01-06 22:00:08 -06:00
RaySinner
98b9007c36 merge(upstream): merge upstream changes keeping VSCode LM provider and adding Glama support 2025-01-07 01:54:46 +03:00
RaySinner
9d62a7bb77 feat(vscode-lm): implement VS Code Language Models provider 2025-01-07 01:23:22 +03:00
Matt Rubens
7e9ea7ac28 Add a Git section to the context mentions 2025-01-06 12:17:26 -05:00
Matt Rubens
7383a0514a Merge pull request #282 from RooVetGit/open_ai_streaming_toggle
Streaming checkbox for OpenAI-compatible providers
2025-01-05 22:46:50 -05:00
Matt Rubens
5e8d804d2b Add test 2025-01-05 20:52:06 -05:00
Matt Rubens
2cdfff02c0 Streaming checkbox for OpenAI-compatible providers 2025-01-05 20:34:54 -05:00
Frank
ac776cc8bf fix: adjust log wording 2025-01-05 19:25:52 -05:00
Frank
f813d65b5a fix: parse text to float 2025-01-05 19:25:44 -05:00
Frank
8b0e9bbf32 fix: remove unnecessary comment 2025-01-05 19:25:35 -05:00
Frank
e632998026 feat: add cache information 2025-01-05 19:25:29 -05:00
Frank
8284efc64b fix: use x-completion-request-id header 2025-01-05 16:42:34 -05:00
Frank
6b048923c6 fix: remove unnecessary delay 2025-01-05 16:42:20 -05:00
Frank
eb78332d4e fix: dynamically set computer use value 2025-01-05 00:18:33 -05:00
Frank
e5e700ffcb feat: add Glama gateway 2025-01-04 22:50:12 -05:00
ColemanRoo
8e54360a86 Switch to using dotenv to get test environment variables 2025-01-03 21:35:25 -06:00
ColemanRoo
66c5485534 Set up vscode integration test 2025-01-03 14:26:26 -06:00