fix: restore tsc build and plugin install tests

This commit is contained in:
Peter Steinberger
2026-01-31 07:51:26 +00:00
parent c4feb7a457
commit a42e1c82d9
26 changed files with 90 additions and 86 deletions

View File

@@ -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",
});