Merge pull request #425 from pumpkinperson996/agent/fix-whisper-model-selection

Fix Whisper model selection caching
This commit is contained in:
Jianwu Huang
2026-08-25 13:57:21 +08:00
committed by GitHub
3 changed files with 150 additions and 12 deletions
+4 -1
View File
@@ -262,7 +262,10 @@ class NoteGenerator:
raise Exception(f"不支持的转写器:{self.transcriber_type}")
logger.info(f"使用转写器:{self.transcriber_type}")
return get_transcriber(transcriber_type=self.transcriber_type)
return get_transcriber(
transcriber_type=self.transcriber_type,
model_size=self.model_size,
)
def _get_gpt(self, model_name: Optional[str], provider_id: Optional[str]) -> GPT:
"""