Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fix async output chunk; add voice selection; dotenv support; package-lock; update README#15

Open
mubashirsidiki wants to merge 5 commits intolangchain-ai:mainfrom
mubashirsidiki:main
Open

Fix async output chunk; add voice selection; dotenv support; package-lock; update README#15
mubashirsidiki wants to merge 5 commits intolangchain-ai:mainfrom
mubashirsidiki:main

Conversation

@mubashirsidiki
Copy link

  • README update: Clarified setup instructions with beginner-friendly setup instructions.
  • Lock file: Added package-lock.json to lock npm dependencies and ensure consistent installs.
  • Dotenv support: Installed python-dotenv and updated code to load API keys and settings from a .env file.
  • Voice selection: Added support for choosing among six voices (alloy, echo, fable, onyx, nova, shimmer) in the real-time API client.
  • Async fix: Added await send_output_chunk(json.dumps(data)) in agent.py to ensure correct ordering and prevent race conditions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant