Commit graph

614 commits

Author SHA1 Message Date
e1bf241f58 Update botserver submodule: add KB indexing backoff logic 2026-04-12 09:13:53 -03:00
88add80f16 Update botserver submodule: reduce embedding batch_size to 2 2026-04-12 08:21:56 -03:00
8d6368ada1 Update botserver submodule 2026-04-12 07:47:19 -03:00
586da4dbd4 Temp fix: skip embedding check in DriveMonitor 2026-04-12 06:59:13 -03:00
3ec393c3ba Update botserver: Handle reasoning field from NVIDIA kimi-k2.5 2026-04-11 22:59:32 -03:00
5157d8ba8b Update botserver: Handle reasoning_content from NVIDIA reasoning models 2026-04-11 22:31:13 -03:00
ab5147e077 Update botserver: KB indexing fixes (kb_collections upsert, collection names, indexed flag) 2026-04-11 21:26:24 -03:00
51c8fb594a Update botserver: fix file_states path to use bucket_name instead of UUID 2026-04-11 20:40:44 -03:00
ccd15e8df4 Update botserver submodule: fix work path and indexed flag bugs 2026-04-11 20:16:47 -03:00
7280ebc4da Update botserver: save file_states after prompt update 2026-04-11 19:21:39 -03:00
594e1492f2 Update botserver submodule: fix work dir path and PROMPT.md loop 2026-04-11 18:42:30 -03:00
2741f0ff7d Update botserver: fix LLM context truncation, bot creation, S3 endpoint, vectordb seed 2026-04-11 17:56:53 -03:00
91826f3c70 Update botserver: Fix KB indexing with single-file streaming, PROMPT.md sync, bot-specific embedding 2026-04-11 14:09:15 -03:00
9b90a8bce8 Update botserver: use bot-specific embedding config in DriveMonitor 2026-04-11 08:55:57 -03:00
6b0d7d449d Update botserver: Fix Zitadel health check and add ss command to allowed commands 2026-04-11 07:49:29 -03:00
5477f20493 Update botserver: Multiple improvements across core modules 2026-04-11 07:34:27 -03:00
a6dfb450d1 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
f1cdc524d4 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
5c69a8eed0 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
992fd38863 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
273034faf2 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
a5b747e5a8 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
ffb0683292 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
bff10302eb 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
b6cbe6d346 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
770b1b0eaa 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
e295d5291c 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
23eaf3c9b4 Update botserver: Fix CI workflow - clean source and fresh clone 2026-04-10 15:36:48 -03:00
9a63f33ac1 Update botserver: Fix CI submodule update and drive URL 2026-04-10 15:20:02 -03:00
081675ac9f Update botserver: Fix drive URL and PROMPT.md loading 2026-04-10 14:36:05 -03:00
286e40c9fd Update botserver: Fix PROMPT.md loading path 2026-04-10 13:12:14 -03:00
b7d5a7c934 Update botserver: Fix warnings in drive_monitor 2026-04-10 12:58:51 -03:00
fb91aae7f9 Update botserver: Fix CI - initialize all workspace members 2026-04-10 12:49:28 -03:00
116f914490 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
c86c8ad84e 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
60b6aa8cf4 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
9e649e580a 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
0629ccedec 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
8638eb3567 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
b41061f9a2 Update botserver: kill stuck cargo before build 2026-04-10 08:50:26 -03:00
78a6113b64 Update botserver: simplest CI 2026-04-10 08:45:54 -03:00
24262f4596 Update botserver: simplify CI - always build with sccache 2026-04-10 08:38:32 -03:00
a088fb9fc8 Update botserver: fix CI change detection - compare commits 2026-04-10 08:36:17 -03:00
7e21552ae4 Update botserver: fix CI change detection 2026-04-10 08:30:01 -03:00
b75624a412 Update botserver: use curl with --cacert for Vault 2026-04-10 08:28:09 -03:00
b00e2e0135 Update botserver: CI optimizations - check changes before building 2026-04-10 08:17:53 -03:00
36501ae20d Update botserver: add sccache cache action 2026-04-10 08:15:20 -03:00
68f2e3e637 Update botserver: add debug logging for Vault requests 2026-04-10 08:11:30 -03:00
8f8f9fc51a Update botserver: set SSL_CERT_FILE before Vault HTTP calls 2026-04-10 08:04:28 -03:00
202fb1756d Update botserver: read drive/cache/qdrant config directly from Vault 2026-04-10 07:43:08 -03:00