Skip to content

Tool calls not working for bash with some Qwen3.5 models #54

@odynvolk

Description

@odynvolk

Description
Tool calls for bash fails on at least some Qwen3.5 models.

Steps to Reproduce
afm mlx -m mlx-community/Qwen3.5-35B-A3B-4bit -p 8001

Error
AF-M

[ToolCallParser] Missing required string param 'command' for bash — not filling

pi agent

Validation failed for tool "bash":

  • command: must have required property 'command'

Received arguments:
{}

Environment
AF-M version: v0.9.7-072340b (afm-next via Homebrew)
macOS 26 on Mac Mini M4
Model: mlx-community/Qwen3.5-35B-A3B-4bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions