Skip to content

Conversation

@leandrofars
Copy link

Problem:
When sending chat messages history through json, it gets unsconsistent struct behavior because of missing json tags at the structs.

Solution:
Add json tags to missing structs.

@leandrofars
Copy link
Author

Also, mongodb is missing chat messages of system type when retrieving it.

@jeduardo
Copy link

@tmc this PR would close #1056, which is an issue I'm also seeing. Not having this prevents saving system messages in persistent conversations. I forked the library, tested it with my use case, and it didn't break anything, so it looks safe to merge.

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.

2 participants