https://github.com/brucecatyu/go-one-api
https://github.com/brucecatyu/go-one-api
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brucecatyu/go-one-api
- Owner: BruceCatYu
- Created: 2025-07-07T10:08:53.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-08T07:20:55.000Z (about 1 year ago)
- Last Synced: 2025-07-08T08:33:42.340Z (about 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# O2M Relay
An openai api-compatible relay written in go.
## RUN
1. Create `config.yaml` in directory. Paste following content below and edit as needed.
```yaml
default_model: custom-seed
models:
custom-seed:
model: doubao-seed-1-6-250615
provider: volc
type: chat
custom-qwen-turbo:
model: qwen-turbo-2025-04-28
provider: ali
type: chat
providers:
volc:
api_key: sk-123
ali:
api_key: sk-123
openai:
api_key: sk-123
server:
key: sk-456
port: 8080
```
2. Start!