mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-09-22 01:48:11 +00:00
refactor: remove IO route mapping, add HTTP API tests, system prompt update
This commit is contained in:
@ -65,8 +65,8 @@ func (d *Daemon) Shutdown() {
|
||||
log.Println("[homed] shutting down...")
|
||||
d.cancel()
|
||||
|
||||
d.mu.RLock()
|
||||
defer d.mu.RUnlock()
|
||||
d.mu.Lock()
|
||||
defer d.mu.Unlock()
|
||||
|
||||
for id, agent := range d.agents {
|
||||
if agent.state == types.AgentStateRunning {
|
||||
|
||||
Reference in New Issue
Block a user