Skip to content

Commit 2d69ac9

Browse files
Merge pull request #145 from mobitouchOS/feature/add-claude-sonnet-5
Add Claude Sonnet 5 model
2 parents 4c5226c + 904c5b6 commit 2d69ac9

4 files changed

Lines changed: 15 additions & 1 deletion

File tree

Releases/10.0.1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 10.0.1 release
2+
3+
- Added support for Anthropic's new Claude Sonnet 5 model

src/MaIN.Core/.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>MaIN.NET</id>
5-
<version>10.0.0</version>
5+
<version>10.0.1</version>
66
<authors>Wisedev</authors>
77
<owners>Wisedev</owners>
88
<icon>favicon.png</icon>

src/MaIN.Domain/Models/Concrete/CloudModels.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,16 @@ public sealed record ClaudeSonnet4_5() : CloudModel(
266266
public string? MMProjectName => null;
267267
}
268268

269+
public sealed record ClaudeSonnet5() : CloudModel(
270+
Models.Anthropic.ClaudeSonnet5,
271+
BackendType.Anthropic,
272+
"Claude Sonnet 5",
273+
200000,
274+
"Anthropic's latest Sonnet model with enhanced reasoning and multimodal capabilities"), IVisionModel
275+
{
276+
public string? MMProjectName => null;
277+
}
278+
269279
// ===== Gemini Models =====
270280

271281
public sealed record Gemini3_5Flash() : CloudModel(

src/MaIN.Domain/Models/Models.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public static class Anthropic
3737
public const string ClaudeHaiku4_5 = "claude-haiku-4-5-20251001";
3838
public const string ClaudeSonnet4 = "claude-sonnet-4-20250514";
3939
public const string ClaudeSonnet4_5 = "claude-sonnet-4-5-20250929";
40+
public const string ClaudeSonnet5 = "claude-sonnet-5";
4041
}
4142

4243
public static class Gemini

0 commit comments

Comments
 (0)