test(agents): align local marker auth expectation · openclaw/openclaw@f820f89
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -888,7 +888,7 @@ describe("resolveApiKeyForProvider – synthetic local auth for custom providers
|
888 | 888 | ).rejects.toThrow("No API key found"); |
889 | 889 | }); |
890 | 890 | |
891 | | -it("resolves custom named Ollama providers with explicit local marker auth", async () => { |
| 891 | +it("resolves custom named Ollama providers with explicit local marker auth as a local models marker", async () => { |
892 | 892 | const auth = await resolveApiKeyForProvider({ |
893 | 893 | provider: "ollama-remote", |
894 | 894 | cfg: { |
@@ -917,8 +917,8 @@ describe("resolveApiKeyForProvider – synthetic local auth for custom providers
|
917 | 917 | }); |
918 | 918 | |
919 | 919 | expect(auth).toMatchObject({ |
920 | | -apiKey: "ollama-local", |
921 | | -source: "models.providers.ollama-remote (synthetic local key)", |
| 920 | +apiKey: "custom-local", |
| 921 | +source: "models.json (local marker)", |
922 | 922 | mode: "api-key", |
923 | 923 | }); |
924 | 924 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。