diff --git a/src/acp/agent.ts b/src/acp/agent.ts index f125262..b03553e 100644 --- a/src/acp/agent.ts +++ b/src/acp/agent.ts @@ -647,10 +647,8 @@ export class AcpAgent { return Boolean(connection && this.instanceConnection && connection === this.instanceConnection) } - /** A model the instance names, as a ref on its connection here; undefined when there is none. - * `/` resolves to the served model under its ref now (`deepseek/x` for the - * served `deepseek/x`; the instance's `/` where a connection of the user's own - * has the provider's name), and to the same model for a bare id from an instance that does not speak protocol 2. */ + /** A model the instance names, as a ref on its connection here (`/`, which resolves + * to the served id, provider/refs.ts); undefined when this link has no instance. */ private refFor(served: unknown): string | undefined { if (typeof served !== "string" || !served.trim() || !this.instanceConnection) return undefined return `${this.instanceConnection}/${served.trim()}` diff --git a/src/lembas/login.ts b/src/lembas/login.ts index a19cce9..b918328 100644 --- a/src/lembas/login.ts +++ b/src/lembas/login.ts @@ -281,9 +281,8 @@ function currentModel(): string | undefined { return typeof value === "string" && value ? value : undefined } -/** Each served model's ref once this login is in place (by provider, `deepseek/x`; an - * instance that does not speak protocol 2, or a provider a connection of the user's own is named after, keeps - * `/`). Read from the configuration as it now is. */ +/** Each served model's ref once this login is in place: its served id (`deepseek/x`). Read from + * the configuration as it now is. */ async function refsOf(connection: string): Promise> { try { const { loadConfig } = await import("../config/load.ts")