griptape icon indicating copy to clipboard operation
griptape copied to clipboard

Automatically fill optional tool activity schema defaults if no values is provided

Open vasinov opened this issue 1 year ago • 0 comments

Tool activities can use schema.Optional fields with defaults set by the tool creator. Today, tool creators have to manually check for the value passed by the LLM and then manually fill in the default in the activity implementation.

I propose adding automatic activity default propagation in ActionSubtask in addition to the already implemented activity input validation.

vasinov avatar Oct 01 '23 21:10 vasinov