Skip to content

Something went wrong. Please check your internet connection. #1622

@amou1017

Description

@amou1017

Hello
I followed this document to install DocsGPT on ubuntu-24.04, but when asking the question I got the following error message
"Something went wrong. Please check your internet connection."
The error message displayed on the terminal

backend_1 | [2025-02-07 08:39:04,785] ERROR in routes: /api/answer - error: No LLM class found for type - traceback: Traceback (most recent call last):
backend_1 | File "/app/application/api/answer/routes.py", line 495, in post
backend_1 | for line in retriever.gen():
backend_1 | File "/app/application/retriever/classic_rag.py", line 86, in gen
backend_1 | agent = Agent(
backend_1 | ^^^^^^
backend_1 | File "/app/application/tools/agent.py", line 11, in init
backend_1 | self.llm = LLMCreator.create_llm(
backend_1 | ^^^^^^^^^^^^^^^^^^^^^^
backend_1 | File "/app/application/llm/llm_creator.py", line 30, in create_llm
backend_1 | raise ValueError(f"No LLM class found for type {type}")
backend_1 | ValueError: No LLM class found for type

Does anyone know the reason?
The attachment is my settings

amouc@docsgpt:~/DocsGPT$ vi .env

API_KEY=sk-proj-vEuP-xBgZaSYQf9kuyx3N5E73Z47XbPCbC9UQUo2D3EqaUahRvJ0UVNnc3XHt3NoT_9fsGEBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
LLM_NAME=openai
VITE_API_STREAMING=true

amouc@docsgpt:~/DocsGPT$ vi deployment/docker-compose.yaml


![Image](https://github.com/user-attachments/assets/e2caed9c-ecef-4ffa-a7a2-a1cdd133b552)
![Image](https://github.com/user-attachments/assets/fe4d7a88-975e-441a-805c-a7b04d5b56b4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions