fix(zai): satisfy catalog lint · openclaw/openclaw@a4f590a
vincentkoc
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -43,7 +43,9 @@ export function resolveZaiBaseUrl(endpoint?: string): string {
|
43 | 43 | } |
44 | 44 | |
45 | 45 | export function buildZaiCatalogModels(): ModelDefinitionConfig[] { |
46 | | -return ZAI_MANIFEST_PROVIDER.models.map((model) => ({ ...model, input: [...model.input] })); |
| 46 | +return ZAI_MANIFEST_PROVIDER.models.map((model) => |
| 47 | +Object.assign({}, model, { input: [...model.input] }), |
| 48 | +); |
47 | 49 | } |
48 | 50 | |
49 | 51 | export function buildZaiModelDefinition(params: { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。