Fix: Add 'roo' provider to checkExistKey function (#7239)

This commit is contained in:
Daniel 2025-08-19 21:13:44 -05:00 committed by GitHub
parent c249ff81e9
commit 912eefd7b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,8 @@ export function checkExistKey(config: ProviderSettings | undefined) {
return false
}
// Special case for human-relay, fake-ai, and claude-code providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code"].includes(config.apiProvider)) {
// Special case for human-relay, fake-ai, claude-code, and roo providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code", "roo"].includes(config.apiProvider)) {
return true
}