Skip to content

Conversation

@hari-trugen
Copy link

Authored by: Hari Govind hari@trugen.ai

@hari-trugen
Copy link
Author

  • Added support for new TruGen.AI Realtime Avatar Plugin.
  • Added supporting usage examples for the same.

Copy link
Member

@tinalenguyen tinalenguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, thank you for submitting this PR! i left a few comments, but i couldn't test it out. i hit the max retries and kept receiving this error: Error creating voice to video session: concurrent session limit reached

let me know what may be causing this issue and when i could try again, thanks in advance!

if i < self._conn_options.max_retry - 1:
await asyncio.sleep(self._conn_options.retry_interval)

raise APIConnectionError("Max retry exhaused; Unable to start TruGen.AI Avatar Session.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raise APIConnectionError("Max retry exhaused; Unable to start TruGen.AI Avatar Session.")
raise APIConnectionError("Max retries exhausted; Unable to start TruGen.AI Avatar Session.")

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @tinalenguyen,
This is implemented.

- Added default avatar id to be used when nothing is passed.
- Changed API Connection Error phrasing.
@hari-trugen
Copy link
Author

Hi @tinalenguyen,
We have identified the issue with the MAX Concurrency Issue, we are working on it, and you should be able to test it later today. I will let you know.

Cheers.

@hari-trugen
Copy link
Author

Hi @tinalenguyen ,
The issue is resolved, could you retest?

Note: For a free account we have a limit of 1 concurrent session at a time, so between every session you can have about 30 seconds of break.

Cheers,
Hari

@tinalenguyen
Copy link
Member

Hi, thanks for iterating on my feedback! When I tested the plugin again, the avatar never joined the LiveKit room, but I did debug and see that the initial API request was sent successfully. I didn't see any explicit error logs. Are you able to reproduce this?

@hari-truviz
Copy link
Contributor

hari-truviz commented Jan 15, 2026

Hi @tinalenguyen,
Yes investigated and have resolved the issues, the problem was with your account we had made some changes since the previous issue fix, but the state for your account was not reset.

We have reset the same, and it should work just fine for you, if the issue still persist we recommend you retry with a different account.

We just did an end to end test with a new account both at Livekit level and at our platform, and everything is working fine.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants