[BUG] Free API key is invalid
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 26.4k
- Forks
- 2.1k
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 3
Description
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
- 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
- 我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
Free API key in markdown is invalid
curl https://api.modelbest.co/v1/chat/completions
-H "Authorization: Bearer $API_KEY"
-H "Content-Type: application/json"
-d '{
"model": "MiniCPM-V-4.6-Instruct",
"messages": [
{
"role": "user",
"content": "Introduce yourself in one sentence."
}
]
}'
{"error":{"message":"无法根据 model 定位推理服务","type":"lis_route_denied","code":404}}%
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):
备注 | Anything else?
No response
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.
Research direction
Start by reproducing the Markdown curl request against https://api.modelbest.co/v1/chat/completions with the reported MiniCPM-V-4.6-Instruct model and API_KEY. Trace whether the failure comes from the key, endpoint, or model routing; done means identifying the cause and confirming a valid request or documenting the required correction.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100