Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#3,252 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, ollama, rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Rust
スター
195k
フォーク
108k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ultraworkers/claw-code のほかの issue

ultraworkers/claw-code の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。