There was an error while loading. Please reload this page.
1 parent f7fbae9 commit 876f8edCopy full SHA for 876f8ed
1 file changed
src/lmstudio/json_api.py
@@ -1098,14 +1098,17 @@ def __init__(
1098
class ToolParamDefDict(TypedDict):
1099
type: type[Any]
1100
default: NotRequired[Any]
1101
+
1102
ParamDefDict: TypeAlias = ToolParamDefDict
1103
else:
1104
1105
class ToolParamDefDict(TypedDict, Generic[T]):
1106
type: type[T]
1107
default: NotRequired[T]
1108
1109
ParamDefDict: TypeAlias = ToolParamDefDict[Any]
1110
1111
1112
class ToolFunctionDefDict(TypedDict):
1113
"""SDK input format to specify an LLM tool call and its implementation (as a dict)."""
1114
0 commit comments