ragflow/api
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
..
apps Fixes session_id passing in agent_openai completion. (#10124) 2025-09-17 17:54:06 +08:00
db Fix: usage of postgresql -> postgres for db_type (#10120) 2025-09-17 10:30:45 +08:00
utils Fix: re sub error. (#9985) 2025-09-09 10:52:18 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Refa: Implement centralized file name length limit using FILE_NAME_LEN_LIMIT constant (#8318) 2025-06-17 18:01:30 +08:00
ragflow_server.py Fix: ensure update_progress loop always waits between iterations (#9528) 2025-08-19 09:42:15 +08:00
settings.py Feat: add SMTP support for user invitation emails (#9479) 2025-08-15 18:12:20 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00