From e008144187ff430a82ea583cb40c89f17823d701 Mon Sep 17 00:00:00 2001 From: Richard Ortega Date: Fri, 12 Dec 2025 02:55:01 -0500 Subject: [PATCH] Update OpenAIResponses.yaml to match AgentSchema (#2598) 1. Update `connection` child types -- `kind: ApiKey` to `kind: key` otherwise schema will fail: https://microsoft.github.io/AgentSchema/reference/apikeyconnection/ 2. Update `outputSchema`'s `PropertySchema` to be `kind` instead of `type` otherwise schema will fail: https://microsoft.github.io/AgentSchema/reference/propertyschema/ --- agent-samples/openai/OpenAIResponses.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/agent-samples/openai/OpenAIResponses.yaml b/agent-samples/openai/OpenAIResponses.yaml index 45f4c30340..bdc04d4a13 100644 --- a/agent-samples/openai/OpenAIResponses.yaml +++ b/agent-samples/openai/OpenAIResponses.yaml @@ -10,19 +10,19 @@ model: temperature: 0.9 topP: 0.95 connection: - kind: ApiKey - key: =Env.OPENAI_API_KEY + kind: key + apiKey: =Env.OPENAI_APIKEY outputSchema: properties: language: - type: string + kind: string required: true description: The language of the answer. answer: - type: string + kind: string required: true description: The answer text. type: - type: string + kind: string required: true description: The type of the response.