examples(foundational): fix 20a-persistent-context-openai

This commit is contained in:
Aleix Conchillo Flaqué
2025-08-07 13:47:12 -07:00
parent 2b8218deaa
commit ec25d0a7c9

View File

@@ -35,7 +35,6 @@ load_dotenv(override=True)
BASE_FILENAME = "/tmp/pipecat_conversation_"
tts = None
async def fetch_weather_from_api(params: FunctionCallParams):
@@ -191,7 +190,7 @@ transport_params = {
async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
logger.info(f"Starting bot")
global tts
stt = DeepgramSTTService(api_key=os.getenv("DEEPGRAM_API_KEY"))
tts = CartesiaTTSService(
api_key=os.getenv("CARTESIA_API_KEY"),