Skip to content

[Feature Request]针对模型自定义请求模版 #6669

@blacksheepaul

Description

@blacksheepaul

🥰 需求描述

默认temperature为0.5,但GPT5 Nano只支持1,使用默认设置直接请求会像这样报错:

{
  "error": {
    "message": "Unsupported value: 'temperature' does not support 0.5 with this model. Only the default (1) value is supported. (request id: xxxxxxx)",
    "type": "invalid_request_error",
    "param": "temperature",
    "code": "unsupported_value"
  }
}

🧐 解决方案

现在已经有DEFAULT_INPUT_TEMPLATE了,希望支持自定义一组设置,例如
DEFAULT_GPT_5_MINI_INPUT_TEMPLATE
DEFAULT_GPT_5_NANO_INPUT_TEMPLATE

📝 补充信息

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