From a28d544abbba8f3246a7adea41d97010d22cd6d7 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Sat, 25 Apr 2026 11:30:22 -0400 Subject: [PATCH] docs(api): document --extra-models flag in ccs api --help --- src/commands/api-command/help.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/commands/api-command/help.ts b/src/commands/api-command/help.ts index 000a1840..2da106d2 100644 --- a/src/commands/api-command/help.ts +++ b/src/commands/api-command/help.ts @@ -55,6 +55,9 @@ export async function showApiCommandHelp(writeLine: HelpWriter = console.log): P writeLine(` ${color('--base-url ', 'command')} API base URL (create)`); writeLine(` ${color('--api-key ', 'command')} API key (create)`); writeLine(` ${color('--model ', 'command')} Default model (create)`); + writeLine( + ` ${color('--extra-models ', '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(