fix: hunyuan

This commit is contained in:
CalciumIon
2024-07-08 23:42:16 +08:00
parent 976e1f0921
commit efd18779c2
6 changed files with 56 additions and 44 deletions

View File

@@ -121,7 +121,6 @@ func testChannel(channel *model.Channel, testModel string) (err error, openaiErr
return errors.New("usage is nil"), nil
}
result := w.Result()
// print result.Body
respBody, err := io.ReadAll(result.Body)
if err != nil {
return err, nil