Files
AstrBot/astrbot
LIghtJUNction e2139fd91b fix: guard against None system_prompt in _ensure_persona_and_skills
ProviderRequest.system_prompt defaults to None. When a persona with a
prompt is configured, _ensure_persona_and_skills calls
``req.system_prompt += ...`` which crashes with ``TypeError`` when
system_prompt is None.

Added a None guard before the persona prompt injection and skills prompt
appending sections so they always operate on a string.
2026-04-29 07:37:04 +08:00
..
2026-04-27 13:05:20 +08:00