@orq-ai/node 4.13.18 → 4.13.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/invokedeploymentrequest.d.ts +10 -0
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +8 -0
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/modelmetadata.d.ts +12 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +24 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/billing.d.ts +7 -6
- package/models/operations/billing.d.ts.map +1 -1
- package/models/operations/billing.js +4 -3
- package/models/operations/billing.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +28 -24
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +12 -8
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createchatcompletion.d.ts +12 -6
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +5 -2
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.d.ts +9 -0
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +9 -5
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createprompt.d.ts +23 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +10 -4
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +10 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +4 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +10 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +4 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +11 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +5 -2
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/geteval.js +16 -16
- package/models/operations/getoneprompt.d.ts +11 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +5 -2
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +11 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +5 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/inputresponseformat.d.ts +11 -6
- package/models/operations/inputresponseformat.d.ts.map +1 -1
- package/models/operations/inputresponseformat.js +5 -2
- package/models/operations/inputresponseformat.js.map +1 -1
- package/models/operations/listagents.d.ts +14 -12
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +6 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +4 -0
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +7 -5
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +11 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +5 -2
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +14 -12
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +6 -4
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
- package/models/operations/retrieveannotationqueueitem2annotationqueuesttl.d.ts +4 -0
- package/models/operations/retrieveannotationqueueitem2annotationqueuesttl.d.ts.map +1 -1
- package/models/operations/retrieveannotationqueueitem2annotationqueuesttl.js +2 -0
- package/models/operations/retrieveannotationqueueitem2annotationqueuesttl.js.map +1 -1
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.d.ts +1 -0
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.d.ts.map +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +3 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js.map +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
- package/models/operations/retrievedatapoint.d.ts +4 -0
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +7 -5
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +14 -12
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +7 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +14 -12
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +7 -5
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/twenty.js +1 -1
- package/models/operations/updateagent.d.ts +28 -24
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +12 -8
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.d.ts +9 -0
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +9 -5
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateprompt.d.ts +23 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +10 -4
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/invokedeploymentrequest.ts +18 -0
- package/src/models/components/modelmetadata.ts +36 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/billing.ts +8 -7
- package/src/models/operations/createagentrequest.ts +28 -24
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createchatcompletion.ts +14 -6
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +18 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createprompt.ts +27 -12
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +14 -0
- package/src/models/operations/deploymentstream.ts +14 -0
- package/src/models/operations/getallprompts.ts +13 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getoneprompt.ts +13 -6
- package/src/models/operations/getpromptversion.ts +13 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/inputresponseformat.ts +13 -6
- package/src/models/operations/listagents.ts +14 -12
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +11 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +13 -6
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +14 -12
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
- package/src/models/operations/retrieveannotationqueueitem2annotationqueuesttl.ts +6 -0
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +3 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
- package/src/models/operations/retrievedatapoint.ts +11 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +15 -13
- package/src/models/operations/streamrunagent.ts +15 -13
- package/src/models/operations/twenty.ts +1 -1
- package/src/models/operations/updateagent.ts +28 -24
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +18 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateprompt.ts +27 -12
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -207,6 +207,10 @@ export type ToolCalls = {
|
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
export type AssistantMessage = {
|
|
210
|
+
/**
|
|
211
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
212
|
+
*/
|
|
213
|
+
reasoningContent?: string | undefined;
|
|
210
214
|
/**
|
|
211
215
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
212
216
|
*/
|
|
@@ -550,6 +554,10 @@ export type MessagesToolCalls = {
|
|
|
550
554
|
};
|
|
551
555
|
|
|
552
556
|
export type MessagesAssistantMessage = {
|
|
557
|
+
/**
|
|
558
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
559
|
+
*/
|
|
560
|
+
reasoningContent?: string | undefined;
|
|
553
561
|
/**
|
|
554
562
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
555
563
|
*/
|
|
@@ -1646,6 +1654,7 @@ export const AssistantMessage$inboundSchema: z.ZodType<
|
|
|
1646
1654
|
z.ZodTypeDef,
|
|
1647
1655
|
unknown
|
|
1648
1656
|
> = z.object({
|
|
1657
|
+
reasoning_content: z.string().optional(),
|
|
1649
1658
|
content: z.nullable(
|
|
1650
1659
|
z.union([
|
|
1651
1660
|
z.string(),
|
|
@@ -1668,11 +1677,13 @@ export const AssistantMessage$inboundSchema: z.ZodType<
|
|
|
1668
1677
|
tool_calls: z.array(z.lazy(() => ToolCalls$inboundSchema)).optional(),
|
|
1669
1678
|
}).transform((v) => {
|
|
1670
1679
|
return remap$(v, {
|
|
1680
|
+
"reasoning_content": "reasoningContent",
|
|
1671
1681
|
"tool_calls": "toolCalls",
|
|
1672
1682
|
});
|
|
1673
1683
|
});
|
|
1674
1684
|
/** @internal */
|
|
1675
1685
|
export type AssistantMessage$Outbound = {
|
|
1686
|
+
reasoning_content?: string | undefined;
|
|
1676
1687
|
content?:
|
|
1677
1688
|
| string
|
|
1678
1689
|
| Array<
|
|
@@ -1696,6 +1707,7 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
1696
1707
|
z.ZodTypeDef,
|
|
1697
1708
|
AssistantMessage
|
|
1698
1709
|
> = z.object({
|
|
1710
|
+
reasoningContent: z.string().optional(),
|
|
1699
1711
|
content: z.nullable(
|
|
1700
1712
|
z.union([
|
|
1701
1713
|
z.string(),
|
|
@@ -1718,6 +1730,7 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
1718
1730
|
toolCalls: z.array(z.lazy(() => ToolCalls$outboundSchema)).optional(),
|
|
1719
1731
|
}).transform((v) => {
|
|
1720
1732
|
return remap$(v, {
|
|
1733
|
+
reasoningContent: "reasoning_content",
|
|
1721
1734
|
toolCalls: "tool_calls",
|
|
1722
1735
|
});
|
|
1723
1736
|
});
|
|
@@ -2707,6 +2720,7 @@ export const MessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
2707
2720
|
z.ZodTypeDef,
|
|
2708
2721
|
unknown
|
|
2709
2722
|
> = z.object({
|
|
2723
|
+
reasoning_content: z.string().optional(),
|
|
2710
2724
|
content: z.nullable(
|
|
2711
2725
|
z.union([
|
|
2712
2726
|
z.string(),
|
|
@@ -2729,11 +2743,13 @@ export const MessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
2729
2743
|
tool_calls: z.array(z.lazy(() => MessagesToolCalls$inboundSchema)).optional(),
|
|
2730
2744
|
}).transform((v) => {
|
|
2731
2745
|
return remap$(v, {
|
|
2746
|
+
"reasoning_content": "reasoningContent",
|
|
2732
2747
|
"tool_calls": "toolCalls",
|
|
2733
2748
|
});
|
|
2734
2749
|
});
|
|
2735
2750
|
/** @internal */
|
|
2736
2751
|
export type MessagesAssistantMessage$Outbound = {
|
|
2752
|
+
reasoning_content?: string | undefined;
|
|
2737
2753
|
content?:
|
|
2738
2754
|
| string
|
|
2739
2755
|
| Array<
|
|
@@ -2757,6 +2773,7 @@ export const MessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2757
2773
|
z.ZodTypeDef,
|
|
2758
2774
|
MessagesAssistantMessage
|
|
2759
2775
|
> = z.object({
|
|
2776
|
+
reasoningContent: z.string().optional(),
|
|
2760
2777
|
content: z.nullable(
|
|
2761
2778
|
z.union([
|
|
2762
2779
|
z.string(),
|
|
@@ -2779,6 +2796,7 @@ export const MessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2779
2796
|
toolCalls: z.array(z.lazy(() => MessagesToolCalls$outboundSchema)).optional(),
|
|
2780
2797
|
}).transform((v) => {
|
|
2781
2798
|
return remap$(v, {
|
|
2799
|
+
reasoningContent: "reasoning_content",
|
|
2782
2800
|
toolCalls: "tool_calls",
|
|
2783
2801
|
});
|
|
2784
2802
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
export type ModelMetadata = {
|
|
24
24
|
allowedPassthroughParameters?: Array<string> | null | undefined;
|
|
25
25
|
autorouter?: AutoRouterConfig | undefined;
|
|
26
|
+
batchEndpoints?: Array<string> | null | undefined;
|
|
26
27
|
cachedImageInputCost?: number | undefined;
|
|
27
28
|
cachedInputCost?: number | undefined;
|
|
28
29
|
chainOfThought?: boolean | undefined;
|
|
@@ -102,6 +103,7 @@ export type ModelMetadata = {
|
|
|
102
103
|
supportsJsonModeResponseFormat?: boolean | undefined;
|
|
103
104
|
supportsJsonSchemaResponseFormat?: boolean | undefined;
|
|
104
105
|
supportsMaxCompletionTokens?: boolean | undefined;
|
|
106
|
+
supportsOpenaiRealtimeApi?: boolean | undefined;
|
|
105
107
|
supportsOpenaiSDK?: boolean | undefined;
|
|
106
108
|
supportsParallelToolCalls?: boolean | undefined;
|
|
107
109
|
supportsPdfInput?: boolean | undefined;
|
|
@@ -125,6 +127,10 @@ export type ModelMetadata = {
|
|
|
125
127
|
supportsText?: boolean | undefined;
|
|
126
128
|
supportsTextInput?: boolean | undefined;
|
|
127
129
|
supportsTextOutput?: boolean | undefined;
|
|
130
|
+
supportsThinkingLevel?: boolean | undefined;
|
|
131
|
+
supportsThinkingLevelLow?: boolean | undefined;
|
|
132
|
+
supportsThinkingLevelMedium?: boolean | undefined;
|
|
133
|
+
supportsThinkingLevelMinimal?: boolean | undefined;
|
|
128
134
|
supportsToolCalling?: boolean | undefined;
|
|
129
135
|
supportsToolChoice?: boolean | undefined;
|
|
130
136
|
supportsUrlContext?: boolean | undefined;
|
|
@@ -146,6 +152,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
146
152
|
> = z.object({
|
|
147
153
|
allowed_passthrough_parameters: z.nullable(z.array(z.string())).optional(),
|
|
148
154
|
autorouter: AutoRouterConfig$inboundSchema.optional(),
|
|
155
|
+
batch_endpoints: z.nullable(z.array(z.string())).optional(),
|
|
149
156
|
cached_image_input_cost: z.number().optional(),
|
|
150
157
|
cached_input_cost: z.number().optional(),
|
|
151
158
|
chain_of_thought: z.boolean().optional(),
|
|
@@ -225,6 +232,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
225
232
|
supports_json_mode_response_format: z.boolean().optional(),
|
|
226
233
|
supports_json_schema_response_format: z.boolean().optional(),
|
|
227
234
|
supports_max_completion_tokens: z.boolean().optional(),
|
|
235
|
+
supports_openai_realtime_api: z.boolean().optional(),
|
|
228
236
|
supports_openai_sdk: z.boolean().optional(),
|
|
229
237
|
supports_parallel_tool_calls: z.boolean().optional(),
|
|
230
238
|
supports_pdf_input: z.boolean().optional(),
|
|
@@ -248,6 +256,10 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
248
256
|
supports_text: z.boolean().optional(),
|
|
249
257
|
supports_text_input: z.boolean().optional(),
|
|
250
258
|
supports_text_output: z.boolean().optional(),
|
|
259
|
+
supports_thinking_level: z.boolean().optional(),
|
|
260
|
+
supports_thinking_level_low: z.boolean().optional(),
|
|
261
|
+
supports_thinking_level_medium: z.boolean().optional(),
|
|
262
|
+
supports_thinking_level_minimal: z.boolean().optional(),
|
|
251
263
|
supports_tool_calling: z.boolean().optional(),
|
|
252
264
|
supports_tool_choice: z.boolean().optional(),
|
|
253
265
|
supports_url_context: z.boolean().optional(),
|
|
@@ -262,6 +274,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
262
274
|
}).transform((v) => {
|
|
263
275
|
return remap$(v, {
|
|
264
276
|
"allowed_passthrough_parameters": "allowedPassthroughParameters",
|
|
277
|
+
"batch_endpoints": "batchEndpoints",
|
|
265
278
|
"cached_image_input_cost": "cachedImageInputCost",
|
|
266
279
|
"cached_input_cost": "cachedInputCost",
|
|
267
280
|
"chain_of_thought": "chainOfThought",
|
|
@@ -341,6 +354,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
341
354
|
"supports_json_mode_response_format": "supportsJsonModeResponseFormat",
|
|
342
355
|
"supports_json_schema_response_format": "supportsJsonSchemaResponseFormat",
|
|
343
356
|
"supports_max_completion_tokens": "supportsMaxCompletionTokens",
|
|
357
|
+
"supports_openai_realtime_api": "supportsOpenaiRealtimeApi",
|
|
344
358
|
"supports_openai_sdk": "supportsOpenaiSDK",
|
|
345
359
|
"supports_parallel_tool_calls": "supportsParallelToolCalls",
|
|
346
360
|
"supports_pdf_input": "supportsPdfInput",
|
|
@@ -364,6 +378,10 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
364
378
|
"supports_text": "supportsText",
|
|
365
379
|
"supports_text_input": "supportsTextInput",
|
|
366
380
|
"supports_text_output": "supportsTextOutput",
|
|
381
|
+
"supports_thinking_level": "supportsThinkingLevel",
|
|
382
|
+
"supports_thinking_level_low": "supportsThinkingLevelLow",
|
|
383
|
+
"supports_thinking_level_medium": "supportsThinkingLevelMedium",
|
|
384
|
+
"supports_thinking_level_minimal": "supportsThinkingLevelMinimal",
|
|
367
385
|
"supports_tool_calling": "supportsToolCalling",
|
|
368
386
|
"supports_tool_choice": "supportsToolChoice",
|
|
369
387
|
"supports_url_context": "supportsUrlContext",
|
|
@@ -381,6 +399,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
381
399
|
export type ModelMetadata$Outbound = {
|
|
382
400
|
allowed_passthrough_parameters?: Array<string> | null | undefined;
|
|
383
401
|
autorouter?: AutoRouterConfig$Outbound | undefined;
|
|
402
|
+
batch_endpoints?: Array<string> | null | undefined;
|
|
384
403
|
cached_image_input_cost?: number | undefined;
|
|
385
404
|
cached_input_cost?: number | undefined;
|
|
386
405
|
chain_of_thought?: boolean | undefined;
|
|
@@ -460,6 +479,7 @@ export type ModelMetadata$Outbound = {
|
|
|
460
479
|
supports_json_mode_response_format?: boolean | undefined;
|
|
461
480
|
supports_json_schema_response_format?: boolean | undefined;
|
|
462
481
|
supports_max_completion_tokens?: boolean | undefined;
|
|
482
|
+
supports_openai_realtime_api?: boolean | undefined;
|
|
463
483
|
supports_openai_sdk?: boolean | undefined;
|
|
464
484
|
supports_parallel_tool_calls?: boolean | undefined;
|
|
465
485
|
supports_pdf_input?: boolean | undefined;
|
|
@@ -483,6 +503,10 @@ export type ModelMetadata$Outbound = {
|
|
|
483
503
|
supports_text?: boolean | undefined;
|
|
484
504
|
supports_text_input?: boolean | undefined;
|
|
485
505
|
supports_text_output?: boolean | undefined;
|
|
506
|
+
supports_thinking_level?: boolean | undefined;
|
|
507
|
+
supports_thinking_level_low?: boolean | undefined;
|
|
508
|
+
supports_thinking_level_medium?: boolean | undefined;
|
|
509
|
+
supports_thinking_level_minimal?: boolean | undefined;
|
|
486
510
|
supports_tool_calling?: boolean | undefined;
|
|
487
511
|
supports_tool_choice?: boolean | undefined;
|
|
488
512
|
supports_url_context?: boolean | undefined;
|
|
@@ -504,6 +528,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
504
528
|
> = z.object({
|
|
505
529
|
allowedPassthroughParameters: z.nullable(z.array(z.string())).optional(),
|
|
506
530
|
autorouter: AutoRouterConfig$outboundSchema.optional(),
|
|
531
|
+
batchEndpoints: z.nullable(z.array(z.string())).optional(),
|
|
507
532
|
cachedImageInputCost: z.number().optional(),
|
|
508
533
|
cachedInputCost: z.number().optional(),
|
|
509
534
|
chainOfThought: z.boolean().optional(),
|
|
@@ -583,6 +608,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
583
608
|
supportsJsonModeResponseFormat: z.boolean().optional(),
|
|
584
609
|
supportsJsonSchemaResponseFormat: z.boolean().optional(),
|
|
585
610
|
supportsMaxCompletionTokens: z.boolean().optional(),
|
|
611
|
+
supportsOpenaiRealtimeApi: z.boolean().optional(),
|
|
586
612
|
supportsOpenaiSDK: z.boolean().optional(),
|
|
587
613
|
supportsParallelToolCalls: z.boolean().optional(),
|
|
588
614
|
supportsPdfInput: z.boolean().optional(),
|
|
@@ -606,6 +632,10 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
606
632
|
supportsText: z.boolean().optional(),
|
|
607
633
|
supportsTextInput: z.boolean().optional(),
|
|
608
634
|
supportsTextOutput: z.boolean().optional(),
|
|
635
|
+
supportsThinkingLevel: z.boolean().optional(),
|
|
636
|
+
supportsThinkingLevelLow: z.boolean().optional(),
|
|
637
|
+
supportsThinkingLevelMedium: z.boolean().optional(),
|
|
638
|
+
supportsThinkingLevelMinimal: z.boolean().optional(),
|
|
609
639
|
supportsToolCalling: z.boolean().optional(),
|
|
610
640
|
supportsToolChoice: z.boolean().optional(),
|
|
611
641
|
supportsUrlContext: z.boolean().optional(),
|
|
@@ -620,6 +650,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
620
650
|
}).transform((v) => {
|
|
621
651
|
return remap$(v, {
|
|
622
652
|
allowedPassthroughParameters: "allowed_passthrough_parameters",
|
|
653
|
+
batchEndpoints: "batch_endpoints",
|
|
623
654
|
cachedImageInputCost: "cached_image_input_cost",
|
|
624
655
|
cachedInputCost: "cached_input_cost",
|
|
625
656
|
chainOfThought: "chain_of_thought",
|
|
@@ -699,6 +730,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
699
730
|
supportsJsonModeResponseFormat: "supports_json_mode_response_format",
|
|
700
731
|
supportsJsonSchemaResponseFormat: "supports_json_schema_response_format",
|
|
701
732
|
supportsMaxCompletionTokens: "supports_max_completion_tokens",
|
|
733
|
+
supportsOpenaiRealtimeApi: "supports_openai_realtime_api",
|
|
702
734
|
supportsOpenaiSDK: "supports_openai_sdk",
|
|
703
735
|
supportsParallelToolCalls: "supports_parallel_tool_calls",
|
|
704
736
|
supportsPdfInput: "supports_pdf_input",
|
|
@@ -722,6 +754,10 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
722
754
|
supportsText: "supports_text",
|
|
723
755
|
supportsTextInput: "supports_text_input",
|
|
724
756
|
supportsTextOutput: "supports_text_output",
|
|
757
|
+
supportsThinkingLevel: "supports_thinking_level",
|
|
758
|
+
supportsThinkingLevelLow: "supports_thinking_level_low",
|
|
759
|
+
supportsThinkingLevelMedium: "supports_thinking_level_medium",
|
|
760
|
+
supportsThinkingLevelMinimal: "supports_thinking_level_minimal",
|
|
725
761
|
supportsToolCalling: "supports_tool_calling",
|
|
726
762
|
supportsToolChoice: "supports_tool_choice",
|
|
727
763
|
supportsUrlContext: "supports_url_context",
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m0nj2b2fw3dxkp8w8k4czpvp"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js";
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
35
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
38
|
*
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
42
42
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
43
43
|
*
|
|
44
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
44
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
45
45
|
*/
|
|
46
46
|
export const InputReasoningEffort = {
|
|
47
47
|
None: "none",
|
|
@@ -50,9 +50,10 @@ export const InputReasoningEffort = {
|
|
|
50
50
|
Medium: "medium",
|
|
51
51
|
High: "high",
|
|
52
52
|
Xhigh: "xhigh",
|
|
53
|
+
Max: "max",
|
|
53
54
|
} as const;
|
|
54
55
|
/**
|
|
55
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
56
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
56
57
|
*
|
|
57
58
|
* @remarks
|
|
58
59
|
*
|
|
@@ -61,7 +62,7 @@ export const InputReasoningEffort = {
|
|
|
61
62
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
62
63
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
63
64
|
*
|
|
64
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
65
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
65
66
|
*/
|
|
66
67
|
export type InputReasoningEffort = ClosedEnum<typeof InputReasoningEffort>;
|
|
67
68
|
|
|
@@ -1134,7 +1135,7 @@ export type Input1 = {
|
|
|
1134
1135
|
*/
|
|
1135
1136
|
responseFormat?: InputResponseFormat | undefined;
|
|
1136
1137
|
/**
|
|
1137
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1138
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1138
1139
|
*
|
|
1139
1140
|
* @remarks
|
|
1140
1141
|
*
|
|
@@ -1143,7 +1144,7 @@ export type Input1 = {
|
|
|
1143
1144
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1144
1145
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1145
1146
|
*
|
|
1146
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1147
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1147
1148
|
*/
|
|
1148
1149
|
reasoningEffort?: InputReasoningEffort | undefined;
|
|
1149
1150
|
/**
|
|
@@ -4911,7 +4912,7 @@ export const RetrieveAnnotationQueueItemResponseBody2$inboundSchema: z.ZodType<
|
|
|
4911
4912
|
z.ZodTypeDef,
|
|
4912
4913
|
unknown
|
|
4913
4914
|
> = z.object({
|
|
4914
|
-
_id: z.string().default("
|
|
4915
|
+
_id: z.string().default("01M0NJ2BRDSP9185DTYZ1BNR6M"),
|
|
4915
4916
|
name: z.string().optional(),
|
|
4916
4917
|
trace_id: z.string(),
|
|
4917
4918
|
duration: z.number().optional(),
|
|
@@ -63,7 +63,7 @@ export type Text = {
|
|
|
63
63
|
export type ResponseFormat = Text | JSONObject | JSONSchema;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
66
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
67
67
|
*
|
|
68
68
|
* @remarks
|
|
69
69
|
*
|
|
@@ -72,7 +72,7 @@ export type ResponseFormat = Text | JSONObject | JSONSchema;
|
|
|
72
72
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
73
73
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
74
74
|
*
|
|
75
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
75
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
76
76
|
*/
|
|
77
77
|
export const ReasoningEffort = {
|
|
78
78
|
None: "none",
|
|
@@ -81,9 +81,10 @@ export const ReasoningEffort = {
|
|
|
81
81
|
Medium: "medium",
|
|
82
82
|
High: "high",
|
|
83
83
|
Xhigh: "xhigh",
|
|
84
|
+
Max: "max",
|
|
84
85
|
} as const;
|
|
85
86
|
/**
|
|
86
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
87
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
87
88
|
*
|
|
88
89
|
* @remarks
|
|
89
90
|
*
|
|
@@ -92,7 +93,7 @@ export const ReasoningEffort = {
|
|
|
92
93
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
93
94
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
94
95
|
*
|
|
95
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
96
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
96
97
|
*/
|
|
97
98
|
export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
|
|
98
99
|
|
|
@@ -344,7 +345,7 @@ export type ParametersT = {
|
|
|
344
345
|
*/
|
|
345
346
|
responseFormat?: Text | JSONObject | JSONSchema | undefined;
|
|
346
347
|
/**
|
|
347
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
348
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
348
349
|
*
|
|
349
350
|
* @remarks
|
|
350
351
|
*
|
|
@@ -353,7 +354,7 @@ export type ParametersT = {
|
|
|
353
354
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
354
355
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
355
356
|
*
|
|
356
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
357
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
357
358
|
*/
|
|
358
359
|
reasoningEffort?: ReasoningEffort | undefined;
|
|
359
360
|
/**
|
|
@@ -533,7 +534,7 @@ export type FallbackModelConfigurationResponseFormat =
|
|
|
533
534
|
| CreateAgentRequestResponseFormatJSONSchema;
|
|
534
535
|
|
|
535
536
|
/**
|
|
536
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
537
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
537
538
|
*
|
|
538
539
|
* @remarks
|
|
539
540
|
*
|
|
@@ -542,7 +543,7 @@ export type FallbackModelConfigurationResponseFormat =
|
|
|
542
543
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
543
544
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
544
545
|
*
|
|
545
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
546
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
546
547
|
*/
|
|
547
548
|
export const FallbackModelConfigurationReasoningEffort = {
|
|
548
549
|
None: "none",
|
|
@@ -551,9 +552,10 @@ export const FallbackModelConfigurationReasoningEffort = {
|
|
|
551
552
|
Medium: "medium",
|
|
552
553
|
High: "high",
|
|
553
554
|
Xhigh: "xhigh",
|
|
555
|
+
Max: "max",
|
|
554
556
|
} as const;
|
|
555
557
|
/**
|
|
556
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
558
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
557
559
|
*
|
|
558
560
|
* @remarks
|
|
559
561
|
*
|
|
@@ -562,7 +564,7 @@ export const FallbackModelConfigurationReasoningEffort = {
|
|
|
562
564
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
563
565
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
564
566
|
*
|
|
565
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
567
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
566
568
|
*/
|
|
567
569
|
export type FallbackModelConfigurationReasoningEffort = ClosedEnum<
|
|
568
570
|
typeof FallbackModelConfigurationReasoningEffort
|
|
@@ -837,7 +839,7 @@ export type FallbackModelConfigurationParameters = {
|
|
|
837
839
|
| CreateAgentRequestResponseFormatJSONSchema
|
|
838
840
|
| undefined;
|
|
839
841
|
/**
|
|
840
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
842
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
841
843
|
*
|
|
842
844
|
* @remarks
|
|
843
845
|
*
|
|
@@ -846,7 +848,7 @@ export type FallbackModelConfigurationParameters = {
|
|
|
846
848
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
847
849
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
848
850
|
*
|
|
849
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
851
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
850
852
|
*/
|
|
851
853
|
reasoningEffort?: FallbackModelConfigurationReasoningEffort | undefined;
|
|
852
854
|
/**
|
|
@@ -1453,7 +1455,7 @@ export type CreateAgentRequestResponseFormat =
|
|
|
1453
1455
|
| CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
|
|
1454
1456
|
|
|
1455
1457
|
/**
|
|
1456
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1458
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1457
1459
|
*
|
|
1458
1460
|
* @remarks
|
|
1459
1461
|
*
|
|
@@ -1462,7 +1464,7 @@ export type CreateAgentRequestResponseFormat =
|
|
|
1462
1464
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1463
1465
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1464
1466
|
*
|
|
1465
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1467
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1466
1468
|
*/
|
|
1467
1469
|
export const CreateAgentRequestReasoningEffort = {
|
|
1468
1470
|
None: "none",
|
|
@@ -1471,9 +1473,10 @@ export const CreateAgentRequestReasoningEffort = {
|
|
|
1471
1473
|
Medium: "medium",
|
|
1472
1474
|
High: "high",
|
|
1473
1475
|
Xhigh: "xhigh",
|
|
1476
|
+
Max: "max",
|
|
1474
1477
|
} as const;
|
|
1475
1478
|
/**
|
|
1476
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1479
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1477
1480
|
*
|
|
1478
1481
|
* @remarks
|
|
1479
1482
|
*
|
|
@@ -1482,7 +1485,7 @@ export const CreateAgentRequestReasoningEffort = {
|
|
|
1482
1485
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1483
1486
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1484
1487
|
*
|
|
1485
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1488
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1486
1489
|
*/
|
|
1487
1490
|
export type CreateAgentRequestReasoningEffort = ClosedEnum<
|
|
1488
1491
|
typeof CreateAgentRequestReasoningEffort
|
|
@@ -1758,7 +1761,7 @@ export type CreateAgentRequestParameters = {
|
|
|
1758
1761
|
| CreateAgentRequestResponseFormatAgentsResponse201JSONSchema
|
|
1759
1762
|
| undefined;
|
|
1760
1763
|
/**
|
|
1761
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1764
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1762
1765
|
*
|
|
1763
1766
|
* @remarks
|
|
1764
1767
|
*
|
|
@@ -1767,7 +1770,7 @@ export type CreateAgentRequestParameters = {
|
|
|
1767
1770
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1768
1771
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1769
1772
|
*
|
|
1770
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1773
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1771
1774
|
*/
|
|
1772
1775
|
reasoningEffort?: CreateAgentRequestReasoningEffort | undefined;
|
|
1773
1776
|
/**
|
|
@@ -1928,7 +1931,7 @@ export type CreateAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
1928
1931
|
| CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema;
|
|
1929
1932
|
|
|
1930
1933
|
/**
|
|
1931
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1934
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1932
1935
|
*
|
|
1933
1936
|
* @remarks
|
|
1934
1937
|
*
|
|
@@ -1937,7 +1940,7 @@ export type CreateAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
1937
1940
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1938
1941
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1939
1942
|
*
|
|
1940
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1943
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1941
1944
|
*/
|
|
1942
1945
|
export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
1943
1946
|
None: "none",
|
|
@@ -1946,9 +1949,10 @@ export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
|
1946
1949
|
Medium: "medium",
|
|
1947
1950
|
High: "high",
|
|
1948
1951
|
Xhigh: "xhigh",
|
|
1952
|
+
Max: "max",
|
|
1949
1953
|
} as const;
|
|
1950
1954
|
/**
|
|
1951
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1955
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1952
1956
|
*
|
|
1953
1957
|
* @remarks
|
|
1954
1958
|
*
|
|
@@ -1957,7 +1961,7 @@ export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
|
1957
1961
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1958
1962
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1959
1963
|
*
|
|
1960
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1964
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1961
1965
|
*/
|
|
1962
1966
|
export type CreateAgentRequestFallbackModelConfigurationReasoningEffort =
|
|
1963
1967
|
ClosedEnum<
|
|
@@ -2240,7 +2244,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2240
2244
|
| CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema
|
|
2241
2245
|
| undefined;
|
|
2242
2246
|
/**
|
|
2243
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
2247
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
2244
2248
|
*
|
|
2245
2249
|
* @remarks
|
|
2246
2250
|
*
|
|
@@ -2249,7 +2253,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2249
2253
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
2250
2254
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
2251
2255
|
*
|
|
2252
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
2256
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
2253
2257
|
*/
|
|
2254
2258
|
reasoningEffort?:
|
|
2255
2259
|
| CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
@@ -151,7 +151,7 @@ export const CreateAnnotationQueueResponseBody$inboundSchema: z.ZodType<
|
|
|
151
151
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
152
152
|
.optional(),
|
|
153
153
|
updated: z.string().datetime({ offset: true }).default(
|
|
154
|
-
"2026-08-
|
|
154
|
+
"2026-08-22T20:19:34.985Z",
|
|
155
155
|
).transform(v => new Date(v)),
|
|
156
156
|
}).transform((v) => {
|
|
157
157
|
return remap$(v, {
|
|
@@ -165,6 +165,10 @@ export type CreateChatCompletionMessagesToolCalls = {
|
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
export type CreateChatCompletionMessagesAssistantMessage = {
|
|
168
|
+
/**
|
|
169
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
170
|
+
*/
|
|
171
|
+
reasoningContent?: string | undefined;
|
|
168
172
|
/**
|
|
169
173
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
170
174
|
*/
|
|
@@ -471,7 +475,7 @@ export type CreateChatCompletionResponseFormat =
|
|
|
471
475
|
| CreateChatCompletionResponseFormatJSONSchema;
|
|
472
476
|
|
|
473
477
|
/**
|
|
474
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
478
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
475
479
|
*
|
|
476
480
|
* @remarks
|
|
477
481
|
*
|
|
@@ -480,7 +484,7 @@ export type CreateChatCompletionResponseFormat =
|
|
|
480
484
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
481
485
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
482
486
|
*
|
|
483
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
487
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
484
488
|
*/
|
|
485
489
|
export const CreateChatCompletionReasoningEffort = {
|
|
486
490
|
None: "none",
|
|
@@ -489,9 +493,10 @@ export const CreateChatCompletionReasoningEffort = {
|
|
|
489
493
|
Medium: "medium",
|
|
490
494
|
High: "high",
|
|
491
495
|
Xhigh: "xhigh",
|
|
496
|
+
Max: "max",
|
|
492
497
|
} as const;
|
|
493
498
|
/**
|
|
494
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
499
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
495
500
|
*
|
|
496
501
|
* @remarks
|
|
497
502
|
*
|
|
@@ -500,7 +505,7 @@ export const CreateChatCompletionReasoningEffort = {
|
|
|
500
505
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
501
506
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
502
507
|
*
|
|
503
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
508
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
504
509
|
*/
|
|
505
510
|
export type CreateChatCompletionReasoningEffort = ClosedEnum<
|
|
506
511
|
typeof CreateChatCompletionReasoningEffort
|
|
@@ -1538,7 +1543,7 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1538
1543
|
| CreateChatCompletionResponseFormatJSONSchema
|
|
1539
1544
|
| undefined;
|
|
1540
1545
|
/**
|
|
1541
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1546
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1542
1547
|
*
|
|
1543
1548
|
* @remarks
|
|
1544
1549
|
*
|
|
@@ -1547,7 +1552,7 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1547
1552
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1548
1553
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1549
1554
|
*
|
|
1550
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1555
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1551
1556
|
*/
|
|
1552
1557
|
reasoningEffort?: CreateChatCompletionReasoningEffort | undefined;
|
|
1553
1558
|
/**
|
|
@@ -2537,6 +2542,7 @@ export function createChatCompletionMessagesToolCallsToJSON(
|
|
|
2537
2542
|
|
|
2538
2543
|
/** @internal */
|
|
2539
2544
|
export type CreateChatCompletionMessagesAssistantMessage$Outbound = {
|
|
2545
|
+
reasoning_content?: string | undefined;
|
|
2540
2546
|
content?:
|
|
2541
2547
|
| string
|
|
2542
2548
|
| Array<
|
|
@@ -2563,6 +2569,7 @@ export const CreateChatCompletionMessagesAssistantMessage$outboundSchema:
|
|
|
2563
2569
|
z.ZodTypeDef,
|
|
2564
2570
|
CreateChatCompletionMessagesAssistantMessage
|
|
2565
2571
|
> = z.object({
|
|
2572
|
+
reasoningContent: z.string().optional(),
|
|
2566
2573
|
content: z.nullable(
|
|
2567
2574
|
z.union([
|
|
2568
2575
|
z.string(),
|
|
@@ -2589,6 +2596,7 @@ export const CreateChatCompletionMessagesAssistantMessage$outboundSchema:
|
|
|
2589
2596
|
).optional(),
|
|
2590
2597
|
}).transform((v) => {
|
|
2591
2598
|
return remap$(v, {
|
|
2599
|
+
reasoningContent: "reasoning_content",
|
|
2592
2600
|
toolCalls: "tool_calls",
|
|
2593
2601
|
});
|
|
2594
2602
|
});
|