Skip to content

[Bug]自定义提示语的命令提示语部分,应该作为system role发送 #1717

Open
@fornewfork

Description

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the troubleshooting section in the README in detail.

Please check your network and OpenAI API quota

  • I am sure it is not a network issue or an OpenAI API quota issue.

OpenAI Translator version

v0.4.32

Model name

qwen2.5-0.5b-instruct@q4_0

系统/浏览器版本 System/Browser version

不使用浏览器插件

复现步骤 Reproduce step

使用lm studio作为本地AI后端,设置自定义指令后,从lm studio可以看到
image
image

你看到了什么错误?What errors do you see?

使用lm studio作为本地AI后端,设置自定义指令后,发现接收到的消息中
自定义指令:“翻译”

用户文本:“每朵乌云背后都有一道银边“
都被作为 user role 输入了
image

image

你期望看到什么?What did you expect to see?

区分自定义指令用户文本
自定义指令user role
用户文本system role
例如:
image

还有其他的内容吗?Anything else?

No response

你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions