Skip to content

Commit

Permalink
moar debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemarsden committed Nov 9, 2024
1 parent fed8e14 commit fc37845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cmd/helix/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ func getAvailableModels(apiKey, helixURL string) ([]string, error) {
var modelResp ModelResponse
err = json.Unmarshal(body, &modelResp)
if err != nil {
return nil, fmt.Errorf("error parsing response JSON: %v (response body: %s)", err, string(body))
return nil, fmt.Errorf("error parsing response JSON: %v (response body: %s) calling URL %s with apiKey '%s'", err, string(body), helixURL+"/v1/models", apiKey)
}

if len(modelResp.Data) == 0 {
Expand Down

0 comments on commit fc37845

Please sign in to comment.