]> git.giacomolli.uk - onechat/blobdiff - turn.go
Name and order the agent and config code
[onechat] / turn.go
diff --git a/turn.go b/turn.go
index c0a87e8d923a59e104dfe83a024e24331a268411..c6a083bd1418ec11b0b9d7a31b031a062d7631b1 100644 (file)
--- a/turn.go
+++ b/turn.go
@@ -32,7 +32,7 @@ func newTurnLoop(agent *Agent, memory *Memory, client TurnClient, clock func() t
                wake:   make(chan struct{}, 1),
        }
 
-       l.tools = &toolbox{
+       l.tools = &Toolbox{
                log:     l,
                chat:    memory,
                workdir: agent.config.Workdir,
@@ -78,7 +78,7 @@ type TurnLoop struct {
        agent  *Agent
        memory *Memory
        client TurnClient
-       tools  *toolbox
+       tools  *Toolbox
        layout *ViewLayout
        clock  func() time.Time
        notify func(Event)