Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3 issue Deepseek-Reasoner- Not Working #174

Open
techstartupexplorer opened this issue Jan 27, 2025 · 10 comments
Open

1.3 issue Deepseek-Reasoner- Not Working #174

techstartupexplorer opened this issue Jan 27, 2025 · 10 comments

Comments

@techstartupexplorer
Copy link

When running deepseek Reasoner;

INFO [src.agent.custom_agent] πŸš€ Starting task: go to google.com and type 'OpenAI' click search and give me the first url
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 1/5 times:
Connection error.
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 2/5 times:
Connection error.

Vision has been disabled for both models below.

When running GEMINI Flash 2.0

Traceback (most recent call last):
File "C:\tmp\web-ui-1.3\webui.py", line 360, in run_custom_agent
agent = CustomAgent(
^^^^^^^^^^^^
File "C:\tmp\web-ui-1.3\src\agent\custom_agent.py", line 98, in init
if self.llm.model_name in ["deepseek-reasoner"]:
^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\pydantic\main.py", line 891, in getattr
raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}')
AttributeError: 'ChatGoogleGenerativeAI' object has no attribute 'model_name'. Did you mean: 'model_dump'?

Model name still deepseek when infact the config is gemini flash 2.0 and even if i choose deepseek-reasoner

What is the issue?

@warmshao
Copy link
Collaborator

When running deepseek Reasoner;

INFO [src.agent.custom_agent] πŸš€ Starting task: go to google.com and type 'OpenAI' click search and give me the first url INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 1/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 2/5 times: Connection error.

Vision has been disabled for both models below.

When running GEMINI Flash 2.0

Traceback (most recent call last): File "C:\tmp\web-ui-1.3\webui.py", line 360, in run_custom_agent agent = CustomAgent( ^^^^^^^^^^^^ File "C:\tmp\web-ui-1.3\src\agent\custom_agent.py", line 98, in init if self.llm.model_name in ["deepseek-reasoner"]: ^^^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\pydantic\main.py", line 891, in getattr raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}') AttributeError: 'ChatGoogleGenerativeAI' object has no attribute 'model_name'. Did you mean: 'model_dump'?

Model name still deepseek when infact the config is gemini flash 2.0 and even if i choose deepseek-reasoner

What is the issue?

please pull the latest code

@techstartupexplorer
Copy link
Author

When running deepseek Reasoner;
INFO [src.agent.custom_agent] πŸš€ Starting task: go to google.com and type 'OpenAI' click search and give me the first url INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 1/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 2/5 times: Connection error.
Vision has been disabled for both models below.
When running GEMINI Flash 2.0
Traceback (most recent call last): File "C:\tmp\web-ui-1.3\webui.py", line 360, in run_custom_agent agent = CustomAgent( ^^^^^^^^^^^^ File "C:\tmp\web-ui-1.3\src\agent\custom_agent.py", line 98, in init if self.llm.model_name in ["deepseek-reasoner"]: ^^^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\pydantic\main.py", line 891, in getattr raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}') AttributeError: 'ChatGoogleGenerativeAI' object has no attribute 'model_name'. Did you mean: 'model_dump'?
Model name still deepseek when infact the config is gemini flash 2.0 and even if i choose deepseek-reasoner
What is the issue?

please pull the latest code

Hello - I did download the latest release =(

@warmshao
Copy link
Collaborator

When running deepseek Reasoner;
INFO [src.agent.custom_agent] πŸš€ Starting task: go to google.com and type 'OpenAI' click search and give me the first url INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 1/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 2/5 times: Connection error.
Vision has been disabled for both models below.
When running GEMINI Flash 2.0
Traceback (most recent call last): File "C:\tmp\web-ui-1.3\webui.py", line 360, in run_custom_agent agent = CustomAgent( ^^^^^^^^^^^^ File "C:\tmp\web-ui-1.3\src\agent\custom_agent.py", line 98, in init if self.llm.model_name in ["deepseek-reasoner"]: ^^^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\pydantic\main.py", line 891, in getattr raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}') AttributeError: 'ChatGoogleGenerativeAI' object has no attribute 'model_name'. Did you mean: 'model_dump'?
Model name still deepseek when infact the config is gemini flash 2.0 and even if i choose deepseek-reasoner
What is the issue?

please pull the latest code

Hello - I did download the latest release =(

this is not the latest code

@techstartupexplorer
Copy link
Author

I downloaded this - https://github.com/browser-use/web-ui/archive/refs/tags/v1.3.zip and also tried this https://github.com/browser-use/web-ui.git but same error. Can you point me to the latest code that you mentioned? thanks

1.2 and older version have no issues.

INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 1/5 times:
Connection error.
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 2/5 times:
Connection error.
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 3/5 times:
Connection error.
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 4/5 times:
Connection error.
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 5/5 times:
Connection error.
ERROR [agent] ❌ Stopping due to 5 consecutive failures

@vvincent1234
Copy link
Contributor

I downloaded this - https://github.com/browser-use/web-ui/archive/refs/tags/v1.3.zip and also tried this https://github.com/browser-use/web-ui.git but same error. Can you point me to the latest code that you mentioned? thanks

1.2 and older version have no issues.

INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 1/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 2/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 3/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 4/5 times: Connection error. INFO [src.agent.custom_agent] πŸ“ Step 1 ERROR [agent] ❌ Result failed 5/5 times: Connection error. ERROR [agent] ❌ Stopping due to 5 consecutive failures

have you set the correct deepseek api key? have you uncheck Use vision when using deepseek?

@techstartupexplorer
Copy link
Author

yes and even OpenAI it does't work and other llm for ver 1.3 same error but 1.2 is working fine

@vvincent1234
Copy link
Contributor

yes and even OpenAI it does't work and other llm for ver 1.3 same error but 1.2 is working fine

git clone the latest code or download https://github.com/browser-use/web-ui/archive/refs/heads/main.zip

@techstartupexplorer
Copy link
Author

yes and even OpenAI it does't work and other llm for ver 1.3 same error but 1.2 is working fine

git clone the latest code or download https://github.com/browser-use/web-ui/archive/refs/heads/main.zip

Something is wrong with 1.3 Gemini is working but DeepSeek do not work - even if the API is correct. In 1.2 there is no issue at all

ERROR [agent] ❌ Result failed 5/5 times:
Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-542d1***********************7ed8. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
ERROR [agent] ❌ Stopping due to 5 consecutive failures
WARNING [src.agent.custom_agent] No history or first screenshot to create GIF from
INFO [agent] πŸš€ Starting task: go to google.com and type 'OpenAI' click search and give me the first url
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 1/5 times:
Connection error.
INFO [src.agent.custom_agent]

@warmshao
Copy link
Collaborator

{'error': {'message': 'Incorrect API key provided: sk-542d1***********************7ed8. You can find your API

{'error': {'message': 'Incorrect API key provided: sk-542d1***********************7ed8. You can find your API. ......

@techstartupexplorer
Copy link
Author

techstartupexplorer commented Jan 28, 2025

{'error': {'message': 'Incorrect API key provided: sk-542d1***********************7ed8. You can find your API

{'error': {'message': 'Incorrect API key provided: sk-542d1***********************7ed8. You can find your API. ......

The reason why this error its because DEEPSEEK is intermittent due to the on-going Cyber Attack yesterday even if the API key is correct BUT deepseek-chat is Working intermittently What's not working is Deepseek-Reasoner feature.... it doesn;t work totally even if you run it in Windows and Linux...

1.2 is very clean and same API key works (deepseek-chat). intermittent connection issue that causing Incorrect API key is because of the on going cyber attack.

@techstartupexplorer techstartupexplorer changed the title 1.3 issues - not working 1.3 issue Deepseek-Reasoner- Not Working Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants