Go: add context, part14 (#17446)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-28 19:05:59 +08:00
committed by GitHub
parent b4170d0dfd
commit 7f21a7ba18
114 changed files with 965 additions and 930 deletions

View File

@@ -3314,7 +3314,7 @@ Failure:
```json
{
"code": 102,
"message": "No authorization."
"message": "no authorization"
}
```
@@ -3371,7 +3371,7 @@ Failure:
```json
{
"code": 102,
"message": "No authorization."
"message": "no authorization"
}
```
@@ -3419,7 +3419,7 @@ Failure:
```json
{
"code": 102,
"message": "No authorization."
"message": "no authorization"
}
```
@@ -8517,7 +8517,7 @@ Failure:
- `'Authorization: Bearer <YOUR_API_KEY>'`
##### Request example
```bash
curl --request DELETE \
--url 'http://{address}/api/v1/searches/b330ec2e91ec11efbc510242ac120006' \
@@ -8565,7 +8565,7 @@ Failure:
- `'Content-Type: application/json'`
- `'Authorization: Bearer <YOUR_LOGIN_TOKEN>'`
- Body:
- `"question"`: `string` *(Required)* The user question.
- `"question"`: `string` *(Required)* The user question.
- `"kb_ids"`: `list[string]` *(Optional)* Fallback dataset IDs. Used only when the search app config does not already define `kb_ids`.
##### Request example
@@ -8624,6 +8624,6 @@ Failure:
```json
{
"code": 109,
"message": "No authorization."
"message": "no authorization"
}
```