Skip to content

Commit

Permalink
Fix setting up with Picovoice, Coqui, and Whisper. Maybe fix STS stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kercre123 committed Jan 13, 2025
1 parent f1cf297 commit 148f0cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions chipper/pkg/servers/token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ func CreateJWT(ctx context.Context, skipGuid bool, isPrimary bool) *tokenpb.Toke
rsaKey, _ := rsa.GenerateKey(rand.Reader, 1024)
tokenString, _ := token.SignedString(rsaKey)
bundle.Token = tokenString
bundle.StsToken = &tokenpb.StsToken{
AccessKeyId: "",
SessionToken: "",
SecretAccessKey: "",
Expiration: "",
}
return bundle
}

Expand Down
3 changes: 2 additions & 1 deletion chipper/webroot/js/initial.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ function sendSetupInfo() {
});
}, 500);
} else if (response.includes("vosk")) {
initWeatherAPIKey();
console.log(response)
setConn();
} else if (response.includes("error")) {
updateSetupStatus(response);
document.getElementById("config-options").style.display = "block";
Expand Down

0 comments on commit 148f0cc

Please sign in to comment.