test: fix github copilot discovery contract mock · openclaw/openclaw@027337d
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
File tree
src/plugin-sdk/test-helpers
| Original file line number | Diff line number | Diff line change |
|---|
@@ -123,6 +123,7 @@ function installDiscoveryHooks(state: DiscoveryState, options: DiscoveryContract
|
123 | 123 | }); |
124 | 124 | vi.doMock("openclaw/plugin-sdk/provider-auth", () => { |
125 | 125 | return { |
| 126 | +DEFAULT_COPILOT_API_BASE_URL: "https://api.individual.githubcopilot.com", |
126 | 127 | MINIMAX_OAUTH_MARKER: "minimax-oauth", |
127 | 128 | applyAuthProfileConfig: (config: OpenClawConfig) => config, |
128 | 129 | buildApiKeyCredential: ( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。