Update OpenAILLMService examples to use gpt-4.1

This commit is contained in:
Mark Backman
2025-04-15 14:59:55 -04:00
parent efae26a5a8
commit 6d10732889
70 changed files with 72 additions and 75 deletions

View File

@@ -82,7 +82,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection):
voice_id="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady
)
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"), model="gpt-4o")
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"), model="gpt-4.1")
llm.register_function("get_weather", get_weather)
llm.register_function("get_image", get_image)