We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a330b commit c502ca0Copy full SHA for c502ca0
1 file changed
internal/plugins/backends/ollama/integration_test.go
@@ -22,8 +22,6 @@ func testCandidate(model string) routing.AttemptCandidate {
22
return routing.AttemptCandidate{Primary: routing.Primary{Model: model}}
23
}
24
25
-func boolPtr(v bool) *bool { return &v }
26
-
27
func testCall(ext map[string]json.RawMessage) lipapi.Call {
28
return lipapi.Call{
29
Messages: []lipapi.Message{{
@@ -560,8 +558,8 @@ func TestIntegration_cloudInventoryAdvertisesWithoutCloudSuffix(t *testing.T) {
560
558
HTTPClient: srv.Client(),
561
559
Discovery: ollama.DiscoveryConfig{
562
CloudURL: cloud.URL,
563
- Catalog: boolPtr(false),
564
- Capabilities: boolPtr(false),
+ Catalog: new(false),
+ Capabilities: new(false),
565
},
566
})
567
0 commit comments