more OC headers
This commit is contained in:
+1
-1
@@ -1170,7 +1170,7 @@ func TestLLMNonStreamingAndHeaders(t *testing.T) {
|
||||
if gotAuth != "Bearer secret" {
|
||||
t.Errorf("auth = %q", gotAuth)
|
||||
}
|
||||
if !strings.Contains(gotUA, "opencode/1.18.30") {
|
||||
if !strings.Contains(gotUA, "opencode/1.18.31") {
|
||||
t.Errorf("user-agent = %q", gotUA)
|
||||
}
|
||||
if m.Content == nil || *m.Content != "hi" || m.ReasoningContent != "think" {
|
||||
|
||||
Reference in New Issue
Block a user