Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/nodejs-imagegen/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ app.post('/generate-logo', async (req, res) => {
}
`;
const tool = new gptscript.Tool({
tools: ['github.com/gptscript-ai/image-generation'],
tools: ['github.com/gptscript-ai/dalle-image-generation'],
jsonResponse: true,
instructions: instructions,
})
Expand Down
4 changes: 2 additions & 2 deletions examples/time.gpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Ask time to get you the time in different timezones.
---
name: time
description: Can tell current time in any timezone,
args: timezone: The timezone you want time in.
args: timezone: The timezone you want time in e.g. 'Pacific/Honolulu'

#!/bin/bash
echo "Your current date and time is "
date
echo "Time in your requested timezone ${timezone} is "
TZ=${timezone} date
TZ=${timezone} date