Remove unused raw arg (#445)
This commit is contained in:
parent
ebae61f5ba
commit
5f2147a17d
|
@ -78,7 +78,7 @@ class ChatMessageToolCall:
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_hf_api(cls, tool_call, raw) -> "ChatMessageToolCall":
|
def from_hf_api(cls, tool_call) -> "ChatMessageToolCall":
|
||||||
return cls(
|
return cls(
|
||||||
function=ChatMessageToolCallDefinition.from_hf_api(tool_call.function),
|
function=ChatMessageToolCallDefinition.from_hf_api(tool_call.function),
|
||||||
id=tool_call.id,
|
id=tool_call.id,
|
||||||
|
|
Loading…
Reference in New Issue