Skip to content

Conversation

philippjbauer
Copy link
Contributor

The way ChatSession.ChatAsync was using the provided methods from a IHistoryTransform interface implementation created unexpected duplication of the chat history messages. It also prevented loading previous history into the current session.

The way ChatSession.ChatAsync was using the provided methods
from a IHistoryTransform interface implementation created unexpected
duplication of the chat history messages. It also prevented loading
previous history into the current session.
@martindevans
Copy link
Member

Note: refer to #261 for some initial discussion

@martindevans martindevans self-requested a review November 8, 2023 23:41
Copy link
Member

@martindevans martindevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SanftMonster
Copy link
Collaborator

LGTM, thank you very much for this contribution!

@SanftMonster SanftMonster merged commit 47e0167 into SciSharp:master Nov 9, 2023
@philippjbauer
Copy link
Contributor Author

Glad to help out! I hope to find some time to help advance the overall ChatSession class but I've got a pretty packed calendar in the next few weeks.

@SanftMonster
Copy link
Collaborator

Glad to help out! I hope to find some time to help advance the overall ChatSession class but I've got a pretty packed calendar in the next few weeks.

No problem, you're always welcome :) If you'd like to take part in the development of LLamaSharp, I'll invite you to the discord dev channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants