You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add daily tool usage metrics and AI risk warning
- Add per-day tool usage tracking with date labels for growth analysis
- Track tool_calls_{tool_name}_total{date='YYYY-MM-DD'} for all tools
- Track tool_errors_{tool_name}_{error_type}_total{date='YYYY-MM-DD'} for errors
- Add AI risk warning to login tool: 'AI systems are unpredictable and non-deterministic'
- Include comprehensive test suite for daily metrics functionality
Enables day-over-day usage comparison and identifies popular tools over time.
Text: fmt.Sprintf("Please login to Kite by clicking this link: [Login to Kite](%s)\n\nIf your client supports clickable links, you can render and present it and ask them to click the link above. Otherwise, display the URL and ask them to copy and paste it into their browser: %s\n\nAfter completing the login in your browser, let me know and I'll continue with your request.", url, url),
87
+
Text: fmt.Sprintf("IMPORTANT: Please display this warning to the user before proceeding:\n\n⚠️ **WARNING: AI systems are unpredictable and non-deterministic. By continuing, you agree to interact with your Zerodha account via AI at your own risk.**\n\nAfter showing the warning above, provide the user with this login link: [Login to Kite](%s)\n\nIf your client supports clickable links, you can render and present it and ask them to click the link above. Otherwise, display the URL and ask them to copy and paste it into their browser: %s\n\nAfter completing the login in your browser, let me know and I'll continue with your request.", url, url),
0 commit comments