Claw is ~120s slower than direct Ollama/Qwen2.5:7b calls on a local setup
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux, ollama, rust
- 領域
- backend, performance
調査の方向性
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/tagsreturns HTTP 200 and showsqwen2.5:7b.ss -tlnpconfirms Ollama is listening on127.0.0.1:11434.- A direct OpenAI-compatible request to
http://127.0.0.1:11434/v1/chat/completionscompletes in approximately7.4sfor a trivial prompt.
However, Claw interactive prompts such as:
HiHow 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.
straceshows Claw connecting directly to127.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:
claw.txt- strace output captured during a slow interaction.Report.txt- additional diagnostics and command output.
Please let me know if there are additional diagnostics I should collect.
- 主要言語
- Rust
- スター
- 195k
- フォーク
- 108k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ultraworkers/claw-code のほかの issue
-
Fix markdown formatting issues in TUI streaming: block-level element newline omission and consecutive empty line accumulation再び着手できるかも @Aditaya08 が 50 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ultraworkers/claw-code#3259 · コメント 7 件 ·
-
fix(cli): resolve duplicate assistant text printing after 'Done' in non-compact text mode対応中かも @nankingjing が 89 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ultraworkers/claw-code#3258 · コメント 1 件 ·
-
bug: Missing newlines before paragraphs and code blocks in streamed Markdown rendering対応中かも @nankingjing が 90 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ultraworkers/claw-code#3257 · コメント 2 件 ·
-
[CRITICAL][SECURITY] Untrusted project hooks bypass read-only mode for arbitrary command executionオープン
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
ultraworkers/claw-code#3301 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
ultraworkers/claw-code#3300 · コメント 2 件 ·
ultraworkers/claw-code の issue をすべて見る
似ている issue
-
test(executor_l0): assert execute() TaskOutcome, not only bus events / 断言 execute() 返回的 TaskOutcomeオープンtype:debt
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
skaiy/wild_agentos#425 ·
メンテナーはふだん 1 日以内に返信
-
Default-import note suggests `import * as process` for velt:process, which does not name the builtinオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug ticket
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cratestack/cratestack#1154 ·
メンテナーはふだん 1 日以内に返信
-
status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agentic-os-org/ANOLISA#6742 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信