fix
This commit is contained in:
@ -317,7 +317,7 @@ func NewLocationEventAgent(locationModel models.LocationModel, eventModel models
|
||||
Fn: func(info ToolHandlerInfo, args CreateEventArguments, call ToolCall) (model.Events, error) {
|
||||
ctx := context.Background()
|
||||
|
||||
layout := "2006-01-02T15:04:05"
|
||||
layout := "2006-01-02T15:04:05Z"
|
||||
|
||||
startTime, err := time.Parse(layout, args.StartDateTime)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user