|
15424 | 15424 | "title": "OpenAIResponseMCPApprovalResponse", |
15425 | 15425 | "description": "A response to an MCP approval request." |
15426 | 15426 | }, |
15427 | | - "OpenAIResponseMessage-Input": { |
| 15427 | + "OpenAIResponseMessage": { |
15428 | 15428 | "properties": { |
15429 | 15429 | "content": { |
15430 | 15430 | "anyOf": [ |
|
15459 | 15459 | "items": { |
15460 | 15460 | "oneOf": [ |
15461 | 15461 | { |
15462 | | - "$ref": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText-Input" |
| 15462 | + "$ref": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText" |
15463 | 15463 | }, |
15464 | 15464 | { |
15465 | 15465 | "$ref": "#/components/schemas/OpenAIResponseContentPartRefusal" |
|
15468 | 15468 | "discriminator": { |
15469 | 15469 | "propertyName": "type", |
15470 | 15470 | "mapping": { |
15471 | | - "output_text": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText-Input", |
| 15471 | + "output_text": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText", |
15472 | 15472 | "refusal": "#/components/schemas/OpenAIResponseContentPartRefusal" |
15473 | 15473 | } |
15474 | 15474 | } |
@@ -15536,181 +15536,7 @@ |
15536 | 15536 | "title": "OpenAIResponseMessage", |
15537 | 15537 | "description": "Corresponds to the various Message types in the Responses API.\nThey are all under one type because the Responses API gives them all\nthe same \"type\" value, and there is no way to tell them apart in certain\nscenarios." |
15538 | 15538 | }, |
15539 | | - "OpenAIResponseMessage-Output": { |
15540 | | - "properties": { |
15541 | | - "content": { |
15542 | | - "anyOf": [ |
15543 | | - { |
15544 | | - "type": "string" |
15545 | | - }, |
15546 | | - { |
15547 | | - "items": { |
15548 | | - "oneOf": [ |
15549 | | - { |
15550 | | - "$ref": "#/components/schemas/OpenAIResponseInputMessageContentText" |
15551 | | - }, |
15552 | | - { |
15553 | | - "$ref": "#/components/schemas/OpenAIResponseInputMessageContentImage" |
15554 | | - }, |
15555 | | - { |
15556 | | - "$ref": "#/components/schemas/OpenAIResponseInputMessageContentFile" |
15557 | | - } |
15558 | | - ], |
15559 | | - "discriminator": { |
15560 | | - "propertyName": "type", |
15561 | | - "mapping": { |
15562 | | - "input_file": "#/components/schemas/OpenAIResponseInputMessageContentFile", |
15563 | | - "input_image": "#/components/schemas/OpenAIResponseInputMessageContentImage", |
15564 | | - "input_text": "#/components/schemas/OpenAIResponseInputMessageContentText" |
15565 | | - } |
15566 | | - } |
15567 | | - }, |
15568 | | - "type": "array" |
15569 | | - }, |
15570 | | - { |
15571 | | - "items": { |
15572 | | - "oneOf": [ |
15573 | | - { |
15574 | | - "$ref": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText-Output" |
15575 | | - }, |
15576 | | - { |
15577 | | - "$ref": "#/components/schemas/OpenAIResponseContentPartRefusal" |
15578 | | - } |
15579 | | - ], |
15580 | | - "discriminator": { |
15581 | | - "propertyName": "type", |
15582 | | - "mapping": { |
15583 | | - "output_text": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText-Output", |
15584 | | - "refusal": "#/components/schemas/OpenAIResponseContentPartRefusal" |
15585 | | - } |
15586 | | - } |
15587 | | - }, |
15588 | | - "type": "array" |
15589 | | - } |
15590 | | - ], |
15591 | | - "title": "Content" |
15592 | | - }, |
15593 | | - "role": { |
15594 | | - "anyOf": [ |
15595 | | - { |
15596 | | - "type": "string", |
15597 | | - "const": "system" |
15598 | | - }, |
15599 | | - { |
15600 | | - "type": "string", |
15601 | | - "const": "developer" |
15602 | | - }, |
15603 | | - { |
15604 | | - "type": "string", |
15605 | | - "const": "user" |
15606 | | - }, |
15607 | | - { |
15608 | | - "type": "string", |
15609 | | - "const": "assistant" |
15610 | | - } |
15611 | | - ], |
15612 | | - "title": "Role" |
15613 | | - }, |
15614 | | - "type": { |
15615 | | - "type": "string", |
15616 | | - "const": "message", |
15617 | | - "title": "Type", |
15618 | | - "default": "message" |
15619 | | - }, |
15620 | | - "id": { |
15621 | | - "anyOf": [ |
15622 | | - { |
15623 | | - "type": "string" |
15624 | | - }, |
15625 | | - { |
15626 | | - "type": "null" |
15627 | | - } |
15628 | | - ], |
15629 | | - "title": "Id" |
15630 | | - }, |
15631 | | - "status": { |
15632 | | - "anyOf": [ |
15633 | | - { |
15634 | | - "type": "string" |
15635 | | - }, |
15636 | | - { |
15637 | | - "type": "null" |
15638 | | - } |
15639 | | - ], |
15640 | | - "title": "Status" |
15641 | | - } |
15642 | | - }, |
15643 | | - "type": "object", |
15644 | | - "required": [ |
15645 | | - "content", |
15646 | | - "role" |
15647 | | - ], |
15648 | | - "title": "OpenAIResponseMessage", |
15649 | | - "description": "Corresponds to the various Message types in the Responses API.\nThey are all under one type because the Responses API gives them all\nthe same \"type\" value, and there is no way to tell them apart in certain\nscenarios." |
15650 | | - }, |
15651 | | - "OpenAIResponseOutputMessageContentOutputText-Input": { |
15652 | | - "properties": { |
15653 | | - "text": { |
15654 | | - "type": "string", |
15655 | | - "title": "Text" |
15656 | | - }, |
15657 | | - "type": { |
15658 | | - "type": "string", |
15659 | | - "const": "output_text", |
15660 | | - "title": "Type", |
15661 | | - "default": "output_text" |
15662 | | - }, |
15663 | | - "annotations": { |
15664 | | - "items": { |
15665 | | - "oneOf": [ |
15666 | | - { |
15667 | | - "$ref": "#/components/schemas/OpenAIResponseAnnotationFileCitation" |
15668 | | - }, |
15669 | | - { |
15670 | | - "$ref": "#/components/schemas/OpenAIResponseAnnotationCitation" |
15671 | | - }, |
15672 | | - { |
15673 | | - "$ref": "#/components/schemas/OpenAIResponseAnnotationContainerFileCitation" |
15674 | | - }, |
15675 | | - { |
15676 | | - "$ref": "#/components/schemas/OpenAIResponseAnnotationFilePath" |
15677 | | - } |
15678 | | - ], |
15679 | | - "discriminator": { |
15680 | | - "propertyName": "type", |
15681 | | - "mapping": { |
15682 | | - "container_file_citation": "#/components/schemas/OpenAIResponseAnnotationContainerFileCitation", |
15683 | | - "file_citation": "#/components/schemas/OpenAIResponseAnnotationFileCitation", |
15684 | | - "file_path": "#/components/schemas/OpenAIResponseAnnotationFilePath", |
15685 | | - "url_citation": "#/components/schemas/OpenAIResponseAnnotationCitation" |
15686 | | - } |
15687 | | - } |
15688 | | - }, |
15689 | | - "type": "array", |
15690 | | - "title": "Annotations" |
15691 | | - }, |
15692 | | - "logprobs": { |
15693 | | - "anyOf": [ |
15694 | | - { |
15695 | | - "items": { |
15696 | | - "$ref": "#/components/schemas/OpenAITokenLogProb" |
15697 | | - }, |
15698 | | - "type": "array" |
15699 | | - }, |
15700 | | - { |
15701 | | - "type": "null" |
15702 | | - } |
15703 | | - ], |
15704 | | - "title": "Logprobs" |
15705 | | - } |
15706 | | - }, |
15707 | | - "type": "object", |
15708 | | - "required": [ |
15709 | | - "text" |
15710 | | - ], |
15711 | | - "title": "OpenAIResponseOutputMessageContentOutputText" |
15712 | | - }, |
15713 | | - "OpenAIResponseOutputMessageContentOutputText-Output": { |
| 15539 | + "OpenAIResponseOutputMessageContentOutputText": { |
15714 | 15540 | "properties": { |
15715 | 15541 | "text": { |
15716 | 15542 | "type": "string", |
|
17975 | 17801 | "ResponseItem": { |
17976 | 17802 | "anyOf": [ |
17977 | 17803 | { |
17978 | | - "$ref": "#/components/schemas/OpenAIResponseMessage-Input" |
| 17804 | + "$ref": "#/components/schemas/OpenAIResponseMessage" |
17979 | 17805 | }, |
17980 | 17806 | { |
17981 | 17807 | "$ref": "#/components/schemas/OpenAIResponseOutputMessageWebSearchToolCall" |
|
18372 | 18198 | "items": { |
18373 | 18199 | "oneOf": [ |
18374 | 18200 | { |
18375 | | - "$ref": "#/components/schemas/OpenAIResponseMessage-Output" |
| 18201 | + "$ref": "#/components/schemas/OpenAIResponseMessage" |
18376 | 18202 | }, |
18377 | 18203 | { |
18378 | 18204 | "$ref": "#/components/schemas/OpenAIResponseOutputMessageWebSearchToolCall" |
|
18401 | 18227 | "mcp_approval_request": "#/components/schemas/OpenAIResponseMCPApprovalRequest", |
18402 | 18228 | "mcp_call": "#/components/schemas/OpenAIResponseOutputMessageMCPCall", |
18403 | 18229 | "mcp_list_tools": "#/components/schemas/OpenAIResponseOutputMessageMCPListTools", |
18404 | | - "message": "#/components/schemas/OpenAIResponseMessage-Output", |
| 18230 | + "message": "#/components/schemas/OpenAIResponseMessage", |
18405 | 18231 | "web_search_call": "#/components/schemas/OpenAIResponseOutputMessageWebSearchToolCall" |
18406 | 18232 | } |
18407 | 18233 | } |
|
0 commit comments