fix: Restore LLM output

This commit is contained in:
2026-03-04 18:46:30 -05:00
parent 6fc6338413
commit cfd286da40

View File

@@ -36,6 +36,8 @@ async def main():
raw_response = response.json()['response']['messages'][-1]['content'] raw_response = response.json()['response']['messages'][-1]['content']
with st.chat_message("assistant"):
st.markdown(raw_response)
st.session_state.messages.append({ st.session_state.messages.append({
"role": "assistant", "role": "assistant",
"content": raw_response "content": raw_response