feat(ai): TTS를 Mindlogic 게이트웨이(충남대 키)로 라우팅 가능하게#97
Merged
Conversation
직접 GEMINI_API_KEY 가 TTS 버스트로 429(TooManyRequests)를 자주 맞아, 게이트웨이 /audio/speech(OpenAI 호환, Gemini TTS 라우팅, raw PCM 반환)를 쓰는 GatewayTtsProvider 추가. LLM_API_KEY(게이트웨이 키)를 사용해 직접 키 부하를 분산한다. - build_tts_provider auto 우선순위: gateway > gemini > openai > mock. - gateway/gemini 는 GEMINI_TTS_MODEL/VOICE(기본 gemini-2.5-flash-preview-tts/Kore) 공유. - 반환 raw PCM(L16/24kHz)은 기존 pcm_to_wav 재사용해 WAV 로 감싼다. - 게이트웨이 /audio/speech 실호출로 200 + audio/pcm 확인 완료. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
직접 GEMINI_API_KEY 가 TTS 버스트로 429(TooManyRequests)를 자주 맞아, 게이트웨이 /audio/speech(OpenAI 호환, Gemini TTS 라우팅, raw PCM 반환)를 쓰는 GatewayTtsProvider 추가. LLM_API_KEY(게이트웨이 키)를 사용해 직접 키 부하를 분산한다.
변경 사항