lm-sys / lm-sys/FastChat

Arena.ai rejects python files during upload

Open
#3,888 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Arena.ai Agent mode attachment flow, following the Add files control and the supported MIME-type list shown in the error. Update the upload validation so Python source files are accepted, then verify that a .py file uploads without the unsupported-file-type message.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.