Skip to content

Update OllamaModel with Mistal AI's recent models#6319

Open
nicolaskrier wants to merge 1 commit into
spring-projects:mainfrom
nicolaskrier:update-ollama-model-with-mistral-recent-models
Open

Update OllamaModel with Mistal AI's recent models#6319
nicolaskrier wants to merge 1 commit into
spring-projects:mainfrom
nicolaskrier:update-ollama-model-with-mistral-recent-models

Conversation

@nicolaskrier
Copy link
Copy Markdown
Contributor

@nicolaskrier nicolaskrier commented Jun 6, 2026

Description

  • Remove Mistral and Mistral Nemo deprecated models
  • Add Ministral 3 model family
  • Polish unit tests

Explanations

Recently integration tests have failed for Ollama model due to model mistral not found:

Error:  Errors: 
Error:  org.springframework.ai.ollama.OllamaChatModelIT.jsonStructuredOutputWithFormatOption
Error:    Run 1: OllamaChatModelIT.jsonStructuredOutputWithFormatOption:284 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
Error:    Run 2: OllamaChatModelIT.jsonStructuredOutputWithFormatOption:284 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
Error:    Run 3: OllamaChatModelIT.jsonStructuredOutputWithFormatOption:284 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
[INFO] 
Error:  org.springframework.ai.ollama.OllamaChatModelIT.jsonStructuredOutputWithOutputSchemaOption
Error:    Run 1: OllamaChatModelIT.jsonStructuredOutputWithOutputSchemaOption:300 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
Error:    Run 2: OllamaChatModelIT.jsonStructuredOutputWithOutputSchemaOption:300 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
Error:    Run 3: OllamaChatModelIT.jsonStructuredOutputWithOutputSchemaOption:300 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
[INFO] 
Error:  org.springframework.ai.ollama.OllamaChatModelIT.roleTest
Error:    Run 1: OllamaChatModelIT.roleTest:130 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
Error:    Run 2: OllamaChatModelIT.roleTest:130 » NonTransientAi 404 - {"error":"model 'mistral' not found"}
Error:    Run 3: OllamaChatModelIT.roleTest:130 » NonTransientAi 404 - {"error":"model 'mistral' not found"}

Proposed milestone

2.0.0

@nicolaskrier nicolaskrier force-pushed the update-ollama-model-with-mistral-recent-models branch from 07537a6 to 6bce004 Compare June 6, 2026 20:59
- Remove Mistral and Mistral Nemo deprecated models
- Add Ministral 3 model family
- Polish unit tests
Signed-off-by: Nicolas Krier <7557886+nicolaskrier@users.noreply.github.com>

Signed-off-by: Nicolas Krier <7557886+nicolaskrier@users.noreply.github.com>
@nicolaskrier nicolaskrier force-pushed the update-ollama-model-with-mistral-recent-models branch from 6bce004 to 09c1049 Compare June 6, 2026 21:02
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.

1 participant