Commit graph

36 commits

Author SHA1 Message Date
e5a9752caa Enhance bot memory and Redis guards
- Derive bot_id from BOT_GUID env var
- Guard concurrent runs with Redis
- Read CACHE_URL for Redis connection
- Extend bot memory keyword to accept comma as separator
- Increase LLM timeouts to 180s (local and legacy)
- Update templates to use bot memory (GET_BOT_MEMORY/SET_BOT_MEMORY)
- Fix start script path to announcements.gbai
2025-10-16 14:22:28 -03:00
4acb9bb8f5 Migrate automations to param and sqlite
- Rename script_name to param in automation flow and DB schema
- Add BotMemory model and bot_memories table
- Remove script_name field from automation
- Enable sqlite support via rusqlite and related crates (optional)
- Update prompts and queries to use param instead of script_name
- Remove deprecated annoucements GBai templates and align add-req.sh
- Refactor main to initialize automation service and simplify startup
2025-10-16 11:43:02 -03:00
e144e013d7 Add async Redis context storage and session fetch
- Use `tokio::spawn` to run Redis SET for `SET_CONTEXT` in a background
  task with detailed tracing.
- Move context retrieval from `BotOrchestrator` to `SessionManager`,
  inserting it as a system message in conversation history.
- Remove redundant Redis fetch logic from `BotOrchestrator`.
- Update `DEV.md` to install `valkey-cli`, reorder cargo tools, and
  adjust apt commands.
- Add a `SET_CONTEXT "azul bolinha"` example to the announcements
  template.
2025-10-15 00:01:48 -03:00
8f96cd1015 Refactor server code and add auth API fixes 2025-10-14 13:51:27 -03:00
3aeb3ebc70 - New features for start.bas 2025-10-13 17:43:03 -03:00
a7c74b837e Enhance streaming with events and warning API
- Introduce event-driven streaming with thinking_start, thinking_end,
  and warn events; skip sending analysis content to clients
- Add /api/warn endpoint to dispatch warnings for sessions and channels;
  web UI displays alerts
- Emit session_start/session_end events over WebSocket and instrument
  logging throughout orchestration
- Update web client: show thinking indicator and warning banners; switch
  LiveKit client URL to CDN
- Extend BotOrchestrator with send_event and send_warning, expand
  session/tool workflow
- Improve REST endpoints for sessions/history with better logging and
  error handling
- Update docs and prompts: DEV.md usage note; adjust dev build_prompt
  script
2025-10-13 00:31:08 -03:00
283774aa0f - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
c0c470e9aa - Fixing compilation errors. 2025-10-06 20:06:43 -03:00
9749893dd0 Migration to Rust and free from Azure. 2025-10-06 10:30:17 -03:00
1bb97ebee9 Migration to Rust removal of Azure. 2025-10-06 10:29:14 -03:00
db5ac7cde5
Add files via upload 2023-03-06 07:28:03 -03:00
d8b17af9e8 fix(all): CI now can compile docs again. 2021-06-13 12:59:39 -03:00
5bf7a0a208 fix (core.gbapp): nyc removed until unit tests are available. 2020-01-08 19:13:22 -03:00
Joao Antonio Ferreira
b4f6af02d2 WIP: NPM packages updates to latest versions 2019-12-31 16:12:06 -03:00
0270a8ef40 feat(webchat): Update of webchat to the newer version 4. 2018-12-12 20:40:33 -02:00
dfa30f882c
Add files via upload 2018-12-03 14:49:46 -02:00
cf2454c74f
Add files via upload 2018-12-03 14:47:31 -02:00
d7181b250e
Add files via upload 2018-11-11 14:58:21 -02:00
Rodrigo Rodriguez (pragmatismo.io)
139517decf Merge branch 'master' of https://github.com/pragmatismo-io/botserver 2018-11-05 14:27:19 -02:00
Rodrigo Rodriguez (pragmatismo.io)
8306fddb76 Cleaning and redeploy. 2018-11-05 14:23:36 -02:00
76de18fa02 Set theme jekyll-theme-minimal 2018-10-24 09:21:34 -03:00
38d399ee1b
Add files via upload 2018-10-17 19:50:52 -03:00
608910cffd
Add files via upload 2018-10-17 19:40:59 -03:00
4d9ba23fdd
Add files via upload 2018-10-15 14:11:20 -03:00
5330f3ff0e Merge branch 'master' of https://github.com/pragmatismo-io/botserver 2018-09-16 20:27:46 -03:00
b2ddc95d3d Updated docs and published on NPM. 2018-09-16 20:26:07 -03:00
348652746d
Add files via upload 2018-09-01 21:07:03 -03:00
b0aacd3e26
Add files via upload 2018-09-01 21:04:50 -03:00
ebc5f64a1c
Add files via upload 2018-09-01 20:45:25 -03:00
7eb889e137
Add files via upload 2018-09-01 18:44:28 -03:00
b936e20cb2
Add files via upload 2018-08-30 11:40:08 -03:00
0a09c882d9
Add files via upload 2018-08-30 11:33:48 -03:00
3a8594bb7b
Delete Use Visual Studio Code To Keep All Packages in a .gbai workspace.png 2018-08-30 11:32:47 -03:00
2e8dd6b97f
Add files via upload 2018-08-30 11:31:20 -03:00
f6fa24c7df Adding some images to documentation and segmenting documentation main folder. 2018-08-25 16:25:37 -03:00
4cbbc3268f Added docs and fixed package references. 2018-04-23 13:52:03 -03:00