diff options
| author | Paul Buetow <paul@buetow.org> | 2025-10-02 08:41:45 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-10-02 08:41:45 +0300 |
| commit | e36a5446bc62842ae3b3e165f66fecb7285a8c6a (patch) | |
| tree | d3f9f7a66d8b4e5fdb13903722580a8f90eae5d1 /internal/llm/openai_http_test.go | |
| parent | f14eb9199f4e1aee49594e590c08996244bb77b3 (diff) | |
feat: add OpenRouter providerv0.15.0
Diffstat (limited to 'internal/llm/openai_http_test.go')
| -rw-r--r-- | internal/llm/openai_http_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/llm/openai_http_test.go b/internal/llm/openai_http_test.go index cb4bfcb..affcae9 100644 --- a/internal/llm/openai_http_test.go +++ b/internal/llm/openai_http_test.go @@ -60,7 +60,7 @@ func TestOpenAI_ChatStream_SSE(t *testing.T) { func TestHandleOpenAINon2xx_NoErrorBody(t *testing.T) { resp := &http.Response{StatusCode: 500, Body: io.NopCloser(strings.NewReader("{}"))} - if err := handleOpenAINon2xx(resp, time.Now()); err == nil { + if err := handleOpenAINon2xx(resp, time.Now(), "llm/openai ", "openai"); err == nil { t.Fatalf("expected http error") } } |
