Spaces:
Sleeping
Sleeping
File size: 290 Bytes
c40c75a 2375a0e c40c75a 2375a0e c40c75a 2375a0e |
1 2 3 4 5 6 7 8 9 10 11 12 |
from fastapi import FastAPI
from litellm.proxy.proxy_server import app as proxy_app
app = FastAPI()
# Mount the LiteLLM Proxy server
app.mount("/proxy", proxy_app)
@app.get("/")
def home():
return {"message": "LiteLLM Server is running! Visit /proxy/docs for the API documentation"}
|