lm-sys / lm-sys/FastChat

Fastchat supports ChatGLM3-6b? Currently, it seems not supported. 400 Bad Request

Open
#2,743 1 comment 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

python -m fastchat.serve.openai_api_server --host localhost --port 8000
INFO: Started server process [17636]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO: 127.0.0.1:12208 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:12215 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:12219 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:12222 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request

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 by reproducing the reported command, python -m fastchat.serve.openai_api_server, and send a request to POST /v1/chat/completions using ChatGLM3-6b. Trace the source of the 400 response and compare the model's serving path with the API requirements; done means valid ChatGLM3-6b requests are accepted and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai-infra-agents, api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.