fix(plugin): default value for tool execution response parameter type (#683)

Co-authored-by: mrh <mrh997>
This commit is contained in:
mrh997
2025-08-11 14:09:08 +08:00
committed by GitHub
parent 6501e9aef6
commit ad18b9cc42
7 changed files with 394 additions and 13 deletions

View File

@@ -77,6 +77,7 @@ type InvalidResponseProcessStrategy int8
const (
InvalidResponseProcessStrategyOfReturnRaw InvalidResponseProcessStrategy = 0 // If the value of a field is invalid, the raw response value of the field is returned.
InvalidResponseProcessStrategyOfReturnDefault InvalidResponseProcessStrategy = 1 // If the value of a field is invalid, the default value of the field is returned.
InvalidResponseProcessStrategyOfReturnErr InvalidResponseProcessStrategy = 2 // If the value of a field is invalid, error is returned.
)
const (