Skip to content

Commit 4014967

Browse files
committed
Load environment variables before defining the query_agent
1 parent 1079646 commit 4014967

File tree

1 file changed

+3
-0
lines changed
  • atomic-examples/web-search-agent/web_search_agent/agents

1 file changed

+3
-0
lines changed

atomic-examples/web-search-agent/web_search_agent/agents/query_agent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
from atomic_agents.lib.components.system_prompt_generator import SystemPromptGenerator
66

77
from web_search_agent.tools.searxng_search import SearxNGSearchTool
8+
import dotenv
9+
10+
dotenv.load_dotenv()
811

912

1013
class QueryAgentInputSchema(BaseIOSchema):

0 commit comments

Comments
 (0)