mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 12:14:19 +00:00
docs(cliproxy): clarify catalog --json output format in JSDoc
Use TypeScript-style index signature notation instead of ambiguous placeholder name in format description. Built [OnSteroids](https://onsteroids.ai)
This commit is contained in:
1 parent
dceb6f6d37
commit
ac92688cc5
1 file changed
+1
-1
@@ -177,7 +177,7 @@ export async function handleCatalogRefresh(verbose: boolean): Promise<void> {
|
|||||||
/**
|
/**
|
||||||
* Output catalog as JSON for programmatic consumption.
|
* Output catalog as JSON for programmatic consumption.
|
||||||
* Used by OnSteroids and other tools to get available models per provider.
|
* Used by OnSteroids and other tools to get available models per provider.
|
||||||
* Format: { provider: [{ id, name }], ... }
|
* Format: { [providerName: string]: Array<{ id: string, name: string }> }
|
||||||
*/
|
*/
|
||||||
export function handleCatalogJson(): void {
|
export function handleCatalogJson(): void {
|
||||||
const catalogs = getAllResolvedCatalogs();
|
const catalogs = getAllResolvedCatalogs();
|
||||||
|
|||||||
Reference in new issue
Block a user