feat: add agent description and show in /resume (#192)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-12 14:54:16 -08:00
committed by GitHub
parent a58dddaf3d
commit ba7cda4bee
2 changed files with 10 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ export interface CreateAgentResult {
}
export async function createAgent(
name = "letta-cli-agent",
name = "letta-code-agent",
model?: string,
embeddingModel = "openai/text-embedding-3-small",
updateArgs?: Record<string, unknown>,
@@ -342,6 +342,7 @@ export async function createAgent(
agent_type: "letta_v1_agent" as AgentType,
system: systemPrompt,
name,
description: `Letta Code agent created in ${process.cwd()}`,
embedding: embeddingModel,
model: modelHandle,
context_window_limit: contextWindow,