mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-16 20:50:25 +00:00
ToolResult dataclass
Refs https://github.com/simonw/llm/issues/937#issuecomment-2869123620
This commit is contained in:
parent
8b57c2b226
commit
6ad5e7936f
1 changed files with 7 additions and 0 deletions
|
|
@ -171,6 +171,13 @@ class ToolCall:
|
|||
arguments: dict
|
||||
|
||||
|
||||
@dataclass
|
||||
class ToolResult:
|
||||
name: str
|
||||
output: str
|
||||
tool_call_id: Optional[str] = None
|
||||
|
||||
|
||||
@dataclass
|
||||
class Prompt:
|
||||
_prompt: Optional[str]
|
||||
|
|
|
|||
Loading…
Reference in a new issue