From 8327ab4ae15e260e4ee3b681c4923ea37eb2a7c9 Mon Sep 17 00:00:00 2001 From: alpha-nerd-nomyo Date: Tue, 23 Sep 2025 14:47:55 +0200 Subject: [PATCH] rm print statements --- router.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/router.py b/router.py index 2fa59ef..e38d98b 100644 --- a/router.py +++ b/router.py @@ -664,11 +664,9 @@ async def chat_proxy(request: Request): async_gen = await client.chat(model=model, messages=messages, tools=tools, stream=stream, think=think, format=_format, options=options, keep_alive=keep_alive) if stream == True: async for chunk in async_gen: - print(chunk) if is_openai_endpoint: chunk = rechunk.openai_chat_completion2ollama(chunk, stream, start_ts) # `chunk` can be a dict or a pydantic model – dump to JSON safely - print(chunk) if hasattr(chunk, "model_dump_json"): json_line = chunk.model_dump_json() else: