RobotecAI / RobotecAI/rai

Refactor: Isolate concurrency for local vs. remote transcription approaches

Open
#384 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

priority/minor
Dominant language
Python
Stars
589
Forks
76
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Background

Currently, a single lock is used for both local and remote transcription models in the voice recognition agent. This may unnecessarily limit throughput for remote transcription calls that don't require the same locking mechanism as local models.

Discussion Points

  • Separate concurrency logic for local vs. remote transcription flows
  • Improve throughput for remote transcription calls
  • Maintain thread safety for local model usage

References

Next Steps

  • Design a solution that handles concurrency appropriately for both local and remote transcription approaches
  • Implement separate flows while maintaining code maintainability
  • Measure and compare throughput improvements

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.