Skip to content

Commit db37d2b

Browse files
Update recipes/finance-research/README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 95918c6 commit db37d2b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

recipes/finance-research/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ async def main() -> None:
3838
client = QverisClient()
3939
try:
4040
discovered = await client.discover("public company stock quote and market data API", limit=5)
41+
if not discovered.results:
42+
print("No capabilities found.")
43+
return
4144
tool = discovered.results[0]
4245
inspected = await client.inspect(tool.tool_id, search_id=discovered.search_id)
4346
selected = inspected.results[0] if inspected.results else tool

0 commit comments

Comments
 (0)