Commit graph

29 commits

Author SHA1 Message Date
4e781b1815 feat(drive_monitor): restart LLaMA servers on llm- config changes
Add logic to detect changes in llm-related configuration properties when syncing gbot configs. If any llm- keys differ from stored values, automatically restart LLaMA servers to apply updates. This ensures model servers stay in sync with configuration changes without unnecessary restarts.
2025-11-01 14:23:40 -03:00
6d68585c71 refactor(config): replace raw SQL with Diesel query for bot config
Updated `ConfigManager::get_config` to use Diesel query builder instead of raw SQL for improved safety and maintainability. Adjusted parameter naming and integrated schema references. Also refactored `ensure_llama_servers_running` to fetch configuration from the database using `AppState` and `ConfigManager`. Removed unused imports in bootstrap module.
2025-11-01 11:48:46 -03:00
eb647530bf feat(config): refactor AI config into separate LLM and embedding configs
- Split AIConfig into separate LLMConfig and embedding config structs
- Update create_site.rs to use config.llm instead of config.ai
- Improve config loading comments in bootstrap manager
- Add new LLM-related environment variables with defaults
- Maintain backward compatibility with existing config loading
- Clean up unused AIConfig struct and related code

The change better organizes the AI-related configuration by separating LLM and embedding configurations, making the code more maintainable and flexible for future AI service integrations.
2025-11-01 08:43:14 -03:00
8bf347a9a2 feat: refactor database connection handling and add LLM component
- Replace direct database connection establishment with shared `establish_pg_connection` utility
- Add "llm" to required components list in bootstrap manager
- Lower default RUST_LOG level from debug to info in VSCode config
- Clean up imports and connection error messages
- Remove hardcoded database URL strings in favor of centralized connection handling

The changes improve code maintainability by centralizing database connection logic and adding support for the new LLM component in the bootstrap process.
2025-11-01 07:20:04 -03:00
663864cb78 refactor(config): remove unused S3 bucket configuration and setup logic
Eliminates the `s3_bucket` field from `AppConfig` and deletes related initialization code in `main.rs`. This simplifies configuration management since S3 bucket handling is no longer required or used in the application.
2025-10-29 09:54:39 -03:00
a8982e5914 Add AWS SDK integration and update bot configuration management
- Introduced AWS SDK dependencies for S3 and CSV handling.
- Implemented logic to check and update the default bot configuration in S3 after component installation.
- Added a new configuration CSV template for bot settings.
- Refactored package manager to register cache component with updated download URL and binary name.
- Updated README and Cargo files to reflect new dependencies and configuration options.
2025-10-26 14:15:43 -03:00
1bb97ebee9 Migration to Rust removal of Azure. 2025-10-06 10:29:14 -03:00
4d850362d2 chore: remove unused image assets and update API URL in configuration 2025-04-25 01:46:35 -03:00
6d75b4997b fix: update URLs and email addresses to reflect new domain 2025-04-15 12:49:05 -03:00
110083e1c1 fix(all): Templates OK. 2024-09-29 20:23:13 -03:00
Rodrigo Rodriguez
b159b99aa4 fix (templates): ai-search OK. Fix themes. 2024-09-19 17:46:43 -03:00
Rodrigo Rodriguez
1bae1ed5e9 fix (templates): ai-search OK. Image by AI. 2024-09-19 09:17:30 -03:00
Rodrigo Rodriguez
22fcf8b541 fix (templates): ai-search OK. 2024-09-18 18:43:19 -03:00
Rodrigo Rodriguez
67c9ef5f26 fix (templates): ai-search OK. 2024-09-18 14:46:39 -03:00
Rodrigo Rodriguez
7de0f3aa94 fix (templates): ai-search OK. 2024-09-18 13:45:33 -03:00
Rodrigo Rodriguez
2c2ed2f824 fix (templates): ai-search OK. 2024-09-18 13:21:21 -03:00
Rodrigo Rodriguez
98ef0213ac new (basic.gblib): auto-publish. 2024-09-11 00:33:17 -03:00
Rodrigo Rodriguez
31ea62d526 fix (all): path and fs normalization. 2024-09-10 23:25:07 -03:00
Rodrigo Rodriguez
2eb6137f80 fix (all): path and fs normalization. 2024-09-09 17:54:25 -03:00
Rodrigo Rodriguez
6d814c0c1d fix(llm.gblib): Tool fix. More templates. 2024-09-02 20:16:56 -03:00
Rodrigo Rodriguez
b7bcd4f4c8 new(all): WebDav support for all bots. 2024-09-01 10:08:56 -03:00
Rodrigo Rodriguez
222a4f3201 new(all): WebDav support for all bots. 2024-08-31 16:26:54 -03:00
Rodrigo Rodriguez
2ae256d036 new(all): WebDav support for all bots. 2024-08-31 15:35:32 -03:00
Rodrigo Rodriguez
053ff4c8f6 new(all): WebDav support for all bots. 2024-08-30 14:15:02 -03:00
Rodrigo Rodriguez
1765e8f50e fix(all): TRUE multicloud. 2024-08-27 16:15:08 -03:00
Rodrigo Rodriguez
442def7fbb fix(all): TRUE multicloud. 2024-08-27 15:32:03 -03:00
Rodrigo Rodriguez
760d262842 fix(all): New templates. 2024-08-23 00:00:04 -03:00
Rodrigo Rodriguez
3018918707 new(all): TRUE multicloud. 2024-08-20 23:04:33 -03:00
Rodrigo Rodriguez
b004f8b4b5 new(all): TRUE multicloud. 2024-08-19 23:03:58 -03:00