Skip to content

Commit 2979243

Browse files
committed
get closer to openai schema for llms
1 parent 7286e21 commit 2979243

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/inferencesh/models/llm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ class ToolsCapabilityMixin(BaseModel):
9696
description="tool definitions for function calling",
9797
default=None
9898
)
99+
tool_call_id: Optional[str] = Field(
100+
description="the tool call id for tool role messages",
101+
default=None
102+
)
99103

100104
# Example of how to use:
101105
class LLMInput(BaseLLMInput):

0 commit comments

Comments
 (0)