Spaces:
Sleeping
Sleeping
|
Download memory-bank/projectbrief.md from airsltd/fastapi-proxy: direct link, hf CLI and curl.
- Browser
- Download file 688 Bytes
-
https://huggingface.co/spaces/airsltd/fastapi-proxy/resolve/main/memory-bank/projectbrief.md
- Command line
-
hf download hf://spaces/airsltd/fastapi-proxy/memory-bank/projectbrief.md
-
curl -L -o projectbrief.md https://huggingface.co/spaces/airsltd/fastapi-proxy/resolve/main/memory-bank/projectbrief.md
688 Bytes
| # 项目简介 | |
| 本项目旨在开发一个基于FastAPI的多线程代理服务器。主要目标是将特定格式的HTTP请求(例如:`http://127.0.0.1:7860/v1/https/open.bigmodel.cn/api/paas/v4/chat/completions`)转发到其对应的HTTPS目标地址(例如:`https://open.bigmodel.cn/api/paas/v4/chat/completions`)。 | |
| ## 核心需求 | |
| - 实现HTTP到HTTPS的代理转发。 | |
| - 支持多线程处理请求以提高并发性能。 | |
| - 使用FastAPI框架进行开发。 | |
| - 环境管理使用conda,环境名为`any-api`。 | |
| ## 目标 | |
| - 提供一个稳定、高效的代理服务,用于转发API请求。 | |
| - 简化外部API的访问,特别是对于需要HTTPS协议的API。 | |