Files
oh-my-pi/packages
can1357 a84906b3b1 fix(ai): handle non-array systemPrompt
normalizeSystemPrompts assumed context.systemPrompt was always an array
and called .map directly, crashing on legacy single-string values.
Accept string, string[], null, and undefined; normalize a single string
into a one-element prompt block list.

Fixes #976
2026-05-09 03:11:19 +02:00
..
2026-05-08 20:41:26 +02:00
2026-05-09 03:11:19 +02:00
2026-05-08 20:41:26 +02:00
2026-05-08 20:41:26 +02:00
2026-05-08 20:41:26 +02:00
2026-05-08 20:41:26 +02:00