Commit Graph

2 Commits (8cb4e3af972a6f78e647a3b861cc902a7590ea9f)

Author SHA1 Message Date
Jonathan Hill 182bff1bd8 fix: guard against empty/filtered LLM responses in chat_api.py
Add null check before accessing choices[0].message.content in the
non-streaming path. An empty choices list causes IndexError; a None
message (returned by some providers on content-filtered responses
with HTTP 200) causes AttributeError.
2026-05-18 03:44:31 -05:00
jingyaogong 101d7df2da [update] minimind-3 2026-03-25 23:57:45 +08:00