更新
This commit is contained in:
@@ -208,7 +208,6 @@ func (c *Client) UploadDocumentFromText(ctx context.Context, datasetId, content,
|
||||
}
|
||||
|
||||
respBody := resp.ReadAll()
|
||||
g.Log().Debugf(ctx, "RAGFlow上传文档响应: %s", string(respBody))
|
||||
|
||||
if err := json.Unmarshal(respBody, &response); err != nil {
|
||||
g.Log().Errorf(ctx, "解析RAGFlow响应失败: %v, 原始响应: %s", err, string(respBody))
|
||||
|
||||
Reference in New Issue
Block a user