修复redis和queueprocessor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user