AIX: Gemini: also strip the system prompt - TTS only takes 1 message

This commit is contained in:
Enrico Ros
2025-05-27 17:28:38 -07:00
parent 0f96c9f825
commit ca3df18d99
@@ -177,7 +177,8 @@ const _knownGeminiModels: ({
interfaces: [
LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Fn, LLM_IF_OAI_Json,
LLM_IF_Outputs_Audio, LLM_IF_Outputs_NoText,
LLM_IF_HOTFIX_NoStream, // generateContent, not streamGenerateContent?alt=sse
LLM_IF_HOTFIX_StripSys0, // TTS: no system instruction
LLM_IF_HOTFIX_NoStream, // TTS: no streaming - use generateContent instead
],
benchmark: undefined, // TTS models are not benchmarkable
hidden: true, // audio outputs are unavailable as of 2025-05-27
@@ -219,7 +220,8 @@ const _knownGeminiModels: ({
interfaces: [
LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Fn, LLM_IF_OAI_Json,
LLM_IF_Outputs_Audio, LLM_IF_Outputs_NoText,
LLM_IF_HOTFIX_NoStream, // generateContent, not streamGenerateContent?alt=sse
LLM_IF_HOTFIX_StripSys0, // TTS: no system instruction
LLM_IF_HOTFIX_NoStream, // TTS: no streaming - use generateContent instead
],
benchmark: undefined, // TTS models are not benchmarkable
hidden: true, // audio outputs are unavailable as of 2025-05-27