chore(gate): fix lint and protocol

This commit is contained in:
Peter Steinberger
2026-01-18 06:24:31 +00:00
parent 2087f0c6a1
commit ac1b2d8c40
7 changed files with 39 additions and 21 deletions

View File

@@ -340,8 +340,8 @@ describe("OpenAI-compatible HTTP API (e2e)", () => {
expect(res.status).toBe(200);
const [opts] = agentCommand.mock.calls[0] ?? [];
const extraSystemPrompt = (opts as { extraSystemPrompt?: string } | undefined)
?.extraSystemPrompt ?? "";
const extraSystemPrompt =
(opts as { extraSystemPrompt?: string } | undefined)?.extraSystemPrompt ?? "";
expect(extraSystemPrompt).toBe("You are a helpful assistant.");
} finally {
await server.close({ reason: "test done" });