#3888·FastChat

Arena.ai rejects python files during upload

Author: esolmentCreated Jun 20, 2026Updated Sep 23, 2026

The arena.ai server in Agent mode rejects Python files.

Steps to reproduce

  1. Go to arena.ai Agent mode.
  2. Click the attachment button (Add files)
  3. Try to upload a source code file (e.g., script.py).
  4. See the message: script.py is not a supported file type. Allowed: image/png, image/webp, image/jpeg, image/gif, text/plain, text/markdown, text/csv, text/html, text/xml, text/css, text/javascript, application/json, application/xml, application/javascript, application/pdf