Skip to content

Commit

Permalink
fix tool calls
Browse files Browse the repository at this point in the history
my b
  • Loading branch information
zzstoatzz committed Nov 19, 2024
1 parent a557daa commit 8a759fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/slackbot/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def search_prefect_2x_docs(queries: list[str]) -> str:
"""
if not tpuf.api_key:
tpuf.api_key = (await Secret.load("tpuf-api-key")).get() # type: ignore
tpuf.api_key = Secret.load("tpuf-api-key").get() # type: ignore

return multi_query_tpuf(queries, namespace="prefect-2")

Expand All @@ -44,7 +44,7 @@ def search_prefect_3x_docs(queries: list[str]) -> str:
"""
if not tpuf.api_key:
tpuf.api_key = (await Secret.load("tpuf-api-key")).get() # type: ignore
tpuf.api_key = Secret.load("tpuf-api-key").get() # type: ignore

return multi_query_tpuf(queries, namespace="prefect-3")

Expand Down

0 comments on commit 8a759fc

Please sign in to comment.