Skip to content

[Feature Request]: 对第三方反代优化 #4985

@bian-wz

Description

@bian-wz

Problem Description

新版支持阿里通义千问的请求后,模型请求会用通义的格式,但我的通义模型是通过oneapi进行使用的,而oneapi统一采用openai的格式。

Solution Description

加入一个新的变量用来判断是使用通义官方的格式,还是OpenAI的格式
或者根据是否填入通义模型的key来判断

Alternatives Considered

使用旧版本

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions