ragflow/api/apps
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
..
auth Fix: use jwks_uri from OIDC metadata for JWKS client (#8136) 2025-06-10 10:16:58 +08:00
sdk Fixes session_id passing in agent_openai completion. (#10124) 2025-09-17 17:54:06 +08:00
__init__.py Feat: add SMTP support for user invitation emails (#9479) 2025-08-15 18:12:20 +08:00
api_app.py Feat: add advanced document filter (#8723) 2025-07-09 09:33:11 +08:00
canvas_app.py Fix: usage of postgresql -> postgres for db_type (#10120) 2025-09-17 10:30:45 +08:00
chunk_app.py Fix: exesql issue. (#9995) 2025-09-09 19:45:10 +08:00
conversation_app.py Feat: user defined prompt. (#9972) 2025-09-08 14:05:01 +08:00
dataflow_app.py Feat: refine dataflow and initialize dataflow app (#9952) 2025-09-05 18:50:46 +08:00
dialog_app.py Fix typo (#9766) 2025-08-27 18:56:40 +08:00
document_app.py Fix: wrong chunk number while re-parsing document and keeping original chunks (#9912) 2025-09-04 17:48:00 +08:00
file2document_app.py Feat: add advanced document filter (#8723) 2025-07-09 09:33:11 +08:00
file_app.py Refa: better MIME content type (#8801) 2025-07-11 18:47:19 +08:00
kb_app.py Feat: add meta data filter. (#9405) 2025-08-12 14:12:56 +08:00
langfuse_app.py Feat: add project_id and project_name to Langfuse API (#6481) 2025-03-25 10:36:34 +08:00
llm_app.py Fix typo (#9766) 2025-08-27 18:56:40 +08:00
mcp_server_app.py Fix typo (#9766) 2025-08-27 18:56:40 +08:00
plugin_app.py Feat: Support tool calling in Generate component (#7572) 2025-05-16 16:32:19 +08:00
search_app.py Fix typo (#9766) 2025-08-27 18:56:40 +08:00
system_app.py Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00
tenant_app.py Feat: add SMTP support for user invitation emails (#9479) 2025-08-15 18:12:20 +08:00
user_app.py Trival. (#9460) 2025-08-14 09:39:00 +08:00