test: tighten lmstudio missing model assertion · openclaw/openclaw@6094fe3
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -698,7 +698,7 @@ describe("lmstudio setup", () => {
|
698 | 698 | await expect(configureLmstudioNonInteractive(ctx)).resolves.toBeNull(); |
699 | 699 | |
700 | 700 | expect(ctx.runtime.error).toHaveBeenCalledWith( |
701 | | -expect.stringContaining("LM Studio model missing-model was not found"), |
| 701 | +"LM Studio model missing-model was not found at http://localhost:1234/v1.\nAvailable models: qwen3-8b-instruct", |
702 | 702 | ); |
703 | 703 | expect(ctx.runtime.exit).toHaveBeenCalledWith(1); |
704 | 704 | expect(configureSelfHostedNonInteractiveMock).not.toHaveBeenCalled(); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。