test(release): use stable OpenAI model for Parallels smoke

This commit is contained in:
Peter Steinberger
2026-05-01 20:34:02 +01:00
parent 0f5648bf0d
commit 70cd7927fb
3 changed files with 4 additions and 4 deletions

View File

@@ -248,7 +248,7 @@ gh workflow run package-acceptance.yml --ref main \
- Use `--platform macos`, `--platform windows`, or `--platform linux` while
iterating on one guest. Use `--json` for the summary artifact path and
per-lane status.
- The OpenAI lane uses `openai/gpt-5.5` for the live agent-turn proof by
- The OpenAI lane uses `openai/gpt-5.4` for the live agent-turn proof by
default. Pass `--model <provider/model>` or set
`OPENCLAW_PARALLELS_OPENAI_MODEL` when deliberately validating another
OpenAI model.

View File

@@ -42,7 +42,7 @@ export function resolveProviderAuth(input: {
apiKeyEnv: input.apiKeyEnv || "OPENAI_API_KEY",
authChoice: "openai-api-key",
authKeyFlag: "openai-api-key",
modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.5",
modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.4",
},
};
const resolved = providerDefaults[input.provider];

View File

@@ -88,7 +88,7 @@ describe("Parallels smoke model selection", () => {
expect(providerAuth).toContain("OPENCLAW_PARALLELS_OPENAI_MODEL");
expect(providerAuth).toContain("OPENCLAW_PARALLELS_WINDOWS_OPENAI_MODEL");
expect(providerAuth).toContain("openai/gpt-5.5");
expect(providerAuth).toContain("openai/gpt-5.4");
expect(providerAuth).toContain("openai/gpt-4.1-mini");
expect(providerAuth).toContain('authChoice: "openai-api-key"');
expect(providerAuth).toContain('authChoice: "apiKey"');
@@ -227,7 +227,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing"));
apiKeyValue: "sk-openai",
authChoice: "openai-api-key",
authKeyFlag: "openai-api-key",
modelId: "openai/gpt-5.5",
modelId: "openai/gpt-5.4",
});
expect(