BasedHardware / omi

AI wearables
https://omi.me
MIT License
3.32k stars 388 forks source link

Add session tracking for websocket transcribe #774

Closed beastoin closed 1 week ago

beastoin commented 1 week ago

Summary by Entelligence.AI

github-actions[bot] commented 1 week ago

Image description Entelligence.AI

Walkthrough

The changes introduced in this commit primarily focus on enhancing the tracking of websocket connections in the backend. A unique session ID is now generated for each connection, providing a more robust and identifiable way to monitor and manage active sessions.

Changes

File Summary
backend/routers/transcribe.py Introduced session tracking with a generated UUID for each websocket connection. The print statement has been updated to include this session ID for better logging and debugging.

🎉 With every connection made, a new ID we've laid,

In the world of websockets, no session shall fade.

Through the wires, data flows, under the AI's gaze,

Celebrate, for we've improved our ways! 🚀


Uplevel your code reviews with Entelligence.AI Pro ### Entelligence.AI Pro If you like this project, please support us by purchasing the [Pro version](https://Entelligence.AI.ai). The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, Entelligence.AI Pro is free for open source projects.