Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion internal/ui/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9170,6 +9170,10 @@ <h3 class="onboarding-drawer-title" x-text="onboardingText(((onboardingLocaleDat
steps[2].progress = 100;
if (data.endpoint) this.onboardingDeployEndpoint = data.endpoint;
this.onboardingPhase = 'done';
// The deployment changes the local proxy route and llm.model. Refresh
// immediately instead of leaving the Agent availability badge stale
// until its normal 30-second polling interval.
this.pollAgentInfo();
} else if (event === 'error') {
var msg = data.message || this.t('wiz_deploy_error');
// Make GPU memory errors actionable
Expand Down Expand Up @@ -9201,6 +9205,7 @@ <h3 class="onboarding-drawer-title" x-text="onboardingText(((onboardingLocaleDat
this.onboardingPhase = 'complete';
// Refresh deployments
this.pollDeployments();
this.pollAgentInfo();
this.$nextTick(function() {
if (this.$refs && this.$refs.chatInput) this.$refs.chatInput.focus();
}.bind(this));
Expand Down Expand Up @@ -11028,7 +11033,10 @@ <h3 class="onboarding-drawer-title" x-text="onboardingText(((onboardingLocaleDat
delete next[modelName];
this.modelDeploying = next;
this.deployDetailSubmitting = false;
await this.pollDeployments();
await Promise.all([
this.pollDeployments(),
this.pollAgentInfo()
]);
this.scrollChat();
}
},
Expand Down
Loading