more logging

This commit is contained in:
mudler
2024-04-19 13:17:08 +02:00
parent e2aa3bedd7
commit 34f6d821b9
5 changed files with 49 additions and 19 deletions

View File

@@ -10,6 +10,7 @@ import (
"sync"
"time"
"github.com/mudler/local-agent-framework/agent"
"github.com/mudler/local-agent-framework/xlog"
. "github.com/mudler/local-agent-framework/agent"
@@ -169,6 +170,9 @@ func (a *AgentPool) startAgentWithConfig(name string, config *AgentConfig) error
WithContext(ctx),
WithPeriodicRuns(config.PeriodicRuns),
WithPermanentGoal(config.PermanentGoal),
WithCharacter(agent.Character{
Name: name,
}),
WithActions(
actions...,
),