[BUG]The time of getting ollama models is too long

Open
#3,986 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
ollama, typescript
Domain
backend

Research direction

Start by tracing the Settings → Ollama → get flow and find where the app requests the LAN Ollama model list; the issue does not name files or tests. Reproduce against a LAN Ollama instance and inspect how that request waits. Done means the model list returns promptly; the report gives no target duration or test to run.

Written by the indexing model from the issue text.

Description

Bug Description
The time of getting LAN ollama models is too long, it is about > 5 minutes

Steps to Reproduce
chatbox->Settings->Ollama->get, The time of getting ollama models is too long, it is about > 5 minutes.

Expected Results
it should be reply the models list right now.

Actual Results
The time of getting ollama models is too long, it is about > 5 minutes

Screenshots
If possible, please add screenshots to help explain the issue.

Desktop (please complete the following information):

  • Win10/Win11
  • Application Version: 1.23.5

Bug 描述
获取局域网中ollama模型的时间太长了,超过5分钟

重现步骤
chat box->设置->获取

期望结果
立即返回局域网的ollama中的模型列表

实际结果
获取局域网中ollama模型的时间太长了,超过5分钟

截图
如果可行,添加截图以帮助解释问题。

桌面端(请填写以下信息):

  • 操作系统:win10/win11
  • 应用程序版本:1.23.5
Dominant language
TypeScript
Stars
42.5k
Forks
4.4k
Avg merge
11h 14m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chatboxai/chatbox

All issues in chatboxai/chatbox

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.