Fix TypedDict import for Python 3.10 compatibility

- Use typing_extensions.TypedDict instead of typing.TypedDict
- Fixes Pydantic error on Python < 3.12
This commit is contained in:
Dakota 2025-06-04 10:37:51 -05:00
parent 02492c88b3
commit 0ff55bf2cf
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
from typing import Any, Dict, List, Literal, Optional, TypedDict
from typing import Any, Dict, List, Literal, Optional
from typing_extensions import TypedDict
from openai.types.chat import ChatCompletionContentPartParam