Spaces:
Running
Running
Update proxy_server.py
Browse files- proxy_server.py +3 -1
proxy_server.py
CHANGED
@@ -34,6 +34,8 @@ sample = """
|
|
34 |
print(response.choices[0].message.content)
|
35 |
"""
|
36 |
|
|
|
|
|
37 |
try:
|
38 |
import fastapi
|
39 |
import backoff
|
@@ -83,7 +85,7 @@ from typing import Union
|
|
83 |
app = FastAPI(
|
84 |
docs_url="/",
|
85 |
title="LiteLLM API",
|
86 |
-
description=
|
87 |
router = APIRouter()
|
88 |
origins = ["*"]
|
89 |
|
|
|
34 |
print(response.choices[0].message.content)
|
35 |
"""
|
36 |
|
37 |
+
description = f"Proxy Server to call 100+ LLMs in the OpenAI format\n\nSsample with openai library:\n\n{sample}"
|
38 |
+
|
39 |
try:
|
40 |
import fastapi
|
41 |
import backoff
|
|
|
85 |
app = FastAPI(
|
86 |
docs_url="/",
|
87 |
title="LiteLLM API",
|
88 |
+
description= description
|
89 |
router = APIRouter()
|
90 |
origins = ["*"]
|
91 |
|