Skip to content

Commit 5d13a75

Browse files
committed
enhance: pass cred overrides to tui
Make cred overrides work when using the TUI. Signed-off-by: Nick Hale <[email protected]>
1 parent 7251157 commit 5d13a75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cli/gptscript.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ func (r *GPTScript) Run(cmd *cobra.Command, args []string) (retErr error) {
469469
DefaultModel: r.DefaultModel,
470470
TrustedRepoPrefixes: []string{"github.com/gptscript-ai"},
471471
DisableCache: r.DisableCache,
472+
CredentialOverrides: r.CredentialOverride,
472473
Input: toolInput,
473474
CacheDir: r.CacheDir,
474475
SubTool: r.SubTool,

0 commit comments

Comments
 (0)