memoryProfileKeySuggestions lists the profile keys for /memory profile set.
()
| 857 | |
| 858 | // memoryProfileKeySuggestions lists the profile keys for /memory profile set. |
| 859 | func memoryProfileKeySuggestions() []prompt.Suggest { |
| 860 | keys := []string{"name=", "role=", "expertise_level=", "preferred_language=", |
| 861 | "communication_style=", "company=", "location=", "certifications=", "skills=", "goals=", |
| 862 | "interests=", "directives=", "milestone=", "stance=", |
| 863 | "goals_done=", "goals_remove=", "goals_replace=", "preferences_remove=", |
| 864 | "env_os=", "env_shell=", "env_editor=", "env_machine=", |
| 865 | "sensitive_mark=", "sensitive_unmark="} |
| 866 | out := make([]prompt.Suggest, 0, len(keys)) |
| 867 | for _, k := range keys { |
| 868 | out = append(out, prompt.Suggest{Text: k}) |
| 869 | } |
| 870 | return out |
| 871 | } |
| 872 | |
| 873 | func parseFlexibleDate(s string) (time.Time, error) { |
| 874 | s = strings.TrimSpace(s) |
no outgoing calls
no test coverage detected