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
Cline
dffc040e7c
feat(bedrock): Add Meta Llama 3, 3.1, and 3.2 models with detailed pricing and context windows
2024-12-11 22:31:32 +02:00
Matt Rubens
0e0c848a96
Fix Gemini 2.0 context window
2024-12-11 14:02:54 -05:00
Matt Rubens
65bbefed55
Add Gemini 2.0
2024-12-11 13:36:46 -05:00
Domenico Bochicchio | Asclepyus Srl
39b51fa78f
Added support for gemini-exp-1206 ( #54 )
2024-12-09 09:37:38 -05:00
Matt Rubens
5d9d36c128
Checkbox to experiment with letting Cline edit through diffs ( #48 )
...
Co-authored-by: Jozi <jozigila@gmail.com >
2024-12-07 16:35:55 -05:00
John Stearns
423e2af520
Continuing work on support for OpenRouter compression ( #43 )
2024-12-07 09:38:13 -08:00
Matt Rubens
4b74f290d4
Play sound effects for notifications and events ( #38 )
...
Co-authored-by: HeavenOSK <heavenosk@gmail.com >
2024-12-01 22:25:10 -05:00
Matt Rubens
6b8f9f7a45
Expose a list of allowed auto-execute commands ( #31 )
2024-12-01 15:34:36 -05:00
Matt Rubens
0346fdeecb
Add a setAlwaysAllowBrowser checkbox to settings
2024-11-22 13:37:04 -05:00
John Stearns
fb222587fb
Merge remote-tracking branch 'upstream/main'
2024-11-14 19:34:12 -08:00
Saoud Rizwan
39bc35eec1
Add LM Studio provider
2024-11-12 22:02:42 -05:00
John Stearns
c6c0099942
Updating Roo-Cline with the latest cline/cline
2024-11-07 15:25:10 -08:00
Saoud Rizwan
ad29ff2a03
Add AWS cross-region inference toggle
2024-11-07 13:51:13 -05:00
Sam
2eb11aadc7
Fix: Add missing sonnet model to bedrock ( #633 )
2024-11-07 12:57:03 -05:00
Saoud Rizwan
48cdfa9874
Add Haiku 3.5 to Anthropic, Bedrock, Vertex
2024-11-04 14:08:25 -05:00
John Stearns
3c8a9c09dd
Add options to always approve write and execute operations
2024-11-01 13:38:47 -07:00
Saoud Rizwan
d9f9e7ba16
Add browser_action tool
2024-10-27 02:39:41 -04:00
Saoud Rizwan
17f34e6225
Add 'supports computer use' prop; sync latest openrouter info on launch
2024-10-23 15:43:34 -04:00
Saoud Rizwan
e5266ddda1
Add fallback claude 3.5 sonnet v1 models for bedrock and vertex
2024-10-22 18:24:34 -04:00
Saoud Rizwan
165272ab47
Update Anthropic model IDs
2024-10-22 16:21:17 -04:00
Saoud Rizwan
5190d30ae3
Refactor commands
2024-10-09 01:49:59 -04:00
Saoud Rizwan
09001fa72a
Refactor claudeMessages
2024-10-09 01:49:59 -04:00
Saoud Rizwan
7612e50a5f
Refactor ClineApiReq
2024-10-09 01:49:59 -04:00
Saoud Rizwan
0932361c7d
Refactor ClineSay
2024-10-09 01:49:59 -04:00
Saoud Rizwan
d5a998a23a
Refactor ClineAsk
2024-10-09 01:49:59 -04:00
Saoud Rizwan
d67523596b
Refactor ClineMessage
2024-10-09 01:49:59 -04:00
Saoud Rizwan
7dd9abda46
Cleanup
2024-10-09 01:49:59 -04:00
Saoud Rizwan
874d667ff4
Move tool use rules to top of system prompt for better results
2024-10-09 01:49:58 -04:00
Saoud Rizwan
f6a14fdfb9
Add markdown rendering for model description; fixes
2024-10-09 01:49:57 -04:00
Saoud Rizwan
7cb0c524e5
Add OpenRouter custom model scheme
2024-10-09 01:49:57 -04:00
Saoud Rizwan
42bcc4420d
Add API streaming failed error handling
2024-10-09 01:49:55 -04:00
Saoud Rizwan
9b1b9c10a1
Add Cancel button
2024-10-09 01:49:55 -04:00
Saoud Rizwan
ec2b9c847e
Add streaming capability for other tools
2024-10-09 01:49:54 -04:00
Saoud Rizwan
1cc3546b7e
Initial streaming refactor
2024-10-09 01:49:54 -04:00
Saoud Rizwan
5069e1a11b
Use new gemini models
2024-09-25 00:28:18 -04:00
Saoud Rizwan
d81002decc
Refactor Azure OpenAI default version
2024-09-24 12:45:24 -04:00
Saoud Rizwan
d4f15de199
Add API for other extensions to interact with Claude Dev
2024-09-22 10:42:05 -04:00
Saoud Rizwan
f7d12a3e02
Add inspect_site tool
2024-09-21 10:54:20 -04:00
Saoud Rizwan
abb4a0143e
Add Azure API version option
2024-09-20 10:56:26 -04:00
Saoud Rizwan
554da736d4
Show error message when url scraping fails; update mention regex to allow trailing punctuation
2024-09-18 22:06:27 -04:00
Saoud Rizwan
593b3d6b7c
Make mentions clickable
2024-09-18 14:10:37 -04:00
Saoud Rizwan
f4c401343f
Retrieve workspace filepaths for context menu
2024-09-17 17:02:13 -04:00
Saoud Rizwan
adceb76775
Add o1 support
2024-09-13 16:37:04 -04:00
Saoud Rizwan
e2d62ab109
Add experimental gemini models
2024-09-13 04:41:58 -04:00
Saoud Rizwan
dc617a92a9
Add prompt caching to openrouter; remove o1 since it doesn't support tool use
2024-09-13 00:49:04 -04:00
Saoud Rizwan
4b44e8f921
Add OpenAI provider
2024-09-12 15:01:28 -04:00
Saoud Rizwan
3b004aed37
Fix gemini message conversion
2024-09-12 11:49:32 -04:00
Saoud Rizwan
fbb7620fa1
Add gemini support
2024-09-12 08:11:33 -04:00
Saoud Rizwan
0522a26fd9
Open read files in editor instead of code accordian
2024-09-11 16:38:33 -04:00