Skip to content

多轮会话中,deepseek的ai回答的role为assistant不是model,内部能统一成model吗 #96

Description

@victorli-cn

InternalServerError: 500 "Post "https://api.deepseek.com/v1/chat/completions\": HTTP error: 422 Unprocessable Entity, body: Failed to deserialize the JSON body into the target type: messages[1].role: unknown variant model, expected one of system, user, assistant, tool at line 1 column 117"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions