diff options
| author | david <[email protected]> | 2026-10-16 05:19:47 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-10-16 05:19:47 -0300 |
| commit | 9fdb5f52e4ebc99cdf214e578afa201b10c728fb (patch) | |
| tree | c07576ed47b775d424a9e6a52ac8762262bf8b9a /gemini.py | |
| parent | bc17bc956a4a8f741f828eab1ab8331f9a027217 (diff) | |
| download | faggot-chan-9fdb5f52e4ebc99cdf214e578afa201b10c728fb.tar.gz faggot-chan-9fdb5f52e4ebc99cdf214e578afa201b10c728fb.zip | |
this is why i use claude
Diffstat (limited to 'gemini.py')
| -rw-r--r-- | gemini.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ async def geminichat(websocket): messages.append({"role": "user", "content": "\n".join(current_user_lines)}) # final isolated turn — the specific message she needs to reply to - messages.append({"role": "user", "content": f"[responding to]: {nots(user_input)}}) + messages.append({"role": "user", "content": f"[responding to]: {nots(user_input)}) # make sure we start with a user turn (gemini rejects empty parts so no empty string here) if messages and messages[0]["role"] != "user": |
