Skip to content

Using ollama models results crush getting stuck in "waiting state" #1767

@puresick

Description

@puresick

Description

When using Crush with any ollama model configured, sending a prompt results in crush being stuck in its "waiting/generating" state:

Image

I can observe that my GPU is being used, i.e. that the model runs for some time, but that it stops at one point. So something is being calculated, but crush stays in that UI state shown above forever.

I can confirm that the ollama and the models (using ministral-3:8b and gpt-oss:20b here) are working by using ollama CLI and open web UI. Using the openai-compat type does work with Ministrals Codestral cloud API.

Here is my crush configuration:

{
  "$schema": "https://charm.land/crush.json",
  "options": {
    "disable_metrics": true
  },
  "providers": {
    "codestral": {
      "type": "openai-compat",
      "base_url": "https://codestral.mistral.ai/v1/",
      "api_key": "REDACTED",
      "models": [
        {
          "id": "codestral-latest",
          "name": "codestral-latest",
          "cost_per_1m_in": 0,
          "cost_per_1m_out": 0,
          "cost_per_1m_in_cached": 0,
          "cost_per_1m_out_cached": 0,
          "context_window": 32000,
          "default_max_tokens": 5000
        }
      ]
    },
    "ollama": {
      "name": "Ollama",
      "type": "openai-compat",
      "base_url": "http://localhost:11434/v1/",
      "models": [
        {
          "id": "ministral-3:8b",
          "name": "Ministral 3 8b",
          "context_window": 32000,
          "default_max_tokens": 4000
        },
        {
          "id": "gpt-oss:20b",
          "name": "gpt-oss:20b",
          "cost_per_1m_in": 0,
          "cost_per_1m_out": 0,
          "cost_per_1m_in_cached": 0,
          "cost_per_1m_out_cached": 0,
          "context_window": 128000,
          "default_max_tokens": 16000
        }
      ]
    }
  }
}

Version

0.30.2

Environment

Arch Linux, fish shell, foot terminal, tmux, ollama 0.13.5

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions