File size: 284 Bytes
c40c75a
f075c85
c40c75a
7d17b48
f075c85
 
7d17b48
c40c75a
f075c85
 
7d17b48
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from fastapi import FastAPI
from litellm.proxy.proxy_server import app as proxy_app

app = FastAPI(
    title="LiteLLM API",
    version="1.0.0"
)

# Use proxy app directly
app = proxy_app

if __name__ == "__main__":
    import uvicorn
    uvicorn.run(app, host="0.0.0.0", port=7860)