Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
fix(teamhub): satisfy gocritic in the live browser tab follow
LeoXing684dabba2a7c
diff --git a/apps/teamhub/internal/voice/voice_live_browser.go b/apps/teamhub/internal/voice/voice_live_browser.goindex 5db4d754..4da6c7c3 100644--- a/apps/teamhub/internal/voice/voice_live_browser.go+++ b/apps/teamhub/internal/voice/voice_live_browser.go@@ -208,9 +208,8 @@ func (s *Service) followLiveBrowserTab(ctx context.Context, session voicelive.Se}beforeCount, beforeCurrent := voicelive.BrowserTabs(lastPage)count, current := voicelive.BrowserTabs(result.Text)- switch {// Tabs are listed in the order they opened, so the new one is the last.- case action == "click" && count > beforeCount && current != count-1:+ if action == "click" && count > beforeCount && current != count-1 {if page, ok := s.switchLiveBrowserTab(ctx, session, browser, call, count-1); ok {return page, current}