Agent loop defensive (#3554)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2025-07-22 18:21:47 +02:00
committed by GitHub
parent b3cd03ef61
commit 9f356e7009
19 changed files with 349 additions and 773 deletions
+7 -9
View File
@@ -2332,17 +2332,16 @@
}
},
"ResourceContents": {
"oneOf": [
"anyOf": [
{
"type": "object",
"required": [
"uri",
"text"
"text",
"uri"
],
"properties": {
"mime_type": {
"type": "string",
"nullable": true
"type": "string"
},
"text": {
"type": "string"
@@ -2355,16 +2354,15 @@
{
"type": "object",
"required": [
"uri",
"blob"
"blob",
"uri"
],
"properties": {
"blob": {
"type": "string"
},
"mime_type": {
"type": "string",
"nullable": true
"type": "string"
},
"uri": {
"type": "string"