✨ Add support for @app.vibe() (#15280)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2026-04-01 18:16:24 +02:00
1 parent 6ee87478d8
commit 70580da818
5 files changed
+133 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
from typing import Any
from fastapi import FastAPI
app = FastAPI()
@app.vibe(
"/vibe/",
prompt="pls return json of users from database. make no mistakes",
)
async def ai_vibes(body: Any): ...