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

@@ -80,7 +80,7 @@ async def _test_llm_function_calling(llm: LLMService):
@pytest.mark.skipif(os.getenv("OPENAI_API_KEY") is None, reason="OPENAI_API_KEY is not set")
@pytest.mark.asyncio
async def test_unified_function_calling_openai():
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"), model="gpt-4.1")
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))
# This will fail if an exception is raised
await _test_llm_function_calling(llm)