Skip to content

Commit 85b1930

Browse files
authored
Update llama_types.py
1 parent 03f8007 commit 85b1930

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama_cpp/llama_types.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
88
"""
99

10-
from typing import Any, Dict, List, Literal, NotRequired, Optional, Union
10+
from typing import Any, Dict, List, Optional, Union
1111

12-
from typing_extensions import TypedDict
12+
from typing_extensions import NotRequired, Literal, TypedDict
1313

1414
# NOTE: Defining this correctly using annotations seems to break pydantic validation.
1515
# This is a workaround until we can figure out how to do this correctly

0 commit comments

Comments
 (0)