Metadata-Version: 2.4
Name: solveit-llm-proxy
Version: 0.0.2
Summary: A proxy that wraps Solveit as an OpenAI-compatible LLM API
Author-email: TheSecondStep <c1697760747@gmail.com>
License-Expression: Apache-2.0
Project-URL: Repository, https://github.com/TheSecondStep/solveit-llm-proxy
Project-URL: Documentation, https://TheSecondStep.github.io/solveit-llm-proxy/
Keywords: solveit,llm api
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dialoghelper
Requires-Dist: python-fasthtml
Provides-Extra: dev
Requires-Dist: nbdev; extra == "dev"
Dynamic: license-file

# solveit-llm-proxy


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Usage

### Installation

Install latest from [pypi](https://pypi.org/project/solveit-llm-proxy/)

``` sh
$ pip install solveit-llm-proxy
```

### Documentation

Documentation can be found hosted on this GitHub
[repository](https://github.com/TheSecondStep/solveit-llm-proxy)’s
[pages](https://TheSecondStep.github.io/solveit-llm-proxy/).
Additionally you can find package manager specific guidelines on
[pypi](https://pypi.org/project/solveit-llm-proxy/) respectively.

## How to use

### Configuration

> 启动服务前，需设置SOLVEIT Secrets `SOLVEIT_API_KEY`，作为Bearer
> Token鉴权  
> 所有请求需在 Header 中携带：`Authorization: Bearer your_secret_key`

### 启动

执行`python app.py`

#### 启用API服务

`GET /v1/models`

`POST /v1/chat/completions`
