Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceunx committed Apr 29, 2024
1 parent dc68a1d commit c46a21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_server/routers/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ async def get_content(data, url):
yield json.dumps(send_data)
except Exception:
yield '{"choices":[{"index":0,"delta":{"content":"error from gemini"}}]}'
yield "[DONE]"
break
yield "[DONE]"


@router.post("/chat", status_code=200)
Expand Down

0 comments on commit c46a21c

Please sign in to comment.