You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ComputerToolCallOutput:
type: objecttitle: Computer tool call outputdescription: | The output of a computer tool call.properties:
type:
type: stringdescription: > The type of the computer tool call output. Always `computer_call_output`.enum:
- computer_call_outputdefault: computer_call_outputx-stainless-const: trueid:
type: stringdescription: | The ID of the computer tool call output.
......ComputerToolCallOutputResource:
allOf:
- $ref: "#/components/schemas/ComputerToolCallOutput"
- type: objectproperties:
id:
type: stringdescription: | The unique ID of the computer call tool output.required:
- id
The only difference is, in derived class ComputerToolCallOutputResource, "id" becomes required.
A decent IDE or compiler will warn about such defect in OO inheritance, though the defect may be intentional.