/** * Compaction instruction utilities. * * Provides default language-preservation instructions and a precedence-based * resolver for customInstructions used during context compaction summaries.
*/
/** * Default instructions injected into every safeguard-mode compaction summary. * Preserves conversation language and persona while keeping the SDK's required * summary structure intact.
*/
export const DEFAULT_COMPACTION_INSTRUCTIONS = "Write the summary body in the primary language used in the conversation.\n" + "Focus on factual content: what was discussed, decisions made, and current state.\n" + "Keep the required summary structure and section headers unchanged.\n" + "Do not translate or alter code, file paths, identifiers, or error messages.";
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.