mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
Add claude code as a provider that doesn't need configuration (#5038)
This commit is contained in:
parent
abaa3d8179
commit
6fd0b75bc8
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ export function checkExistKey(config: ProviderSettings | undefined) {
|
|||
return false
|
||||
}
|
||||
|
||||
// Special case for human-relay and fake-ai providers which don't need any configuration.
|
||||
if (config.apiProvider === "human-relay" || config.apiProvider === "fake-ai") {
|
||||
// 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)) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue