Skip to content

检索知识库报错 #21

@zjrkif

Description

@zjrkif

检索知识库报错,信息如下:
node path: [Indexer]

2025-06-23T17:42:21.721+08:00 [INFO] {25ca9e73aca24b1847f91e6fe0fa64cf} ragReq: &{rag 5 1.2 测试知识库 [] 0}

2025-06-23T17:42:21.737+08:00 {25ca9e73aca24b1847f91e6fe0fa64cf} 200 "POST http localhost:8000 /v1/retriever HTTP/1.1" 16407.376, 172.18.0.1, "http://localhost:8000/", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0", -1, "", ""

Stack:

failed to create chat completion: error, status code: 401, status: 401 Unauthorized, message: json: cannot unmarshal string into Go value of type openai.ErrorResponse, body: "Api key is invalid"

不知道这个Api key是在哪里设置

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions