Commit graph

12 commits

Author SHA1 Message Date
caafad484a fix: ENUM mapping, mail bugs, duplicate messages, and theme selector
Bug fixes in .bas tools:
- Fix BEGIN MAIL email → BEGIN MAIL emailContato in tools 07, 09, 10
- Fix newsletter BOOLEAN → STRING in tool 10 (LLM sends 'Sim' as string)
- Add natural language descriptions to ENUM params in tools 02-10

Botserver:
- Fix duplicate chat message when tool is executed (tool_was_executed flag)

BotUI:
- Remove theme selector button from minimal chat for non-logged users

Testing: All 10 tools verified with NL ENUM mapping and DB records
2026-02-18 20:32:09 +00:00
a31d7b355a fix: Remove secrets from repository and implement security best practices
SECURITY FIXES:
- Add restart.sh script that reads Vault credentials from /tmp/ only
- Add .gitignore rules for: vault-unseal-keys, start-and-unseal.sh, vault-token-*
- Add security warning to README.md about /tmp/ for secrets
- Update botserver port references from 8088 to 9000 in README

Secrets MUST be placed in /tmp/ only:
  - /tmp/vault-token-gb (Vault root token)
  - /tmp/vault-unseal-key-gb (Vault unseal key)

This commit removes the previous commit (c7a60b8) that contained hardcoded
secrets in restart.sh and start-and-unseal.sh files.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-17 15:02:58 +00:00
fad4e1457b CI: Bust cache to fix notify dependency build
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 23:21:30 +00:00
bcb43ce887 Add config hot-reload and fix model routing
- Add ConfigWatcher for monitoring ~/data/*.gbai/*.gbot/config.csv
- Skip DriveMonitor for default bot (managed via ConfigWatcher)
- Fix model routing hierarchy: session → bot → default
- Fix ConfigWatcher to handle local embedded (llm-server=true)
- Add notify dependency for file system watching
- Add data/ to .gitignore (contains API keys)
- Update package.json for botui

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 15:09:36 +00:00
0ac7c4ed03 chore: add config/directory_config.json to gitignore 2026-02-05 19:53:52 -03:00
62749e9eba Add Playwright testing setup 2026-02-04 15:42:39 -03:00
3befc141e5 Fix token limits for local llama.cpp server
- Add token-aware text truncation utility in core/shared/utils.rs
- Fix embedding generators to use 600 token limit (safe under 768)
- Fix LLM context limit detection for local models (768 vs 4096)
- Prevent 'exceed context size' errors for both embeddings and chat
2026-02-02 11:56:13 -03:00
a2b9eabd17 Commit all changes before refactoring to Suite/Assistant architecture 2026-01-25 10:53:22 -03:00
23f947e578 fix: add /api/auth to anonymous paths for chat session creation
- Fix 401 Unauthorized on /api/auth?bot_name=default endpoint
- Allow anonymous users to create chat sessions without prior authentication
- Fix i18n.js DOM timing issue - wait for document.body before attaching listeners
2026-01-10 10:49:19 -03:00
361b27e047 Setup root repo with submodules for all bot components 2025-12-27 17:23:45 -03:00
9cd50e15d6 Update .gitignore to exclude subproject directories 2025-12-25 11:03:24 -03:00
c4544468f1 Add workspace README and configuration files 2025-12-25 11:03:05 -03:00