cherry-markdown icon indicating copy to clipboard operation
cherry-markdown copied to clipboard

[Feature Request] 请问能否提供用户自定义的LLM配置

Open 6643789wsx opened this issue 3 months ago • 1 comments

Prerequisites

  • [ ] There isn't an existing issue that requests the same feature, to avoid duplicates.

Clear and concise description of the problem

为了适应不同用户的需求和使用场景(例如使用不同的模型提供商、自定义 API 地址、调整温度、最大输出长度等参数),请问是否可以考虑增加对用户自定义 LLM 配置的支持?

具体来说,希望可以支持以下功能:

允许用户配置不同的 LLM 服务商(如 OpenAI、Anthropic、本地部署模型等) 支持自定义 API Key 和 API Base 地址 允许调整模型参数,如 temperature、max_tokens、top_p 等 可能的话,支持配置多个模型并按需切换 这一功能将极大提升系统的可扩展性和用户自主性,特别是在需要对接私有化部署模型或特定模型服务时非常关键。

请问该功能是否在规划中?或者目前是否有 workaround 可以实现类似效果?期待您的回复,谢谢!

Suggested solution

No response

Further Information

No response

Contributing

No, I don't plan to at this time.

6643789wsx avatar Sep 02 '25 09:09 6643789wsx

感谢反馈,确实有个OpenAI的配置( https://github.com/Tencent/cherry-markdown/blob/dev/packages/cherry-markdown/src/Cherry.config.js#L158 ),可以尝试下是否满足要求哈。 不过确实可以考虑再增强下我们对LLM的支持

sunsonliu avatar Sep 02 '25 09:09 sunsonliu