Skip to content

Multimodal Mistral#502

Merged
flaviabeo merged 49 commits into
foundation-model-stack:mainfrom
alex-jw-brooks:multimodal_mistral
Feb 12, 2026
Merged

Multimodal Mistral#502
flaviabeo merged 49 commits into
foundation-model-stack:mainfrom
alex-jw-brooks:multimodal_mistral

Conversation

@alex-jw-brooks

@alex-jw-brooks alex-jw-brooks commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

This PR does the following:

  • Adds support for Pixtral as a vision encoder (for use in composite models)
    • Implements 2D (interleaved) RoPE for Pixtral without complex numbers
  • Implements Mistral3, which wraps Mistral (LLM) + Pixtral (Vision Encoder) for both text + vision
  • Adds tests for:
    • Assessing 2D RoPE correctness + comparing to HF, as this is the primary point of difficulty in Pixtral
    • Model tests for Pixtral and Mistral3
    • E2E equivalence test for Mistral3 using mistral 3.1 - the tested sequence is pretty short since multimodal models are pretty sensitive in general. We will also run a more extensive benchmark for quality through vLLM in the near future.

Rashed Z. Bhatti, PhD and others added 8 commits January 13, 2026 17:48
Signed-off-by: Rashed Z. Bhatti, PhD <rzbhatti@us.ibm.com>
Signed-off-by: Rashed Z. Bhatti, PhD <rzbhatti@gmail.com>
Signed-off-by: Rashed Z. Bhatti, PhD <rzbhatti@gmail.com>
Signed-off-by: Rashed Z. Bhatti, PhD <rzbhatti@gmail.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
@alex-jw-brooks alex-jw-brooks marked this pull request as draft January 16, 2026 00:29
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
@alex-jw-brooks alex-jw-brooks changed the base branch from mistral3-text-only to main January 21, 2026 19:13
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
alex-jw-brooks and others added 14 commits January 21, 2026 19:34
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
gkumbhat and others added 7 commits February 3, 2026 15:42
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
@alex-jw-brooks alex-jw-brooks force-pushed the multimodal_mistral branch 2 times, most recently from cca3a3f to a773da4 Compare February 3, 2026 15:43
gkumbhat and others added 5 commits February 3, 2026 17:07
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
@alex-jw-brooks alex-jw-brooks marked this pull request as ready for review February 4, 2026 03:36
@alex-jw-brooks alex-jw-brooks changed the title [WIP] - Multimodal mistral Multimodal Mistral Feb 4, 2026
@alex-jw-brooks alex-jw-brooks force-pushed the multimodal_mistral branch 2 times, most recently from ac47f5c to 1018bf8 Compare February 4, 2026 03:44
alex-jw-brooks and others added 2 commits February 4, 2026 09:08
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>

@flaviabeo flaviabeo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, and the equivalence is running smoothly. Looks good to me!

@flaviabeo flaviabeo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run on deepview:

$ deepview --model_type fms --model mistralai/Mistral-Small-3.2-24B-Instruct-2506 --mode unsupported_op --show_details --output_file debugger.txt

Deepview output:

Loading complete, took 4.394s
Compiling model
Compiling complete, took 0.114s
DEEPVIEW========================================================================
DEEPVIEW No unsupported operations detected.
DEEPVIEW========================================================================



DeepView run completed

No unsupported ops detected in spyre.

@flaviabeo flaviabeo merged commit b5fb7dd into foundation-model-stack:main Feb 12, 2026
4 checks passed
@gkumbhat gkumbhat deleted the multimodal_mistral branch February 12, 2026 20:30
joerunde pushed a commit to torch-spyre/sendnn-inference that referenced this pull request Feb 17, 2026
# Description

This PR adds support for multimodal (vision+text) for mistral models:
1.
[mistralai/Mistral-Small-3.1-24B-Instruct-2503](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503)
2.
[mistralai/Mistral-Small-3.2-24B-Instruct-2506](https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506)

This PR depends on FMS PR:
foundation-model-stack/foundation-model-stack#502

## Test result
1. Start vllm:
```
vllm serve --port=8080 --model=$MODEL_NAME --max_model_len=16384 --max-num-seqs=4 --tensor-parallel-size=4 --num-gpu-blocks-override=2080 --tokenizer_mode mistral --config_format mistral --enable-prefix-caching
```
2. Curl command:

Ref:
https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506
```
curl -X POST "http://localhost:8080/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506/",
    "messages": [
      {
        "role": "system",
        "content": "You are Mistralw, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.\nYou power an AI assistant called Le Chat.\nYour knowledge base was last updated on 2023-10-01.\nThe current date is 2026-02-17.\n\nWhen you'\''re not sure about some information or when the user'\''s request requires up-to-date or specific data, you must use the available tools to fetch the information. Do not hesitate to use tools whenever they can provide a more accurate or complete response. If no relevant tools are available, then clearly state that you don'\''t have the information and avoid making up anything.\nIf the user'\''s question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \"What are some good restaurants around me?\" => \"Where are you?\" or \"When is the next flight to Tokyo\" => \"Where do you travel from?\").\nYou are always very attentive to dates, in particular you try to resolve dates (e.g. \"yesterday\" is 2026-02-16) and when asked about information at specific dates, you discard information that is at another date.\nYou follow these instructions in all languages, and always respond to the user in the language they use or request.\nNext sections describe the capabilities that you have.\n\n# WEB BROWSING INSTRUCTIONS\n\nYou cannot perform any web search or access internet to open URLs, links etc. If it seems like the user is expecting you to do so, you clarify the situation and ask the user to copy paste the text directly in the chat.\n\n# MULTI-MODAL INSTRUCTIONS\n\nYou have the ability to read images, but you cannot generate images. You cannot read nor transcribe audio files or videos.\n\n# TOOL CALLING INSTRUCTIONS\n\nYou may have access to tools that you can use to fetch information or perform actions. You must use these tools in the following situations:\n\n1. When the request requires up-to-date information.\n2. When the request requires specific data that you do not have in your knowledge base.\n3. When the request involves actions that you cannot perform without tools.\n\nAlways prioritize using tools to provide the most accurate and helpful response. If tools are not available, inform the user that you cannot perform the requested action at the moment."
      },
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "What action do you think I should take in this situation? List all the possible actions and explain why you think they are good or bad."
          },
          {
            "type": "image_url",
            "image_url": {
              "url": "https://static.wikia.nocookie.net/essentialsdocs/images/7/70/Battle.png/revision/latest?cb=20220523172438"
            }
          }
        ]
      }
    ]
  }' | json_pp
```

3. Response

```
{
   "choices" : [
      {
         "finish_reason" : "stop",
         "index" : 0,
         "logprobs" : null,
         "message" : {
            "annotations" : null,
            "audio" : null,
            "content" : "In this situation, you are playing a Pokémon game where your Pikachu (Level 42) is facing a wild Pidgey (Level 17). Here are the possible actions you can take and an analysis of each:\n\n1. **FIGHT**:\n   - **Pros**: Pikachu is significantly higher level than the wild Pidgey, which suggests that it should be able to defeat Pidgey easily. This could be a good opportunity to gain experience points and possibly items or money.\n   - **Cons**: There is always a small risk of Pikachu fainting, especially if Pidgey has a powerful move or a status effect that could hinder Pikachu. However, given the large level difference, this risk is minimal.\n\n2. **BAG**:\n   - **Pros**: You might have items in your bag that could help in this battle, such as Potions, Poké Balls, or Berries. Using an item could help you capture the Pidgey or heal your Pikachu if needed.\n   - **Cons**: Using items might not be necessary given the level difference. It could be more efficient to just fight and defeat the Pidgey quickly.\n\n3. **POKÉMON**:\n   - **Pros**: You might have another Pokémon in your party that is better suited for this battle or that you want to gain experience. Switching Pokémon could also be strategic if you want to train a lower-level Pokémon.\n   - **Cons**: Switching Pokémon might not be necessary since Pikachu is at a significant advantage. It could also waste time and potentially give Pidgey a turn to attack.\n\n4. **RUN**:\n   - **Pros**: Running away could save time and conserve your Pokémon's health and resources. If you are in a hurry or do not need the experience or items, running away is a safe option.\n   - **Cons**: Running away means you miss out on the experience points and potential items or money that you could gain from defeating the Pidgey. It also means you do not get the chance to capture the Pidgey if you wanted to.\n\n### Recommendation:\nGiven the significant level advantage, the best action is likely to **FIGHT**. This will allow you to quickly defeat the Pidgey, gain experience points, and possibly obtain items or money. If you are concerned about Pikachu's health, you could use an item from your **BAG** to heal it before or during the battle. Running away or switching Pokémon does not seem necessary in this situation.",
            "function_call" : null,
            "reasoning" : null,
            "reasoning_content" : null,
            "refusal" : null,
            "role" : "assistant",
            "tool_calls" : []
         },
         "stop_reason" : null,
         "token_ids" : null
      }
   ],
....
   }
}
```

