peppa/openspec/changes/archive/2026-11-16-pep-180-long-chat-message/design.md
Асель 0aa59aacd6 PEP-180: OpenSpec change, archive
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 22:54:00 +05:00

2 lines
423 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Общий предел `MAX_TEXT` = 60 000 в runner/chats.ts и core/tasks.ts. В промпте аналитика последнее сообщение — целиком, остальные `clip(…, 4000)`. Урезание для Telegram — в `TelegramApi.call` (sendMessage/editMessageText) по последнему переводу строки, чтобы не оставить открытый HTML-тег.