feat: add travel guide Graph with progressive output and image confirmation

This commit is contained in:
loveuer committed 2026-11-18 13:53:13 +08:00
1 parent fd3dcbe104
commit 73f6f0901e
13 files changed
+577 -26

No files matched your search

+2 -3
View File
@@ -25,9 +25,8 @@ func (s *checkpointStore) Set(_ context.Context, id string, data []byte) error {
return nil
}
func (s *checkpointStore) Delete(_ context.Context, id string) error {
func (s *checkpointStore) Clear() {
s.mu.Lock()
defer s.mu.Unlock()
delete(s.data, id)
return nil
clear(s.data)
}