remove debug checkbox
This commit is contained in:
parent
5e18ab9104
commit
9e5fc2fd93
2
chat.py
2
chat.py
@ -56,8 +56,6 @@ def main() -> None:
|
||||
]
|
||||
try:
|
||||
completion = send_ai_request(model, st.session_state["messages"])
|
||||
if st.checkbox(label="Show Full API Response", value=False):
|
||||
st.json(completion)
|
||||
except OpenAIError as err:
|
||||
st.error(err)
|
||||
ai_content = completion.get("choices")[0].get("message").get("content")
|
||||
|
Loading…
Reference in New Issue
Block a user