Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

openai.types.completion_usage.CompletionUsage() argument after ** must be a mapping, not NoneType #1836

Copy link
Copy link
@HappyVing

Description

@HappyVing
Issue body actions

[/CONTENT]2025-05-22 15:39:19.772 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 28.469(s), this was the 1st time calling it. exp: openai.types.completion_usage.CompletionUsage() argument after ** must be a mapping, not NoneType

解决:
只能使用官方deepseek的api,使用非官方的deepseek api会出现上述问题(我使用百炼平台和超算中心提供免费api,一直会出现上述问题)。

devpage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.