julep
julep copied to clipboard
Add session participants routes
trafficstars
User description
Summary
- support listing session agents and users
- expose new routes to list session participants
- add TypeSpec endpoints for agents and users of a session
Testing
ruff check .ruff format .
PR Type
Enhancement
Description
-
Add endpoints to list agents and users in a session
- New API routes for
/sessions/{session_id}/agentsand/sessions/{session_id}/users - SQL queries to fetch session agents and users
- New API routes for
-
Update TypeSpec to document new session participant endpoints
Changes walkthrough 📝
| Relevant files | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enhancement | 6 files
| ||||||||||||
| Documentation | 1 files
|
Need help?
Type /help how to ...in the comments thread for any questions about Qodo Merge usage.Check out the documentation for more information.
[!IMPORTANT] Add SQL queries and API endpoints to list session agents and users, updating TypeSpec endpoints accordingly.
- New Functionality:
- Add
get_session_agentsandget_session_usersfunctions inqueries/sessionsto fetch agents and users for a session.- Introduce API endpoints in
routers/sessionsto list agents (get_session_agents) and users (get_session_users) for a session.- TypeSpec Updates:
- Update
endpoints.tspto includelistAgentsandlistUsersendpoints for sessions.- Misc:
- Update imports in
queries/sessions/__init__.pyandrouters/sessions/__init__.pyto include new functions.This description was created by
for 588ba49a998271b47cba264b9076822494445ac0. You can customize this summary. It will automatically update as commits are pushed.