mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 11:01:24 +00:00
fix: restore tsc build and plugin install tests
This commit is contained in:
@@ -603,10 +603,10 @@ async function runGatewayModelSuite(params: GatewayModelSuiteParams) {
|
||||
// Ensure session exists + override model for this run.
|
||||
// Reset between models: avoids cross-provider transcript incompatibilities
|
||||
// (notably OpenAI Responses requiring reasoning replay for function_call items).
|
||||
await client.request<Record<string, unknown>>("sessions.reset", {
|
||||
await client.request("sessions.reset", {
|
||||
key: sessionKey,
|
||||
});
|
||||
await client.request<Record<string, unknown>>("sessions.patch", {
|
||||
await client.request("sessions.patch", {
|
||||
key: sessionKey,
|
||||
model: modelKey,
|
||||
});
|
||||
@@ -1164,11 +1164,11 @@ describeLive("gateway live (dev agent, profile keys)", () => {
|
||||
try {
|
||||
const sessionKey = `agent:${agentId}:live-zai-fallback`;
|
||||
|
||||
await client.request<Record<string, unknown>>("sessions.patch", {
|
||||
await client.request("sessions.patch", {
|
||||
key: sessionKey,
|
||||
model: "anthropic/claude-opus-4-5",
|
||||
});
|
||||
await client.request<Record<string, unknown>>("sessions.reset", {
|
||||
await client.request("sessions.reset", {
|
||||
key: sessionKey,
|
||||
});
|
||||
|
||||
@@ -1200,7 +1200,7 @@ describeLive("gateway live (dev agent, profile keys)", () => {
|
||||
throw new Error(`anthropic tool probe missing nonce: ${toolText}`);
|
||||
}
|
||||
|
||||
await client.request<Record<string, unknown>>("sessions.patch", {
|
||||
await client.request("sessions.patch", {
|
||||
key: sessionKey,
|
||||
model: "zai/glm-4.7",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user