feat(remotes): full remote walkthrough, complete local remotes with editable functions
This commit is contained in:
1 parent
5009a4eb4c
commit
da1420d04b
4 files changed
+206
-48
No files matched your search
@@ -149,6 +149,12 @@ class App(ChatMixin):
|
||||
tools.append(RemoteToolSpec(connection, fn, name=prefix + fn.name))
|
||||
return tools
|
||||
|
||||
def resolve_remote_call(self, request_id, result=None, error=None):
|
||||
if result is not None:
|
||||
RemoteConnection.resolve(request_id, result);
|
||||
else:
|
||||
RemoteConnection.reject(request_id, error);
|
||||
|
||||
# --- Agent Methods (Asynchronous) ---
|
||||
|
||||
async def get_agent(self, agent_id):
|
||||
|
||||
Reference in new issue
Block a user