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

Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' #1557

Open
maxin9966 opened this issue Oct 31, 2024 · 3 comments
Open

Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' #1557

maxin9966 opened this issue Oct 31, 2024 · 3 comments
Assignees

Comments

@maxin9966
Copy link

maxin9966 commented Oct 31, 2024

报错

Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 17.605(s), this was the 3rd time calling it. exp: openai.types.completion_usage.CompletionUsage() argument after ** must be a mapping, not NoneType

测试了qwen2.5系列,7b到72b全试了,包括官方开源模型和rombos-72b模型,全部都报错,而且百分百报错,任何问题都是一样

config:

llm:
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
model: "gpt"
base_url: "http://192.168.1.161:1227/v1" # or forward url / other llm url
api_key: "test"

安装(ubuntu22 python3.9):

pip install --upgrade metagpt
metagpt --init-config
nano ~/.metagpt/config2.yaml
metagpt "python令牌桶限流代码"

@geekan
Copy link
Owner

geekan commented Oct 31, 2024

  1. Please ask questions in English.
  2. The model in your config is gpt. I would like to ask what the actual model is? Is the api_type filled in correctly?

@voidking
Copy link
Collaborator

I guess there is some error in model configuration. You can try the model given in our documentation first.
https://docs.deepwisdom.ai/main/en/guide/get_started/configuration/llm_api_configuration.html

@LimFang
Copy link

LimFang commented Nov 19, 2024

well i got the same info, the config is all well set. Any solutions?

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

4 participants