diff --git a/internal/types/entities/tool_entities/tool.go b/internal/types/entities/tool_entities/tool.go index 2edf37b..26a5754 100644 --- a/internal/types/entities/tool_entities/tool.go +++ b/internal/types/entities/tool_entities/tool.go @@ -18,6 +18,7 @@ const ( ToolResponseChunkTypeImage ToolResponseChunkType = "image" ToolResponseChunkTypeImageLink ToolResponseChunkType = "image_link" ToolResponseChunkTypeVariable ToolResponseChunkType = "variable" + ToolResponseChunkTypeLog ToolResponseChunkType = "log" ) func IsValidToolResponseChunkType(fl validator.FieldLevel) bool { @@ -31,7 +32,8 @@ func IsValidToolResponseChunkType(fl validator.FieldLevel) bool { ToolResponseChunkTypeLink, ToolResponseChunkTypeImage, ToolResponseChunkTypeImageLink, - ToolResponseChunkTypeVariable: + ToolResponseChunkTypeVariable, + ToolResponseChunkTypeLog: return true default: return false