Skip to content
Merged
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
5 changes: 5 additions & 0 deletions gptscript.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,11 @@ func (g *GPTScript) CreateCredential(ctx context.Context, cred Credential) error
return err
}

func (g *GPTScript) RecreateAllCredentials(ctx context.Context) error {
_, err := g.runBasicCommand(ctx, "credentials/recreate-all", struct{}{})
return err
}

func (g *GPTScript) RevealCredential(ctx context.Context, credCtxs []string, name string) (Credential, error) {
out, err := g.runBasicCommand(ctx, "credentials/reveal", CredentialRequest{
Context: credCtxs,
Expand Down