Fix agent tools, now all tested

This commit is contained in:
Cyber MacGeddon 2025-07-16 22:01:23 +01:00
parent 897a82c31f
commit d5bfef33ca
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ class AgentManager:
"type": arg.type,
"description": arg.description
}
for arg in tool.arguments.values()
for arg in tool.arguments
]
}
for tool in self.tools.values()

View file

@ -95,7 +95,7 @@ class PromptImpl:
async def invoke(self, **arguments):
client = self.context("prompt-request")
print(f"Prompt template invocation: {self.template_id}...", flush=True)
return await client.template(
template_id=self.template_id,
return await client.prompt(
id=self.template_id,
variables=arguments
)