examples: allow setting custom program arguments
This commit is contained in:
@@ -47,6 +47,7 @@ Customization options:
|
||||
- change the function calling logic
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
@@ -152,7 +153,7 @@ async def query_knowledge_base(
|
||||
await result_callback(response.text)
|
||||
|
||||
|
||||
async def run_bot(webrtc_connection: SmallWebRTCConnection):
|
||||
async def run_bot(webrtc_connection: SmallWebRTCConnection, _: argparse.Namespace):
|
||||
logger.info(f"Starting bot")
|
||||
|
||||
transport = SmallWebRTCTransport(
|
||||
|
||||
Reference in New Issue
Block a user