Fixed timezones with date time tool
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/ai-utils",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.1",
|
||||
"description": "AI Utility library",
|
||||
"author": "Zak Timson",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -44,9 +44,9 @@ export const CliTool: AiTool = {
|
||||
|
||||
export const DateTimeTool: AiTool = {
|
||||
name: 'get_datetime',
|
||||
description: 'Get current date and time',
|
||||
description: 'Get current UTC date / time',
|
||||
args: {},
|
||||
fn: async () => new Date().toISOString()
|
||||
fn: async () => new Date().toUTCString()
|
||||
}
|
||||
|
||||
export const ExecTool: AiTool = {
|
||||
|
||||
Reference in New Issue
Block a user