Rely on default OpenAI model for examples and tests

This commit is contained in:
Mark Backman
2025-04-16 08:27:10 -04:00
parent ad40a0f076
commit 5f3bbf9828
68 changed files with 68 additions and 80 deletions

View File

@@ -63,7 +63,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection):
# aiohttp_session=session,
# )
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"), model="gpt-4.1")
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))
# You can aslo register a function_name of None to get all functions
# sent to the same callback with an additional function_name parameter.
llm.register_function("store_user_emails", store_user_emails)