Commit graph

749 commits

Author SHA1 Message Date
Wojciech Kordalski
499b8e4665
Fake AI provider (#1769)
* Fake AI

* Do not show Fake AI in Roo-Code settings

* Rename providers/fake-provider.ts to providers/fake-ai.ts
2025-03-19 19:07:59 -07:00
Chris Estreich
eb74f02094
Choose specific provider when using OpenRouter (#1753)
* Choose specific provider when using OpenRouter

* Add translations
2025-03-17 15:40:27 -07:00
cte
f108dfaeb8 Evals 2025-03-17 10:09:19 -07:00
Matt Rubens
4ada518e58
Merge branch 'main' into jbbrown/bedrock_cost_intelligent_prompt_routing 2025-03-13 17:17:44 -04:00
Smartsheet-JB-Brown
6c74e9ba7b PR review cleanup 2025-03-13 13:04:16 -07:00
Smartsheet-JB-Brown
8d30b6f44a Update src/api/providers/bedrock.ts
agree, sorry old Javascript habits

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-13 09:56:07 -07:00
Smartsheet-JB-Brown
f7675244bd
Update src/api/providers/bedrock.ts
yes, unneeded remnant

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-13 08:09:21 -07:00
Matt Rubens
774248be1e Fix more hard-coded openrouter urls 2025-03-12 14:08:17 -04:00
Matt Rubens
93611ea6b5 Merge remote-tracking branch 'origin/main' into support-custom-baseUrl-for-google-ai-studio-gemini 2025-03-12 11:55:14 -04:00
Matt Rubens
c8b3095d93
Merge pull request #1566 from lightrabbit/feature/openai-compatible-deepseek-reasoning-support
feat: openai-compatible deepseek/qwq reasoning support
2025-03-12 11:39:49 -04:00
Matt Rubens
9b5ee27320
Merge pull request #1587 from dleen/cache
feat: Add prompt caching to OpenAI-compatible custom models
2025-03-12 11:35:42 -04:00
David Leen
10c1e7df2f Add cache control key to messages in OpenAI compatible provider 2025-03-11 22:43:33 -07:00
Smartsheet-JB-Brown
d8df9a5e2c Cost display updating for Bedrock custom ARNs that are prompt routers 2025-03-11 21:58:07 -07:00
cte
4b6def5f31 ContextProxy fix - constructor should not be async 2025-03-11 14:24:21 -07:00
Matt Rubens
76f91819c1 Use baseURL in OpenRouter generation check 2025-03-11 09:41:57 -04:00
dongqing
9d0b824b90 fix test error for wrong arguments after additional base url added 2025-03-11 17:37:07 +08:00
dongqing
a3a5592654 add config for gemini custom base url 2025-03-11 16:46:40 +08:00
dqroid
8b0956666c
Merge branch 'main' into support-custom-baseUrl-for-google-ai-studio-gemini 2025-03-11 16:15:52 +08:00
lightrabbit
7114cef03e feat: openai-compatible deepseek/qwq reasoning support 2025-03-11 14:13:17 +08:00
Matt Rubens
f306461276 Fix usage tracking for SiliconFlow etc 2025-03-10 22:59:08 -04:00
Matt Rubens
77186e8ee0 Cleanup 2025-03-10 22:15:52 -04:00
Smartsheet-JB-Brown
171037a938 Add enhanced error handling and logging for AWS Bedrock custom ARNs 2025-03-10 14:25:52 -07:00
Matt Rubens
6644202b55
Merge pull request #1451 from dtrugman/feat/add-openai-style-cost-calculation
Add openai style cost calculation
2025-03-10 10:11:30 -04:00
dongqing
85b54b33ba support custom base url for gemini in google AI studio 2025-03-10 19:06:58 +08:00
yt3trees
9246cf8f6d Add o3-mini support to openai compatible 2025-03-08 20:23:53 +09:00
Matt Rubens
2a65db61cf
Merge pull request #1444 from moqimoqidea/patch-1
fix claude 3.7 think enhance prompt problem.
2025-03-07 21:39:56 -05:00
Daniel Trugman
c51f59e50b Requesty: Correctly calculate request costs 2025-03-07 16:41:09 +00:00
Daniel Trugman
e14b1b2dab Add OpenAI-style cost calculation 2025-03-07 13:53:32 +00:00
Daniel Trugman
129f15884f Requesty: Correctly set image and computer use support 2025-03-07 13:00:37 +00:00
moqimoqidea
aa70d755f8
fix claude 3.7 think enhance prompt problem. 2025-03-07 16:28:44 +08:00
Matt Rubens
70a88aee4d
Merge pull request #1392 from eonghk/feature/vertex-credentials-auth
Add credentials auth for Google vertex
2025-03-06 16:45:45 -05:00
Olwer Altuve
21101e25bf refactor(deepseek): update test expectations
- Update test case to reflect current object reference behavior for model info
2025-03-06 12:29:13 -04:00
Olwer Altuve
e75fdc1ef6 only info 2025-03-06 11:51:11 -04:00
Olwer Altuve
89cf2c4c58 feat(api): Add DeepSeek provider support for prompt caching and detailed usage metrics
- Update DeepSeekHandler to support prompt caching
- Add cache token tracking in usage metrics
- Update DeepSeek model configurations with cache-related pricing
- Enhance test coverage for cache and usage metric handling
2025-03-06 11:26:15 -04:00
Chris Estreich
c9e21eb091
Merge pull request #1414 from websentry-ai/pm/add-unbound-metadata
Adds Unbound metadata for non-streaming requests
2025-03-05 21:07:27 -08:00
eong
e3ffd1337a Merge branch 'main' into feature/vertex-credentials-auth 2025-03-06 15:17:49 +13:00
Olwer Altuve
2e78662e9e fix(deepseek): update base URL to remove /v1 endpoint 2025-03-05 16:57:44 -04:00
Matt Rubens
e4fb0081b1 Update commands to roo-cline to be consistent with others 2025-03-05 10:39:36 -05:00
Matt Rubens
73ac64924e Merge remote-tracking branch 'origin/main' into human-relay 2025-03-05 10:34:03 -05:00
eong
01f83b4d17 Add credentials auth for Google vertex 2025-03-06 00:51:38 +13:00
Pugazhendhi
4073bdcb20 Fixes tests 2025-03-05 16:53:26 +05:30
Pugazhendhi
a489a8b1e4 Removes print statements 2025-03-05 16:29:10 +05:30
Pugazhendhi
10dd931eb7 Adds unbound metadata to non streaming requests 2025-03-05 16:28:04 +05:30
refactorthis
589387ba65 feat: add x-title and http-referer header to all openai providers
- Provides the ability for Open AI compatible gateways, such as LiteLLM, Open Router, Requesty to determine originating app.
 - Uses standard set by Open Router.
2025-03-05 19:16:23 +11:00
Adam Larson
1c8f9ed683 first pass on speculative decoding with LMStudio 2025-03-04 01:48:40 -05:00
Felix NyxJae
40dd7ac532 Merge branch 'main' of github.com:NyxJae/Roo-Code into human-relay 2025-03-04 11:23:04 +08:00
Matt Rubens
63cecf8b22 Support 128k max tokens for openrouter thinking 2025-03-03 09:37:55 -05:00
Matt Rubens
6cf420235d
Merge pull request #1327 from monotykamary/feat/claude-extended-output
feat: update virtual id for extended output 128k claude
2025-03-03 09:29:28 -05:00
Tom X Nguyen
ef93f5d422 refactor: always enable 128k for simplification 2025-03-03 11:17:01 +07:00
Felix NyxJae
b47de72cec Add countTokens method to HumanRelayHandler class in human-relay.ts 2025-03-03 12:11:43 +08:00