openinterpreter icon indicating copy to clipboard operation
openinterpreter copied to clipboard

Does run cmds but outputs JSON

Open baboulebou opened this issue 1 year ago • 4 comments

Describe the bug

This may be something I misunderstood, but I run interpreter locally and it outputs a JSON with what looks like commands it would run, but it's not actually running anything. Example:

`> what's the weather today ?

{"name": "execute", "arguments": {"language": "shell", "code": "curl -X GET https://api.weather.gov/gridpoints/MKX/25,40/forecast"}}`

What am I missing ?

Reproduce

just ask any question

Expected behavior

I expect interpreter to open the browser and find the weather

Screenshots

No response

Open Interpreter version

Version: 0.4.3

Python version

3.11

Operating System name and version

Mac OS

Additional context

No response

baboulebou avatar Mar 07 '25 10:03 baboulebou

I have the same issue on MacOS. It prints out the JSON format response like you got, but it didn't execute the code and didn't even ask me to run or not. Seems pretty useless. Have you figured out a solution, @baboulebou ?

nxtruong avatar Apr 18 '25 20:04 nxtruong

--no-tool-calling Or --no-supports-function-call

Notnaton avatar Apr 19 '25 06:04 Notnaton

What model you are using? From my observation if I use some new models, e.g., qwen3 or llama3.3, the code does not execute. If I rollback to llama3 the code will be execute.

Jinnan-Guo avatar May 09 '25 14:05 Jinnan-Guo

Thank you for reporting this and for helping build the classic Python version of Open Interpreter. This issue concerns the earlier Python/LiteLLM/Jupyter product; this repository now tracks the Rust Open Interpreter built on Codex. We are closing the legacy report here so current product tracking starts clean. If you still want to pursue it, the community-maintained classic fork is https://github.com/endolith/open-interpreter. If the same problem affects the current Interpreter release, please open a new issue with the current template and include the version, provider, model, wire API, harness, platform, and reproduction.

interpreterwork avatar Jul 28 '26 04:07 interpreterwork