Skip to content

Commit be84303

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 f90f56d commit be84303

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
@@ -472,6 +472,7 @@ func (r *GPTScript) Run(cmd *cobra.Command, args []string) (retErr error) {
472472
DefaultModel: r.DefaultModel,
473473
TrustedRepoPrefixes: []string{"github.com/gptscript-ai"},
474474
DisableCache: r.DisableCache,
475+
CredentialOverrides: r.CredentialOverride,
475476
Input: toolInput,
476477
CacheDir: r.CacheDir,
477478
SubTool: r.SubTool,

0 commit comments

Comments
 (0)