ci / verify (push) Canceled after 0s
Add customer and operator login, BLE provisioning, device fleet controls, call memory, memoir generation, and refreshed family and maintenance portals. Include API contracts, migrations, firmware sources, tests, assets, and deployment documentation.
20 lines
484 B
Go
20 lines
484 B
Go
package elderagent
|
|
|
|
import (
|
|
_ "embed"
|
|
"strings"
|
|
)
|
|
|
|
//go:embed prompts/event_time.txt
|
|
var eventTimeGuidance string
|
|
|
|
// Apply at preparation so both existing and newly provisioned bots receive the
|
|
// same guidance without modifying their saved persona or prior call snapshot.
|
|
func withEventTimeGuidance(role string) string {
|
|
guidance := strings.TrimSpace(eventTimeGuidance)
|
|
if strings.Contains(role, guidance) {
|
|
return role
|
|
}
|
|
return strings.TrimSpace(role) + "\n" + guidance
|
|
}
|