Eric Li
ea2f4080f8
opt: Enhance OpenAiHandler to diagnose request issues and handle empty streams ( #1702 )
2025-02-27 17:21:00 -08:00
Dennis Bartlett
ff0eb8fa77
Fix rebase conflict resolution discrepency
2025-02-27 16:18:49 -08:00
pashpashpash
39980e9be7
Revert "Better Streaming Support ( #1980 )" ( #1993 )
...
This reverts commit 93856ab3b06fef1b5b2f47b8ee6c2af5ab89dbe7.
2025-02-27 15:50:02 -08:00
brownrw8 and ellipsis-dev[bot]
9b5cefd69d
Better Streaming Support ( #1980 )
...
* feat: enterprise support
* Update src/api/providers/enterprise.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* refactor + anthropic
* fix
* update chunking
* fix enterprise providers
* minor refactor for chunking
* comments
* defaults
* tests
* remove imports
* suggested fixes
* decouple message type
* upgrade libs, prompt caching no longer in beta for claude models
* updates for tests
* enterprise -> streaming provider
* update tests
* remove section from anthropic.ts
* handle specific GCP Vertex invalid_grant error
* finish comment
* add caching stats to chunking
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-27 15:46:01 -08:00
Doug Daniels
a229b8ce9d
feat(vertex): Add prompt caching support for Claude on Vertex AI ( #1885 )
...
* feat(vertex): Add prompt caching support for Claude on Vertex AI
* Remove countTokens update claude 3.7
* claude-3-7-sonnet@20250219 support in Vertex AI as default model
2025-02-26 22:28:02 -08:00
Saoud Rizwan
5f57c1f2f3
Add new openrouter model IDs
2025-02-24 18:14:58 -08:00
Saoud Rizwan
131b245023
Revert "Anthropic: Bump it up! ( #1938 )"
...
This reverts commit c2809491b4 .
2025-02-24 18:09:51 -08:00
Evan
c2809491b4
Anthropic: Bump it up! ( #1938 )
...
* Updated Anthropic SDK and fixed types
* adjust export markdown handling
* adjust export markdown handling
* added changeset
2025-02-24 17:02:21 -08:00
Saoud Rizwan
1127e2a33c
Add Claude 3.7 Sonnet
2025-02-24 11:07:23 -08:00
Quentin Machu
82f1f79b3e
fix: make AWS Bedrock authentication predictable
...
Anthropic's Bedrock SDK creates an AWS credential provider chain [1]
for each request it needs to sign. By doing so right before actually
having to sign the request, it can utilize any session created after
VSCode launched (i.e. outside of the process), and it can renew the
sessions every time necessary transparently for the user.
Cline, on the other hand, by transforming the provided AWS_PROFILE into
a key / secret / session, as part of client initialization, completely
short-circuits this, making it very difficult for users in companies where
sessions are short-lived. Furthermore, Cline would silently ignore the
provided AWS_PROFILE if there isn't a current/non-expired session at the time
of initialization, pass null keys to the Bedrock SDK, which would then
make use the default profile, which may not be configured or authorized
to use AWS Bedrock (as most AWS SSO hub accounts would). From the
perspective of the user, this would manifest itself as an "supported
country" error or unhelpful errors that are basically impossible to
debug without attaching a debugger to Cline.. and such developers may
end up reaching out to their DevOps/IT teams for help, which also could
turn into a waste of time.
This PR addresses the aforementioned issues by resolving the credentials on
every invocation.
1: https://github.com/anthropics/anthropic-sdk-typescript/blob/61b55599d50d9c93840e4736cb756cb3a62b0696/packages/bedrock-sdk/src/auth.ts#L19
2025-02-20 22:41:29 +08:00
Saoud Rizwan
e40e6ddbcd
Refactor
2025-02-18 10:49:37 -08:00
Daniel Trugman
cc166f4144
Requesty provider improvements ( #1829 )
...
* Requesty: Add cline headers to requests
* Requesty: Add support for cache read/write tokens
* Requesty: Remove deepseek reasoner conversions that are handled in-flight by Requesty
* Requesty: Read o3-mini reasoning effort from Cline settings
* Requesty: Add total cost per interaction
* Add changeset
2025-02-17 10:37:23 -08:00
Saoud Rizwan
5dea79c65f
Fix Mistral provider server URL
2025-02-17 10:35:21 -08:00
Shawn Smith
a99648884a
Fix: Bedrock Profiles ( #1751 )
...
* fix-bedrock-profiles
* fix-bedrock-profiles
* resolve linting issue
* fixes
* resolve using var
* add changeset
* update changeset
2025-02-12 17:56:20 -08:00
0434b5c772
Advanced configuration for OpenAI Compatible Providers ( #1737 )
...
* feat: advanced configuration for OpenAI Compatible Providers
* Update .changeset/thirty-eyes-appear.md
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update webview-ui/src/components/settings/ApiOptions.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* dropdown menu
* Show pricing if user entered model info
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2025-02-12 14:09:55 -08:00
Sanjaykumar S and Saoud Rizwan
e534c3dbc7
Add api key for litellm api provider #1766 ( #1767 )
...
* Add api key for litellm api provider
* Added Changeset
* Update litellm.ts
* Update ApiOptions.tsx
---------
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2025-02-12 10:56:13 -08:00
Waylon and fine
e8a2e88fa0
feat: qwen platform adds deepseek-r1/v3 support ( #1729 )
...
Co-authored-by: fine <fine_951111@163.com >
2025-02-10 20:04:16 -08:00
Saoud Rizwan
fbd249d387
Adjust generation retry params
2025-02-09 02:14:34 -08:00
Saoud Rizwan
43200007cf
Retry openrouter generation endpoint to fix context limit errors
2025-02-08 20:15:38 -08:00
Saoud Rizwan
fa05f94dfa
Fixes
2025-02-07 21:34:47 -08:00
Evan and Saoud Rizwan
4449b51e2c
Let's reason together ( #1597 )
...
* let's reason together
* typo
* changeset
* Fix type error
---------
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2025-02-07 14:32:14 -08:00
brownrw8
84f017c98e
feat:Add Together API Provider ( #1698 )
2025-02-07 13:55:48 -08:00
Daniel Steigman
076b1e39e6
Nighttrek/bedrock credential manager ( #1667 )
...
* added initial AWS bedrock support
* fixed formatting
* updated to fix persistence
* added changeset
2025-02-06 23:36:38 -08:00
brownrw8 and Saoud Rizwan
3cacd57949
Add dedicated Requesty provider ( #1677 )
...
* feat: Add dedicated Requesty provider
* Update ExtensionStateContext.tsx
---------
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2025-02-06 20:45:52 -08:00
aicc and Saoud Rizwan
548338d39e
Add alibaba qwen models plus/max/coder-plus/turbo both stable and latest to use. ( #1648 )
...
* add alibaba qwen-max qwen-plus qwen-turbo qwen-coder-plus stable/latest models
* add alibaba qwen-max qwen-plus qwen-turbo qwen-coder-plus stable/latest models
* Provide the api line choice for international user
* Remove redundant code
* Copy fixes
* Create dry-socks-talk.md
---------
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2025-02-05 23:23:33 -08:00
bd5eb8fcae
feat: add retry decorator with rate limit handling ( #1605 )
...
* fix: improve retry decorator with smart rate limit handling
- Add handling of rate limit (429) errors
- Implement retry timing based on response headers
- Add exponential backoff when no headers present
- Add a few unit tests
Fixes #713
* Create modern-knives-tan.md
* Improve readability in retry.ts
---------
Co-authored-by: Michael Overhorst <m.overhorst@spotonmedics.nl >
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2025-02-05 23:11:01 -08:00
Daniel Steigman
905327db4e
Merge pull request #1610 from ViezeVingertjes/feat/1609-add-mistral-models
...
feat: Add support for all available Mistral API models
2025-02-04 23:52:10 -08:00
Michael Overhorst
fd676ef047
Removed /v1 from the url and tested several models.
2025-02-05 06:51:02 +01:00
Michael Overhorst
2cc0fa906c
Updated the mistral url.
2025-02-05 06:41:00 +01:00
Hiroki Nakashima
180fbd5995
feat: add LiteLLM API provider support ( #1618 )
2025-02-04 14:46:13 -08:00
Daniel Trugman
a087f5e583
Fix reasoning_content check for openai & deepseek streams ( #1594 )
2025-02-01 16:15:57 -08:00
Saoud Rizwan
5eb8086b42
Add o3-mini support to OpenAI
2025-01-31 15:21:42 -08:00
Saoud Rizwan
6500b7c210
Fixes
2025-01-31 02:38:27 -08:00
Saoud Rizwan
68ac266463
Add better support for r1 + show reasoning tokens
2025-01-31 02:35:06 -08:00
Saoud Rizwan
d9af2acf5b
Fix deepseek
2025-01-21 13:40:40 -08:00
Slava Kurilyak
f4df887fcd
feat: Add DeepSeek-R1 (deepseek-reasoner) support ( #1355 )
...
* feat: Add DeepSeek-R1 (deepseek-reasoner) support
- Add new deepseek-reasoner model with proper pricing info
- Fix temperature parameter being sent to unsupported deepseek-reasoner model
- Improve model selection logic in DeepSeekHandler
- Update CHANGELOG with new features and fixes
- Bump version to 3.1.11
* style: apply prettier formatting to deepseek provider and api definitions
2025-01-21 13:37:34 -08:00
Saoud Rizwan
6ceda01b24
Remove consult advisor tool
2025-01-20 16:12:12 -08:00
Saoud Rizwan
39b0389b9d
Add vscode LM API types
2025-01-20 16:12:11 -08:00
Saoud Rizwan
8ec0b2cf08
Add VS Code LM API
2025-01-20 16:12:10 -08:00
Saoud Rizwan
771332ca3e
Add respond_to_inquiry
2025-01-20 16:12:10 -08:00
Saoud Rizwan
7aeab15ecf
Add advisor model to anthropic
2025-01-20 16:12:10 -08:00
Saoud Rizwan
f4ae4c66df
Add advisor model to openrouter
2025-01-20 16:12:09 -08:00
Saoud Rizwan
2b1e3f553b
Add Mistral API provider
2025-01-16 19:40:27 -08:00
Matt Rubens
a025b5cfd3
Add the o1 model ( #1246 )
2025-01-14 12:20:26 -08:00
Saoud Rizwan
25cd7cc8e2
chore: Prettier fix formatting
2025-01-06 12:41:33 -08:00
Saoud Rizwan
9de7253998
refactor: code cleanup, formatting updates, improved workspace handling, checkpoints feature
...
Add instructions
Fix completion
Refactor
Rename reset to restore
add haschanges flag
Remove log
Better error handling
Better error handling
Fix wording
Fix
Fix
Fix
Comment
Add hash for only latest tool
Prepare for release
Fix
Fix delete
Format fix
2025-01-06 12:40:30 -08:00
Saoud Rizwan
781434dd97
Fix DeepSeek cost reporting
2024-12-31 17:49:18 -08:00
Saoud Rizwan
505e7ea481
Fix deepseek price reporting
2024-12-31 13:10:17 -08:00
Saoud Rizwan
9ab24806f9
Fix context window error with deepseek
2024-12-31 12:26:47 -08:00
Saoud Rizwan
576de4df1a
Add DeepSeek provider
2024-12-31 11:47:44 -08:00