botserver/src
Rodrigo Rodriguez (Pragmatismo) fda0b0c9e8 feat(auth): add bot name lookup and suggestion support in bot responses
Implemented a new `bot_from_name` method in `AuthService` to retrieve a bot's UUID by its name, enabling explicit bot selection via a `bot_name` query parameter in the authentication endpoint. Updated `auth_handler` to prioritize this parameter, fall back to the first active bot when necessary, and handle cases where no active bots exist.

Extended `BotOrchestrator` to import the `Suggestion` model and fetch suggestion data from Redis for each user session. Integrated these suggestions into the `BotResponse` payload, ensuring clients receive relevant suggestions alongside bot messages.

These changes improve bot selection flexibility and enrich the response data with contextual suggestions.
2025-11-01 17:56:53 -03:00
..
auth feat(auth): add bot name lookup and suggestion support in bot responses 2025-11-01 17:56:53 -03:00
automation feat: replace opendal with AWS SDK for S3 operations 2025-10-30 12:35:25 -03:00
basic feat(config): refactor AI config into separate LLM and embedding configs 2025-11-01 08:43:14 -03:00
bootstrap refactor(config): replace raw SQL with Diesel query for bot config 2025-11-01 11:48:46 -03:00
bot feat(auth): add bot name lookup and suggestion support in bot responses 2025-11-01 17:56:53 -03:00
channels - New features for start.bas 2025-10-13 17:43:03 -03:00
config refactor(config): replace raw SQL with Diesel query for bot config 2025-11-01 11:48:46 -03:00
context Refactor BotOrchestrator to remove in-memory cache and implement LangCache for user input responses 2025-10-25 11:18:05 -03:00
drive_monitor refactor(bot): reorganize imports, improve logging and formatting 2025-11-01 15:16:43 -03:00
email - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
file feat(bot, bootstrap): add bot mounting and improve DB handling 2025-10-30 18:48:16 -03:00
kb feat: replace opendal with AWS SDK for S3 operations 2025-10-30 12:35:25 -03:00
llm Refactor LLM parsing and overhaul connection UI 2025-10-15 22:24:04 -03:00
llm_legacy refactor(bot): reorganize imports, improve logging and formatting 2025-11-01 15:16:43 -03:00
meet - Refactoring bot package. 2025-10-18 12:03:07 -03:00
org - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
package_manager feat(config): refactor AI config into separate LLM and embedding configs 2025-11-01 08:43:14 -03:00
riot_compiler Add About and Login pages with responsive design and user authentication 2025-10-26 00:02:19 -03:00
session feat(auth): add suggestion support and clean up code 2025-10-31 20:55:13 -03:00
shared refactor(config): replace raw SQL with Diesel query for bot config 2025-11-01 11:48:46 -03:00
tests feat: replace opendal with AWS SDK for S3 operations 2025-10-30 12:35:25 -03:00
tools - Compiling again. 2025-10-12 11:44:35 -03:00
ui Add About and Login pages with responsive design and user authentication 2025-10-26 00:02:19 -03:00
web_automation - Knowledge management. 2025-10-18 18:20:02 -03:00
web_server feat(auth): refactor authentication handler and update logging 2025-10-31 15:40:52 -03:00
whatsapp - Refactor in bot package. 2025-10-18 12:01:39 -03:00
create_bucket.rs feat: replace opendal with AWS SDK for S3 operations 2025-10-30 12:35:25 -03:00
main.rs refactor(config): replace raw SQL with Diesel query for bot config 2025-11-01 11:48:46 -03:00