ragflow/api/apps/sdk
Russell Valentine f3738b06f1
Fixes session_id passing in agent_openai completion. (#10124)
### What problem does this PR solve?

An exception happens if you give session_id to agent_open_ai completion.
Because session_id is being given as well as **req so it tries to send
session_id twice. But also the logic seemed odd on picking one of
session_id, id, metadata.id. So cleaned it up a little.

See #10111 

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
2025-09-17 17:54:06 +08:00
..
agent.py Feat: Add http api to create, update, or delete agents. (#7515) 2025-05-12 17:59:53 +08:00
chat.py fix:passing empty database array when updating assistant (#9570) 2025-08-20 13:40:05 +08:00
dataset.py Fix:When deleting a knowledge base that is currently performing a parsing task, the parsing queue will not be deleted! (#9018) 2025-07-28 17:32:12 +08:00
dify_retrieval.py Refa: import issue. (#9958) 2025-09-05 19:26:15 +08:00
doc.py Refa: import issue. (#9958) 2025-09-05 19:26:15 +08:00
files.py Feat: Add file management HTTP_API (#8395) 2025-07-01 09:51:53 +08:00
session.py Fixes session_id passing in agent_openai completion. (#10124) 2025-09-17 17:54:06 +08:00