services(openpipe): use OpenAILLMService to get access to aggregators

This commit is contained in:
Aleix Conchillo Flaqué
2024-12-10 18:29:03 -08:00
parent 9e6fabf110
commit ecf0c61af9

View File

@@ -7,7 +7,7 @@
from typing import Dict, List from typing import Dict, List
from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext
from pipecat.services.openai import BaseOpenAILLMService from pipecat.services.openai import OpenAILLMService
from loguru import logger from loguru import logger
@@ -22,7 +22,7 @@ except ModuleNotFoundError as e:
raise Exception(f"Missing module: {e}") raise Exception(f"Missing module: {e}")
class OpenPipeLLMService(BaseOpenAILLMService): class OpenPipeLLMService(OpenAILLMService):
def __init__( def __init__(
self, self,
*, *,