pgadmin-org / pgadmin-org/pgadmin4
AI Configuration - auth header support?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
My environment has api support for a few LLMs we can tap into, but our api requires that we send out our API token in a http header.
For example in curl, we would use something like:
curl -X POST https://url/v1/chat/completions -H "Authorization: Bearer " .... rest of curl information.
I haven't been able to get it to work by adding user/pass, or 'https://tokenid:token@url/v1/chat/....
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
No file or test is named in the issue. Start by locating the AI configuration's outbound chat-completions request and review how authentication is currently supplied. Done means a configured token can be sent in an Authorization header, with coverage for that request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100