Skip to content

Commit e3d7fc7

Browse files
authored
Merge pull request #1019 from devoxx/fix/issue-1018-devstral-model-name
fix: correct Devstral 2 model name
2 parents 8679cea + cf59238 commit e3d7fc7

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

docusaurus/static/api/models.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": 1,
3-
"lastUpdated": "2026-04-10",
3+
"lastUpdated": "2026-04-28",
44
"_sources": {
55
"Anthropic": "https://platform.claude.com/docs/en/docs/about-claude/models",
66
"OpenAI": "https://platform.openai.com/docs/models",
@@ -416,7 +416,7 @@
416416
"apiKeyUsed": true
417417
},
418418
{
419-
"modelName": "devstral-2-25-12",
419+
"modelName": "devstral-2512",
420420
"displayName": "Devstral 2",
421421
"inputCost": 0.4,
422422
"outputCost": 2,

src/test/java/com/devoxx/genie/service/models/ModelConfigJsonTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ void shouldHaveNoDuplicateModelNamesPerProvider() {
108108
}
109109
}
110110

111+
@Test
112+
void shouldUseCurrentDevstral2ModelName() {
113+
assertThat(config.getProviders().get("Mistral"))
114+
.extracting(ModelConfigEntry::getModelName)
115+
.contains("devstral-2512")
116+
.doesNotContain("devstral-2-25-12");
117+
}
118+
111119
@Test
112120
void shouldHaveReasonableTokenLimits() {
113121
for (Map.Entry<String, List<ModelConfigEntry>> entry : config.getProviders().entrySet()) {

0 commit comments

Comments
 (0)