mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
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:
parent
02492c88b3
commit
0ff55bf2cf
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue