Skip to content

[feature] 支持风格与 API/模型的绑定切换 #595

@DayJun

Description

@DayJun

背景

目前 OpenLess 支持配置多种 LLM provider,也支持多种润色风格(style pack)。但用户在使用不同风格时,可能需要搭配不同能力的模型:

  • 强模型场景:写小说、创意写作、复杂润色等需要高质量输出的场景
  • 弱模型场景:普通润色、简单改写、日常文本处理等对速度和成本更敏感的场景

当前需要手动切换全局 LLM provider,不够便捷。

目标

支持风格与 API/模型的绑定配置,让用户可以为每个风格指定应用对应的 LLM provider 或模型:

  1. 用户可在风格设置中绑定特定的 LLM provider
  2. 切换风格时自动切换到对应的模型配置
  3. 未绑定的风格使用全局默认模型
  4. 支持快速在多种"风格+模型"组合间切换

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions