botserver/src
Rodrigo Rodriguez (Pragmatismo) 4ce06daf75 feat(automation): improve prompt compaction with async LLM summarization
- Added initial 30s delay to compact prompt scheduler
- Implemented async LLM summarization for conversation history
- Reduced lock contention by minimizing critical sections
- Added fallback to original text if summarization fails
- Updated README with guidance for failed requirements
- Added new `summarize` method to LLMProvider trait
- Improved session manager query with proper DSL usage

The changes optimize the prompt compaction process by:
1. Reducing lock contention through better resource management
2. Adding LLM-based summarization for better conversation compression
3. Making the system more resilient with proper error handling
4. Improving documentation for development practices
2025-11-06 17:07:12 -03:00
..
auth test: add test module declarations and cleanup unused code 2025-11-05 08:06:18 -03:00
automation feat(automation): improve prompt compaction with async LLM summarization 2025-11-06 17:07:12 -03:00
basic feat(automation): add compact prompt scheduler and improve code formatting 2025-11-06 16:15:54 -03:00
bootstrap feat(compiler): clean up stale schedules on script recompilation 2025-11-05 10:15:36 -03:00
bot feat(automation): add compact prompt scheduler and improve code formatting 2025-11-06 16:15:54 -03:00
channels feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
config feat: add cron dependency and theme broadcast functionality 2025-11-05 21:10:03 -03:00
context feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
drive_monitor feat(automation): add compact prompt scheduler and improve code formatting 2025-11-06 16:15:54 -03:00
email feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
file feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
llm feat(automation): improve prompt compaction with async LLM summarization 2025-11-06 17:07:12 -03:00
llm_models feat: update deepseek_r3 regex and add test case 2025-11-05 14:28:14 -03:00
meet feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
nvidia feat(nvidia): mark unused params in get_system_metrics 2025-11-05 13:47:19 -03:00
package_manager feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
riot_compiler feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
session feat(automation): improve prompt compaction with async LLM summarization 2025-11-06 17:07:12 -03:00
shared feat(db): add bot_id column, constraints, enforce DATABASE_URL 2025-11-05 08:47:28 -03:00
tests test: add test module declarations and cleanup unused code 2025-11-05 08:06:18 -03:00
ui feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
web_server feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
lib.rs feat: remove unused dependencies and clean up Cargo.lock 2025-11-05 13:46:03 -03:00
main.rs feat: remove unused dependencies and clean up Cargo.lock 2025-11-05 13:46:03 -03:00
main.test.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00