MCPcopy Create free account
hub / github.com/diillson/chatcli / memoryProfileKeySuggestions

Function memoryProfileKeySuggestions

cli/memory_command.go:859–871  ·  view source on GitHub ↗

memoryProfileKeySuggestions lists the profile keys for /memory profile set.

()

Source from the content-addressed store, hash-verified

857
858// memoryProfileKeySuggestions lists the profile keys for /memory profile set.
859func 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
873func parseFlexibleDate(s string) (time.Time, error) {
874 s = strings.TrimSpace(s)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected