Skip to content

Commit b4496b3

Browse files
Sangeetha HariharanSangeetha Hariharan
authored andcommitted
Fix time.gpt example to add more guidance to arg description.
Fix nodejs-imagegen example to use the dalle-image-generation repo.
1 parent 39f45c4 commit b4496b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/nodejs-imagegen/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ app.post('/generate-logo', async (req, res) => {
5151
}
5252
`;
5353
const tool = new gptscript.Tool({
54-
tools: ['github.com/gptscript-ai/image-generation'],
54+
tools: ['github.com/gptscript-ai/dalle-image-generation'],
5555
jsonResponse: true,
5656
instructions: instructions,
5757
})

examples/time.gpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Ask time to get you the time in different timezones.
55
---
66
name: time
77
description: Can tell current time in any timezone,
8-
args: timezone: The timezone you want time in.
8+
args: timezone: The timezone you want time in e.g. 'Pacific/Honolulu'
99

1010
#!/bin/bash
1111
echo "Your current date and time is "
1212
date
1313
echo "Time in your requested timezone ${timezone} is "
14-
TZ=${timezone} date
14+
TZ=${timezone} date

0 commit comments

Comments
 (0)