Error code

AI_CONTEXT_OVERFLOW

AI context window exceeded

  • HTTP status413
  • Classvalidation
  • Severitywarning
  • Retryableno

AI context window exceeded

The constructed prompt exceeded the model’s max input tokens. Caller must trim the conversation history.

Common causes

  • Very long conversation accumulated without summarisation.
  • Catalog page injection without trimming.
  • Model variant with smaller context than expected.

What to do

Trigger conversation summary fold, switch to a larger-context model variant for that tenant, or compact the system prompt.

נחצה חלון ההקשר של ה־AI

הפרומפט שנבנה חרג ממקסימום ה־tokens של הדגם. הקורא חייב לקצץ היסטוריה.

סיבות נפוצות

  • שיחה ארוכה שהצטברה ללא סיכום.
  • הזרקת דף קטלוג ללא קיצוץ.
  • דגם עם חלון קטן מהצפוי.

פעולה מומלצת

הפעילו סיכום שיחה, עברו לדגם עם חלון גדול יותר לדייר, או דחסו את system prompt.