fix: cosmetic fix for new agents (#1126)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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([]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user