refactor: replace interface{} with any for improved type clarity

This commit is contained in:
Administrator
2026-03-21 18:24:56 +08:00
parent 1bd144ac13
commit 670b433f1a
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -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