-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[3/n] Config and items for realtime #1070
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
Conversation
|
||
|
||
class RealtimeSessionConfig(TypedDict): | ||
api_key: NotRequired[APIKeyOrKeyFunc] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't align with RunConfig where API key is property of the model/model provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's optional, its also a property of the transport (equialent to model provider) here
threshold: NotRequired[float] | ||
|
||
|
||
class RealtimeSessionConfig(TypedDict): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be named model config to mirror non realtime?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no its not a model config. But you're right that I should separate the model specific configs and the other stuff i plan to add to this (e.g. tracing)
Similar to the TS version.