mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 21:05:55 +03:00
[GH-ISSUE #57] 请教一下,Ollama配置不上,必须输入api key才能选择模型,但随便输入一个key的话提示获取模型列表失败 #31
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#31
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 @q51374962 on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/57
@codexu commented on GitHub (Jan 24, 2025):
确实发现了这个问题,dev 模式下确实没有问题,build 后就会出现,我尝试了很多方式都无法修复。
我在 tauri issues 中找到了同样问题 tauri-apps/plugins-workspace#1968,等待一下官方的回复吧。
@NitronPlus commented on GitHub (Jan 24, 2025):
https://github.com/tauri-apps/plugins-workspace/issues/1968#issuecomment-2591907484
看起来似乎已经有解决了
@codexu commented on GitHub (Jan 25, 2025):
年后我试一下
@codexu commented on GitHub (Feb 6, 2025):
测试了一下 Benglin 提供的方案,还是无法解决这个问题。
@q51374962 commented on GitHub (Feb 11, 2025):
加油!
@scifx commented on GitHub (Feb 20, 2025):
设置环境变量:
OLLAMA_API_BASE http://127.0.0.1:11434
OLLAMA_HOST 0.0.0.0
OLLAMA_ORIGINS *
即可解决,(PS:tauri开发的chatgptnextweb也是同样的问题。
最新版本的chatgptnextweb解决了这个问题,可以参考下
@q51374962 commented on GitHub (Feb 26, 2025):
@scifx 成功解决,感谢