Skip to content

Fix model ToolSupport declarations for capable models #225

@Kamilbenkirane

Description

@Kamilbenkirane

Priority: High
Related: #199

Several tool-capable models have incorrect ToolSupport declarations, silently disabling functionality.

Models to audit:

  • OpenAI: gpt-4-turbo, gpt-4 missing ToolSupport despite being capable
  • xAI: grok-2-vision-1212 has no ToolSupport constraint at all
  • Mistral: All models declare ToolSupport(tools=[]) — Mistral Large supports function calling
  • DeepSeek: ToolSupport(tools=[]) blocks user-defined tools despite mapper supporting them
  • Groq: Most models have empty tools despite Llama/Qwen supporting function calling
  • HuggingFace: Same issue as DeepSeek

Files:

  • src/celeste/modalities/text/providers/openai/models.py
  • src/celeste/modalities/text/providers/xai/models.py
  • src/celeste/modalities/text/providers/mistral/models.py
  • src/celeste/modalities/text/providers/deepseek/models.py
  • src/celeste/modalities/text/providers/groq/models.py
  • src/celeste/modalities/text/providers/huggingface/models.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions