code for working with the databases inside hero
- Added `last_reminder_mail_sent_at` field to track reminder timestamps. - Implemented `can_send_reminder` to check if a reminder can be sent based on a 30-minute cooldown. - Added `reminder_cooldown_remaining` to get remaining cooldown time. - Added `mark_reminder_sent` to update reminder timestamp. - Added example demonstrating reminder functionality in `legal_contract_example.rs`. - Added tests for reminder functionality in `test_reminder_functionality.rs`. - Updated Rhai scripts to include reminder-related functions and tests. - Improved formatting and clarity in example code. |
||
---|---|---|
acldb | ||
adapter_macros | ||
herodb_old | ||
heromodels | ||
heromodels_core | ||
heromodels-derive | ||
ourdb | ||
prompts | ||
radixtree | ||
rhai_client_macros | ||
specs/models | ||
tst | ||
.gitignore | ||
herodb_ourdb_migration_plan.md | ||
instructions.md | ||
mcc_models_standalone_plan.md | ||
model_trait_unification_plan.md | ||
standalone_ourdb_example.rs | ||
tst_implementation_plan.md | ||
tst_integration_plan.md |