docs(api): document --extra-models flag in ccs api --help

This commit is contained in:
Tam Nhu Tran
2026-04-25 11:30:22 -04:00
parent f01210fbf2
commit a28d544abb
+8
View File
@@ -55,6 +55,9 @@ export async function showApiCommandHelp(writeLine: HelpWriter = console.log): P
writeLine(` ${color('--base-url <url>', 'command')} API base URL (create)`);
writeLine(` ${color('--api-key <key>', 'command')} API key (create)`);
writeLine(` ${color('--model <model>', 'command')} Default model (create)`);
writeLine(
` ${color('--extra-models <list>', 'command')} Comma-separated extra models to expose alongside --model`
);
writeLine(
` ${color('--1m / --no-1m', 'command')} Write or clear [1m] on compatible Claude mappings`
);
@@ -96,6 +99,11 @@ export async function showApiCommandHelp(writeLine: HelpWriter = console.log): P
);
writeLine(` ${color('ccs api create --preset glm', 'command')}`);
writeLine('');
writeLine(` ${dim('# Expose multiple models from one provider endpoint')}`);
writeLine(
` ${color('ccs api create dashscope --base-url https://... --api-key sk-xxx --model qwen3-coder-plus --extra-models glm-4.6,kimi-k2', 'command')}`
);
writeLine('');
writeLine(subheader('Claude Long Context'));
writeLine(` ${dim('Plain Claude model IDs stay on standard context by default.')}`);
writeLine(