WIP Stash

This commit is contained in:
Shivering authored and Shivering Ocelot committed 2026-06-21 08:52:53 -05:00
1 parent 9585008433
commit d934dc0ef7
9 files changed
+175 -78

No files matched your search

+3 -1
View File
@@ -1,4 +1,5 @@
import inspect
import asyncio
from typing import get_type_hints
class ToolParameter:
@@ -225,7 +226,8 @@ class ToolCall:
self.result = None
def __repr__(self):
return f"ToolCall(tool={self.tool_name!r}, args={self.arguments!r})"
id_prefix = self.id + ', ' if self.id else ''
return f"ToolCall({id_prefix}tool={self.tool_name!r}, args={self.arguments!r})"
def call_message(self):
raise Exception("TODO: Llama message for tool call")