[GH-ISSUE #1104] [BUG]: LLM Preference page blank #684

Closed
opened 2026-02-22 18:20:49 -05:00 by yindo · 2 comments
Owner

Originally created by @Mirgiacomo on GitHub (Apr 15, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1104

How are you running AnythingLLM?

Local development

What happened?

If I use anythingLLM, I have no particular problems.
However, if I want to change something on the 'LLM Preference' page, it has problems.

image

Into terminal log there isn't errors log, but into web console:

image

(I have already tried updating libraries and dependencies)

Are there known steps to reproduce?

No response

Originally created by @Mirgiacomo on GitHub (Apr 15, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1104 ### How are you running AnythingLLM? Local development ### What happened? If I use anythingLLM, I have no particular problems. However, if I want to change something on the 'LLM Preference' page, it has problems. <img width="1509" alt="image" src="https://github.com/Mintplex-Labs/anything-llm/assets/22151717/19f9b1bf-a447-4927-a908-e91cc96403de"> Into terminal log there isn't errors log, but into web console: <img width="1493" alt="image" src="https://github.com/Mintplex-Labs/anything-llm/assets/22151717/6b221d48-b1a0-480d-adea-2444ee7fc473"> (I have already tried updating libraries and dependencies) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:49 -05:00
yindo closed this issue 2026-02-22 18:20:49 -05:00
Author
Owner

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

You are working locally and you did not set an LLM_PROVIDER in the .env or .env.development (if in dev mode). In normal use of the app you would go through onboarding and that env would be set. Not a bug since this is out of process

@timothycarambat commented on GitHub (Apr 15, 2024): You are working locally and you did not set an `LLM_PROVIDER` in the `.env` or `.env.development` (if in dev mode). In normal use of the app you would go through onboarding and that env would be set. Not a bug since this is out of process
Author
Owner

@santini-cyber commented on GitHub (Apr 16, 2024):

Thank you for that Tim! I was running into the same issue. For anyone who wants to follow my fix to a live build running in a docker container on a Linux server:
Step 1: Connect in to anything-llm as root
docker exec -u 0 -it anything-llm /bin/bash
Step 2: Backup .env file and add provider
cd /app/server && cp .env bak.env
cat cat >> bak.env << EOF
LLM_PROVIDER=''
EOF
Step 3: Copy backup to running
cp bak.env .env
Step 4: Exit container
Ctrl-P Ctrl-Q
Step 5: Restart docker container
docker ps -a
docker restart
This worked for me.

@santini-cyber commented on GitHub (Apr 16, 2024): Thank you for that Tim! I was running into the same issue. For anyone who wants to follow my fix to a live build running in a docker container on a Linux server: Step 1: Connect in to anything-llm as root docker exec -u 0 -it anything-llm /bin/bash Step 2: Backup .env file and add provider cd /app/server && cp .env bak.env cat cat >> bak.env << EOF LLM_PROVIDER='<insert your provider here>' EOF Step 3: Copy backup to running cp bak.env .env Step 4: Exit container Ctrl-P Ctrl-Q Step 5: Restart docker container docker ps -a docker restart <anything-ll container id> This worked for me.
yindo changed title from [BUG]: LLM Preference page blank to [GH-ISSUE #1104] [BUG]: LLM Preference page blank 2026-06-05 14:36:39 -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#684