anon998 / simple-proxy-for-tavern

GNU Affero General Public License v3.0
110 stars 6 forks source link

fix message context getting pruned in singleline.mjs #24

Closed rosemash closed 1 year ago

rosemash commented 1 year ago

In singleline.mjs, in the spot right before the reply is generated, the last 2 messages in the chat are repeated for context. But if the context is full, they get pruned, which breaks the format. This just makes it so the 2 pseudo-messages that are placed right before the reply generation don't get pruned.