Skip to content

Commit 7bdbdf4

Browse files
author
yashksaini-coder
committed
rename ask endpoint to agent for improved clarity in handling investment queries
1 parent c419f93 commit 7bdbdf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def chat(query: str):
5656
return {"error": str(e)}
5757

5858

59-
@app.get("/ask")
59+
@app.get("/agent")
6060
def ask(query: str):
6161
"""
6262
API endpoint to handle user investment-related questions and return AI-generated insights.

0 commit comments

Comments
 (0)