songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
15.95k stars 3.69k forks source link

Unreasonable cogview-3 prompt length limit #1531

Open lr-online opened 2 weeks ago

lr-online commented 2 weeks ago

https://github.com/songquanpeng/one-api/blob/ed717211aaa1b1fa968aed493b80402de204df39/relay/billing/ratio/image.go#L50

Why do you want to set such a small limit, I didn't find any instructions on the official documentation.

https://open.bigmodel.cn/dev/api#cogview