13 lines
639 B
Markdown
13 lines
639 B
Markdown
---
|
|
id: 7253049d-6710-44d2-9cb8-a095fb037f9b
|
|
type: decision
|
|
title: "Store model aliases not specific IDs"
|
|
tags: [ai-assistant, discord, claude, pattern, decision]
|
|
importance: 0.6
|
|
confidence: 0.8
|
|
created: "2026-02-13T21:08:56.426233+00:00"
|
|
updated: "2026-02-13T21:08:56.426233+00:00"
|
|
---
|
|
|
|
When storing user model preferences (sonnet/opus/haiku), always store the alias string, never resolve to specific model IDs like claude-sonnet-4-5. Claude CLI resolves aliases to the latest version at runtime. Hardcoding IDs prevents automatic adoption of newer models. The /model command in ai-assistant-discord-bot was fixed to follow this pattern.
|