All checks were successful
BotServer CI/CD / build (push) Successful in 3m28s
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.
8 lines
383 B
SQL
8 lines
383 B
SQL
-- Add slug column to bots table for drive-based bot creation
|
|
ALTER TABLE public.bots ADD COLUMN IF NOT EXISTS slug VARCHAR(255);
|
|
|
|
-- Create unique constraint on slug (without WHERE clause for ON CONFLICT to work)
|
|
ALTER TABLE public.bots ADD CONSTRAINT bots_slug_key UNIQUE (slug);
|
|
|
|
-- Backfill slug from name for existing bots
|
|
UPDATE public.bots SET slug = name WHERE slug IS NULL;
|