Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session_updated event does not contain tools array #1400

Open
FiddlersCode opened this issue Jan 21, 2025 · 2 comments
Open

session_updated event does not contain tools array #1400

FiddlersCode opened this issue Jan 21, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@FiddlersCode
Copy link

This change introduced the session_updated event (great, many thanks!). However, it's lacking the tools array from the original OpenAI event (https://platform.openai.com/docs/api-reference/realtime-server-events/session/updated)

Would it be possible to add this data as well?

@longcw
Copy link
Collaborator

longcw commented Jan 22, 2025

It's bc our realtime model separated the session options and function calls. Maybe just add a tools: list[dict[str, Any]] field for session_updated event?

@FiddlersCode
Copy link
Author

Maybe just add a tools: list[dict[str, Any]] field for session_updated event?
Yea that would be perfect - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants