Skip to content

Commit

Permalink
enhancement(frontend): set backup of provider keys in localStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 19, 2024
1 parent a6febad commit 77192e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agenta-web/src/hooks/useVaultSecret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export const useVaultSecret = () => {
}
}

localStorage.setItem(`${llmAvailableProvidersToken}Backup`, localStorageProviders)

localStorage.removeItem(llmAvailableProvidersToken)
}
} catch (error) {
Expand Down

0 comments on commit 77192e3

Please sign in to comment.