Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(service): fix how translation layer handles previous messages #4

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

yunanwg
Copy link
Owner

@yunanwg yunanwg commented Sep 10, 2024

Fixes #3

  • instead of keeping only the last message, it now concat previous messages and feed to Dify API as string.
  • current implementation is still not optimal, as it does not sollicit Dify's conversation_id.

- instead of keeping only the last message, it now concat previous messages and feed to Dify API as string.
- current implementation is still not optimal, as it does not sollicit Dify's conversation_id.
@yunanwg yunanwg merged commit 5dc752c into main Sep 10, 2024
3 checks passed
@yunanwg yunanwg deleted the feat-conversation-persistence branch September 10, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support conversation persistence
1 participant