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
Enable users to set credential overrides on `run`.
e.g.
```typescript
const g = new gptscript.GPTScript();
try {
const run = await g.run('./test.gpt', {
disableCache: true,
credentialOverride: "sys.openai:OPENAI_API_KEY",
});
console.log(await run.text());
} catch (e) {
console.error(e);
}
g.close();
```
```yaml
tools: github.com/gptscript-ai/dalle-image-generation
You are an expert in image generation. Please generate a lion standing proudly in the savannah.
```
Signed-off-by: Nick Hale <[email protected]>
0 commit comments