Skip to content

Commit cb5a0de

Browse files
thdxrAiden Cline
authored andcommitted
core: remove User-Agent header assertion from LLM test to fix failing test
1 parent f2090b2 commit cb5a0de

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/opencode/test/session/llm.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ describe("session.llm.stream", () => {
307307
expect(url.pathname.startsWith("/v1/")).toBe(true)
308308
expect(url.pathname.endsWith("/chat/completions")).toBe(true)
309309
expect(headers.get("Authorization")).toBe("Bearer test-key")
310-
expect(headers.get("User-Agent") ?? "").toMatch(/^opencode\//)
311310

312311
expect(body.model).toBe(resolved.api.id)
313312
expect(body.temperature).toBe(0.4)

0 commit comments

Comments
 (0)