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
16.06k stars 3.73k forks source link

本地部署不能调用 #1460

Open Xudong-Mao opened 1 month ago

Xudong-Mao commented 1 month ago

例行检查

在本地部署使用docker compose 帮助文档部署成功,但是在使用openai 接口调用时无法调用,检查localhost:3000/v1接口,返回{ "error": { "message": "Invalid URL (GET /v1)", "type": "invalid_request_error", "param": "", "code": "" } },使用自带的nextchat 也无法调用,key,url自动填写或者修改均无效

复现步骤

预期结果

相关截图 image

image

QAbot-zh commented 1 month ago

什么模型啊

a592345029 commented 3 weeks ago

没设置好