via007
via007
其实本质都是一样的,这里用到了reverse和swap一样,其实你这样写,也是交换位置
> Hey [@via007](https://github.com/via007) please add system info, library version, query used, expected output thanks,I have already solved it
windows will identify the virus program and block the download
你是用的ChatOpenAI建的deepseek的agent对象吗
browser_config = BrowserConfig( headless=False, chrome_instance_path="C:\Program Files\Google\Chrome\Application\chrome.exe", ) async def main(): custom_browser = Browser(config=browser_config) agent = Agent( task="访问 https://www.baidu.com/", llm=ChatOpenAI(model="deepseek-chat", api_key=KEYS, base_url="https://api.deepseek.com"), browser=custom_browser, ) result = await agent.run() print(result) asyncio.run(main()) 我这样测试怎么不行,到浏览器就卡那里了,你浏览器还做了其他配置?
报错 📍 Step 1 ERROR [agent] ❌ Result failed 1/5 times: Failed to deserialize the JSON body into the target type: messages[2]: data did not match any variant of untagged...
我部署你的gradio 也是同样的错误,
> > 我部署你的gradio 也是同样的错误, > > 这个问题去我的仓库提issue吧,具体说一下你的调用方式。原仓库应该还跑不同deepseek,我是做了适配才跑通的 谢谢你,我解决了
> 能不能使用比特浏览器 不能,browser-use支持的是google,改成其他的不知道怎么改,你可以看看源项目
> > 谢你,我解决了 > > 你好,请问下是什么问题,怎么解决的, 我在处理图片的时候API也返回这个错误。 deepseek的话,vision要设为False