Fixed timezones with date time tool
This commit is contained in:
@@ -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