mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-20 00:59:21 +00:00
fix(zai): satisfy catalog lint
This commit is contained in:
parent
963c56e01c
commit
a4f590a096
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,9 @@ export function resolveZaiBaseUrl(endpoint?: string): string {
|
|||
}
|
||||
|
||||
export function buildZaiCatalogModels(): ModelDefinitionConfig[] {
|
||||
return ZAI_MANIFEST_PROVIDER.models.map((model) => ({ ...model, input: [...model.input] }));
|
||||
return ZAI_MANIFEST_PROVIDER.models.map((model) =>
|
||||
Object.assign({}, model, { input: [...model.input] }),
|
||||
);
|
||||
}
|
||||
|
||||
export function buildZaiModelDefinition(params: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue