fix: resolve golines formatting issues in provider test and config
Breaks down long lines in pkg/providers/anthropic_messages/provider_test.go and re-aligns struct tags in pkg/config/config.go to satisfy the golines linter which caused a CI failure. Co-authored-by: TanLuong <28281768+TanLuong@users.noreply.github.com>
This commit is contained in:
parent
aa2eac9741
commit
c80560348e
2 changed files with 9 additions and 5 deletions
|
|
@ -584,7 +584,11 @@ func TestBuildRequestBodyEdgeCases(t *testing.T) {
|
||||||
t.Fatalf("messages is not []any")
|
t.Fatalf("messages is not []any")
|
||||||
}
|
}
|
||||||
if len(messages) != 3 {
|
if len(messages) != 3 {
|
||||||
t.Fatalf("expected 3 API messages (user, assistant with text, assistant with tool_use), got %d: %#v", len(messages), messages)
|
t.Fatalf(
|
||||||
|
"expected 3 API messages (user, assistant with text, assistant with tool_use), got %d: %#v",
|
||||||
|
len(messages),
|
||||||
|
messages,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue