test(gateway): complete reload model config fixture · openclaw/openclaw@39ecedb
vincentkoc
·
2026-04-30
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -919,7 +919,17 @@ describe("gateway hot reload", () => {
|
919 | 919 | baseUrl: "http://127.0.0.1:11434", |
920 | 920 | api: "ollama", |
921 | 921 | apiKey: "ollama-local", |
922 | | -models: [{ id: "existing", name: "Existing" }], |
| 922 | +models: [ |
| 923 | +{ |
| 924 | +id: "existing", |
| 925 | +name: "Existing", |
| 926 | +reasoning: false, |
| 927 | +input: ["text"], |
| 928 | +cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, |
| 929 | +contextWindow: 131_072, |
| 930 | +maxTokens: 4096, |
| 931 | +}, |
| 932 | +], |
923 | 933 | }, |
924 | 934 | }, |
925 | 935 | }, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。