fix: small issues

This commit is contained in:
Alex
2026-03-25 20:04:03 +00:00
parent e8d11fdfa6
commit c6ece177cd
3 changed files with 2 additions and 13 deletions

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
__pycache__/
*.py[cod]
*$py.class
results.txt
experiments/
experiments

View File

@@ -112,7 +112,7 @@ class InternalSearchTool(Tool):
docs = retriever.search(query)
except Exception as e:
logger.error(f"Internal search failed: {e}", exc_info=True)
return f"Search failed: {str(e)}"
return "Search failed: an internal error occurred."
if not docs:
return "No documents found matching your query."

View File

@@ -1,12 +0,0 @@
Base URL:http://petstore.swagger.io,https://api.example.com
Path1: /pets
description: None
parameters: []
methods:
get=A paged array of pets
post=Null response
Path2: /pets/{petId}
description: None
parameters: []
methods:
get=Expected response to a valid request