botserver/migrations/6.2.7-add-bots-slug
Rodrigo Rodriguez (Pragmatismo) a4a3837c4c
All checks were successful
BotServer CI/CD / build (push) Successful in 3m28s
fix: critical bugs - LLM context truncation, bot creation, S3 endpoint, vectordb seed
1. Fix model.starts_with('') always true - was limiting ALL models to 768 tokens
   (local llama limit), truncating system prompts and KB context. Now only
   applies when model=='local' or empty string, default is 32k tokens.

2. Fix create_bot_from_drive missing NOT NULL columns (llm_provider,
   context_provider) - bots auto-created from S3 buckets failed to persist.

3. Fix S3 endpoint URL construction missing port 9100.

4. Fix Vault seed: vectordb.url was empty string, now defaults to
   http://localhost:6333.

5. Fix Vault credential regeneration on recovery - added vault_seeds_exist().

6. Fix CA cert path for Vault TLS (botserver-stack vs botserver-stack).

7. Add bot verification after insert in create_bot_from_drive.
2026-04-11 17:56:03 -03:00
..
down.sql fix: critical bugs - LLM context truncation, bot creation, S3 endpoint, vectordb seed 2026-04-11 17:56:03 -03:00
up.sql fix: critical bugs - LLM context truncation, bot creation, S3 endpoint, vectordb seed 2026-04-11 17:56:03 -03:00