Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -721,7 +721,7 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
|
|
721 |
|
722 |
|
723 |
@app.post("v2/digiyatra-followup")
|
724 |
-
async def
|
725 |
"""
|
726 |
Followup agent endpoint that provides helpful responses or generates clarifying questions based on user queries.
|
727 |
Requires API Key authentication via X-API-Key header.
|
|
|
721 |
|
722 |
|
723 |
@app.post("v2/digiyatra-followup")
|
724 |
+
async def followup_agent_v2(query: FollowupQueryModel, background_tasks: BackgroundTasks, api_key: str = Depends(verify_api_key)):
|
725 |
"""
|
726 |
Followup agent endpoint that provides helpful responses or generates clarifying questions based on user queries.
|
727 |
Requires API Key authentication via X-API-Key header.
|