style: fix formatting
This commit is contained in:
parent
add918be91
commit
4717ce3d89
2 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ func (p *HTTPProvider) parseResponse(body []byte) (*LLMResponse, error) {
|
||||||
} `json:"message"`
|
} `json:"message"`
|
||||||
FinishReason string `json:"finish_reason"`
|
FinishReason string `json:"finish_reason"`
|
||||||
} `json:"choices"`
|
} `json:"choices"`
|
||||||
Usage *UsageInfo `json:"usage"`
|
Usage *UsageInfo `json:"usage"`
|
||||||
BaseResp *struct {
|
BaseResp *struct {
|
||||||
StatusCode int `json:"status_code"`
|
StatusCode int `json:"status_code"`
|
||||||
StatusMsg string `json:"status_msg"`
|
StatusMsg string `json:"status_msg"`
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,6 @@ func TestMiniMaxProvider_Chat(t *testing.T) {
|
||||||
if resp.Content == "" {
|
if resp.Content == "" {
|
||||||
t.Errorf("Expected non-empty content")
|
t.Errorf("Expected non-empty content")
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Logf("Response: %s", resp.Content)
|
t.Logf("Response: %s", resp.Content)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue