feat(ai): add Qoder CLI provider
This commit is contained in:
1 parent
da6e2738ce
commit
c72b429899
38 files changed
+1100
-19
No files matched your search
@@ -243,6 +243,7 @@ fn resolve_cli_provider_config(mut config: AiConfig) -> AiConfig {
|
||||
AiProvider::CursorCli => (&mut config.cursor_cli_path, "agent"),
|
||||
AiProvider::GrokCli => (&mut config.grok_cli_path, "grok"),
|
||||
AiProvider::CodeBuddyCli => (&mut config.codebuddy_cli_path, "codebuddy"),
|
||||
AiProvider::QoderCli => (&mut config.qoder_cli_path, "qodercli"),
|
||||
_ => return config,
|
||||
};
|
||||
let command = path_slot.as_deref().map(str::trim).filter(|path| !path.is_empty()).unwrap_or(default_command);
|
||||
@@ -336,6 +337,8 @@ mod tests {
|
||||
grok_cli_env: Default::default(),
|
||||
codebuddy_cli_path: None,
|
||||
codebuddy_cli_env: Default::default(),
|
||||
qoder_cli_path: None,
|
||||
qoder_cli_env: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user