Skip to content

Commit

Permalink
Update llm_request.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juberti committed Jul 22, 2024
1 parent 8a78121 commit 407e6b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llm_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ async def gemini_chat(ctx: ApiContext) -> ApiResult:
async def chunk_gen(response) -> TokenGenerator:
tokens = 0
async for chunk in make_json_chunk_gen(response):
print("chunk", chunk)
candidates = chunk.get("candidates")
if candidates:
content = candidates[0].get("content")
Expand Down

0 comments on commit 407e6b5

Please sign in to comment.