Skip to content

Commit

Permalink
better formatting for obs
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Jul 26, 2024
1 parent 1aaa6d0 commit 8466234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def main():
msg = msg.replace("</execute_python>", "`</execute_python>")
messages.chat_message(message["role"]).write(msg)
else:
messages.chat_message("observation").write(message["content"])
messages.chat_message("observation").text(message["content"])

st.text_input("Chat here", key="widget", on_change=submit)
prompt = st.session_state.input_text
Expand Down

0 comments on commit 8466234

Please sign in to comment.