mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
test(parallels): force Windows OpenAI SSE smoke
This commit is contained in:
@@ -25,6 +25,15 @@ export function windowsModelProviderTimeoutScript(modelId: string): string {
|
||||
path: `models.providers.${providerId}`,
|
||||
value: JSON.parse(configJson) as unknown,
|
||||
},
|
||||
{
|
||||
path: `agents.defaults.models.${modelId}`,
|
||||
value: {
|
||||
alias: "GPT",
|
||||
params: {
|
||||
transport: "sse",
|
||||
},
|
||||
},
|
||||
},
|
||||
]);
|
||||
return `$providerTimeoutBatchPath = Join-Path ([System.IO.Path]::GetTempPath()) 'openclaw-provider-timeout.batch.json'
|
||||
@'
|
||||
|
||||
@@ -484,6 +484,8 @@ console.log(JSON.stringify(result));
|
||||
expect(powershell).toContain("windowsOpenClawResolver");
|
||||
expect(powershell).toContain("providerTimeoutConfigJson");
|
||||
expect(powershell).toContain("models.providers.${providerId}");
|
||||
expect(powershell).toContain("agents.defaults.models.${modelId}");
|
||||
expect(powershell).toContain('transport: "sse"');
|
||||
expect(powershell).toContain("Resolve-OpenClawCommand");
|
||||
expect(powershell).toContain("npm\\node_modules\\openclaw\\openclaw.mjs");
|
||||
expect(powershell).toContain("$ErrorActionPreference = 'Continue'");
|
||||
|
||||
Reference in New Issue
Block a user