Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Claw is ~120s slower than direct Ollama/Qwen2.5:7b calls on a local setup

Aperta
#3,252 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, ollama, rust

Direzione di ricerca

Start by reviewing the attached claw.txt strace and Report.txt diagnostics, then trace the interactive prompt path used for the local Ollama endpoint. Compare Claw's request timing with the direct chat-completions request; done means equivalent local prompts no longer incur the reported roughly 120-second delay.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Claw is configured for a local Ollama-backed qwen2.5:7b setup on Linux Mint. It loads both ~/.claw/settings.json and /home/prakhar/claw-code/rust/.claw.json, resolves the model as qwen2.5:7b, and uses workspace-write permissions. The shell environment contains:

OPENAI_BASE_URL=http://127.0.0.1:11434/v1

Ollama itself appears healthy and local:

  • curl -v http://127.0.0.1:11434/api/tags returns HTTP 200 and shows qwen2.5:7b.
  • ss -tlnp confirms Ollama is listening on 127.0.0.1:11434.
  • A direct OpenAI-compatible request to http://127.0.0.1:11434/v1/chat/completions completes in approximately 7.4s for a trivial prompt.

However, Claw interactive prompts such as:

  • Hi
  • How are you?

take approximately 2 minutes to return a response.

Additional observations:

  • The issue reproduces even when Claw is started from an unrelated directory outside the repository.
  • strace shows Claw connecting directly to 127.0.0.1:11434.
  • No connections to external providers were observed during testing.
  • Direct requests to the same local Ollama endpoint complete in approximately 7 seconds, while equivalent prompts through Claw take approximately 120 seconds.

Attached files:

  1. claw.txt - strace output captured during a slow interaction.
  2. Report.txt - additional diagnostics and command output.

Please let me know if there are additional diagnostics I should collect.

Report.txt

claw.txt

Lingua principale
Rust
Stelle
195k
Fork
108k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ultraworkers/claw-code

Tutte le issue di ultraworkers/claw-code

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.