pgadmin-org / pgadmin-org/pgadmin4
AI API Responses in Query Tool are Overwritten by pgAdmin's 'Thinking' Messages
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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