Skip to content

Commit abcd8a9

Browse files
Remove total=False from ToolFunctionDefDict - all fields are required with inline format
1 parent c5cee65 commit abcd8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lmstudio/json_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ class ToolParamDefDict(TypedDict, Generic[T]):
11001100
type: type[T]
11011101
default: NotRequired[T]
11021102

1103-
class ToolFunctionDefDict(TypedDict, total=False):
1103+
class ToolFunctionDefDict(TypedDict):
11041104
"""SDK input format to specify an LLM tool call and its implementation (as a dict)."""
11051105

11061106
name: str

0 commit comments

Comments
 (0)