Skip to content

Commit e0001ea

Browse files
committed
debug api evaluation
1 parent 1e28ee5 commit e0001ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

evaluation/scripts/utils/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,7 @@ def search(self, query, user_id, top_k):
189189
)
190190
response = requests.request("POST", url, data=payload, headers=self.headers)
191191
assert response.status_code == 200, response.text
192-
assert json.loads(response.text)["message"] == "Search completed successfully", (
193-
response.text
194-
)
192+
assert json.loads(response.text)["message"] == "Memory searched successfully", response.text
195193
return json.loads(response.text)["data"]
196194

197195

0 commit comments

Comments
 (0)