Fix imports and useless prints

This commit is contained in:
luijait 2025-05-27 12:37:26 +02:00
parent df7a5dffaf
commit f5e2eea63c
1 changed files with 1 additions and 4 deletions

View File

@ -502,11 +502,8 @@ class OpenAIChatCompletionsModel(Model):
stop_active_timer()
start_idle_timer()
# Add visual feedback for interruption
print("\n[Non-streaming response interrupted - Cleanup completed]", file=sys.stderr)
raise
import sys
if _debug.DONT_LOG_MODEL_DATA:
logger.debug("Received model response")
else: