services: forgot to pass context instead of user aggregator

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-13 13:50:33 -08:00
parent e0d24d7fc0
commit a6502df72c
4 changed files with 4 additions and 4 deletions

View File

@@ -706,6 +706,6 @@ class GeminiMultimodalLiveLLMService(LLMService):
GeminiMultimodalLiveContext.upgrade(context) GeminiMultimodalLiveContext.upgrade(context)
user = GeminiMultimodalLiveUserContextAggregator(context) user = GeminiMultimodalLiveUserContextAggregator(context)
assistant = GeminiMultimodalLiveAssistantContextAggregator( assistant = GeminiMultimodalLiveAssistantContextAggregator(
user, expect_stripped_words=assistant_expect_stripped_words context, expect_stripped_words=assistant_expect_stripped_words
) )
return GeminiMultimodalLiveContextAggregatorPair(_user=user, _assistant=assistant) return GeminiMultimodalLiveContextAggregatorPair(_user=user, _assistant=assistant)

View File

@@ -1174,7 +1174,7 @@ class GoogleLLMService(LLMService):
) -> GoogleContextAggregatorPair: ) -> GoogleContextAggregatorPair:
user = GoogleUserContextAggregator(context) user = GoogleUserContextAggregator(context)
assistant = GoogleAssistantContextAggregator( assistant = GoogleAssistantContextAggregator(
user, expect_stripped_words=assistant_expect_stripped_words context, expect_stripped_words=assistant_expect_stripped_words
) )
return GoogleContextAggregatorPair(_user=user, _assistant=assistant) return GoogleContextAggregatorPair(_user=user, _assistant=assistant)

View File

@@ -212,6 +212,6 @@ class GrokLLMService(OpenAILLMService):
) -> GrokContextAggregatorPair: ) -> GrokContextAggregatorPair:
user = OpenAIUserContextAggregator(context) user = OpenAIUserContextAggregator(context)
assistant = GrokAssistantContextAggregator( assistant = GrokAssistantContextAggregator(
user, expect_stripped_words=assistant_expect_stripped_words context, expect_stripped_words=assistant_expect_stripped_words
) )
return GrokContextAggregatorPair(_user=user, _assistant=assistant) return GrokContextAggregatorPair(_user=user, _assistant=assistant)

View File

@@ -568,6 +568,6 @@ class OpenAIRealtimeBetaLLMService(LLMService):
OpenAIRealtimeLLMContext.upgrade_to_realtime(context) OpenAIRealtimeLLMContext.upgrade_to_realtime(context)
user = OpenAIRealtimeUserContextAggregator(context) user = OpenAIRealtimeUserContextAggregator(context)
assistant = OpenAIRealtimeAssistantContextAggregator( assistant = OpenAIRealtimeAssistantContextAggregator(
user, expect_stripped_words=assistant_expect_stripped_words context, expect_stripped_words=assistant_expect_stripped_words
) )
return OpenAIContextAggregatorPair(_user=user, _assistant=assistant) return OpenAIContextAggregatorPair(_user=user, _assistant=assistant)