openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
2 lines • 746 B
JavaScript
//!packages/agent-core/src/errors.ts
const TRANSCRIPT_NOT_CONTINUABLE_ERROR_CODE=`openclaw_transcript_not_continuable`;const REPETITIVE_OUTPUT_ERROR_MESSAGE=`Repetitive output stopped. Try a larger model or shorten your request before retrying.`;var ToolArgumentValidationError=class extends Error{constructor(e,t){super(e,t);this.name=`ToolArgumentValidationError`}};var TranscriptNotContinuableError=class extends Error{constructor(e){super(`Cannot continue from message role: ${e}`);this.code=TRANSCRIPT_NOT_CONTINUABLE_ERROR_CODE;this.name=`TranscriptNotContinuableError`;this.role=e}};export{TranscriptNotContinuableError as i,TRANSCRIPT_NOT_CONTINUABLE_ERROR_CODE as n,ToolArgumentValidationError as r,REPETITIVE_OUTPUT_ERROR_MESSAGE as t};