-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Describe the bug
I deployed the project natively using Python and configured the .env file. I encountered the same problem as #36. When logging in to the backend, it showed "detail": "Not Found".
To Reproduce
steps on readme.md
I deployed the project natively on a server. And used ssh to connect. The remote connection command is like this:
ssh -L 8889:localhost:5173 -L 8890:localhost:8000 -p xxxx xxx@xxxx
I visited the front-end page: http://localhost:8889. Click add data to upload the file. After loading for a while, the uploaded file was not displayed.
Then I visited the back-end page: http://localhost:8890, and it was displayed as follows:
{
"detail": "Not Found"
}
The following content popped up on the back-end server interface:
INFO: 127.0.0.1:36656 - "GET / HTTP/1.1" 404 Not Found
I am not using OpenAI's model, I am using qwen and qwen's embeddings model. I changed some codes in the backend openai_llm_service.py and openai_embedding_service.py.
self.client = OpenAI(base_url="https://dashscope.aliyuncs.com/compatible-mode/v1", api_key=settings.openai_api_key)
Just added base_url in this line
Logs and Error Reports
On the backend show like this:
{
"detail": "Not Found"
}
In the server show like this:
INFO: 127.0.0.1:36656 - "GET / HTTP/1.1" 404 Not Found



