修复redis和queueprocessor

This commit is contained in:
Cold
2026-01-21 10:20:32 +08:00
committed by 张斌
parent 02e75e57da
commit 4d6aa1f384
5 changed files with 71 additions and 30 deletions

View File

@@ -142,13 +142,6 @@ func (c *Client) request(ctx context.Context, method, path string, body interfac
fullURL := endpoint + path
// 添加详细日志:请求信息
g.Log().Infof(ctx, "RAGFlow请求: %s %s", method, fullURL)
if body != nil {
bodyJSON := g.NewVar(body).String()
g.Log().Infof(ctx, "RAGFlow请求体: %s", bodyJSON)
}
// 使用common/http包
var headers = make(map[string]string)
headers["Authorization"] = "Bearer " + c.APIKey