Spaces:
Paused
Paused
Adarsh Kumar commited on
Create README.md
Browse files1234523456789101011121314151617181920212223242526272829303132333435363738394041---title: Secemoji: 📈colorFrom: purplecolorTo: yellowtitle: DevsDo APIemoji: ⚡colorFrom: bluecolorTo: purplesdk: dockerapp_port: 7860pinned: false---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference# ⚡ DevsDo API Server
OpenAI-compatible API · 52 Models · Streaming · Reasoning · Zero Keys
## Endpoints
| Method | Path | Description ||--------|----------------------------|--------------------------------|| GET | `/` | Server info || GET | `/health` | Health check || GET | `/v1/models` | Models (OpenAI format) || GET | `/api/internal/v1/models` | Detailed registry by family || POST | `/v1/chat/completions` | Chat (stream + non-stream) |
## Quick Start
```pythonfrom openai import OpenAI
client = OpenAI( base_url="https://YOUR-SPACE.hf.space/v1", api_key="none")
# Streamingfor chunk in client.chat.completions.create( model="deepseek-r1", messages=[{"role": "user", "content": "Hello!"}], stream=True,): print(chunk.choices[0].delta.content or "", end="")README.md+36-5