fix: Restore LLM output
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user