Skip to content

[bug] claw hangs there with the following command #3022

Description

@TangLaoya

Dear devs,

I lauched claw in PowerShell (Windows 10 64 bit):
claw --model "openai/Qwen3-Coder-Next" --output-format json --allowedTools bash, read_file, write_file, edit_file, glob_search, grep_search, WebFetch, WebSearch, TodoWrite, Skill, Agent, ToolSearch, NotebookEdit, Sleep, SendUserMessage, Config, EnterPlanMode, ExitPlanMode, StructuredOutput, REPL, PowerShell, AskUserQuestion, TaskCreate, RunTaskPacket, TaskGet, TaskList, TaskStop, TaskUpdate, TaskOutput, WorkerCreate, WorkerGet, WorkerObserve, WorkerResolveTrust, WorkerAwaitReady, WorkerSendPrompt, WorkerRestart, WorkerTerminate, WorkerObserveCompletion, TeamCreate, TeamDelete, CronCreate, CronDelete, CronList, LSP, ListMcpResources, ReadMcpResource, McpAuth, RemoteTrigger, MCP, TestingPermission

The claw hangs there and the llama-server occupied 100% CPU. The llama-server command is:
.\llama-server.exe -t 48 --ctx-size 1048576 --mlock --no-mmap -ngl 0 -m "Y:\LLM-model\Huihui-Qwen3-Coder-Next-Opus-4.6-Reasoning-Distilled-abliterated\Huihui-Qwen3-Coder-Next-Opus-4.6-Reasoning-Distilled-abliterated-Q6_K.gguf" --alias "Qwen3-Coder-Next" --jinja --offline -fa on --temp 0.1 --top-p 0.95 --top_k 40 --min-p 0 --no-context-shift --cache-ram 32768 --cache-prompt --api-prefix /v1 --tools all --host 127.0.0.1 --port 8010 --timeout 18000 --batch-size 1024 --ubatch-size 256 --parallel 4 --cont-batching --no-perf --cpu-mask 0xFFFFFFFFFFFF --cpu-strict 1

If I don't use the --allowedTools option, the claw started normally, but it can't execute git, file write correctly.

I have set environment variables as
https://roflsunriz.github.io/how-to-use-claw-code/INSTALL-en-US-win/#method-1-set-environment-variables-for-the-current-terminal-only
described.

What else should I pay attention to?

Thanks,
Tang Laoya

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions