test: align codex auth hint expectation · openclaw/openclaw@661f11b
steipete
·
2026-04-24
·
via Recent Commits to openclaw:main
File tree
extensions/openai/test-support
| Original file line number | Diff line number | Diff line change |
|---|
@@ -107,6 +107,7 @@ export function describeOpenAIProviderCatalogContract() {
|
107 | 107 | const { openaiProvider } = await contractDepsPromise; |
108 | 108 | expectCodexMissingAuthHint( |
109 | 109 | (params) => openaiProvider.buildMissingAuthMessage?.(params.context) ?? undefined, |
| 110 | +"openai-codex/gpt-5.5", |
110 | 111 | ); |
111 | 112 | }); |
112 | 113 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -35,6 +35,7 @@ export function expectCodexMissingAuthHint(
|
35 | 35 | listProfileIds: (providerId: string) => string[]; |
36 | 36 | }; |
37 | 37 | }) => string | undefined, |
| 38 | +expectedModel = "openai/gpt-5.5", |
38 | 39 | ) { |
39 | 40 | expect( |
40 | 41 | buildProviderMissingAuthMessageWithPlugin({ |
@@ -46,7 +47,7 @@ export function expectCodexMissingAuthHint(
|
46 | 47 | listProfileIds: (providerId) => (providerId === "openai-codex" ? ["p1"] : []), |
47 | 48 | }, |
48 | 49 | }), |
49 | | -).toContain("openai/gpt-5.5"); |
| 50 | +).toContain(expectedModel); |
50 | 51 | } |
51 | 52 | |
52 | 53 | export function expectCodexBuiltInSuppression( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。