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: merge existing knowledge base configuration when modifying bot #687

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

statefb
Copy link
Contributor

@statefb statefb commented Jan 15, 2025

Issue #, if available:

Description of changes:

This PR merges existing kb configuration and kb input provided when the bot is updated. This is because DataSourceId is set via the embedding process (source), so we need to merge it when updating the bot. Currently, there's no problem because the application does not use the stored DataSourceIds explicitly, but we fix it for future maintenance.

Note that current behavior is: data source ids set to null when update the bot

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@wadabee wadabee left a comment

Choose a reason for hiding this comment

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

LGTM!

@statefb statefb merged commit 69b47d7 into v2 Jan 16, 2025
6 checks passed
@statefb statefb deleted the fix/data-source-id-null branch January 16, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants