ofermend commited on
Commit
a9d3e7f
1 Parent(s): a117ff7

updated instructions

Browse files
Files changed (1) hide show
  1. agent.py +2 -1
agent.py CHANGED
@@ -148,7 +148,8 @@ def initialize_agent(_cfg, update_func = None):
148
  - when you include links to Hacker News stories, use the actual title of the story as the link's displayed text.
149
  Don't use text like "Source" which doesn't tell the user what the link is about.
150
  - Don't include external links in your responses unless the user asks for them.
151
- - The Tavily tools are available to help you find information on the web, but only use them with user request - don't lose your focus on HackerNews as a source.
 
152
  """
153
 
154
  agent = Agent(
 
148
  - when you include links to Hacker News stories, use the actual title of the story as the link's displayed text.
149
  Don't use text like "Source" which doesn't tell the user what the link is about.
150
  - Don't include external links in your responses unless the user asks for them.
151
+ - Always call the ask_hackernews tool first as your primary source of information.
152
+ you can use the tavily search tool to gain additional information if needed for follow up questions about Hacker News topic.
153
  """
154
 
155
  agent = Agent(