[GH-ISSUE #1872] [BUG]: Agent session closes immediately after invoking and requires OpenAI API key. #1221

Closed
opened 2026-02-22 18:23:46 -05:00 by yindo · 3 comments
Owner

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

How are you running AnythingLLM?

Directly from Windows 10

What happened?

When I write any request to agent the following occurs. May be it is my bad, but I haven't seen anywhere requirment of OpenAI API for agents in the documentation.
image

Are there known steps to reproduce?

Any request to agent ends up like that.

Originally created by @goodglitch on GitHub (Jul 15, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1872 ### How are you running AnythingLLM? Directly from Windows 10 ### What happened? When I write any request to agent the following occurs. May be it is my bad, but I haven't seen anywhere requirment of OpenAI API for agents in the documentation. ![image](https://github.com/user-attachments/assets/1c57e957-3597-432a-afe1-ecee939493c2) ### Are there known steps to reproduce? Any request to agent ends up like that.
yindo added the possible bug label 2026-02-22 18:23:46 -05:00
yindo closed this issue 2026-02-22 18:23:46 -05:00
Author
Owner

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

There is no requirement, we just fallback to OpenAI is all that is occurring here. If you open the workspace settings -> Agent Configuration you can select your preferred LLM provider + model (can be any provider)

@timothycarambat commented on GitHub (Jul 15, 2024): There is no requirement, we just fallback to OpenAI is all that is occurring here. If you open the workspace settings -> Agent Configuration you can select your preferred LLM provider + model (can be any provider)
Author
Owner

@goodglitch commented on GitHub (Jul 17, 2024):

There is no requirement, we just fallback to OpenAI is all that is occurring here. If you open the workspace settings -> Agent Configuration you can select your preferred LLM provider + model (can be any provider)

Why just not write a human readable message? Something like "Preferred LLM provider for the agent is not specified. Please go to workspace settings -> Agent Configuration to choose one."

@goodglitch commented on GitHub (Jul 17, 2024): > There is no requirement, we just fallback to OpenAI is all that is occurring here. If you open the workspace settings -> Agent Configuration you can select your preferred LLM provider + model (can be any provider) Why just not write a human readable message? Something like "Preferred LLM provider for the agent is not specified. Please go to workspace settings -> Agent Configuration to choose one."
Author
Owner

@timothycarambat commented on GitHub (Jul 17, 2024):

PR?

@timothycarambat commented on GitHub (Jul 17, 2024): PR?
yindo changed title from [BUG]: Agent session closes immediately after invoking and requires OpenAI API key. to [GH-ISSUE #1872] [BUG]: Agent session closes immediately after invoking and requires OpenAI API key. 2026-06-05 14:39:34 -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#1221