mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
refactor: replace interface{} with any for improved type clarity
This commit is contained in:
+1
-1
@@ -2270,7 +2270,7 @@ func (al *AgentLoop) buildCommandsRuntime(agent *AgentInstance, opts *processOpt
|
||||
}
|
||||
return al.channelManager.GetEnabledChannels()
|
||||
},
|
||||
GetActiveTurn: func() interface{} {
|
||||
GetActiveTurn: func() any {
|
||||
turns := al.GetAllActiveTurns()
|
||||
if len(turns) == 0 {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user