Skip to content

[BUG] Invalid input type when invoking reasoning for Mistral's reasoning models #2740

@Gemei

Description

@Gemei

Bug Description
Chatbox is sending incorrect input type [array] when invoking reasoning ability in Mistral's Magistral models. Expected input type is [string]

Steps to Reproduce
Please provide the steps to reproduce the bug:

  1. Go to Settings and enter your Mistral API Key.
  2. Click Fetch to get the latest models.
  3. Enable reasoning and vision for Magistral medium and small models
  4. Go to chat window and select Magistral small or medium.
  5. Enter this prompt (or any prompt that requires reasoning)

use your reasoning ability to answer this question
"Some Question"

Expected Results
Chatbox sends a string input to Magistral models.

Actual Results
Chatbox sends an array input to Magistral models.

Screenshots
Image

Image

Desktop:

  • Operating System: Windows 11
  • Application Version: 1.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions