mirror of
https://github.com/open-webui/pipelines
synced 2025-05-12 16:40:45 +00:00
Deleted chat_id from body
prevent error 400: Unrecognized request argument supplied: chat_id
This commit is contained in:
parent
1367d95750
commit
889b09f2db
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user