Chris4K's picture
Create logger.py
16dfba3 verified
raw
history blame
167 Bytes
def log_response(response):
if log_enabled:
with st.chat_message("ai"):
st.markdown("Agent Response\n {}".format(response))
print(response)