Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f747d46

Browse files
authored
Update llama_types.py
1 parent d8d9c4d commit f747d46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama_cpp/llama_types.py

Lines changed: 2 additions & 2 deletions
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 Literal, NotRequired, 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)