Skip to content

[Bug]: UnicodeDecodeError when importing litellm_model on Windows #610

Open
@Hamzah-syed

Description

@Hamzah-syed
  • Have you read the docs?Agents SDK docs: Yes
  • Have you searched for related issues? Others may have faced similar issues.: Yes, no similar issues found.

Describe the bug

When importing litellm_model from agents.extensions.models, a UnicodeDecodeError occurs on Windows systems.

Debug information

Agents SDK version: 0.0.13
Python version: 3.11
Operating System: Windows 11
Package manager: UV

Repro steps

  1. pip install openai-agents[litellm]
  2. from agents.extensions.models import litellm_model
  3. uv run main.py

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions