pgadmin-org / pgadmin-org/pgadmin4

AI API Responses in Query Tool are Overwritten by pgAdmin's 'Thinking' Messages

Open
#9,818 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Great work iterating on the AI Assistant. One minor request:

When I chat with the AI now, any in-progress messages returned by the API are overwritten by the built in "thinking" messages (e.g., Tromping through the underbrush). The final response from the API is indeed shown, but any intermediate responses are overwritten.

It would be nice to see those as part of the dialog. Perhaps once the API starts to return its own thinking responses you could stop the pgAdmin-generated ones from appearing.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the AI Assistant chat dialog but no file or test. Start by tracing how API responses and pgAdmin's generated “thinking” messages are handled, then verify that intermediate API responses remain visible and generated messages stop when the API supplies its own thinking response.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.