Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Remove print() on stream generator #597

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/codegate/providers/ollama/completion_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ async def ollama_stream_generator(
"""OpenAI-style SSE format"""
try:
async for chunk in stream:
print(chunk)
try:
yield f"{chunk.model_dump_json()}\n\n"
except Exception as e:
Expand Down
Loading