Deleted chat_id from body

prevent error 400: Unrecognized request argument supplied: chat_id
This commit is contained in:
phpia 2024-12-27 18:56:21 +01:00 committed by GitHub
parent 1367d95750
commit 889b09f2db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,7 @@ class Pipeline:
self.chat_generations[body["chat_id"]] = generation
print(trace.get_trace_url())
del body["chat_id"]
return body
async def outlet(self, body: dict, user: Optional[dict] = None) -> dict: