配置model_format为internlm_silicon,报错:Invalid token
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the reported command with --model_format internlm_silicon and trace how that format handles the configured Silicon API key before the backend request. The issue is done when a request using this model format no longer returns Invalid token, with the relevant error path covered by a test if one exists.
Written by the indexing model from the issue text.
Description
配置为internlm_silicon,请求后端时报错invalid token,硅基的API key已配置
报错信息如下:
python -m mindsearch.app --lang cn --model_format internlm_silicon --search_engine DuckDuckGoSearch --asy
INFO: Started server process [10608]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8002 (Press CTRL+C to quit)
C:\Users\MI\.pyenv\pyenv-win\versions\3.10.0\lib\site-packages\lagent\llms\openai.py:513: DeprecationWarning: `top_k` parameter is deprecated in OpenAI APIs.
warnings.warn('`top_k` parameter is deprecated in OpenAI APIs.',
C:\Users\MI\.pyenv\pyenv-win\versions\3.10.0\lib\site-packages\lagent\agents\stream.py:212: UserWarning: Neither plugin nor interpreter executor is initialized. An exception will be thrown when the agent call a tool.
warnings.warn(
INFO: 127.0.0.1:63318 - "POST /solve HTTP/1.1" 200 OK
"Invalid token"
- Dominant language
- JavaScript
- Stars
- 7k
- Forks
- 684
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing 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.
More from InternLM/MindSearch
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
InternLM/MindSearch#326 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
InternLM/MindSearch#315 ·
-
问答只回复一次,没有完整推理搜索回复Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
InternLM/MindSearch#312 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
InternLM/MindSearch#311 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
InternLM/MindSearch#310 ·
All issues in InternLM/MindSearch
Similar issues
-
area/frontend good first issue topic/intents
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
avniproject/avni-client#2268 ·
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's filePossibly taken @Beehtrix claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#907 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
we-promise/sure#6115 ·
Maintainers usually reply within 1 day
-
withImplementation leaves the temporary mock installed when its callback throws or rejectsPossibly taken @Cynnamoroll claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 10 days