---
type: email
from: mrpher <notifications@github.com>
subject: Re: [openai/openai-agents-python] LiteLLM calls not working because

 of improper imports (Issue #1402)
received: 2026-03-05 10:02:03
date_header: Mon, 11 Aug 2025 17:57:30 -0700
priority: normal
status: awaiting_approval
uid: 27233
---

## Email Content

**From:** mrpher <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] LiteLLM calls not working because

 of improper imports (Issue #1402)
**Date:** Mon, 11 Aug 2025 17:57:30 -0700

### Body (preview)

mrpher left a comment (openai/openai-agents-python#1402)



Downgrading OpenAI package worked for me:



`"openai==1.98.0"`

`"openai-agents[litellm]>=0.2.5"`





Functional:

```python

ollama = LitellmModel(

    model="ollama/gemma3n:e4b",

    base_url="http://localhost:11434",

    api_key="none"

 )

```



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/1402#issuecomment-3177341663

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/issues/1402/3177341663@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
