mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 06:57:28 +00:00
Models: fix codex follow-up CI issues
This commit is contained in:
committed by
Peter Steinberger
parent
b77a115f67
commit
c7fddd95c3
@@ -135,6 +135,7 @@ describe("openai-codex implicit provider", () => {
|
||||
mode: "merge",
|
||||
providers: {
|
||||
"openai-codex": {
|
||||
baseUrl: "",
|
||||
api: "openai-codex-responses",
|
||||
models: [],
|
||||
},
|
||||
|
||||
@@ -150,7 +150,9 @@ async function resolveProvidersForModelsJson(params: {
|
||||
const explicitProviders = cfg.models?.providers ?? {};
|
||||
const implicitProviders = await resolveImplicitProviders({ agentDir, explicitProviders });
|
||||
const authoritativeImplicitBaseUrlProviders = new Set<string>(
|
||||
[...AUTHORITATIVE_IMPLICIT_BASEURL_PROVIDERS].filter((key) => Boolean(implicitProviders[key])),
|
||||
[...AUTHORITATIVE_IMPLICIT_BASEURL_PROVIDERS].filter((key) =>
|
||||
Boolean(implicitProviders?.[key]),
|
||||
),
|
||||
);
|
||||
const providers: Record<string, ProviderConfig> = mergeProviders({
|
||||
implicit: implicitProviders,
|
||||
|
||||
Reference in New Issue
Block a user