Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Hill c870563486
Merge 182bff1bd8 into 393e387e9a 2026-08-08 10:11:55 +05:30
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

Diff Content Not Available