botserver/src/core/bot
Rodrigo Rodriguez 76abcea5e9 Fix start.bas repeated execution and add tool calling system
- Add Redis-based tracking to prevent start.bas from running repeatedly
  when clicking suggestion buttons. start.bas now executes only once per
  session with a 24-hour expiration on the tracking key.

- Add generic tool executor (ToolExecutor) for parsing and executing
  tool calls from any LLM provider. Works with Claude, OpenAI, and
  other providers that use standard tool calling formats.

- Update both start.bas execution paths (WebSocket handler and LLM
  message handler) to check Redis before executing.

- Fix suggestion duplication by clearing suggestions from Redis after
  fetching them.

- Add rate limiter for LLM API calls.

- Improve error handling and logging throughout.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 13:49:54 +00:00
..
channels feat(auth): Add OTP password display on bootstrap and fix Zitadel login flow 2026-01-06 22:56:35 -03:00
kb_context.rs Update: refactor migrations, update source files, and add new features 2026-02-04 13:29:29 -03:00
manager.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
mod.rs Fix start.bas repeated execution and add tool calling system 2026-02-10 13:49:54 +00:00
mod_backup.rs Security audit: Remove all production .unwrap()/.expect(), add SafeCommand, ErrorSanitizer 2025-12-28 21:26:08 -03:00
multimedia.rs Security audit: Remove all production .unwrap()/.expect(), add SafeCommand, ErrorSanitizer 2025-12-28 21:26:08 -03:00
tool_context.rs Add ConfigWatcher and fix model routing 2026-02-09 15:10:27 +00:00
tool_executor.rs Fix start.bas repeated execution and add tool calling system 2026-02-10 13:49:54 +00:00
ui.rs - Refactor folder as features. 2025-11-22 22:55:35 -03:00