diff options
Diffstat (limited to 'agent/agent.go')
| -rw-r--r-- | agent/agent.go | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/agent/agent.go b/agent/agent.go index 8824ecb..8a6614f 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -4,11 +4,12 @@ package agent // ones who do their own tools calls // ones that works only with the output -// A: main chat -> agent (handles everything: tool + processing) +// A: main chat -> agent (handles everything: tool + processing), supports tool chaining // B: main chat -> tool -> agent (process tool output) -// AgenterA gets a task "find out weather in london" -// proceeds to make tool calls on its own +// AgenterA gets a task like "go to the webpage, login and take a screenshot (tell me what you see)" +// proceeds to make a plan and executes it. +// returns with final result or an error type AgenterA interface { ProcessTask(task string) []byte } @@ -38,8 +39,3 @@ func RegisterA(toolNames []string, a AgenterA) { func Get(toolName string) AgenterB { return RegistryB[toolName] } - -// Register is a convenience wrapper for RegisterB. -func Register(toolName string, a AgenterB) { - RegisterB(toolName, a) -} |
