[GH-ISSUE #2836] [BUG]: #1813

Closed
opened 2026-02-22 18:26:38 -05:00 by yindo · 1 comment
Owner

Originally created by @udyk-dev on GitHub (Dec 15, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2836

How are you running AnythingLLM?

Docker (local)

What happened?

The API endpoint /api/v1/document/raw-text cannot save titles containing Chinese characters.

iShot_2024-12-15_18 49 43

docker image: mintplexlabs/anythingllm:latest (cb62a3c82ff0c66739e71c7eddb8be4abad6d4e76146c7c778dc2c2d8194582e)

Are there known steps to reproduce?

1, create a API KEY

2, send post request to endpoint /api/v1/document/raw-text with curl

curl --location 'localhost:3001/api/v1/document/raw-text' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer PZT2TS9-AF2MPFR-JZ637WK-40HV8WP' \
--data '{
  "textContent": "测试中文内容.",
  "metadata": {
    "title": "测试中文内容.txt",
    "etc": "测试中文内容",
    "docAuthor":"测试中文内容",
    "docSource":"测试中文内容",
    "description":"测试中文内容"
  }
}'
Originally created by @udyk-dev on GitHub (Dec 15, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2836 ### How are you running AnythingLLM? Docker (local) ### What happened? The API endpoint `/api/v1/document/raw-text` cannot save titles containing Chinese characters. <img width="1141" alt="iShot_2024-12-15_18 49 43" src="https://github.com/user-attachments/assets/de42a3d9-9120-4b4a-9c6a-a42cc18738db" /> ------ docker image: mintplexlabs/anythingllm:latest (cb62a3c82ff0c66739e71c7eddb8be4abad6d4e76146c7c778dc2c2d8194582e) ### Are there known steps to reproduce? 1, create a API KEY 2, send post request to endpoint `/api/v1/document/raw-text` with curl ``` curl --location 'localhost:3001/api/v1/document/raw-text' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer PZT2TS9-AF2MPFR-JZ637WK-40HV8WP' \ --data '{ "textContent": "测试中文内容.", "metadata": { "title": "测试中文内容.txt", "etc": "测试中文内容", "docAuthor":"测试中文内容", "docSource":"测试中文内容", "description":"测试中文内容" } }' ```
yindo added the possible bug label 2026-02-22 18:26:38 -05:00
yindo closed this issue 2026-02-22 18:26:38 -05:00
Author
Owner

@timothycarambat commented on GitHub (Dec 15, 2024):

https://github.com/Mintplex-Labs/anything-llm/issues/2474

@timothycarambat commented on GitHub (Dec 15, 2024): https://github.com/Mintplex-Labs/anything-llm/issues/2474
yindo changed title from [BUG]: to [GH-ISSUE #2836] [BUG]: 2026-06-05 14:42:50 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1813