---------

Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Co-authored-by: Alex-Brooks <Alex.Brooks@ibm.com>
joerunde pushed a commit to torch-spyre/sendnn-inference that referenced this pull request Feb 17, 2026
This PR adds support for multimodal (vision+text) for mistral models:
1.
[mistralai/Mistral-Small-3.1-24B-Instruct-2503](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503)
2.
[mistralai/Mistral-Small-3.2-24B-Instruct-2506](https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506)

This PR depends on FMS PR:
foundation-model-stack/foundation-model-stack#502

1. Start vllm:
```
vllm serve --port=8080 --model=$MODEL_NAME --max_model_len=16384 --max-num-seqs=4 --tensor-parallel-size=4 --num-gpu-blocks-override=2080 --tokenizer_mode mistral --config_format mistral --enable-prefix-caching
```
2. Curl command:

Ref:
https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506
```
curl -X POST "http://localhost:8080/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506/",
    "messages": [
      {
        "role": "system",
        "content": "You are Mistralw, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.\nYou power an AI assistant called Le Chat.\nYour knowledge base was last updated on 2023-10-01.\nThe current date is 2026-02-17.\n\nWhen you'\''re not sure about some information or when the user'\''s request requires up-to-date or specific data, you must use the available tools to fetch the information. Do not hesitate to use tools whenever they can provide a more accurate or complete response. If no relevant tools are available, then clearly state that you don'\''t have the information and avoid making up anything.\nIf the user'\''s question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \"What are some good restaurants around me?\" => \"Where are you?\" or \"When is the next flight to Tokyo\" => \"Where do you travel from?\").\nYou are always very attentive to dates, in particular you try to resolve dates (e.g. \"yesterday\" is 2026-02-16) and when asked about information at specific dates, you discard information that is at another date.\nYou follow these instructions in all languages, and always respond to the user in the language they use or request.\nNext sections describe the capabilities that you have.\n\n# WEB BROWSING INSTRUCTIONS\n\nYou cannot perform any web search or access internet to open URLs, links etc. If it seems like the user is expecting you to do so, you clarify the situation and ask the user to copy paste the text directly in the chat.\n\n# MULTI-MODAL INSTRUCTIONS\n\nYou have the ability to read images, but you cannot generate images. You cannot read nor transcribe audio files or videos.\n\n# TOOL CALLING INSTRUCTIONS\n\nYou may have access to tools that you can use to fetch information or perform actions. You must use these tools in the following situations:\n\n1. When the request requires up-to-date information.\n2. When the request requires specific data that you do not have in your knowledge base.\n3. When the request involves actions that you cannot perform without tools.\n\nAlways prioritize using tools to provide the most accurate and helpful response. If tools are not available, inform the user that you cannot perform the requested action at the moment."
      },
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "What action do you think I should take in this situation? List all the possible actions and explain why you think they are good or bad."
          },
          {
            "type": "image_url",
            "image_url": {
              "url": "https://static.wikia.nocookie.net/essentialsdocs/images/7/70/Battle.png/revision/latest?cb=20220523172438"
            }
          }
        ]
      }
    ]
  }' | json_pp
```

3. Response

```
{
   "choices" : [
      {
         "finish_reason" : "stop",
         "index" : 0,
         "logprobs" : null,
         "message" : {
            "annotations" : null,
            "audio" : null,
            "content" : "In this situation, you are playing a Pokémon game where your Pikachu (Level 42) is facing a wild Pidgey (Level 17). Here are the possible actions you can take and an analysis of each:\n\n1. **FIGHT**:\n   - **Pros**: Pikachu is significantly higher level than the wild Pidgey, which suggests that it should be able to defeat Pidgey easily. This could be a good opportunity to gain experience points and possibly items or money.\n   - **Cons**: There is always a small risk of Pikachu fainting, especially if Pidgey has a powerful move or a status effect that could hinder Pikachu. However, given the large level difference, this risk is minimal.\n\n2. **BAG**:\n   - **Pros**: You might have items in your bag that could help in this battle, such as Potions, Poké Balls, or Berries. Using an item could help you capture the Pidgey or heal your Pikachu if needed.\n   - **Cons**: Using items might not be necessary given the level difference. It could be more efficient to just fight and defeat the Pidgey quickly.\n\n3. **POKÉMON**:\n   - **Pros**: You might have another Pokémon in your party that is better suited for this battle or that you want to gain experience. Switching Pokémon could also be strategic if you want to train a lower-level Pokémon.\n   - **Cons**: Switching Pokémon might not be necessary since Pikachu is at a significant advantage. It could also waste time and potentially give Pidgey a turn to attack.\n\n4. **RUN**:\n   - **Pros**: Running away could save time and conserve your Pokémon's health and resources. If you are in a hurry or do not need the experience or items, running away is a safe option.\n   - **Cons**: Running away means you miss out on the experience points and potential items or money that you could gain from defeating the Pidgey. It also means you do not get the chance to capture the Pidgey if you wanted to.\n\n### Recommendation:\nGiven the significant level advantage, the best action is likely to **FIGHT**. This will allow you to quickly defeat the Pidgey, gain experience points, and possibly obtain items or money. If you are concerned about Pikachu's health, you could use an item from your **BAG** to heal it before or during the battle. Running away or switching Pokémon does not seem necessary in this situation.",
            "function_call" : null,
            "reasoning" : null,
            "reasoning_content" : null,
            "refusal" : null,
            "role" : "assistant",
            "tool_calls" : []
         },
         "stop_reason" : null,
         "token_ids" : null
      }
   ],
....
   }
}
```

---------

Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Co-authored-by: Alex-Brooks <Alex.Brooks@ibm.com>
joerunde pushed a commit to torch-spyre/sendnn-inference that referenced this pull request Feb 17, 2026
This PR adds support for multimodal (vision+text) for mistral models:
1.
[mistralai/Mistral-Small-3.1-24B-Instruct-2503](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503)
2.
[mistralai/Mistral-Small-3.2-24B-Instruct-2506](https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506)

This PR depends on FMS PR:
foundation-model-stack/foundation-model-stack#502

1. Start vllm:
```
vllm serve --port=8080 --model=$MODEL_NAME --max_model_len=16384 --max-num-seqs=4 --tensor-parallel-size=4 --num-gpu-blocks-override=2080 --tokenizer_mode mistral --config_format mistral --enable-prefix-caching
```
2. Curl command:

Ref:
https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506
```
curl -X POST "http://localhost:8080/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506/",
    "messages": [
      {
        "role": "system",
        "content": "You are Mistralw, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.\nYou power an AI assistant called Le Chat.\nYour knowledge base was last updated on 2023-10-01.\nThe current date is 2026-02-17.\n\nWhen you'\''re not sure about some information or when the user'\''s request requires up-to-date or specific data, you must use the available tools to fetch the information. Do not hesitate to use tools whenever they can provide a more accurate or complete response. If no relevant tools are available, then clearly state that you don'\''t have the information and avoid making up anything.\nIf the user'\''s question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \"What are some good restaurants around me?\" => \"Where are you?\" or \"When is the next flight to Tokyo\" => \"Where do you travel from?\").\nYou are always very attentive to dates, in particular you try to resolve dates (e.g. \"yesterday\" is 2026-02-16) and when asked about information at specific dates, you discard information that is at another date.\nYou follow these instructions in all languages, and always respond to the user in the language they use or request.\nNext sections describe the capabilities that you have.\n\n# WEB BROWSING INSTRUCTIONS\n\nYou cannot perform any web search or access internet to open URLs, links etc. If it seems like the user is expecting you to do so, you clarify the situation and ask the user to copy paste the text directly in the chat.\n\n# MULTI-MODAL INSTRUCTIONS\n\nYou have the ability to read images, but you cannot generate images. You cannot read nor transcribe audio files or videos.\n\n# TOOL CALLING INSTRUCTIONS\n\nYou may have access to tools that you can use to fetch information or perform actions. You must use these tools in the following situations:\n\n1. When the request requires up-to-date information.\n2. When the request requires specific data that you do not have in your knowledge base.\n3. When the request involves actions that you cannot perform without tools.\n\nAlways prioritize using tools to provide the most accurate and helpful response. If tools are not available, inform the user that you cannot perform the requested action at the moment."
      },
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "What action do you think I should take in this situation? List all the possible actions and explain why you think they are good or bad."
          },
          {
            "type": "image_url",
            "image_url": {
              "url": "https://static.wikia.nocookie.net/essentialsdocs/images/7/70/Battle.png/revision/latest?cb=20220523172438"
            }
          }
        ]
      }
    ]
  }' | json_pp
```

3. Response

```
{
   "choices" : [
      {
         "finish_reason" : "stop",
         "index" : 0,
         "logprobs" : null,
         "message" : {
            "annotations" : null,
            "audio" : null,
            "content" : "In this situation, you are playing a Pokémon game where your Pikachu (Level 42) is facing a wild Pidgey (Level 17). Here are the possible actions you can take and an analysis of each:\n\n1. **FIGHT**:\n   - **Pros**: Pikachu is significantly higher level than the wild Pidgey, which suggests that it should be able to defeat Pidgey easily. This could be a good opportunity to gain experience points and possibly items or money.\n   - **Cons**: There is always a small risk of Pikachu fainting, especially if Pidgey has a powerful move or a status effect that could hinder Pikachu. However, given the large level difference, this risk is minimal.\n\n2. **BAG**:\n   - **Pros**: You might have items in your bag that could help in this battle, such as Potions, Poké Balls, or Berries. Using an item could help you capture the Pidgey or heal your Pikachu if needed.\n   - **Cons**: Using items might not be necessary given the level difference. It could be more efficient to just fight and defeat the Pidgey quickly.\n\n3. **POKÉMON**:\n   - **Pros**: You might have another Pokémon in your party that is better suited for this battle or that you want to gain experience. Switching Pokémon could also be strategic if you want to train a lower-level Pokémon.\n   - **Cons**: Switching Pokémon might not be necessary since Pikachu is at a significant advantage. It could also waste time and potentially give Pidgey a turn to attack.\n\n4. **RUN**:\n   - **Pros**: Running away could save time and conserve your Pokémon's health and resources. If you are in a hurry or do not need the experience or items, running away is a safe option.\n   - **Cons**: Running away means you miss out on the experience points and potential items or money that you could gain from defeating the Pidgey. It also means you do not get the chance to capture the Pidgey if you wanted to.\n\n### Recommendation:\nGiven the significant level advantage, the best action is likely to **FIGHT**. This will allow you to quickly defeat the Pidgey, gain experience points, and possibly obtain items or money. If you are concerned about Pikachu's health, you could use an item from your **BAG** to heal it before or during the battle. Running away or switching Pokémon does not seem necessary in this situation.",
            "function_call" : null,
            "reasoning" : null,
            "reasoning_content" : null,
            "refusal" : null,
            "role" : "assistant",
            "tool_calls" : []
         },
         "stop_reason" : null,
         "token_ids" : null
      }
   ],
....
   }
}
```

---------

Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
Co-authored-by: Alex-Brooks <Alex.Brooks@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants