Duplicated from agents-course/Final_Assignment_Template
35 unmodified lines363738393940414235 unmodified lines if not api_key: raise ValueError("OPENAI_API_KEY not set in environment variables!") model = LiteLLMModel( model_id="gpt-4.1", model_id="gpt-4o", api_key=api_key )