Commit graph

617 commits

Author SHA1 Message Date
1707ead3c0 Temp fix: skip embedding check in DriveMonitor 2026-04-12 06:59:13 -03:00
90fb3f0dc0 Update botserver: Handle reasoning field from NVIDIA kimi-k2.5 2026-04-11 22:59:32 -03:00
3e1a3d4e5e Update botserver: Handle reasoning_content from NVIDIA reasoning models 2026-04-11 22:31:13 -03:00
6b857e8d17 Update botserver: KB indexing fixes (kb_collections upsert, collection names, indexed flag) 2026-04-11 21:26:24 -03:00
5b5e3202e5 Update botserver: fix file_states path to use bucket_name instead of UUID 2026-04-11 20:40:44 -03:00
11ccba624c Update botserver submodule: fix work path and indexed flag bugs 2026-04-11 20:16:47 -03:00
1ab01b09a2 Update botserver: save file_states after prompt update 2026-04-11 19:21:39 -03:00
5ebd2d8f5d Update botserver submodule: fix work dir path and PROMPT.md loop 2026-04-11 18:42:30 -03:00
0c008c1c0e Update botserver: fix LLM context truncation, bot creation, S3 endpoint, vectordb seed 2026-04-11 17:56:53 -03:00
07f34991d5 ci: trigger build 2026-04-11 14:28:16 -03:00
ba7184c10b Update botserver: Fix KB indexing with single-file streaming, PROMPT.md sync, bot-specific embedding 2026-04-11 14:09:15 -03:00
02e7389e62 Update botserver: use bot-specific embedding config in DriveMonitor 2026-04-11 08:55:57 -03:00
a1aa97f1be Update botserver: Fix Zitadel health check and add ss command to allowed commands 2026-04-11 07:49:29 -03:00
7950120339 Update botserver: Multiple improvements across core modules 2026-04-11 07:34:27 -03:00
d963b6c562 Update botserver: Clean up all workspaces before build
- SSH to system container and clean unused workspaces
- Keep only what's used by CI to avoid disk space issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 21:15:32 -03:00
851c66fbaa Update botserver: Restore botlib and gb-ws workspaces
- Restore botlib repository with --depth 1
- Restore gb-ws workspace from /opt/gbo/data/gb
- Use --depth 1 for all clone operations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 21:00:40 -03:00
36fddd0aec Update botserver: Check if workspace is git repo before clone
- Handles persistent workspace directories on production server
- Pulls existing repos instead of failing on clone

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:56:07 -03:00
3aac836a49 Update botserver: Only clean .git dir, not entire workspace
- Removes only .git metadata, preserves working files
- Prevents 'destination already exists' errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:51:28 -03:00
50ffd05068 Update botserver: Remove non-existent botlib workspace
- botlib repository doesn't exist in external repo
- Simplified CI to handle only botserver

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:47:36 -03:00
4478b3d7ba Update botserver: Fix CI workspace cleanup
- Clean /opt/gbo/data/botserver before git clone

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:45:24 -03:00
f0fde2c7bd Update botserver: Restore production CI/CD workflow
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:40:48 -03:00
a3e7c90669 Update botserver: Zitadel v4.13.1
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:17:23 -03:00
7122285a60 Update botserver: Simplify CI clone process
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:10:02 -03:00
e0fec021e8 Update botserver: Optimize CI clone process
- Preserve /home/gbuser/target compilation cache across CI runs
- Simplify clone logic, always fresh clone from ALM

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 20:02:40 -03:00
6965e08313 Update botserver: Fix Zitadel bootstrap env vars
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 19:56:51 -03:00
f33968c4e0 Update botserver: Fix CI workflow - clean source and fresh clone 2026-04-10 15:36:48 -03:00
264873d776 Update botserver: Fix CI submodule update and drive URL 2026-04-10 15:20:02 -03:00
1c1a9ea4cf Update botserver: Fix drive URL and PROMPT.md loading 2026-04-10 14:36:05 -03:00
3cd1d9b23c Update botserver: Fix PROMPT.md loading path 2026-04-10 13:12:14 -03:00
3b76f31792 Update botserver: Fix warnings in drive_monitor 2026-04-10 12:58:51 -03:00
e22ae04993 Update botserver: Fix CI - initialize all workspace members 2026-04-10 12:49:28 -03:00
50a220f1f8 Update botserver submodule: Handle divergent submodule histories
- Changed from 'git pull --ff-only' to 'git fetch + git reset --hard'
- Fixes CI failure when submodule histories diverge
- Ensures CI always uses exact remote state

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 12:15:44 -03:00
7c1d022ad2 Update botserver submodule: Fix CI to use gbuser home directory
- Changed WORKSPACE from /opt/gbo/data/botserver to /home/gbuser/workspace
- Changed CARGO_TARGET_DIR from /opt/gbo/data/botserver/target to /home/gbuser/target
- Restored original Setup Workspace approach that clones gb-ws and uses its Cargo.toml
- Uses shallow clones (--depth 1) for efficiency
- Only initializes necessary submodules (botlib and botserver)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-10 12:09:54 -03:00
a170ec4c2b Update botserver submodule: Optimize CI Setup Workspace
- Remove gb-ws clone (unnecessary intermediate step)
- Use --depth 1 for shallow clones (only latest commit)
- Create minimal Cargo.toml directly (only botlib + botserver members)
- Use git pull --ff-only for updates (no full history)
- Significantly reduces CI time and disk usage
- Maintains single-pull strategy
2026-04-10 11:39:02 -03:00
d80e80856a Update botserver submodule: Fix duplicate method definitions
- Removed duplicate file_state_path() and load_file_states() methods
- Kept only new save_file_states_static() helper
- Fixes compilation errors from previous commit
2026-04-10 11:31:39 -03:00
0432cf2c70 Update botserver submodule: Fix DriveMonitor dispatch failure
- Added static save_file_states_static() helper method
- Changed tokio::spawn calls to use Arc::clone instead of Arc::new(self.clone())
- This prevents double Arc wrapping which causes 'dispatch failure' errors
- Fixes config.csv not syncing from bucket to database for salesianos/default bots
2026-04-10 11:25:28 -03:00
cee8aeee34 Fix DriveMonitor dispatch failure - avoid double Arc in tokio::spawn
- Added static save_file_states_static() helper method
- Changed tokio::spawn calls to use Arc::clone instead of Arc::new(self.clone())
- This prevents double Arc wrapping which causes 'dispatch failure' errors
- Fixes config.csv not syncing from bucket to database for salesianos/default bots
2026-04-10 11:20:31 -03:00
c405f18efe Update botserver: kill stuck cargo before build 2026-04-10 08:50:26 -03:00
1bfaad789d Update botserver: simplest CI 2026-04-10 08:45:54 -03:00
a5a6b372b7 Update botserver: simplify CI - always build with sccache 2026-04-10 08:38:32 -03:00
e00e066ffe Update botserver: fix CI change detection - compare commits 2026-04-10 08:36:17 -03:00
d5e2d8e5a8 Update botserver: fix CI change detection 2026-04-10 08:30:01 -03:00
a1b4bac917 Update botserver: use curl with --cacert for Vault 2026-04-10 08:28:09 -03:00
14d66671ae Update botserver: CI optimizations - check changes before building 2026-04-10 08:17:53 -03:00
5e5cfabbb6 Update botserver: add sccache cache action 2026-04-10 08:15:20 -03:00
de0e3844d4 Update botserver: add debug logging for Vault requests 2026-04-10 08:11:30 -03:00
2185d3352c Update botserver: set SSL_CERT_FILE before Vault HTTP calls 2026-04-10 08:04:28 -03:00
f5096d49ff Update botserver: read drive/cache/qdrant config directly from Vault 2026-04-10 07:43:08 -03:00
ee1e484316 Update botserver: add S3 debug logging 2026-04-10 00:05:49 -03:00
55d58535d6 Update docs: add LOAD_ONLY env and MinIO drive access tips 2026-04-09 23:27:08 -03:00