From 7120a7a8aa5a9c43cb2d0ee19fa6232d2fbd3eba Mon Sep 17 00:00:00 2001
From: Pim Hutting
Date: Wed, 19 Nov 2025 11:48:11 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre
---
src/control_backend/agents/transcription/transcription_agent.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/control_backend/agents/transcription/transcription_agent.py b/src/control_backend/agents/transcription/transcription_agent.py
index cb9e5b4..25fb785 100644
--- a/src/control_backend/agents/transcription/transcription_agent.py
+++ b/src/control_backend/agents/transcription/transcription_agent.py
@@ -28,7 +28,7 @@ class TranscriptionAgent(BaseAgent):
class Transcribing(CyclicBehaviour):
def __init__(self, audio_in_socket: azmq.Socket):
super().__init__()
- max_concurrent_tasks = settings.transcription_settings.max_concurrent_transcriptions
+ max_concurrent_tasks = settings.behaviour_settings.transcription_max_concurrent_tasks
self.audio_in_socket = audio_in_socket
self.speech_recognizer = SpeechRecognizer.best_type()
self._concurrency = asyncio.Semaphore(max_concurrent_tasks)