Allow SWITCH_MODEL to reset a session to Auto

FixAIService
Ya
16 Julai 2026, 17:45 UTC
Mwandishi
Kamo
Ahadi ya
b1d9bd3

handleSwitchModel always UUID-parsed modelId and errored on null, so a session could never be reverted to automatic model selection mid-chat. Parse modelId as a string: null/empty/"auto" clears the session model (setModel(null) + save, responding modelName "Auto"); a UUID selects a concrete model; an invalid UUID returns a clean error instead of throwing.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei