What version of Codex is running?
codex-cli 0.21.0
Which model were you using?
qwen2.5-coder:14b
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
- Given this config.toml:
projects = { '[redacted]' = { trust_level = "trusted" } }
approval_policy = "on-request"
sandbox_mode = "workspace-write"
[sandbox_workspace_write]
network_access = true
[model_providers.ollama]
name = "Ollama"
base_url = "http://127.0.0.1:11434/v1"
[profiles.ollama]
model_provider = "ollama"
model = "qwen2.5-coder:14b"
set RUST_LOG=codex_core=debug,codex_tui=debug
- Run
codex --profile ollama "List the files in the current directory"
- I get this output:
user
List the files in the current directory
codex
{"name": "shell", "arguments": {"command": ["ls"]}}
I will attach the debug log file below.
What is the expected behavior?
Codex should execute the "shell" tool
What do you see instead?
The instruction is listed as part of the chat
Additional information
codex-tui.log
What version of Codex is running?
codex-cli 0.21.0
Which model were you using?
qwen2.5-coder:14b
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
set RUST_LOG=codex_core=debug,codex_tui=debugcodex --profile ollama "List the files in the current directory"I will attach the debug log file below.
What is the expected behavior?
Codex should execute the "shell" tool
What do you see instead?
The instruction is listed as part of the chat
Additional information
codex-tui.log