-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Labels
P0Task with high level priorityTask with high level priorityenhancementNew feature or requestNew feature or request
Milestone
Description
Required prerequisites
- I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
- Consider asking first in a Discussion.
Motivation
BrowserToolkit add timeout setting
raceback (most recent call last):
File "/Users/yaoting.2/workspace/owl/owl/run.py", line 141, in <module>
main()
File "/Users/yaoting.2/workspace/owl/owl/run.py", line 134, in main
answer, chat_history, token_count = run_society(society)
File "/Users/yaoting.2/workspace/owl/owl/utils/enhanced_role_playing.py", line 384, in run_society
assistant_response, user_response = society.step(input_msg)
File "/Users/yaoting.2/workspace/owl/owl/utils/enhanced_role_playing.py", line 247, in step
assistant_response = self.assistant_agent.step(modified_user_msg)
File "/opt/homebrew/anaconda3/envs/owl/lib/python3.10/site-packages/camel/agents/chat_agent.py", line 513, in step
tool_call_records.append(self._execute_tool(tool_call_request))
File "/opt/homebrew/anaconda3/envs/owl/lib/python3.10/site-packages/camel/agents/chat_agent.py", line 1046, in _execute_tool
result = tool(**args)
File "/opt/homebrew/anaconda3/envs/owl/lib/python3.10/site-packages/camel/toolkits/function_tool.py", line 395, in __call__
raise ValueError(
ValueError: Execution of function browser_simulation failed with arguments () and {'round_limit': 12, 'start_url': 'https://www.accuweather.com/en/cn/beijing/101924/current-weather/101924', 'task_prompt': 'Retrieve the current weather information for Beijing.'}. Error: Page.goto: Timeout 30000ms exceeded.
Call log:
- navigating to "https://www.accuweather.com/en/cn/beijing/101924/current-weather/101924", waiting until "load"
Solution
No response
Alternatives
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0Task with high level priorityTask with high level priorityenhancementNew feature or requestNew feature or request
Type
Projects
Status
No status