UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

6 lines (5 loc) • 300 B
import { judgeHttpFailure } from "./provider-dialect.js"; export { startsWithInputTooLongAnchor } from "./provider-dialect.js"; export function classifyInputTooLong(status, body) { return judgeHttpFailure({ dialect: undefined, status, body: { text: body, endedNormally: true } }).inputTooLong; }