Reorganize and reintroduce Management API section in README files

This commit is contained in:
Luis Pater
2025-08-31 14:41:57 +08:00
parent db43930b98
commit 8a2285e706
2 changed files with 8 additions and 8 deletions

View File

@@ -328,10 +328,6 @@ openai-compatibility:
alias: "kimi-k2" # The alias used in the API. alias: "kimi-k2" # The alias used in the API.
``` ```
## Management API
see [MANAGEMENT_API.md](MANAGEMENT_API.md)
### OpenAI Compatibility Providers ### OpenAI Compatibility Providers
Configure upstream OpenAI-compatible providers (e.g., OpenRouter) via `openai-compatibility`. Configure upstream OpenAI-compatible providers (e.g., OpenRouter) via `openai-compatibility`.
@@ -466,6 +462,10 @@ Run the following command to start the server:
docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.yaml -v /path/to/your/auth-dir:/root/.cli-proxy-api eceasy/cli-proxy-api:latest docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.yaml -v /path/to/your/auth-dir:/root/.cli-proxy-api eceasy/cli-proxy-api:latest
``` ```
## Management API
see [MANAGEMENT_API.md](MANAGEMENT_API.md)
## Contributing ## Contributing
Contributions are welcome! Please feel free to submit a Pull Request. Contributions are welcome! Please feel free to submit a Pull Request.

View File

@@ -96,10 +96,6 @@
默认情况下,服务器在端口 8317 上运行。 默认情况下,服务器在端口 8317 上运行。
## 管理 API 文档
请参见 [MANAGEMENT_API_CN.md](MANAGEMENT_API_CN.md)
### API 端点 ### API 端点
#### 列出模型 #### 列出模型
@@ -462,6 +458,10 @@ docker run -it -rm -v /path/to/your/config.yaml:/CLIProxyAPI/config.yaml -v /pat
docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.yaml -v /path/to/your/auth-dir:/root/.cli-proxy-api eceasy/cli-proxy-api:latest docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.yaml -v /path/to/your/auth-dir:/root/.cli-proxy-api eceasy/cli-proxy-api:latest
``` ```
## 管理 API 文档
请参见 [MANAGEMENT_API_CN.md](MANAGEMENT_API_CN.md)
## 贡献 ## 贡献
欢迎贡献!请随时提交 Pull Request。 欢迎贡献!请随时提交 Pull Request。