mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-08 22:19:51 +00:00
feat(api): add Azure Foundry preset
Add Microsoft Azure AI Foundry as a provider preset for `ccs api create`. Usage: `ccs api create --preset foundry` This is a cleaner implementation than the postinstall-based approach, leveraging the existing preset system. Co-authored-by: MinhOmega <49482201+MinhOmega@users.noreply.github.com>
This commit is contained in:
@@ -426,7 +426,7 @@ async function showHelp(): Promise<void> {
|
||||
console.log('');
|
||||
console.log(subheader('Options'));
|
||||
console.log(
|
||||
` ${color('--preset <id>', 'command')} Use provider preset (openrouter, glm, glmt, kimi)`
|
||||
` ${color('--preset <id>', 'command')} Use provider preset (openrouter, glm, glmt, kimi, foundry)`
|
||||
);
|
||||
console.log(` ${color('--base-url <url>', 'command')} API base URL (create)`);
|
||||
console.log(` ${color('--api-key <key>', 'command')} API key (create)`);
|
||||
@@ -441,6 +441,7 @@ async function showHelp(): Promise<void> {
|
||||
console.log(` ${color('glm', 'command')} GLM - Claude via Z.AI (GitHub Copilot)`);
|
||||
console.log(` ${color('glmt', 'command')} GLMT - GLM with Thinking mode`);
|
||||
console.log(` ${color('kimi', 'command')} Kimi - Moonshot AI reasoning model`);
|
||||
console.log(` ${color('foundry', 'command')} Azure Foundry - Claude via Microsoft Azure`);
|
||||
console.log('');
|
||||
console.log(subheader('Examples'));
|
||||
console.log(` ${dim('# Interactive wizard')}`);
|
||||
|
||||
Reference in New Issue
Block a user