cline / cline

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.
https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
Apache License 2.0
8.63k stars 703 forks source link

Execute command just freezes #531

Open jguhlin opened 6 days ago

jguhlin commented 6 days ago

Which API Provider are you using?

Ollama

Which Model are you using?

qwen2.5:32b

What happened?

Anytime Cline executes a command, the command executes but never returns control back to Cline. Not sure what is happening. I'm using fish shell, so wondering if that is it.

Steps to reproduce

  1. Have cline create a script it needs to run (python, usually)
  2. Agree to run it
  3. It never continues even after the command has finished

Relevant API REQUEST output

[write_to_file for 'count_snps.py'] Result:

The content was successfully saved to count_snps.py.

<environment_details>
# VSCode Visible Files
count_snps.py

# VSCode Open Tabs
bcf_parser.py
count_snps.py
</environment_details>

Additional context

No response

fivehanz commented 5 days ago

I have simillar issue.

models tried: llama 3.2 3b, 3.1 70b, lfm 40b MoE using openrouter

❯ code --version
1.92.0
b1c0a14de1414fcdaa400695b4db1c0799bc3124
arm64

default shell:
❯ echo $SHELL 
/run/current-system/sw/bin/fish

using starship:
❯ starship --version
starship 1.19.0
branch:
commit_hash:
build_time:1980-01-01 00:00:00 +00:00
build_env:rustc 1.77.2 (25ef9e3d8 2024-04-09) (built from a source tarball),

device:
❯ uname -a
Darwin Haniels-MacBook-Air.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64

It runs command on terminal, then never returns back to cline.