Compare commits

..

12 commits

Author SHA1 Message Date
c0de93736d Update botserver and botui submodules - improved task UI layout 2026-01-02 13:23:36 -03:00
82408bd21f Update botui 2026-01-01 10:49:38 -03:00
afa99a8050 Update botui 2026-01-01 10:47:08 -03:00
e3390b8dd5 Update botui submodule 2026-01-01 10:42:43 -03:00
0e12e7a326 Update submodules 2026-01-01 10:36:58 -03:00
399b873017 Update submodules: progress UI fixes 2026-01-01 10:13:46 -03:00
13cb2fe521 Update submodules: task progress UI improvements 2025-12-31 23:45:46 -03:00
05a74d48d8 Fix designer file updates, cancel button visibility, and LLM stream display
- Fix apply_file_change to always write locally first, handle S3 errors gracefully
- Hide Cancel button when task is completed/done/failed/error
- Add LLM stream updates to detail terminal panel
- Add CSS styling for llm-stream terminal lines
- Remove unused get_bot_name and store_app_metadata methods
- Fix designer LLM call to use state.llm_provider.generate()
2025-12-31 15:36:59 -03:00
fd98fdad28 Update submodules: tasks UI, WebSocket proxy, memory monitoring 2025-12-30 22:43:07 -03:00
38211bec59 Fix tasks UI: WebSocket proxy, task detail, stats, and progress panel
- Add WebSocket proxy for /ws/task-progress in botui (was missing, blocking progress events)
- Fix task detail endpoint to use UUID binding for auto_tasks query
- Fix task list to query auto_tasks table instead of tasks table
- Add proper CSS for task cards with status-based colors
- Add task detail panel CSS for header, progress, sections
- Add count-all to stats HTML response
- Skip 0-byte files in drive monitor and document processor
- Add detailed logging for LLM calls in intent classifier and app generator
- Remove unused variables and fake demo activity simulation
- Change DRIVE_MONITOR checking logs from info to trace
2025-12-30 22:41:13 -03:00
e437ce2234 Fix LLM model config, add vector_db as required, cleanup logs
- Fix hardcoded 'gpt-4' model in auto_task modules (intent_classifier, app_generator, designer_ai, intent_compiler) to use configured llm-model from bot config
- Add vector_db (Qdrant) to required bootstrap components for KB indexing
- Add Qdrant health check with clear error messages when unavailable
- Change verbose [START] debug messages from info to trace level
- Fix episodic memory role handling in Claude client (convert 'episodic' to system context)
- Disable auth for /api routes during development
2025-12-29 11:18:28 -03:00
011f8698a8 Fix LLM provider dynamic updates and DriveMonitor startup
- Add DynamicLLMProvider wrapper for runtime LLM provider updates
- Start DriveMonitor for default.gbai bucket on server startup
- Fix DriveMonitor to detect config.csv changes and update LLM provider
- Fix path matching to detect config.csv in root and .gbot folders
- Add /api/auth to anonymous paths to fix 401 on auth endpoint
- Fix foreign key references in 6.1.0 migration (users.id not users.user_id)
- Use correct bucket name 'default.gbai' for DriveMonitor
2025-12-28 23:20:56 -03:00
6 changed files with 63 additions and 4 deletions

View file

@ -145,6 +145,45 @@ gb/
---
## 🚀 BOTSERVER RUN LOOP - MANDATORY FOR RUNTIME FIXES
```
LOOP UNTIL botserver starts successfully:
1. cargo build -p botserver 2>&1 | tail -20
2. IF build fails → fix errors → CONTINUE LOOP
3. cd botserver && timeout 30 ../target/debug/botserver --noconsole 2>&1 | head -80
4. Analyze output for errors/warnings
5. Fix issues in code
6. CONTINUE LOOP
END LOOP
```
### Run Commands
```bash
# Build botserver only
cargo build -p botserver 2>&1 | tail -20
# Run from botserver directory (required for .env and botserver-stack paths)
cd botserver && timeout 30 ../target/debug/botserver --noconsole 2>&1 | head -80
# Check specific component logs
cat botserver/botserver-stack/logs/drive/minio.log
cat botserver/botserver-stack/logs/vault/vault.log
# Test vault credentials manually
cd botserver && export $(cat .env | grep -v '^#' | xargs) && \
./botserver-stack/bin/vault/vault kv get -format=json secret/gbo/drive
```
### Key Paths (relative to gb/)
- Binary: `target/debug/botserver`
- Run from: `botserver/` directory
- Env file: `botserver/.env`
- Stack: `botserver/botserver-stack/`
- Logs: `botserver/botserver-stack/logs/<component>/`
---
## Development Workflow
### The Loop

@ -1 +1 @@
Subproject commit d5d147ce0ce54e9d6519440b87bb4dea5ddcfecc
Subproject commit e142a898f025fb277da185f5472a406b7740b783

@ -1 +1 @@
Subproject commit c8da129b4ce7da8d744125e90adc53e9612a2e7f
Subproject commit 41e2512a620eaf7f51d25b8083271f5905824a1b

@ -1 +1 @@
Subproject commit 98fb0b31a6e14aefbd6c77cf41dda2028b64dfda
Subproject commit 5adb6efec4a5b92be1ce7965e6da7118984ed2d7

2
botui

@ -1 +1 @@
Subproject commit 3f95c4645d69b68186849e5aac68c433e93bd545
Subproject commit ea9bd091c33c16b6863628d8d6cb923b2c3f878e

View file

@ -0,0 +1,20 @@
{
"base_url": "http://localhost:8300",
"default_org": {
"id": "353226116074307598",
"name": "default",
"domain": "default.localhost"
},
"default_user": {
"id": "admin",
"username": "admin",
"email": "admin@localhost",
"password": "",
"first_name": "Admin",
"last_name": "User"
},
"admin_token": "XzjmsXoVy7mDKK8gyWtJNp3w3enVW3EKGPdfLbz0nX9vMsDpg27UtAROOcKMXsoc0fDwv98",
"project_id": "",
"client_id": "353226118456737806",
"client_secret": "5uH0r2elIQ3xji4N4aTOARZjEDDUWC0cfIybGaFkvhwlA6gvygMHOdmodVg4K6PJ"
}