Update app.py
Browse files78 unmodified lines79808182838478 unmodified linesmessages.append({"role": "user", "content": message})response = ""try:for message_chunk in client.chat_completion(78 unmodified lines798081828384858678 unmodified linesmessages.append({"role": "user", "content": message})response = ""# Add this line to ensure no truncationmax_tokens = max(max_tokens, 1536) # Floor at 1536 for complex mathtry:for message_chunk in client.chat_completion(
app.py+2