mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-03 12:21:20 +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:
@@ -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