Commit bbcf56a
committed
feat: add vertex API key support and refactor provider handlers
- Add vertexApiKey field to ProviderSettings for simplified authentication
- Refactor VertexHandler to be fully independent from GeminiHandler
- Remove inheritance dependency and vertex-specific logic from GeminiHandler
- Implement standalone VertexHandler with vertex-only authentication methods
- Add comprehensive debug logging for model selection and API flow
- Update vertex provider UI to include API key input field
- Add i18n support for vertex API key label and placeholder
- Fix vertex tests to use correct default model (claude-sonnet-4@20250514)
- Ensure proper model selection and fallback logic for both providers
Breaking changes:
- VertexHandler no longer inherits from GeminiHandler
- Each provider now has completely separate model sets and authentication
Closes: #TBD1 parent 62a09a2 commit bbcf56a
File tree
10 files changed
+1077
-211
lines changed- packages/types/src
- providers
- src
- api/providers
- __tests__
- utils
- __tests__
- webview-ui/src
- components/settings/providers
- i18n/locales/en
10 files changed
+1077
-211
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| 294 | + | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
236 | 237 | | |
0 commit comments