Skip to content

Refactor: Isolate concurrency for local vs. remote transcription approaches #384

@coderabbitai

Description

@coderabbitai

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

Metadata

Metadata

Assignees

Labels

priority/minorLower-priority tasks that can be picked up when time allows or planned for later.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions