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: call reloadLLMServicesSubscribers when app launch #702

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Conversation

tisfeng
Copy link
Owner

@tisfeng tisfeng commented Oct 22, 2024

Fix #693 (comment)

Currently, after the application starts, if the service settings page is not opened, modifying the service model does not trigger a service configuration update, which is incorrect.

We should call the reloadLLMServicesSubscribers() method once when the application starts, and then call it again when there is a change in the service (for example, when it is deleted or copied).

Since the relevant code has changed a lot, I am not sure if this solution is appropriate, please check it carefully.

@tisfeng tisfeng merged commit f79813c into dev Oct 23, 2024
5 checks passed
@tisfeng tisfeng deleted the fix-subscriber branch October 23, 2024 11:37
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