mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 01:12:15 +00:00
core: remove User-Agent header assertion from LLM test to fix failing test
This commit is contained in:
parent
f2090b26c1
commit
cb5a0de42f
1 changed files with 0 additions and 1 deletions
|
|
@ -307,7 +307,6 @@ describe("session.llm.stream", () => {
|
|||
expect(url.pathname.startsWith("/v1/")).toBe(true)
|
||||
expect(url.pathname.endsWith("/chat/completions")).toBe(true)
|
||||
expect(headers.get("Authorization")).toBe("Bearer test-key")
|
||||
expect(headers.get("User-Agent") ?? "").toMatch(/^opencode\//)
|
||||
|
||||
expect(body.model).toBe(resolved.api.id)
|
||||
expect(body.temperature).toBe(0.4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue