mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
fix(zai): satisfy catalog lint
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user