feat: Add tool_mode to Output model and add it to the skip output check (#6036)

* feat: Add tool_mode field to Output model for tool usage specification

* fix: Specify type for component_toolkit in to_toolkit method

* feat: Add method to determine if output should be skipped in ComponentToolkit

* [autofix.ci] apply automated fixes

* test: Add tool_mode field to Output model in test schema

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-01-30 18:39:20 -03:00 • committed by GitHub
commit b00ab3ae5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 187 additions and 2 deletions

View file

@ -139,6 +139,7 @@ class TestOutput:
"display_name": "test_output",
"cache": True,
"value": "__UNDEFINED__",
"tool_mode": True,
}
def test_output_validate_display_name(self):