premAI-io / prem-services

AI Services Maintained by Prem Core Team.
MIT License
6 stars 8 forks source link

`generations` endpoint in chat services is not using past messages as prompt in successive turns #69

Closed biswaroop1547 closed 1 year ago

biswaroop1547 commented 1 year ago

here message = messages[-1]["content"] causes the generate function to use only the current turn message from user as prompt for generating new responses.