Commit Graph

1286 Commits

Author SHA1 Message Date
Saoud Rizwan
e07e7e06a1 Fix Cline not reading Claude desktop config before modifying 2024-12-12 14:52:28 -08:00
Saoud Rizwan
635aa12957 Prepare release 2024-12-12 12:00:10 -08:00
Saoud Rizwan
0f36197230 Update README.md 2024-12-12 11:58:15 -08:00
Saoud Rizwan
f2f44c9ad1 Prepare for release 2024-12-12 10:14:49 -08:00
Saoud Rizwan
59bcb74322 Add gemini-2.0-flash-exp 2024-12-12 09:18:07 -08: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
Premshay
04259577ed Merge branch 'RooVetGit:main' into main 2024-12-12 09:23:19 +02:00
Saoud Rizwan
37d940b137 Fixes 2024-12-11 21:30:28 -08:00
Matt Rubens
0f2ad7675a Update README.md for Gemini 2 (#82) 2024-12-11 22:40:03 -05:00
Saoud Rizwan
c1b1d87869 Fixes 2024-12-11 16:38:58 -08:00
Saoud Rizwan
88cb60efe1 Fix server restart UX 2024-12-11 16:18:43 -08:00
Saoud Rizwan
69533ad112 Fixe resource template matching 2024-12-11 16:13:21 -08:00
Saoud Rizwan
2dd0590f8a Fixes 2024-12-11 15:55:21 -08:00
Saoud Rizwan
a34f39452c Fixes 2024-12-11 15:52:48 -08:00
Saoud Rizwan
657881dbe2 Fixes 2024-12-11 15:50:39 -08:00
Saoud Rizwan
afd2dd3eea Fixes 2024-12-11 15:45:07 -08:00
Saoud Rizwan
d0f4e9126f Fixes 2024-12-11 15:39:17 -08:00
Saoud Rizwan
e52c5f7dce Fixes 2024-12-11 15:27:58 -08:00
Saoud Rizwan
66ac67839c Fixes 2024-12-11 14:20:22 -08:00
Abel Trejo Pineda
33eb0a6fc0 Adding scripts and workflow for release notes generation (#81) 2024-12-11 14:15:16 -08:00
Saoud Rizwan
f5ace866e8 Fixes 2024-12-11 14:12:11 -08:00
R00-B0T
af9df77c2c Changeset version bump (#80)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ColemanRoo <michael.coleman@roo.vet>
2024-12-11 15:48:53 -06:00
ColemanRoo
8dbd01937d update command to build local vsix file and directory (#79) 2024-12-11 15:36:00 -06:00
Matt Rubens
d854407225 Merge pull request #78 from RooVetGit/chat_textarea_improvements 2024-12-11 16:25:51 -05:00
Matt Rubens
d7e35d0834 Larger text area with support for dragging in images 2024-12-11 15:51:31 -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
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
Abel Trejo Pineda
7e05dc0139 Merge pull request #77 from RooVetGit/chores/release-fixes
Release fixes
2024-12-11 12:22:22 -08:00
a8trejo
21f83f64d8 Minor script fix 2024-12-11 12:10:55 -08:00
a8trejo
5eafdbcc57 release fixes 2024-12-11 12:04:42 -08:00
Matt Rubens
d03465358c Merge pull request #76 from RooVetGit/gemini_2_fix 2024-12-11 14:05:20 -05:00
Matt Rubens
0e0c848a96 Fix Gemini 2.0 context window 2024-12-11 14:02:54 -05:00
Matt Rubens
38fe812995 Merge pull request #74 from RooVetGit/gemini_2
Add Gemini 2.0
2024-12-11 13:52:52 -05:00
Abel Trejo Pineda
2f2c0609ba Merge pull request #61 from RooVetGit/chores/changeset-releases
Changeset AI Releases and code guardrails
2024-12-11 10:38:43 -08:00
Matt Rubens
65bbefed55 Add Gemini 2.0 2024-12-11 13:36:46 -05:00
Saoud Rizwan
d05033909b Fixes 2024-12-11 10:11:08 -08:00
Matt Rubens
70639ec0df Merge pull request #67 from RooVetGit/alert-autofix-2
Fix code scanning alert no. 2: Prototype-polluting function
2024-12-11 13:04:01 -05:00
Matt Rubens
20c7c575e2 Merge pull request #66 from RooVetGit/alert-autofix-1
Fix code scanning alert no. 1: Incomplete URL substring sanitization
2024-12-11 13:03:55 -05:00
Matt Rubens
6092a718fc Merge pull request #73 from RooVetGit/stop_appending_newline_with_diff
Stop appending newlines to files when applying diffs
2024-12-11 13:03:44 -05:00
Matt Rubens
413f10650f Stop appending newlines to files when applying diffs 2024-12-11 12:42:14 -05:00
Matt Rubens
26ff5837de Merge pull request #72 from cline/main
fix: create a merge commit: merge cline:main to RooVetGit:main
2024-12-11 12:39:34 -05:00
Matt Rubens
355dc822dd Better error handling when unable to apply diffs (#71) 2024-12-11 11:20:01 -05:00
lloydchang
f0259aecad merge cline:main to RooVetGit:main (#63)
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-12-11 11:08:55 -05:00
Matt Rubens
8e36c555cb Delete .github/ISSUE_TEMPLATE/config.yml (#69) 2024-12-11 10:38:25 -05:00
lloydchang
9abe3f6916 fix(openai.ts): default to an empty string if undefined
Change:

const urlHost = new URL(this.options.openAiBaseUrl).host;

To:

const urlHost = new URL(this.options.openAiBaseUrl ?? "").host;

because the nullish coalescing operator (??) to default to an empty string if this.options.openAiBaseUrl is undefined.

It ensures that the URL constructor always receives a valid string.
2024-12-11 02:37:26 -08:00
lloydchang
b2f0aaec8a Fix code scanning alert no. 2: Prototype-polluting function
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-12-11 02:18:49 -08:00