fuzhengwei / fuzhengwei/WaLiCode
配置ollama本地模型报错
- Dominant language
- No language data
- Stars
- 133
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
### 我的环境
电脑: windows
版本: v0.2.2
### 问题描述
1. 配置本地ollama模型失败, 报错信息如下
2. 下面是配置的内容
3. 通过curl测试本地模型执行过程
(bigdata) root@user-UniServer-R4900-G3:~# curl http://172.16.49.182:11434/api/generate -d '{"model": "qwen3:14b", "prompt": "hi"}'
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.01432059Z","response":"","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.031826328Z","response":"","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.044594027Z","response":"","thinking":"Okay","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.056658193Z","response":"","thinking":",","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.068762372Z","response":"","thinking":" the","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.0805337Z","response":"","thinking":" user","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.092513761Z","response":"","thinking":" said","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.104166562Z","response":"","thinking":" \"","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.115969291Z","response":"","thinking":"hi","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.127771164Z","response":"","thinking":"\".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.139564053Z","response":"","thinking":" I","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.151426049Z","response":"","thinking":" need","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.163235835Z","response":"","thinking":" to","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.175365999Z","response":"","thinking":" respond","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.187041948Z","response":"","thinking":" appropriately","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.198683845Z","response":"","thinking":".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.210342965Z","response":"","thinking":" Let","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.222037461Z","response":"","thinking":" me","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.233738496Z","response":"","thinking":" check","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.24541365Z","response":"","thinking":" the","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.257118525Z","response":"","thinking":" guidelines","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.268835342Z","response":"","thinking":".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.28055Z","response":"","thinking":" The","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.292216354Z","response":"","thinking":" response","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.305421533Z","response":"","thinking":" should","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.319071038Z","response":"","thinking":" be","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.331702016Z","response":"","thinking":" friendly","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.343763314Z","response":"","thinking":" and","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.355487515Z","response":"","thinking":" open","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.367193257Z","response":"","thinking":"-ended","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.378918817Z","response":"","thinking":".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.391337113Z","response":"","thinking":" Maybe","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.402995516Z","response":"","thinking":" ask","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.414713134Z","response":"","thinking":" how","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.426377239Z","response":"","thinking":" I","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.438085879Z","response":"","thinking":" can","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.451657084Z","response":"","thinking":" assist","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.465333776Z","response":"","thinking":" them","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.47756988Z","response":"","thinking":".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.489400271Z","response":"","thinking":" Keep","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.501117664Z","response":"","thinking":" it","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.512854334Z","response":"","thinking":" simple","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.524514613Z","response":"","thinking":" and","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.536212597Z","response":"","thinking":" welcoming","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.547920424Z","response":"","thinking":".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.559881636Z","response":"","thinking":" Let","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.571821315Z","response":"","thinking":" me","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.583867654Z","response":"","thinking":" make","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.598064922Z","response":"","thinking":" sure","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.613745236Z","response":"","thinking":" there","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.627864177Z","response":"","thinking":"'s","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.640080831Z","response":"","thinking":" no","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.651970536Z","response":"","thinking":" markdown","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.66391857Z","response":"","thinking":".","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.676051737Z","response":"","thinking":" Alright","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.687847286Z","response":"","thinking":",","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.699551553Z","response":"","thinking":" that","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.711294891Z","response":"","thinking":" should","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.723010768Z","response":"","thinking":" work","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.734731301Z","response":"","thinking":".\n","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.747634204Z","response":"","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.760687251Z","response":"","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.773009621Z","response":"Hello","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.784853435Z","response":"!","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.796583589Z","response":" How","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.808276498Z","response":" can","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.819943112Z","response":" I","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.831645814Z","response":" assist","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.84337595Z","response":" you","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.855035869Z","response":" today","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.866736154Z","response":"?","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.890188951Z","response":" 😊","done":false}
{"model":"qwen3:14b","created_at":"2026-05-13T01:22:56.902013831Z","response":"","done":true,"done_reason":"stop","context":[151644,872,198,6023,608,26865,151645,198,151644,77091,198,151667,198,32313,11,279,1196,1053,330,6023,3263,358,1184,311,5889,34901,13,6771,752,1779,279,17501,13,576,2033,1265,387,11657,323,1787,83075,13,10696,2548,1246,358,646,7789,1105,13,13655,432,4285,323,35287,13,6771,752,1281,2704,1052,594,902,50494,13,97593,11,429,1265,975,624,151668,271,9707,0,2585,646,358,7789,498,3351,30,26525,232],"total_duration":27965158679,"load_duration":26988059726,"prompt_eval_count":11,"prompt_eval_duration":43278270,"eval_count":74,"eval_duration":851087753}
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Reproduce the configuration failure on Windows with v0.2.2 and the reported Ollama qwen3:14b endpoint, then trace the local-model configuration path. Done means the configuration succeeds and a request receives a valid response through the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ollama
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100