readme update

This commit is contained in:
martin legrand 2025-03-26 15:47:28 +01:00
parent 2aa31ac911
commit 5dd3ffd9ef
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
> *Do a web search to find tech startup in Japan working on cutting edge AI research*
> *Make a tetris game in C ?*
> *Can you make a tetris game in C ?*
> *Can you find where is contract.pdf*?

View File

@ -224,7 +224,7 @@ class BrowserAgent(Agent):
return ai_prompt, ""
animate_thinking(f"Searching...", color="status")
search_result_raw = self.tools["web_search"].execute([ai_prompt], False)
search_result = self.jsonify_search_results(search_result_raw)[:7] # until futher improvement
search_result = self.jsonify_search_results(search_result_raw)[:12] # until futher improvement
prompt = self.make_newsearch_prompt(user_prompt, search_result)
unvisited = [None]
while not complete: