slytechnical
3053678903
Implement tests for LiteLLM component and enhance API configuration handling
...
- Added comprehensive tests for the LiteLLM component to validate API key and base URL handling during model refresh.
- Updated the LiteLLMProps type to be exported for better accessibility.
- Enhanced the SettingsView tests to ensure correct rendering and default values for LiteLLM configuration.
- Mocked ApiOptions in tests to inspect props and validate API configuration behavior.
2025-05-19 18:44:24 -05:00
slytechnical
f92e4b9233
Enhance LiteLLM provider configuration and default handling
...
- Updated ApiOptions to ensure model-specific IDs are set correctly when switching to the LiteLLM provider.
- Added useEffect in SettingsView to set default values for LiteLLM configuration fields if they are missing.
- Improved error handling in LiteLLM component for missing API key and base URL during model refresh.
- Added missing configuration error messages in multiple languages for better user feedback.
2025-05-19 17:56:48 -05:00
slytechnical
d4918c369d
Switched GetModelsOptions to a discriminated union based on api provider. Adjusted related code and tests to match
2025-05-19 15:11:21 -05:00
slytechnical
cbed162462
Refactor ApiOptions and LiteLLM components to use useEvent for message handling
...
- Replaced traditional event listeners with useEvent for improved performance and cleaner code.
- Updated message handling logic in both components to ensure proper response processing for provider models.
- Enhanced type safety by utilizing specific message types from ExtensionMessage.
2025-05-19 13:29:47 -05:00
slytechnical
cd02cd8a03
Merge branch 'main' into litellm-provider-config, revert modelCache logic changes
2025-05-19 10:43:48 -05:00
pugazhendhi-m
d851586042
Adds refresh models button for Unbound provider ( #3663 )
...
* Adds refresh models button for Unbound provider
* Adds changeset
* Optimizes code to prevent memory leak, add error messages
* Adds unbound messages to all supported languages
---------
Co-authored-by: Pugazhendhi <pugazhendhi@unboundsecurity.ai>
2025-05-17 18:09:39 -07:00
slytechnical
88de5b26cd
Added litellm and validator tests
2025-05-16 17:55:27 -05:00
slytechnical
241722eeb6
add i18n for refreshModels strings
2025-05-16 16:42:55 -05:00
slytechnical
2328695101
Ability to refresh litellm models by refresh button. Provider-specific model fetching. Success vs fail user feedback on model fetch responses
2025-05-16 16:05:16 -05:00
Chris Estreich
95da34d3da
Fix command display in the approval required case ( #3636 )
2025-05-15 12:31:25 -07:00
Daniel
8447670499
Fix incorrect reserved tokens calculation on OpenRouter ( #3626 )
...
fix: improve token reservation logic in calculateTokenDistribution
2025-05-15 07:22:07 -04:00
Matt Rubens
669b239c22
v3.17.0 ( #3622 )
2025-05-14 17:33:55 -04:00
Canyon Robins
7c1185ed33
[Condense] Condense messages with an LLM rather than truncating ( #3582 )
...
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-14 16:44:01 -04:00
Hannes Rudolph
ead5d2a838
feat: add buildDocLink utility and 21 Internal Links to Docs ( #3418 )
...
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-14 13:15:05 -04:00
Chris Estreich
35fd4e68cd
Use a shadcn dialog for the announcement ( #3604 )
2025-05-14 09:00:55 -07:00
Matt Rubens
751afaa6ac
Add a 'when to use' section to mode definitions ( #3571 )
...
* Add a 'when to use' section to mode definitions
* Remove defaults for now
2025-05-13 18:39:02 -04:00
Chris Estreich
cd07b7faeb
Fix linter warning + run prettier on everything ( #3581 )
2025-05-13 15:16:24 -07:00
Chris Estreich
d3c469391f
Show LLM streaming file write content ( #3241 )
2025-05-13 09:47:33 -07:00
Chris Estreich
9a358ab0f5
Focus improvements ( #3539 )
2025-05-13 09:41:03 -07:00
Chris Estreich
0f9691ab27
Revert "Accidental execution of tool syntax fix" ( #3560 )
2025-05-13 09:36:23 -07:00
xyOz
07db3c8824
Accidental execution of tool syntax fix ( #3456 )
...
Co-authored-by: cte <cestreich@gmail.com>
2025-05-13 09:20:32 -07:00
KJ7LNW
7f8362f2e1
fix: command validation failing on shell array indexing ( #3530 )
...
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-12 21:31:54 -07:00
Daniel
9ffdc7879e
Use the provider-specific model info for the OpenRouter provider ( #3430 )
2025-05-12 18:23:32 -07:00
Chris Estreich
20fab97b4d
Gemini implicit caching ( #3515 )
2025-05-12 14:16:27 -07:00
Chris Estreich
47a13fbb42
Improve command execution UI ( #3509 )
2025-05-12 13:16:46 -07:00
John Richmond
8cb5c4e9e3
Restore profile management work + fix #3434 ( #3449 )
...
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-12 15:47:09 -04:00
KJ7LNW
7d75536741
fix: webview terminal output processing error ( #3028 )
2025-05-11 17:51:22 -07:00
Dicha Zelianivan Arkana
6edb9a16b8
fix(textarea): empty string as fallback ( #3463 )
2025-05-11 07:29:24 -04:00
Matt Rubens
730d037a12
Revert "Improve provider profile management in the external API ( #3386 )" ( #3440 )
2025-05-10 08:27:37 -04:00
Tony Zhang
effebc650b
Fix: forced-color-adjust in highlight theme ( #3424 )
2025-05-09 23:38:02 -04:00
Matt Rubens
c1aa0ec5b3
Fix saving of OpenAI compatible headers ( #3415 )
...
* Fix saving of OpenAI compatible headers
* Code cleanup
* Add test
2025-05-09 18:39:10 -04:00
Chris Estreich
c21aa230e3
Get rid of ApiConfiguration type alias, rename ApiConfigMeta to ProviderSettingsEntry ( #3380 )
2025-05-08 23:52:18 -07:00
Dicha Zelianivan Arkana
4730a12d4e
fix(prompts): revert to vscodetextarea to prevent race condition ( #3343 )
2025-05-08 22:53:37 -04:00
KJ7LNW
7cc97384cb
fix: show properly formatted multi-line commands in preview ( #3368 )
...
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-05-08 22:49:04 -04:00
cannuri
4091131859
fix display issues with too long profile names in ChatTextArea.tsx ( #3371 )
2025-05-08 22:41:11 -04:00
Matt Rubens
a1592e5cf6
Disable Posthog autocapture in the code in addition to in the web console ( #3303 )
2025-05-08 12:01:26 -07:00
Tony Zhang
1f91086c6b
fix: enhance focus styles in select-dropdown and docs url ( #3336 )
2025-05-08 09:41:09 -07:00
aheizi
59fdbaeecc
fix: project mcp allways allow ( #3332 )
2025-05-08 12:24:42 -04:00
Dicha Zelianivan Arkana
50d1837804
fix: properly handle mode name overflow ( #3328 )
2025-05-08 08:44:20 -07:00
Matt Rubens
6d8f903b04
Revert "Tailwind migration" ( #3321 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-08 10:38:29 -04:00
John Richmond
0bbd3fd1df
Add LiteLLM provider ( #3242 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-07 14:53:21 -04:00
Sacha Sayan
970bd97668
Tailwind migration ( #3235 )
...
Co-authored-by: cte <cestreich@gmail.com>
2025-05-07 11:40:25 -07:00
Maxim Madan
94ae4488f5
fix: wrap footer buttons in About section on narrow screens ( #3234 )
2025-05-06 14:08:19 -07:00
Matt Rubens
3ce7b3a432
Add Dutch localization files ( #3231 )
...
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Thomas Brugman <thomas.brugman.teb3@gmail.com>
2025-05-06 14:09:05 -04:00
Chris Estreich
b0757c2d05
Enable Gemini prompt caching by default ( #3225 )
2025-05-06 09:56:57 -07:00
zetaloop
328a25e889
Add gemini-2.5-pro-preview-05-06 model ( #3222 )
...
Add model gemini-2.5-pro-preview-05-06
2025-05-06 09:33:09 -07:00
Dicha Zelianivan Arkana
883cb927a3
refactor: general UI improvements ( #2987 )
2025-05-06 12:06:20 -04:00
Chris Estreich
2e2c0a8f02
chore: prepare for v3.16.0 release ( #3214 )
2025-05-06 08:34:29 -07:00
Sam Hoang Van
8b6f5fd60b
Fix/remove path lib webview ( #2529 )
2025-05-06 08:19:47 -07:00
Tony Zhang
6d0f08f238
Fix language select width calculation ( #3201 )
2025-05-06 08:49:47 -04:00