Update application title and headers; specify versions for bcrypt and passlib in requirements
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ async def lifespan(app: FastAPI):
|
|||||||
|
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="AI Allucanget Biz API",
|
title="All You Can GET AI Biz API",
|
||||||
description="Multi-modal AI generation API powered by openrouter.ai",
|
description="Multi-modal AI generation API powered by openrouter.ai",
|
||||||
version="0.1.0",
|
version="0.1.0",
|
||||||
lifespan=lifespan,
|
lifespan=lifespan,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ def _headers() -> dict[str, str]:
|
|||||||
"Authorization": f"Bearer {_api_key()}",
|
"Authorization": f"Bearer {_api_key()}",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"HTTP-Referer": os.getenv("APP_URL", "https://ai.allucanget.biz"),
|
"HTTP-Referer": os.getenv("APP_URL", "https://ai.allucanget.biz"),
|
||||||
"X-Title": os.getenv("APP_NAME", "AI Allucanget"),
|
"X-Title": os.getenv("APP_NAME", "All You Can GET AI"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
anyio
|
anyio
|
||||||
bcrypt
|
bcrypt==4.0.1
|
||||||
blinker
|
blinker
|
||||||
certifi
|
certifi
|
||||||
cryptography
|
cryptography
|
||||||
@@ -13,7 +13,7 @@ httpx
|
|||||||
Jinja2
|
Jinja2
|
||||||
MarkupSafe
|
MarkupSafe
|
||||||
packaging
|
packaging
|
||||||
passlib
|
passlib==1.7.4
|
||||||
pydantic
|
pydantic
|
||||||
python-dotenv
|
python-dotenv
|
||||||
python-jose
|
python-jose
|
||||||
|
|||||||
Reference in New Issue
Block a user