Merge branch 'main' into dom/gemini-system-prompt-switching

This commit is contained in:
Dominic Stewart
2025-02-20 14:48:45 -08:00
committed by GitHub
88 changed files with 16724 additions and 691 deletions

View File

@@ -113,6 +113,7 @@ We have introduced support for Google's Gemini 2.0 Flash Lite model in this exam
**Quick Start**
To use the Gemini-based bot instead of OpenAI:
```shell
curl -X POST "http://localhost:7860/daily_gemini_start_bot" \ py pipecat
-H "Content-Type: application/json" \

View File

@@ -7,7 +7,7 @@ import argparse
import asyncio
import os
import sys
from pprint import pprint
from typing import Optional
from dotenv import load_dotenv
@@ -102,6 +102,7 @@ async def terminate_call(
function_name, tool_call_id, args, llm: LLMService, context, result_callback
):
"""Function the bot can call to terminate the call upon completion of the call."""
await llm.queue_frame(EndTaskFrame(), FrameDirection.UPSTREAM)