Add GetBus to AgentLoop and fix reaction tool infinite loop. v4.149 Balancing Makefile across components.
This commit is contained in:
parent
337dfe960a
commit
01d8a1b691
1 changed files with 4 additions and 0 deletions
|
|
@ -274,6 +274,10 @@ func (al *AgentLoop) GetConfigPath() string {
|
|||
return al.configPath
|
||||
}
|
||||
|
||||
func (al *AgentLoop) GetBus() *bus.MessageBus {
|
||||
return al.bus
|
||||
}
|
||||
|
||||
// Close releases resources held by agent session stores. Call after Stop.
|
||||
func (al *AgentLoop) Close() {
|
||||
mcpManager := al.mcp.takeManager()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue