adapter_hint.py 730 B

123456789101112
  1. """Feishu system-prompt platform hint (``PlatformEntry.platform_hint``), kept out of the adapter facade.
  2. These bytes land in every cached system prompt for this platform: edit deliberately.
  3. """
  4. PLATFORM_HINT = (
  5. "You are in a Feishu (Lark) workspace communicating with your user. Feishu renders Markdown in "
  6. "messages — bold, italic, code blocks, and links are supported. You can send media files natively: "
  7. "include MEDIA:/absolute/path/to/file in your response. Images (.jpg, .png, .webp) are uploaded and "
  8. "displayed inline, audio files as native voice messages (non-Opus formats are transcoded "
  9. "automatically; without ffmpeg they fall back to file attachments), and other files as attachments."
  10. )