refactor(agents): hide google simple completion api id · openclaw/openclaw@4900881
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,8 +24,11 @@ vi.mock("./custom-api-registry.js", () => ({
|
24 | 24 | ensureCustomApiRegistered, |
25 | 25 | })); |
26 | 26 | |
27 | | -const { GOOGLE_SIMPLE_COMPLETION_API, prepareGoogleSimpleCompletionModel } = |
28 | | -await import("./google-simple-completion-stream.js"); |
| 27 | +const { prepareGoogleSimpleCompletionModel } = await import( |
| 28 | +"./google-simple-completion-stream.js" |
| 29 | +); |
| 30 | + |
| 31 | +const GOOGLE_SIMPLE_COMPLETION_API = "openclaw-google-generative-ai-simple"; |
29 | 32 | |
30 | 33 | // Mirrors the provider catalog shape closely enough for wrapper registration |
31 | 34 | // without pulling live Google model discovery into unit tests. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。