API key cannot be empty in vllm_client.py
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start in vllm_client.py at the openai.OpenAI client initialization shown in the issue, and reproduce the behavior against the local http://localhost/v1 endpoint. Trace how the API key is supplied and verify that the client works with an empty key while preserving authenticated usage; the relevant client behavior should be covered by a focused test if the repository provides one.
Written by the indexing model from the issue text.
Description
Just a minor issue but api key in vllm_client.py cannot be empty string. Any value will do but must have value.
client = openai.OpenAI(
api_key='', # must have something
base_url='http://localhost/v1',
http_client=httpx_client
)
Tested on Roihu.
- Dominant language
- Shell
- Stars
- 11
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·