fix: cosmetic fix for new agents (#1126)

This commit is contained in:
Ari Webb
2026-02-24 16:37:16 -08:00
committed by GitHub
parent 9531874100
commit a8efb9776f
5 changed files with 6 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ export const DEFAULT_MODEL_ID = "sonnet-4.5";
/**
* Default agent name when creating a new agent
*/
export const DEFAULT_AGENT_NAME = "Nameless Agent";
export const DEFAULT_AGENT_NAME = "Letta Code";
/**
* Message displayed when user interrupts tool execution

View File

@@ -1982,7 +1982,7 @@ async function main(): Promise<void> {
}),
]);
setResumeData(data);
setResumedExistingConversation(true);
setResumedExistingConversation(data.messageHistory.length > 0);
}
// Ensure memfs sync completed (already resolved for default path via Promise.all above)

View File

@@ -174,7 +174,7 @@
},
{
"id": "haiku",
"handle": "anthropic/claude-haiku-4-5-20251001",
"handle": "anthropic/claude-haiku-4-5",
"label": "Haiku 4.5",
"description": "Anthropic's fastest model",
"updateArgs": {

View File

@@ -12,9 +12,7 @@ describe("getSubagentModelDisplay", () => {
});
test("formats non-BYOK handles using short labels", () => {
const display = getSubagentModelDisplay(
"anthropic/claude-haiku-4-5-20251001",
);
const display = getSubagentModelDisplay("anthropic/claude-haiku-4-5");
expect(display).toEqual({
label: "Haiku 4.5",
isByokProvider: false,
@@ -23,9 +21,7 @@ describe("getSubagentModelDisplay", () => {
});
test("marks lc-* handles as BYOK", () => {
const display = getSubagentModelDisplay(
"lc-anthropic/claude-haiku-4-5-20251001",
);
const display = getSubagentModelDisplay("lc-anthropic/claude-haiku-4-5");
expect(display).toEqual({
label: "Haiku 4.5",
isByokProvider: true,

View File

@@ -106,7 +106,7 @@ describe("getReasoningTierOptionsForHandle", () => {
test("returns empty options for models without reasoning tiers", () => {
const options = getReasoningTierOptionsForHandle(
"anthropic/claude-haiku-4-5-20251001",
"anthropic/claude-haiku-4-5",
);
expect(options).toEqual([]);
});