changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "cacheHit": {
- "type": "boolean"
- },
- "cleaning": {
- "type": "string"
- },
- "content": {
- "maxLength": 32000,
- "type": "string"
- },
- "conversionProviderCalls": {
- "const": 0
- },
- "fetchedAt": {
- "type": "string"
- },
- "hasMore": {
- "description": "True only when nextOffset is non-null and more chunks remain.",
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "limitations": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "llmCalls": {
- "const": 0
- },
- "nextOffset": {
- "type": [
- "integer",
- "null"
- ]
- },
- "offset": {
- "type": "integer"
- },
- "partial": {
- "description": "This response is an excerpt rather than the entire document; can remain true on the last chunk.",
- "type": "boolean"
- },
- "paymentsSentUsd": {
- "const": 0
- },
- "qualityVerified": {
- "const": false
- },
- "returnedCharacters": {
- "type": "integer"
- },
- "sha256": {
- "type": "string"
- },
- "sourceRequestsThisRequest": {
- "type": "integer"
- },
- "sourceUrl": {
- "type": "string"
- },
- "status": {
- "const": "response_received"
- },
- "title": {
- "type": "string"
- },
- "totalCharacters": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "id",
- "sourceUrl",
- "content",
- "sha256",
- "offset",
- "nextOffset",
- "totalCharacters",
- "sourceRequestsThisRequest",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "error_code": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "error_code",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "cacheHit": {
+ "type": "boolean"
+ },
+ "cleaning": {
+ "type": "string"
+ },
+ "content": {
+ "maxLength": 32000,
+ "type": "string"
+ },
+ "conversionProviderCalls": {
+ "const": 0
+ },
+ "fetchedAt": {
+ "type": "string"
+ },
+ "hasMore": {
+ "description": "True only when nextOffset is non-null and more chunks remain.",
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "llmCalls": {
+ "const": 0
+ },
+ "nextOffset": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "offset": {
+ "type": "integer"
+ },
+ "partial": {
+ "description": "This response is an excerpt rather than the entire document; can remain true on the last chunk.",
+ "type": "boolean"
+ },
+ "paymentsSentUsd": {
+ "const": 0
+ },
+ "qualityVerified": {
+ "const": false
+ },
+ "returnedCharacters": {
+ "type": "integer"
+ },
+ "sha256": {
+ "type": "string"
+ },
+ "sourceRequestsThisRequest": {
+ "type": "integer"
+ },
+ "sourceUrl": {
+ "type": "string"
+ },
+ "status": {
+ "const": "response_received"
+ },
+ "title": {
+ "type": "string"
+ },
+ "totalCharacters": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "id",
+ "sourceUrl",
+ "content",
+ "sha256",
+ "offset",
+ "nextOffset",
+ "totalCharacters",
+ "sourceRequestsThisRequest",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "error_code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "recovery": {
+ "additionalProperties": false,
+ "properties": {
+ "automaticRetryAllowed": {
+ "const": false
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "requiredArguments": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool",
+ "requiredArguments",
+ "guidance",
+ "automaticRetryAllowed"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error_code",
+ "error"
+ ],
+ "type": "object"
+ }
+]