Roo-Code/src
roomote[bot] 2ba16b7bad feat: add Ollama API key support for Turbo mode (#7425)
* feat: add Ollama API key support for Turbo mode

- Add ollamaApiKey field to ProviderSettings schema
- Add ollamaApiKey to SECRET_STATE_KEYS for secure storage
- Update Ollama and NativeOllama providers to use API key for authentication
- Add UI field for Ollama API key (shown when custom base URL is provided)
- Add test coverage for API key functionality

This enables users to use Ollama Turbo with datacenter-grade hardware by providing an API key for authenticated Ollama instances or cloud services.

* fix: use VSCodeTextField for Ollama API key field

Remove non-existent ApiKeyField import and use standard VSCodeTextField with password type, matching other provider implementations

* Add missing translation keys for Ollama API key support

- Add providers.ollama.apiKey and providers.ollama.apiKeyHelp to all 18 language files
- Support for authenticated Ollama instances and cloud services
- Relates to PR #7425

* refactor: improve type safety for Ollama client configuration

- Replace 'any' type with proper OllamaOptions (Config) type
- Import Config type from ollama package for better type checking

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-03 00:24:28 -04:00
..
__mocks__ feature: add toggle for disable mcp server tool from prompt (#3551) 2025-06-20 19:14:59 -04:00
__tests__ Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-09-02 23:22:10 -04:00
activate feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
api feat: add Ollama API key support for Turbo mode (#7425) 2025-09-03 00:24:28 -04:00
assets PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
core feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
extension Mode and provider profile selector (#7545) 2025-09-03 00:17:56 -04:00
i18n Add support for Vercel embeddings (#7445) 2025-08-27 13:30:19 -04:00
integrations feat: optimize memory usage for image handling in webview (#7556) 2025-09-03 00:24:28 -04:00
services Refactor the extension bridge (#7515) 2025-09-02 23:22:10 -04:00
shared feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
utils fix: special tokens should not break task processing (#7540) 2025-09-03 00:24:28 -04:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs Revert "fix: optimize README for VS Code marketplace to prevent UI freezing" (#6303) 2025-07-28 14:31:01 -04:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts feat: sync extension bridge settings with cloud (#7535) 2025-09-02 23:26:36 -04:00
package.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.ca.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.de.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.es.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.fr.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.hi.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.id.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.it.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.ja.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.ko.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.nl.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.pl.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.pt-BR.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.ru.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.tr.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.vi.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.zh-CN.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
package.nls.zh-TW.json feat: rename Account tab to Cloud tab (#7558) 2025-09-03 00:24:28 -04:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-09-02 23:22:10 -04:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-09-02 23:15:28 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-09-02 23:15:28 -04:00