| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
openai.types.realtime.session does not exist, so the example raised ModuleNotFoundError at startup. The Session type is exported by openai.types.realtime.session_created_event.
| Back | FazBrowse Home | New Git URL |
examples/realtime/push_to_talk_app.py imports from openai.types.realtime.session import Session — that module doesn't exist, so the linked TUI example raises ModuleNotFoundError at startup. The Session type is exported by openai.types.realtime.session_created_event (Session: TypeAlias = Union[RealtimeSessionCreateRequest, RealtimeTranscriptionSessionCreateRequest]), which is the type of event.session used at lines 182/187. Import repointed there.
Both src/openai/lib/ and examples/ are outside the generator's scope.