mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 21:05:55 +03:00
[GH-ISSUE #543] [bug]无法连接ollama本地部署的模型 #391
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#391
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hxt99199 on GitHub (Aug 12, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/543
详细描述这个 Bug
操作系统:Windows 11 家庭中文版
系统类型:64 位
note_gen版本:
ollama版本:0.11.4
LLM:本地部署
问题:在“模型配置”项里选择ollama并添加baseURL(http://localhost:11434/v1)始终无法识别、连接由本机ollama管理的大语言模型,但是使用其他软件调用LLM没问题。手动添加大模型后报连接错误。
NoteGen 版本
v0.20.1
操作系统
Windows
报错日志
No response
@hxt99199 commented on GitHub (Aug 12, 2025):
无法连接ollama本地部署的模型
@scrtou commented on GitHub (Aug 14, 2025):
同遇到这个问题 看ollama日志是http请求方法不对,ollama收到的获取模型接口和chat接口都是options,而不是get和 post
@codexu commented on GitHub (Aug 14, 2025):
#86
@scrtou commented on GitHub (Aug 14, 2025):
配置OLLAMA_ORIGINS环境变量后正常
@scrtou commented on GitHub (Aug 14, 2025):
配置OLLAMA_ORIGINS环境变量后正常