Skip to content

Conversation

bluthen
Copy link
Contributor

@bluthen bluthen commented Sep 17, 2025

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

  • Bug Fix (non-breaking change which fixes an issue)

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐖api The modified files are located under directory 'api/apps/sdk' labels Sep 17, 2025
@KevinHuSh KevinHuSh added the ci Continue Integration label Sep 17, 2025
@KevinHuSh KevinHuSh merged commit f3738b0 into infiniflow:main Sep 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐖api The modified files are located under directory 'api/apps/sdk' ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants