test: use release OpenAI model in Parallels · openclaw/openclaw@e8afaf5
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,7 @@ ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.dis
|
40 | 40 | ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.enabled true |
41 | 41 | ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.groupPolicy allowlist |
42 | 42 | ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.guilds ${shellQuote(guilds)} --strict-json |
| 43 | +${this.input.guestNode} ${this.input.guestOpenClawEntry} plugins deps --repair |
43 | 44 | ${this.input.guestNode} ${this.input.guestOpenClawEntry} gateway restart |
44 | 45 | ${this.input.guestNode} ${this.input.guestOpenClawEntry} channels status --probe --json`); |
45 | 46 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -479,7 +479,7 @@ class MacosSmoke {
|
479 | 479 | this.status.freshAgent = "pass"; |
480 | 480 | if (this.discordEnabled()) { |
481 | 481 | this.status.freshDiscord = "fail"; |
482 | | -await this.phase("fresh.discord-config", 180, () => this.configureDiscord()); |
| 482 | +await this.phase("fresh.discord-config", 600, () => this.configureDiscord()); |
483 | 483 | await this.phase("fresh.discord-roundtrip", 180, () => this.runDiscordRoundtrip("fresh")); |
484 | 484 | this.status.freshDiscord = "pass"; |
485 | 485 | } |
@@ -536,7 +536,7 @@ class MacosSmoke {
|
536 | 536 | this.status.upgradeAgent = "pass"; |
537 | 537 | if (this.discordEnabled()) { |
538 | 538 | this.status.upgradeDiscord = "fail"; |
539 | | -await this.phase("upgrade.discord-config", 180, () => this.configureDiscord()); |
| 539 | +await this.phase("upgrade.discord-config", 600, () => this.configureDiscord()); |
540 | 540 | await this.phase("upgrade.discord-roundtrip", 180, () => this.runDiscordRoundtrip("upgrade")); |
541 | 541 | this.status.upgradeDiscord = "pass"; |
542 | 542 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -42,7 +42,7 @@ export function resolveProviderAuth(input: {
|
42 | 42 | apiKeyEnv: input.apiKeyEnv || "OPENAI_API_KEY", |
43 | 43 | authChoice: "openai-api-key", |
44 | 44 | authKeyFlag: "openai-api-key", |
45 | | -modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.4", |
| 45 | +modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.5", |
46 | 46 | }, |
47 | 47 | }; |
48 | 48 | const resolved = providerDefaults[input.provider]; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -87,7 +87,7 @@ describe("Parallels smoke model selection", () => {
|
87 | 87 | const providerAuth = readFileSync(TS_PATHS.providerAuth, "utf8"); |
88 | 88 | |
89 | 89 | expect(providerAuth).toContain("OPENCLAW_PARALLELS_OPENAI_MODEL"); |
90 | | -expect(providerAuth).toContain("openai/gpt-5.4"); |
| 90 | +expect(providerAuth).toContain("openai/gpt-5.5"); |
91 | 91 | expect(providerAuth).toContain('authChoice: "openai-api-key"'); |
92 | 92 | expect(providerAuth).toContain('authChoice: "apiKey"'); |
93 | 93 | expect(providerAuth).toContain('authChoice: "minimax-global-api"'); |
@@ -225,7 +225,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing"));
|
225 | 225 | apiKeyValue: "sk-openai", |
226 | 226 | authChoice: "openai-api-key", |
227 | 227 | authKeyFlag: "openai-api-key", |
228 | | -modelId: "openai/gpt-5.4", |
| 228 | +modelId: "openai/gpt-5.5", |
229 | 229 | }); |
230 | 230 | |
231 | 231 | expect( |
@@ -363,6 +363,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing"));
|
363 | 363 | expect(macos).not.toContain("Authorization: Bot"); |
364 | 364 | expect(discord).toContain("Authorization: Bot"); |
365 | 365 | expect(discord).toContain('"--silent"'); |
| 366 | +expect(discord).toContain("plugins deps --repair"); |
366 | 367 | expect(discord).toContain("channels status --probe --json"); |
367 | 368 | expect(discord).toContain("Stop ${this.input.vmName} after successful Discord smoke"); |
368 | 369 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。