Skip to content

Commit 2771192

Browse files
Noah IslamNoah Islam
authored andcommitted
Hide exposed API key
1 parent aba9dd6 commit 2771192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/demo/cookbooks/anime_chatbot_agent/animeChatBot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def anime_web_node(state: ChatState) -> ChatState:
189189
"""
190190
Fetch recent anime news articles using the Tavily web search tool.
191191
"""
192-
TAVILY_API_KEY = "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"
192+
TAVILY_API_KEY = os.getenv("TAVILY_API_KEY")
193193
os.environ["TAVILY_API_KEY"] = TAVILY_API_KEY
194194

195195
query = state.get("refined_query", state["query"])

0 commit comments

Comments
 (0)