[GH-ISSUE #2790] [BUG]: Connect A Database for Desktop App #1787

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

Originally created by @gorkemgul on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2790

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

After connecting a database. I wanted to run the llm model to make analysis, however, although I had the connection, I couldn't get any proper or correct answer from it.

Short info

  • I used the Llama3 as the model.
  • I have chosen mysql as the database.

Note: I'm not sure if there's a bug or sth. But, as far as I know after connection it should give answers according to the connected database.

Are there known steps to reproduce?

Steps in short

  • Model selection
  • DB connection
  • Asking questions
Originally created by @gorkemgul on GitHub (Dec 10, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2790 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? _After connecting a database. I wanted to run the llm model to make analysis, however, although I had the connection, I couldn't get any proper or correct answer from it._ **Short info** - I used the _Llama3_ as the model. - I have chosen _mysql_ as the database. **Note**: I'm not sure if there's a bug or sth. But, as far as I know after connection it should give answers according to the connected database. ### Are there known steps to reproduce? **Steps in short** - Model selection - DB connection - Asking questions
yindo added the possible bug label 2026-02-22 18:26:32 -05:00
yindo closed this issue 2026-02-22 18:26:32 -05:00
Author
Owner

@timothycarambat commented on GitHub (Dec 11, 2024):

Is any agent skill execution even occurring? It looks like this in the UI:

Otherwise, this doc is relevant https://docs.anythingllm.com/agent-not-using-tools

@timothycarambat commented on GitHub (Dec 11, 2024): Is any agent skill execution even occurring? It looks like this in the UI: <img src="https://docs.anythingllm.com/_next/image?url=%2Fimages%2Fguides%2Fai-agents%2Fsql-agent.png&w=3840&q=100"/> Otherwise, this doc is relevant https://docs.anythingllm.com/agent-not-using-tools
Author
Owner

@gorkemgul commented on GitHub (Dec 16, 2024):

Hi @timothycarambat, thanks for the reply. However this did not fix my problem. I connected the database from agent configuration. But it still gives meaningless answers or tries to write meaningless queries with unexist table names.

@gorkemgul commented on GitHub (Dec 16, 2024): Hi @timothycarambat, thanks for the reply. However this did not fix my problem. I connected the database from agent configuration. But it still gives meaningless answers or tries to write meaningless queries with unexist table names.
Author
Owner

@timothycarambat commented on GitHub (Dec 16, 2024):

I used the Llama3 as the model.

Then this is your model. What version, param size, and quant of LLama are you running? Its related to the models ability to follow the prompt to make valid queries
https://docs.anythingllm.com/agent-not-using-tools

@timothycarambat commented on GitHub (Dec 16, 2024): > I used the Llama3 as the model. Then this is your model. What version, param size, and quant of LLama are you running? Its related to the models ability to follow the prompt to make valid queries https://docs.anythingllm.com/agent-not-using-tools
yindo changed title from [BUG]: Connect A Database for Desktop App to [GH-ISSUE #2790] [BUG]: Connect A Database for Desktop App 2026-06-05 14:42:41 -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#1787