File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed
Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1414<a href =" https://fastapi.tiangolo.com " ><img src =" https://img.shields.io/badge/FastAPI-v0.115+-teal?style=flat-square " ></a >
1515<a href =" https://gradio.app " ><img src =" https://img.shields.io/badge/Gradio-v5+-orange?style=flat-square " ></a >
1616<a href =" # " ><img src =" https://img.shields.io/badge/SQLite-内置存储-lightgrey?style=flat-square " ></a >
17+ <a href =" https://pypi.org/project/openai-router/ " ><img src =" https://img.shields.io/pypi/v/openai-router?style=flat-square&logo=pypi&label=PyPI " ></a >
1718</p >
1819
1920---
2627| 💾 持久化 | SQLite + SQLModel 零配置存储路由 |
2728| ⚡ 实时流 | SSE & Chunked Transfer 全双工支持 |
2829| 🎨 Web UI | Gradio 即用的管理面板 |
29- | 🔍 兼容 OpenAI | SDK / LangChain / AutoGen 等无需改动一行代码 |
30+ | 🔍 兼容 OpenAI | SDK / LangChain / AutoGen / LlamaIndex / CrewAI …等 ** 一行代码都不用改 ** |
3031
3132---
3233
33- ### 📦 Quick Start
34- Step-1:安装
34+ ## 📦 Quick Start
35+ ### Step-1:安装
36+
37+ #### PyPI(推荐)
38+
3539``` bash
36- uv sync
40+ uv add openai-router -U
3741```
42+ 或者
43+ ``` bash
44+ pip install openai-router -U
45+ ```
46+
3847
3948
40- Step-2:启动
49+ ### Step-2:启动
4150``` bash
42- python -m openai_router.main --host localhost --port 8000
51+ openai-router --host localhost --port 8000
4352```
4453浏览器自动打开
4554📍 UI:` http://localhost:8000 `
Original file line number Diff line number Diff line change 11[project ]
22name = " openai-router"
3- version = " 0.1.0 "
3+ version = " 0.1.1 "
44description = " openai-router"
55readme = " README.md"
66requires-python = " >=3.11"
@@ -14,7 +14,7 @@ dependencies = [
1414]
1515
1616[project .scripts ]
17- openai_router = " openai_router.main:cli_app"
17+ openai-router = " openai_router.main:cli_app"
1818
1919[[tool .uv .index ]]
2020url = " https://pypi.org/simple/"
You can’t perform that action at this time.
0 commit comments