Update pkg/providers/openai_compat/provider.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ac73b51619
commit
8b64a99131
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ func (p *Provider) doRequest(
|
|||
|
||||
out, err := parse(reader)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to parse JSON response: %w", err)
|
||||
return nil, fmt.Errorf("failed to parse response: %w", err)
|
||||
}
|
||||
|
||||
return out, nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue