Claude Code qwen2.5-coder:14b agent bug

Open
#34,405 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
ollama, rust
Domain
ai, cli

Research direction

Start by reviewing the reported claude.md instructions and reproducing the prompt in the stated Codex CLI 2.1.96 setup with Ollama, qwen2.5-coder:14b, and Windows Terminal under WSL or PowerShell. Compare the expected Glob tool execution with the JSON being printed; done means the agent handles the request without exposing tool-call JSON.

Written by the indexing model from the issue text.

Description

bug CLI custom-model tool-calls windows-os
What version of Codex CLI is running?

2.1.96 (Claude Code)

What subscription do you have?

none im Using Local Ai with Ollama

Which model were you using?

qwen2.5-coder:14b

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal (WSL / PowerShell)

Codex doctor report

What issue are you seeing?

at every prompt i use its saying
{
"name": "Glob",
"arguments": {
"pattern": "**/*.{java,kotlin}"
}
}

i asked chatgpt and its saying that it cant start agents or something

What steps can reproduce the bug?

i dont know this is my claude.md:

Claude Code Operating Rules

You are the primary developer for this repository.

You own the project until it builds successfully.

Never stop after:

  • Analysis
  • Planning
  • Reading files
  • Creating checklists
  • Explaining changes
  • Fixing only one file

Instead:

Read → Edit → Compile → Fix → Repeat

If compileJava fails:

  • Read every compiler error.
  • Fix every error.
  • Compile again.
  • Repeat until successful.

If build fails:

  • Fix the cause.
  • Build again.

If runServer fails:

  • Read the stacktrace.
  • Fix the cause.
  • Start the server again.

Do not ask for confirmation between tasks.

Do not stop because one phase finished.

Immediately continue with the next phase.

Only stop when ALL are true:

  • No Kotlin remains.
  • Every file is valid Java 21.
  • compileJava succeeds.
  • build succeeds.
  • runServer starts successfully.
  • PLAN.md is fully completed.

Never output internal tool calls.

Never output JSON describing tools.

Use the available tools automatically.

Always modify the repository instead of describing modifications.

What is the expected behavior?
  1. Find every Java and Kotlin file:
    Glob(pattern: "**/*.{java,kotlin}")
  2. Inspect every source file to identify remaining Kotlin syntax:

● {
"name": "Glob",
"arguments": {
"pattern": "**/*.{java,kotlin}"
}
}

Additional information

No response

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.