feat: init memory command (#138)
This commit is contained in:
@@ -4,11 +4,13 @@ import anthropicPrompt from "./prompts/claude.md";
|
||||
import codexPrompt from "./prompts/codex.md";
|
||||
import geminiPrompt from "./prompts/gemini.md";
|
||||
import humanPrompt from "./prompts/human.mdx";
|
||||
import initializePrompt from "./prompts/init_memory.md";
|
||||
import lettaAnthropicPrompt from "./prompts/letta_claude.md";
|
||||
import lettaCodexPrompt from "./prompts/letta_codex.md";
|
||||
import lettaGeminiPrompt from "./prompts/letta_gemini.md";
|
||||
import loadedSkillsPrompt from "./prompts/loaded_skills.mdx";
|
||||
import personaPrompt from "./prompts/persona.mdx";
|
||||
import personaEmptyPrompt from "./prompts/persona_empty.mdx";
|
||||
import personaKawaiiPrompt from "./prompts/persona_kawaii.mdx";
|
||||
import planModeReminder from "./prompts/plan_mode_reminder.txt";
|
||||
import projectPrompt from "./prompts/project.mdx";
|
||||
@@ -20,9 +22,11 @@ import systemPrompt from "./prompts/system_prompt.txt";
|
||||
export const SYSTEM_PROMPT = systemPrompt;
|
||||
export const PLAN_MODE_REMINDER = planModeReminder;
|
||||
export const SKILL_UNLOAD_REMINDER = skillUnloadReminder;
|
||||
export const INITIALIZE_PROMPT = initializePrompt;
|
||||
|
||||
export const MEMORY_PROMPTS: Record<string, string> = {
|
||||
"persona.mdx": personaPrompt,
|
||||
"persona_empty.mdx": personaEmptyPrompt,
|
||||
"human.mdx": humanPrompt,
|
||||
"project.mdx": projectPrompt,
|
||||
"skills.mdx": skillsPrompt,
|
||||
@@ -45,17 +49,16 @@ export const SYSTEM_PROMPTS: SystemPromptOption[] = [
|
||||
{
|
||||
id: "default",
|
||||
label: "Default",
|
||||
description: "Standard Letta Code system prompt",
|
||||
content: systemPrompt,
|
||||
description: "Standard Letta Code system prompt (Claude-optimized)",
|
||||
content: lettaAnthropicPrompt,
|
||||
isDefault: true,
|
||||
isFeatured: true,
|
||||
},
|
||||
{
|
||||
id: "letta-anthropic",
|
||||
label: "Claude",
|
||||
description: "For Claude models",
|
||||
content: lettaAnthropicPrompt,
|
||||
isFeatured: true,
|
||||
id: "legacy",
|
||||
label: "Legacy",
|
||||
description: "Original system prompt",
|
||||
content: systemPrompt,
|
||||
},
|
||||
{
|
||||
id: "letta-codex",
|
||||
|
||||
Reference in New Issue
Block a user