You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than making the user specify all credential overrides in a single --credential-override argument, we want to support the ability to specify it multiple times, like this:
Tested with gptscript - version v0.0.0-dev-3b38281a-dirty
Able to do -credential-override multiple times for overriding multiple credentials.
Execute the following script and set the values for creds to mytest1(credA) and mytest2(credB)
cred: github.com/gptscript-ai/credential as credA with VAR_A as env and "Please enter your cred for A" as message
cred: github.com/gptscript-ai/credential as credB with VAR_B as env and "Please enter your cred for B" as message
#!/usr/bin/env bash
echo "A: $VAR_A"
echo "B: $VAR_B"
Execute the script to Override credential values using - gptscript --disable-cache --credential-override credA:VAR_A=mytest1override --credential-override credB:VAR_B=mytest2override credential.gpt
Rather than making the user specify all credential overrides in a single
--credential-override
argument, we want to support the ability to specify it multiple times, like this:The text was updated successfully, but these errors were encountered: