mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-05 09:33:07 +00:00
fix(agent-context-parser): update model version strings for consistency
- Updated the model version strings for Sonnet and Haiku to reflect the correct versions (Sonnet 4.5 and Haiku 4.5). - Ensured consistency in model naming conventions within the formatModelName function. This change improves clarity and accuracy in model representation.
This commit is contained in:
@@ -34,8 +34,8 @@ export const DEFAULT_MODEL = "claude-opus-4-5-20251101";
|
|||||||
*/
|
*/
|
||||||
export function formatModelName(model: string): string {
|
export function formatModelName(model: string): string {
|
||||||
if (model.includes("opus")) return "Opus 4.5";
|
if (model.includes("opus")) return "Opus 4.5";
|
||||||
if (model.includes("sonnet")) return "Sonnet 4";
|
if (model.includes("sonnet")) return "Sonnet 4.5";
|
||||||
if (model.includes("haiku")) return "Haiku 3.5";
|
if (model.includes("haiku")) return "Haiku 4.5";
|
||||||
return model.split("-").slice(1, 3).join(" ");
|
return model.split("-").slice(1, 3).join(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user