text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

When using API how to continue the chat session before?

Open wepromen opened this issue 1 year ago • 2 comments

When using API http://0.0.0.0:5000 how to continue the chat session before? Any idea?

wepromen avatar May 31 '24 14:05 wepromen

I think in that case, keeping up history would depend on the client app used; not sure OTGWUI records anything that comes thru that way. I could be wrong though.

TiagoTiago avatar May 31 '24 17:05 TiagoTiago

That's because last message is not added to chat_dialogue in completions.py script. I add a bit of code to append it, check on completions.py patch. Check if it helps.

Koesn avatar Jun 02 '24 14:06 Koesn