-
Notifications
You must be signed in to change notification settings - Fork 156
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
deepseek的官网被攻击,填写deepseek的api_key无法使用报错。 #17
Comments
写成openai/deepseek-v3报错 |
写成deepseek-v3报错 |
你好,建议使用openai兼容endpoints,注意openai兼容endpoints不支持原生function calling,需要设置FN_CALL=False,以下是正确的使用命令。我们的repos又更新了,您可以pull一下最新更新。 COMPLETION_MODEL=openai/deepseek-v3 API_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 FN_CALL=False OPENAI_API_KEY=sk-your-api-key auto main |
我更新代码之后再执行命令就报这个错误 (autoagent) rz@rz-v100:/mnt/data/rz/project/AutoAgent$ auto main Successfully switched to new branch: autoagent_mirror_None |
看上去启动浏览器环境的时候出了问题,请问您之前可以正常启动浏览器环境嘛(即进入AutoAgent的起始界面)?您可以检查一下是否是内存不足导致的 |
更新之前是可以进入到模式选择界面的。之后就不行了。 |
跟命令行中启动有头浏览器有关吗? |
您可以尝试关闭有头浏览器,在https://github.com/HKUDS/AutoAgent/blob/main/autoagent/environment/browser_env.py中设置 env = gym.make(
'browsergym/openended',
task_kwargs={'start_url': 'about:blank', 'goal': 'PLACEHOLDER_GOAL'},
wait_for_user_message=False,
headless=True,
disable_env_checker=True,
tags_to_mark='all',
action_mapping = action_mapping
) 因为有头浏览器所需要的计算资源较多 |
请问您解决了嘛 |
我能进入模式选择了,但是按照上面您的建议写的 Required Github TokensGITHUB_AI_TOKEN=ghp_xdsrGualJxvi1nNXfj Optional API KeysOPENAI_API_KEY=sk-556b15aa9623020cf22bf5a 没有响应,过一段时间,就在重试, |
请问您现在的问题是可以正常运行,但是结果不尽人意嘛?Agent的运行和base model的性能确实有关,您可以试下deepseek v3,deepseek r1,和qwen max这种大参数模型。Claude-3.5 和gpt-4o当然是首选。 |
Tell me what do you want to create with 这个报错是什么原因呢?设置的灵积平台端点,用的deepseek-v3 |
Hi, 你好,这个是因为deepseek-v3使用是采用了tool use转换操作,而agent profiling不需要调用tools。我们会修复这个bug,您有使用其他功能嘛,例如user mode |
感谢您的回复,是用usermode同样也会报错误,分两种情况,一种是大模型直接响应的比如“帮我做首诗”,这不会报错。当我询问“帮我查询天气”的时候会报错没有playwright的down,page—down。。。的tool,这个错误我没有截屏出来。 |
我是用阿里灵积平台的deepseek-v3的配置,该怎么写呢?
OPENAI_API_KEY=sk-5523020cf22bf5a
OPENAI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
DEEPSEEK_API_KEY=
COMPLETION_MODEL=deepseek-v3
我是这么写的,之后litellm就报错没有提供llm_provider.我写成openai/deepseek-v3,报错找不到模型。
The text was updated successfully, but these errors were encountered: