Merge pull request #824 from pipecat-ai/aleix/openpipe-use-openai-base-service

services(openpipe): use OpenAILLMService to get access to aggregators
This commit is contained in:
Aleix Conchillo Flaqué
2024-12-10 18:34:46 -08:00
committed by GitHub

View File

@@ -7,7 +7,7 @@
from typing import Dict, List
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
@@ -22,7 +22,7 @@ except ModuleNotFoundError as e:
raise Exception(f"Missing module: {e}")
class OpenPipeLLMService(BaseOpenAILLMService):
class OpenPipeLLMService(OpenAILLMService):
def __init__(
self,
*,