diff --git a/src/bundled/agents/AgentBrowse.tsx b/src/bundled/agents/AgentBrowse.tsx index d1805031ff..401acc0311 100644 --- a/src/bundled/agents/AgentBrowse.tsx +++ b/src/bundled/agents/AgentBrowse.tsx @@ -13,7 +13,7 @@ import { AGENT_CATALOG_KIND } from "../../features/agents/catalog-envelope"; import { ModelIcon } from "../../features/agents/ModelPicker"; import type { AgentsClient, - RegisteredAgentType, + AgentTypeView, } from "../../features/agents/service"; import { type SharedAgent, @@ -51,7 +51,7 @@ const pageSize = 200; type Importing = Readonly<{ agents: AgentsClient; /** The types an import can be, which run on this computer. */ - types: readonly RegisteredAgentType[]; + types: readonly AgentTypeView[]; onImported(): void; }>; diff --git a/src/bundled/agents/AgentCreateDialog.tsx b/src/bundled/agents/AgentCreateDialog.tsx index 4d18e60747..4a39b41f19 100644 --- a/src/bundled/agents/AgentCreateDialog.tsx +++ b/src/bundled/agents/AgentCreateDialog.tsx @@ -4,7 +4,7 @@ import { randomAgentAvatar } from "../../features/agents/avatar-packs"; import type { Agent, AgentsClient, - RegisteredAgentType, + AgentTypeView, NewAgent, AgentCreationRequest, AgentUpdateRequest, @@ -37,12 +37,12 @@ const reveal = (element: HTMLElement | null) => { }; /** Use each registered provider's icon in creation and library cards. */ -export function TypeIcon({ type }: { type: RegisteredAgentType | undefined }) { +export function TypeIcon({ type }: { type: AgentTypeView | undefined }) { const Icon = type?.icon ?? RobotIcon; return