opencode session fixes

This commit is contained in:
Luxferre
2026-09-11 18:52:14 +03:00
parent b776644261
commit 9792cec64f
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1170,7 +1170,7 @@ func TestLLMNonStreamingAndHeaders(t *testing.T) {
if gotAuth != "Bearer secret" {
t.Errorf("auth = %q", gotAuth)
}
if !strings.Contains(gotUA, "Bantam/1.0") {
if !strings.Contains(gotUA, "opencode/1.18.30") {
t.Errorf("user-agent = %q", gotUA)
}
if m.Content == nil || *m.Content != "hi" || m.ReasoningContent != "think" {