mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 18:57:17 +03:00
feat(core): use freeform tool input on models that support it (#61703)
This commit is contained in:
committed by
GitHub
Unverified
parent
64bd35afa9
commit
53f2d631df
Generated
+16
@@ -16804,6 +16804,12 @@
|
||||
"tools": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"freeform": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Tool.FreeformFormat"
|
||||
}
|
||||
},
|
||||
"input": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -20512,6 +20518,12 @@
|
||||
"tools": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"freeform": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Tool.FreeformFormat"
|
||||
}
|
||||
},
|
||||
"input": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -25084,6 +25096,10 @@
|
||||
"required": ["type", "uri", "mime"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Tool.FreeformFormat": {
|
||||
"type": "string",
|
||||
"enum": ["text", "regex", "lark"]
|
||||
},
|
||||
"Tool.TextContent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user