UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

8 lines (7 loc) • 462 B
import type { AssistantMessage } from "../../internal/llm.js"; /** The lowered cap for the refused request's re-send (`to`, and the cap it lowers from), or `undefined` — the refusal states no * such numbers, or they leave no cap worth sending — in which case the chain declines and the refusal stands. */ export declare function outputCapResendOf(refused: AssistantMessage | undefined): { readonly to: number; readonly from: number; } | undefined;