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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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