Skip to content

Improve Mistral AI Chat documentation for reasoning models and ReasoningEffort Javadoc#6191

Merged
sdeleuze merged 1 commit into
spring-projects:mainfrom
nicolaskrier:improve-mistralai-chat-documentation
May 28, 2026
Merged

Improve Mistral AI Chat documentation for reasoning models and ReasoningEffort Javadoc#6191
sdeleuze merged 1 commit into
spring-projects:mainfrom
nicolaskrier:improve-mistralai-chat-documentation

Conversation

@nicolaskrier
Copy link
Copy Markdown
Contributor

@nicolaskrier nicolaskrier commented May 27, 2026

Description

  • Clarify adjustable versus native reasoning model types,
  • Expand on metadata use,
  • Use constant instead of string for thinking content metadata,
  • Complement ReasoningEffort Javadoc,
  • Add latest tag to Mistral Small model within an application.properties snippet.

Explanations

  • I have discovered that Mistral AI's reasoning models are well explained within Mistral AI Studio API documentation.
  • reference_content metadata is not relative to reasoning models (cf MistralAiChatModelIT.referenceCall).
  • mistral-small seems to be the old version of Mistral Small. I have updated it to the latest tag due to this error:
curl -s https://api.mistral.ai/v1/models/mistral-small \       
  -H "Authorization: Bearer $MISTRAL_AI_API_KEY"  
{"object":"error","message":"Model mistral-small is deprecated.","type":"invalid_model","param":null,"code":"1500","raw_status_code":404}

Proposed milestone

2.0.0-RC1

Related work

@sdeleuze sdeleuze added this to the 2.0.0-RC1 milestone May 27, 2026
@sdeleuze sdeleuze self-assigned this May 27, 2026
@sdeleuze sdeleuze added documentation Improvements or additions to documentation mistral labels May 27, 2026
@nicolaskrier nicolaskrier force-pushed the improve-mistralai-chat-documentation branch from d155147 to be35d11 Compare May 27, 2026 22:13
…ingEffort Javadoc

- Clarify adjustable versus native reasoning model types
- Expand on metadata use
- Use constant instead of string for thinking content metadata
- Complement ReasoningEffort Javadoc
- Add latest tag to Mistral Small model within an application.properties snippet

See spring-projects#5585
Signed-off-by: Nicolas Krier <7557886+nicolaskrier@users.noreply.github.com>
@nicolaskrier nicolaskrier force-pushed the improve-mistralai-chat-documentation branch from be35d11 to 61c15f2 Compare May 27, 2026 22:19
@nicolaskrier nicolaskrier marked this pull request as ready for review May 27, 2026 22:53
@sdeleuze sdeleuze merged commit 1411122 into spring-projects:main May 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation mistral

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants