NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] Input Templates appear after each message

Open nanafy opened this issue 1 year ago • 2 comments

Bug Description

The input template should NOT be visible to the user, and should essentially act as a 'local' system message for that active conversation. As of the latest build, the input template is visually injected into every message the user sends.

Steps to Reproduce

  1. Enter an input template: Act as a virtual assistant powered by model: '{{model}}', now time is {{time}}, response in {{lang}} lang, my input is:'''{{input}}'''
  2. Write a message in the chatbox
  3. Watch as the input template message is clearly visibly after every sent message.

Expected Behavior

The input template message should not show up for the user, just like the global system message does not get visually injected into the user's messages.

Screenshots

image

Deployment Method

  • [ ] Docker
  • [ ] Vercel
  • [X] Server

Desktop OS

Win10

Desktop Browser

Chrome

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

nanafy avatar Apr 11 '24 12:04 nanafy

Thank you for your idea, I think users would know that's why the model is replying to them this way, so i think that's reasonable

Dean-YZG avatar Apr 12 '24 03:04 Dean-YZG

This is how it used to function and should function.

nanafy avatar Apr 13 '24 13:04 nanafy