Replies: 3 comments 1 reply
-
|
Hi @daletkc! I'm Dosu and I’m helping the Trilium team. The most common reasons for AI Chat not returning results in Trilium are incorrect API key configuration, browser autofill issues, and known quirks in the experimental AI integration. Make sure your OpenAI or Anthropic API key is correctly set in Trilium's AI/LLM settings—sometimes browser autofill puts your Trilium password in the API key field, which causes silent failures (details). Disable autofill for that field if needed. If your gateway shows token usage, requests are reaching the provider, but Trilium may not be handling the response correctly. This can happen if there are tool call errors or missing parameters after recent changes to context extraction (details). Check the browser console and Trilium server logs for errors like 401, 400, or 500 status codes—these often aren't shown in the UI. Trilium's AI Chat is still experimental and may hang or fail silently if the LLM provider doesn't respond or if there's a configuration issue (details). Restarting the Docker container sometimes helps with connection issues. If you want a more robust experience with local LLMs, consider using the trilium-chat plugin, which is designed for better compatibility. Quick checklist:
Let me know if you see any specific error messages in the logs or console—those can help pinpoint the issue. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
I had the same thing when trying to use the OpenAI API. Also, the AI options in Trilium do not seems to be the same as in the documentation. I see no options for Embeddings (whatever that is :-). Has this changed? |
Beta Was this translation helpful? Give feedback.
-
|
The interface has indeed changed some time back. But for me, it never has worked. I can send a message, but there is never a return. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to test out the AI Chat ( I am a brand new Trilium user and using the web app through Docker.) When I try to use the AI Chat, I can send a message. But nothing is getting returned. The request is being registered as I use an AI gateway to track token usage. I also tried using OpenAI and Anthropic directly and still got the same results.
Does anyone know if there is a setting or something?
Beta Was this translation helpful? Give feedback.
All reactions