Skip to content

Claude Code >= v2.1.154版本支持 #5037

Description

@ace-xc

Feature request / 功能建议

hello,team! 希望能支持Claude Code 在2.1.154版本后,Claude Code 会在 Anthropic Messages API 的 messages 数组中发送额外的消息角色,包括 ctx、msg 和 system。当前验证消息角色是 user 或 assistant,遇到未知角色就会返回 400 错误,无法在新版本Claude Code中继续使用。是否可以作为一个feature呢?

Motivation / 动机

vllm-project/vllm#44000

Your contribution / 您的贡献

vllm/litellm他们也做了一定的支持调整~

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions