Refactor session initialization in SessionRoutes to improve prompt handling

- Changed the order of operations in session initialization to first create/get the SDK session with the original prompt.
- Introduced a new step to clean the prompt of privacy tags after determining the session ID.
- Updated logging to reflect the new flow and ensure clarity on session creation and prompt number calculation.
This commit is contained in:
Alex Newman
2025-12-27 21:23:21 -05:00
parent 23358e2c6d
commit 2cf176e8c9
2 changed files with 12 additions and 9 deletions
File diff suppressed because one or more lines are too long