Spaces:
Sleeping

Dmitry Beresnev commited on
Commit
a8f6b6b
·
1 Parent(s): 130d9e3

Log elapsed time and token rate when the response arrives.

Browse files

Add a hard timeout (e.g., 300s) and return a friendly 504.
Add a rule to drop system prompts above a cap unless explicitly allowed.

1 file changed +74 -24
app.py+74-24