Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load assistants #39

Open
Baltsat opened this issue Feb 25, 2025 · 6 comments
Open

Failed to load assistants #39

Baltsat opened this issue Feb 25, 2025 · 6 comments

Comments

@Baltsat
Copy link

Baltsat commented Feb 25, 2025

When installing the repo and starting the UI service at https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024 gives an error:

Failed to load assistants
Please verify if the API server is running or accessible from the browser.
TypeError: Load failed

Image

The documentation endpoint methods work however at http://127.0.0.1:2024/docs

Image

Terminal logs are also OK:

Image

How to fix this?

@Baltsat
Copy link
Author

Baltsat commented Feb 25, 2025

Ollama is running smoothly and I have the following .env file:

OLLAMA_BASE_URL='http://localhost:11434'                # the endpoint of the Ollama service, defaults to http://localhost:11434 if not set
OLLAMA_MODEL='deepseek-r1:8b'                   # the name of the model to use, defaults to 'llama3.2' if not set

# Which search service to use, either 'duckduckgo' or 'tavily' or 'perplexity'
SEARCH_API='duckduckgo'
# Web Search API Keys (choose one or both)
TAVILY_API_KEY=tvly-xxxxx      # Get your key at https://tavily.com
PERPLEXITY_API_KEY=pplx-xxxxx  # Get your key at https://www.perplexity.ai

MAX_WEB_RESEARCH_LOOPS=3
FETCH_FULL_PAGE=true

@a1095753788
Copy link

a1095753788 commented Feb 26, 2025

Image

I have the error too,use grok3 have this: 404 错误
GET /assistants/081587fc-586a-4ce3-8bed-9b97031bb8ad/schemas 多次返回 404 Not Found:
2025-02-26T07:43:04.930926Z [info] GET /assistants/081587fc-586a-4ce3-8bed-9b97031bb8ad/schemas 404 0ms
2025-02-26T07:43:06.171427Z [info] GET /assistants/081587fc-586a-4ce3-8bed-9b97031bb8ad/schemas 404 0ms
请求头显示来源是 https://smith.langchain.com,表明这是 LangSmith Studio UI 发出的请求,带有 x-auth-scheme: langsmith。

@rlancemartin
Copy link
Collaborator

Adding @dqbd and @lc-arjun.

@lc-arjun
Copy link

@a1095753788 the error you mentioned is unrelated and should be resolved now

@zonrghua88
Copy link

The same problem

Image

Image

@nicolasembleton
Copy link

Same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants