Skip to content

Commit e008144

Browse files
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/
1 parent 0fc7933 commit e008144

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

agent-samples/openai/OpenAIResponses.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ model:
1010
temperature: 0.9
1111
topP: 0.95
1212
connection:
13-
kind: ApiKey
14-
key: =Env.OPENAI_API_KEY
13+
kind: key
14+
apiKey: =Env.OPENAI_APIKEY
1515
outputSchema:
1616
properties:
1717
language:
18-
type: string
18+
kind: string
1919
required: true
2020
description: The language of the answer.
2121
answer:
22-
type: string
22+
kind: string
2323
required: true
2424
description: The answer text.
2525
type:
26-
type: string
26+
kind: string
2727
required: true
2828
description: The type of the response.

0 commit comments

Comments
 (0)