Skip to content

Commit

Permalink
refresh current window provider state
Browse files Browse the repository at this point in the history
  • Loading branch information
lily-de committed Jan 17, 2025
1 parent d3a81bc commit 6e4577c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/desktop/src/components/settings/Keys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export default function Keys() {
const provider = providers.find(p => p.id === providerId);
if (provider) {
localStorage.setItem("GOOSE_PROVIDER", provider.name);
initializeSystem(provider)
showToast(`Switched to ${provider.name}`, "success");

// Spawn new chat window with the new provider
Expand Down

0 comments on commit 6e4577c

Please sign in to comment.