Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -263,7 +263,7 @@ agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
|
| 263 |
|
| 264 |
# === API ENDPOINTS ===
|
| 265 |
|
| 266 |
-
@app.post("/
|
| 267 |
def chat_with_agent(query: AgentQuery):
|
| 268 |
"""Main agent endpoint - handles both document search and project queries intelligently"""
|
| 269 |
try:
|
|
|
|
| 263 |
|
| 264 |
# === API ENDPOINTS ===
|
| 265 |
|
| 266 |
+
@app.post("/bot")
|
| 267 |
def chat_with_agent(query: AgentQuery):
|
| 268 |
"""Main agent endpoint - handles both document search and project queries intelligently"""
|
| 269 |
try:
|