Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -721,7 +721,7 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
|
|
| 721 |
return StreamingResponse(process_response(), media_type="text/event-stream")
|
| 722 |
|
| 723 |
|
| 724 |
-
@app.post("v2/digiyatra-followup")
|
| 725 |
async def digi_followup_agent_v2(query: FollowupQueryModel, background_tasks: BackgroundTasks, api_key: str = Depends(verify_api_key)):
|
| 726 |
"""
|
| 727 |
Followup agent endpoint that provides helpful responses or generates clarifying questions based on user queries.
|
|
|
|
| 721 |
return StreamingResponse(process_response(), media_type="text/event-stream")
|
| 722 |
|
| 723 |
|
| 724 |
+
@app.post("/v2/digiyatra-followup")
|
| 725 |
async def digi_followup_agent_v2(query: FollowupQueryModel, background_tasks: BackgroundTasks, api_key: str = Depends(verify_api_key)):
|
| 726 |
"""
|
| 727 |
Followup agent endpoint that provides helpful responses or generates clarifying questions based on user queries.
|