Matt Rubens
ef9c468f17
Use predicted length as input for detecting omissions
2024-12-19 00:54:06 -05:00
Matt Rubens
3aca5e813e
Make fuzzy diff matching configurable (and default to off)
2024-12-18 15:26:44 -05:00
Matt Rubens
6a6084b7ca
Toggle to switch browser size to 1280x800
2024-12-18 00:33:46 -05:00
Mike C
1be51a46b1
Merge pull request #60 from Premshay/main
...
feat(api): unify Bedrock provider using Runtime API
2024-12-17 09:29:43 -06:00
Matt Rubens
38f33de642
Fix bad matching bug with empty lines
2024-12-17 09:28:50 -05:00
Matt Rubens
800db618bb
Strip line numbers from write_to_file
2024-12-17 09:28:37 -05:00
Matt Rubens
f5bd5fae09
Prompt tweak for gemini line numbers
2024-12-17 07:50:53 -05:00
Premshay
e93f59085f
Merge branch 'RooVetGit:main' into main
2024-12-17 12:40:53 +02:00
Matt Rubens
7163b173e8
Fix test
2024-12-17 01:24:10 -05:00
Matt Rubens
792780e78d
Go back to older prompt
2024-12-17 01:15:15 -05:00
Matt Rubens
7d6e04fbe8
Error formatting
2024-12-17 00:25:26 -05:00
Matt Rubens
85fd2fce4e
Only output apply_diff error in chat if we fail to apply the diff to a file 2x in a row
2024-12-17 00:20:35 -05:00
Matt Rubens
eb56cac16b
Do fuzzy match search from the middle out and expand window to 20 lines
2024-12-17 00:10:15 -05:00
Matt Rubens
06202be46f
Remove debug checkbox
2024-12-16 22:58:04 -05:00
Matt Rubens
475776da98
Bugfix to strip line numbers with leading space
2024-12-16 17:45:00 -05:00
jquanton
8391111f7d
Merge pull request #129 from RooVetGit/jq/sound-setting-improvements
...
Sound setting improvements
2024-12-16 14:30:02 -08:00
Matt Rubens
905c68dd9e
Handle pure insertions and deletions with diffs
2024-12-16 16:50:45 -05:00
Justin Quan
bb5fababae
Merge branch 'main' into jq/sound-setting-improvements
2024-12-16 11:00:17 -08:00
Matt Rubens
61b2104345
Fix bug where start/end line not passed to diff
2024-12-16 12:26:40 -05:00
Matt Rubens
c2b4b05459
Diff debugging
2024-12-16 12:19:44 -05:00
Premshay
afbedce1e9
Merge branch 'RooVetGit:main' into main
2024-12-16 14:09:53 +02:00
Justin Quan
42715c1db6
Merge branch 'main' into jq/sound-setting-improvements
2024-12-16 00:08:21 -08:00
Justin Quan
1adc36a292
add volume setting
2024-12-15 23:22:44 -08:00
Justin Quan
63c766f380
fix soundEnabled init bug
2024-12-15 19:47:13 -08:00
Matt Rubens
e6c79eff80
Instead of trusting the prompt, just strip line numbers from diff contents
2024-12-15 22:40:59 -05:00
Matt Rubens
4b27264a21
Revert "Merge pull request #125 from RooVetGit/search_replace_prompt_hotfix"
...
This reverts commit 7d7a8563b7 , reversing
changes made to 868f4cddc9 .
2024-12-15 22:38:21 -05:00
Matt Rubens
0c08c0fe96
Search/replace prompt hotfix for Gemini
2024-12-15 21:00:15 -05:00
Matt Rubens
24474683f4
Fix test
2024-12-15 19:56:11 -05:00
Matt Rubens
c1dfdeda22
Better error messages for diffs
2024-12-15 19:48:55 -05:00
Matt Rubens
25da0b1907
Negative indentation
2024-12-15 16:53:48 -05:00
Matt Rubens
8159c51b03
Update omission format and keywords
2024-12-15 15:42:37 -05:00
Matt Rubens
468d317f2f
More indentation tests
2024-12-15 15:28:24 -05:00
Matt Rubens
e4c23fb61d
Prioritize exact line matches in search/replace
2024-12-15 15:19:58 -05:00
Premshay
acf472aae0
Update api.ts
2024-12-15 11:28:54 +02:00
Premshay
8460a796e9
Merge branch 'main' into main
2024-12-15 11:15:43 +02:00
Matt Rubens
2292372e42
Improvements to search/replace diff
2024-12-14 20:45:06 -05:00
Matt Rubens
f3b77c9c62
Support fuzzy matching for apply_diff
2024-12-14 13:52:47 -05:00
Matt Rubens
3d7ff32406
Allow enabling/disabling of MCP servers
2024-12-14 01:39:25 -05:00
Matt Rubens
b2c8805e5b
Update the prompt to encourage diff edits when the box is checked
2024-12-13 23:31:01 -05:00
Matt Rubens
23efdeaf35
More safety around always allowing MCP
2024-12-13 17:32:26 -05:00
Matt Rubens
1346f1280c
MCP checkbox for always allow
2024-12-13 16:14:13 -05:00
Matt Rubens
6ee118e0a2
Merge pull request #86 from RooVetGit/fix-openai-compatible-streaming
...
Add 'Include stream options' checkbox for OpenAI-compatible providers
2024-12-13 01:41:15 -05:00
Matt Rubens
77d7fc0a44
Fix indentation bug with diff replacing a single search line
2024-12-13 00:05:23 -05:00
Matt Rubens
be3d8a6166
Incorporate MCP changes ( #93 )
...
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2024-12-12 23:16:39 -05:00
Matt Rubens
2cfd76c305
Add 'Include stream options' checkbox for OpenAI-compatible providers
2024-12-12 09:20:58 -05:00
Matt Rubens
156cab8cbc
Fix: Add checkbox for stream_options in OpenAI-compatible providers
2024-12-12 08:58:38 -05:00
Cline
1069fda643
Add comprehensive test cases for AwsBedrockHandler
2024-12-11 22:49:02 +02:00
Cline
ca41c54cb5
test(bedrock): add comprehensive test coverage for Bedrock integration
...
- Add tests for AWS Bedrock handler (stream handling, config, errors)
- Add tests for message format conversion (text, images, tools)
- Add tests for stream event parsing and transformation
- Add tests for cross-region inference and prompt cache
- Add tests for metadata and message lifecycle events
2024-12-11 22:48:49 +02:00
Cline
51a57d5bbf
fix(bedrock): improve stream handling and type safety
...
- Fix TypeScript error in ConverseStreamCommand payload
- Add proper JSON parsing for test stream events
- Improve error handling with proper Error objects
- Add test-specific model info with required fields
- Fix cross-region inference and prompt cache config
2024-12-11 22:47:59 +02:00
Cline
140318cecd
feat(api): unify Bedrock provider using Runtime API
...
Problem:
The current Bedrock implementation uses the Bedrock SDK, which requires separate handling for different model types and doesn't provide a unified streaming interface.
Solution:
Integrate the Bedrock Runtime API to provide a single, unified interface for all Bedrock models (Claude and Nova) using the ConverseStream API. This eliminates the need for separate handlers while maintaining all existing functionality.
Key Changes:
- Refactored AwsBedrockHandler to use @aws-sdk/client-bedrock-runtime
- Enhanced bedrock-converse-format.ts to handle all content types and properly transform between Anthropic and Bedrock formats
- Maintained cross-region inference support with proper region prefixing
- Added support for prompt caching configuration
- Improved AWS credentials handling to better support default providers
- Added proper error handling and token tracking for all response types
Dependencies:
- Added @aws-sdk/client-bedrock-runtime for unified API access
- Removed @anthropic-ai/bedrock-sdk dependency
Testing:
- Verified message format conversion for all content types
- Tested cross-region inference functionality
- Validated streaming responses for both Claude and Nova models
This change simplifies the codebase by providing a single, consistent interface for all Bedrock models while maintaining full compatibility with existing features.
2024-12-11 22:47:56 +02:00