fix indentation error
Browse files- app/agent/react_agent.py +7 -1
app/agent/react_agent.py
CHANGED
|
@@ -259,7 +259,13 @@ class ReActAgent:
|
|
| 259 |
db=db,
|
| 260 |
image_url=url,
|
| 261 |
limit=action_input.get("limit", 5),
|
| 262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
for r in results
|
| 264 |
]
|
| 265 |
|
|
|
|
| 259 |
db=db,
|
| 260 |
image_url=url,
|
| 261 |
limit=action_input.get("limit", 5),
|
| 262 |
+
return [
|
| 263 |
+
{
|
| 264 |
+
"place_id": r.place_id,
|
| 265 |
+
"name": r.name,
|
| 266 |
+
"category": r.category,
|
| 267 |
+
"similarity": r.similarity,
|
| 268 |
+
}
|
| 269 |
for r in results
|
| 270 |
]
|
| 271 |
|