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.
Go to file
Buer fab465e82a
🐛 fix: fix some issues (#77)
* 🐛 fix: Incorrect word spelling

* ♻️ refactor: split function

* 🐛 fix: Delete the disabled channels without deleting the abilities table
2024-02-29 11:26:02 +08:00
.github 👷 ci: Ignore readme file 2024-02-26 10:22:30 +08:00
bin chore: add model parameter to the time_test script (#245) 2023-07-04 18:13:59 +08:00
common 🐛 fix: fix some issues (#77) 2024-02-29 11:26:02 +08:00
controller 优化项目 (#75) 2024-02-26 19:06:18 +08:00
i18n feat: enable channel when test succeed (#771) 2023-12-03 20:10:57 +08:00
middleware feat: add telegram bot (#71) 2024-02-23 18:24:25 +08:00
model 🐛 fix: fix some issues (#77) 2024-02-29 11:26:02 +08:00
providers 🐛 fix: fix some issues (#77) 2024-02-29 11:26:02 +08:00
router 优化项目 (#75) 2024-02-26 19:06:18 +08:00
types feat: support zhipu new API (#44) 2024-01-19 22:14:30 +08:00
web 优化项目 (#75) 2024-02-26 19:06:18 +08:00
.air.toml 更换web界面 2023-12-20 19:27:27 +08:00
.gitignore ♻️ refactor: provider refactor (#41) 2024-01-19 02:47:10 +08:00
docker-compose.yml feat: add improve docker-compose.yml and support fast startup (#685) 2023-11-10 21:40:00 +08:00
Dockerfile ci: add stage caching to Dockerfile (#408) 2023-08-13 22:55:43 +08:00
go.mod feat: add telegram bot (#71) 2024-02-23 18:24:25 +08:00
go.sum feat: add telegram bot (#71) 2024-02-23 18:24:25 +08:00
LICENSE docs: update LICENSE 2023-04-26 13:04:41 +08:00
main.go feat: add telegram bot (#71) 2024-02-23 18:24:25 +08:00
modelRatio.json feat: support editing completion rate (#68) 2024-02-20 14:35:54 +08:00
one-api.service chore: update one-api.service 2023-06-22 11:37:44 +08:00
pull_request_template.md 📝 doc: modify information (#57) 2024-01-26 18:41:11 +08:00
README.md 📝 doc: update dockerhub 2024-02-26 10:19:51 +08:00
VERSION fix: add a blank VERSION file (#135) 2023-06-02 14:20:40 +08:00

One API

本项目是基于one-api二次开发而来的,主要将原项目中的模块代码分离,模块化,并修改了前端界面。本项目同样遵循 MIT 协议。

license release docker docker GoReportCard

请不要和原版混用,因为新增功能,数据库与原版不兼容

演示网站

功能变化

  • 全新的 UI 界面
  • 新增用户仪表盘
  • 新增管理员分析数据统计界面
  • 重构了中转供应商模块
  • 支持使用Azure Speech模拟TTS功能
  • 渠道可配置单独的 http/socks5 代理
  • 支持动态返回用户模型列表
  • 支持自定义测速模型
  • 日志增加请求耗时
  • 支持和优化非 OpenAI 模型的函数调用(支持的模型可以在 lobe-chat 直接使用)
  • 支持完成倍率自定义
  • 支持完整的分页和排序
  • 支持Telegram bot

文档

请查看文档

其他

Star History of MartialBE/one-api