@azure/ai-projects 2.3.1 → 2.5.0
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/README.md +17 -5
- package/dist/browser/api/agents/index.d.ts +2 -2
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts +3 -1
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +13 -55
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +2 -0
- package/dist/browser/api/agents/options.d.ts.map +1 -1
- package/dist/browser/api/agents/options.js.map +1 -1
- package/dist/browser/api/beta/agents/operations.d.ts +12 -11
- package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/operations.js +25 -11
- package/dist/browser/api/beta/agents/operations.js.map +1 -1
- package/dist/browser/api/beta/agents/options.d.ts +2 -0
- package/dist/browser/api/beta/agents/options.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/options.js.map +1 -1
- package/dist/browser/api/beta/datasets/operations.d.ts +4 -3
- package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/datasets/operations.js +20 -6
- package/dist/browser/api/beta/datasets/operations.js.map +1 -1
- package/dist/browser/api/beta/datasets/options.d.ts +2 -0
- package/dist/browser/api/beta/datasets/options.d.ts.map +1 -1
- package/dist/browser/api/beta/datasets/options.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.d.ts +4 -3
- package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.js +20 -6
- package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluators/options.d.ts +2 -0
- package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/options.js.map +1 -1
- package/dist/browser/api/beta/models/operations.d.ts +1 -1
- package/dist/browser/api/beta/models/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/models/operations.js +1 -1
- package/dist/browser/api/beta/models/operations.js.map +1 -1
- package/dist/browser/api/beta/routines/operations.d.ts +3 -3
- package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/operations.js +21 -23
- package/dist/browser/api/beta/routines/operations.js.map +1 -1
- package/dist/browser/api/beta/routines/options.d.ts +20 -14
- package/dist/browser/api/beta/routines/options.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/options.js.map +1 -1
- package/dist/browser/classic/agents/index.d.ts +3 -1
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js +2 -1
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/agents/index.d.ts +6 -5
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/datasets/index.d.ts +3 -2
- package/dist/browser/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/datasets/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.d.ts +3 -2
- package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/index.d.ts +4 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +235 -99
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +320 -81
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +83 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/tracing/agentTracing.d.ts +16 -0
- package/dist/browser/tracing/agentTracing.d.ts.map +1 -0
- package/dist/browser/tracing/agentTracing.js +61 -0
- package/dist/browser/tracing/agentTracing.js.map +1 -0
- package/dist/browser/tracing/configuration.d.ts.map +1 -1
- package/dist/browser/tracing/configuration.js +7 -4
- package/dist/browser/tracing/configuration.js.map +1 -1
- package/dist/commonjs/api/agents/index.d.ts +2 -2
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js +2 -0
- package/dist/commonjs/api/agents/index.js.map +2 -2
- package/dist/commonjs/api/agents/operations.d.ts +3 -1
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +14 -63
- package/dist/commonjs/api/agents/operations.js.map +2 -2
- package/dist/commonjs/api/agents/options.d.ts +2 -0
- package/dist/commonjs/api/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/agents/options.js.map +1 -1
- package/dist/commonjs/api/beta/agents/operations.d.ts +12 -11
- package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/operations.js +25 -9
- package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
- package/dist/commonjs/api/beta/agents/options.d.ts +2 -0
- package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/options.js.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.d.ts +4 -3
- package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.js +21 -5
- package/dist/commonjs/api/beta/datasets/operations.js.map +2 -2
- package/dist/commonjs/api/beta/datasets/options.d.ts +2 -0
- package/dist/commonjs/api/beta/datasets/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/datasets/options.js.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +4 -3
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.js +22 -6
- package/dist/commonjs/api/beta/evaluators/operations.js.map +2 -2
- package/dist/commonjs/api/beta/evaluators/options.d.ts +2 -0
- package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/options.js.map +1 -1
- package/dist/commonjs/api/beta/models/operations.d.ts +1 -1
- package/dist/commonjs/api/beta/models/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/models/operations.js.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.d.ts +3 -3
- package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.js +21 -23
- package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
- package/dist/commonjs/api/beta/routines/options.d.ts +20 -14
- package/dist/commonjs/api/beta/routines/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/options.js.map +1 -1
- package/dist/commonjs/classic/agents/index.d.ts +3 -1
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +1 -0
- package/dist/commonjs/classic/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/agents/index.d.ts +6 -5
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/datasets/index.d.ts +3 -2
- package/dist/commonjs/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/datasets/index.js.map +2 -2
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.d.ts +3 -2
- package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.js.map +2 -2
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/index.d.ts +4 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +235 -99
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +394 -169
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +61 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/commonjs/tracing/agentTracing.d.ts +16 -0
- package/dist/commonjs/tracing/agentTracing.d.ts.map +1 -0
- package/dist/commonjs/tracing/agentTracing.js +74 -0
- package/dist/commonjs/tracing/agentTracing.js.map +7 -0
- package/dist/commonjs/tracing/configuration.d.ts.map +1 -1
- package/dist/commonjs/tracing/configuration.js +13 -3
- package/dist/commonjs/tracing/configuration.js.map +2 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/agents/index.d.ts +2 -2
- package/dist/esm/api/agents/index.d.ts.map +1 -1
- package/dist/esm/api/agents/index.js +1 -1
- package/dist/esm/api/agents/index.js.map +1 -1
- package/dist/esm/api/agents/operations.d.ts +3 -1
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +13 -55
- package/dist/esm/api/agents/operations.js.map +1 -1
- package/dist/esm/api/agents/options.d.ts +2 -0
- package/dist/esm/api/agents/options.d.ts.map +1 -1
- package/dist/esm/api/agents/options.js.map +1 -1
- package/dist/esm/api/beta/agents/operations.d.ts +12 -11
- package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/operations.js +25 -11
- package/dist/esm/api/beta/agents/operations.js.map +1 -1
- package/dist/esm/api/beta/agents/options.d.ts +2 -0
- package/dist/esm/api/beta/agents/options.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/options.js.map +1 -1
- package/dist/esm/api/beta/datasets/operations.d.ts +4 -3
- package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/datasets/operations.js +20 -6
- package/dist/esm/api/beta/datasets/operations.js.map +1 -1
- package/dist/esm/api/beta/datasets/options.d.ts +2 -0
- package/dist/esm/api/beta/datasets/options.d.ts.map +1 -1
- package/dist/esm/api/beta/datasets/options.js.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.d.ts +4 -3
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.js +20 -6
- package/dist/esm/api/beta/evaluators/operations.js.map +1 -1
- package/dist/esm/api/beta/evaluators/options.d.ts +2 -0
- package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/options.js.map +1 -1
- package/dist/esm/api/beta/models/operations.d.ts +1 -1
- package/dist/esm/api/beta/models/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/models/operations.js +1 -1
- package/dist/esm/api/beta/models/operations.js.map +1 -1
- package/dist/esm/api/beta/routines/operations.d.ts +3 -3
- package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/operations.js +21 -23
- package/dist/esm/api/beta/routines/operations.js.map +1 -1
- package/dist/esm/api/beta/routines/options.d.ts +20 -14
- package/dist/esm/api/beta/routines/options.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/options.js.map +1 -1
- package/dist/esm/classic/agents/index.d.ts +3 -1
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +2 -1
- package/dist/esm/classic/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/agents/index.d.ts +6 -5
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/datasets/index.d.ts +3 -2
- package/dist/esm/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/datasets/index.js.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.d.ts +3 -2
- package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.js.map +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.d.ts +4 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +235 -99
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +320 -81
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +83 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/tracing/agentTracing.d.ts +16 -0
- package/dist/esm/tracing/agentTracing.d.ts.map +1 -0
- package/dist/esm/tracing/agentTracing.js +61 -0
- package/dist/esm/tracing/agentTracing.js.map +1 -0
- package/dist/esm/tracing/configuration.d.ts.map +1 -1
- package/dist/esm/tracing/configuration.js +7 -4
- package/dist/esm/tracing/configuration.js.map +1 -1
- package/dist/react-native/api/agents/index.d.ts +2 -2
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts +3 -1
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +13 -55
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +2 -0
- package/dist/react-native/api/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/agents/options.js.map +1 -1
- package/dist/react-native/api/beta/agents/operations.d.ts +12 -11
- package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/operations.js +25 -11
- package/dist/react-native/api/beta/agents/operations.js.map +1 -1
- package/dist/react-native/api/beta/agents/options.d.ts +2 -0
- package/dist/react-native/api/beta/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/options.js.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.d.ts +4 -3
- package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.js +20 -6
- package/dist/react-native/api/beta/datasets/operations.js.map +1 -1
- package/dist/react-native/api/beta/datasets/options.d.ts +2 -0
- package/dist/react-native/api/beta/datasets/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/datasets/options.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.d.ts +4 -3
- package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.js +20 -6
- package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/options.d.ts +2 -0
- package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/options.js.map +1 -1
- package/dist/react-native/api/beta/models/operations.d.ts +1 -1
- package/dist/react-native/api/beta/models/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/models/operations.js +1 -1
- package/dist/react-native/api/beta/models/operations.js.map +1 -1
- package/dist/react-native/api/beta/routines/operations.d.ts +3 -3
- package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/operations.js +21 -23
- package/dist/react-native/api/beta/routines/operations.js.map +1 -1
- package/dist/react-native/api/beta/routines/options.d.ts +20 -14
- package/dist/react-native/api/beta/routines/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/options.js.map +1 -1
- package/dist/react-native/classic/agents/index.d.ts +3 -1
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js +2 -1
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/agents/index.d.ts +6 -5
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/datasets/index.d.ts +3 -2
- package/dist/react-native/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/datasets/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.d.ts +3 -2
- package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/index.d.ts +4 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +235 -99
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +320 -81
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js +83 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/tracing/agentTracing.d.ts +16 -0
- package/dist/react-native/tracing/agentTracing.d.ts.map +1 -0
- package/dist/react-native/tracing/agentTracing.js +61 -0
- package/dist/react-native/tracing/agentTracing.js.map +1 -0
- package/dist/react-native/tracing/configuration.d.ts.map +1 -1
- package/dist/react-native/tracing/configuration.js +7 -4
- package/dist/react-native/tracing/configuration.js.map +1 -1
- package/package.json +9 -13
|
@@ -8,6 +8,7 @@ export function agentDeserializer(item) {
|
|
|
8
8
|
id: item["id"],
|
|
9
9
|
name: item["name"],
|
|
10
10
|
state: item["state"],
|
|
11
|
+
state_source: item["state_source"],
|
|
11
12
|
versions: _agentVersionsDeserializer(item["versions"]),
|
|
12
13
|
agent_endpoint: !item["agent_endpoint"]
|
|
13
14
|
? item["agent_endpoint"]
|
|
@@ -207,6 +208,8 @@ export function toolUnionSerializer(item) {
|
|
|
207
208
|
return functionToolSerializer(item);
|
|
208
209
|
case "computer_use_preview":
|
|
209
210
|
return computerUsePreviewToolSerializer(item);
|
|
211
|
+
case "programmatic_tool_calling":
|
|
212
|
+
return programmaticToolCallingParamSerializer(item);
|
|
210
213
|
case "image_generation":
|
|
211
214
|
return imageGenToolSerializer(item);
|
|
212
215
|
case "local_shell":
|
|
@@ -269,6 +272,8 @@ export function toolUnionDeserializer(item) {
|
|
|
269
272
|
return functionToolDeserializer(item);
|
|
270
273
|
case "computer_use_preview":
|
|
271
274
|
return computerUsePreviewToolDeserializer(item);
|
|
275
|
+
case "programmatic_tool_calling":
|
|
276
|
+
return programmaticToolCallingParamDeserializer(item);
|
|
272
277
|
case "image_generation":
|
|
273
278
|
return imageGenToolDeserializer(item);
|
|
274
279
|
case "local_shell":
|
|
@@ -943,6 +948,11 @@ export function memorySearchOptionsDeserializer(item) {
|
|
|
943
948
|
export function codeInterpreterToolSerializer(item) {
|
|
944
949
|
return {
|
|
945
950
|
type: item["type"],
|
|
951
|
+
allowed_callers: !item["allowed_callers"]
|
|
952
|
+
? item["allowed_callers"]
|
|
953
|
+
: item["allowed_callers"].map((p) => {
|
|
954
|
+
return p;
|
|
955
|
+
}),
|
|
946
956
|
name: item["name"],
|
|
947
957
|
description: item["description"],
|
|
948
958
|
tool_configs: !item["tool_configs"]
|
|
@@ -956,6 +966,11 @@ export function codeInterpreterToolSerializer(item) {
|
|
|
956
966
|
export function codeInterpreterToolDeserializer(item) {
|
|
957
967
|
return {
|
|
958
968
|
type: item["type"],
|
|
969
|
+
allowed_callers: !item["allowed_callers"]
|
|
970
|
+
? item["allowed_callers"]
|
|
971
|
+
: item["allowed_callers"].map((p1) => {
|
|
972
|
+
return p1;
|
|
973
|
+
}),
|
|
959
974
|
name: item["name"],
|
|
960
975
|
description: item["description"],
|
|
961
976
|
tool_configs: !item["tool_configs"]
|
|
@@ -1080,8 +1095,14 @@ export function functionToolSerializer(item) {
|
|
|
1080
1095
|
name: item["name"],
|
|
1081
1096
|
description: item["description"],
|
|
1082
1097
|
parameters: item["parameters"],
|
|
1098
|
+
output_schema: item["output_schema"],
|
|
1083
1099
|
strict: item["strict"],
|
|
1084
1100
|
defer_loading: item["defer_loading"],
|
|
1101
|
+
allowed_callers: !item["allowed_callers"]
|
|
1102
|
+
? item["allowed_callers"]
|
|
1103
|
+
: item["allowed_callers"].map((p) => {
|
|
1104
|
+
return p;
|
|
1105
|
+
}),
|
|
1085
1106
|
};
|
|
1086
1107
|
}
|
|
1087
1108
|
export function functionToolDeserializer(item) {
|
|
@@ -1090,8 +1111,16 @@ export function functionToolDeserializer(item) {
|
|
|
1090
1111
|
name: item["name"],
|
|
1091
1112
|
description: item["description"],
|
|
1092
1113
|
parameters: item["parameters"],
|
|
1114
|
+
output_schema: !item["output_schema"]
|
|
1115
|
+
? item["output_schema"]
|
|
1116
|
+
: Object.fromEntries(Object.entries(item["output_schema"]).map(([k1, p1]) => [k1, p1])),
|
|
1093
1117
|
strict: item["strict"],
|
|
1094
1118
|
defer_loading: item["defer_loading"],
|
|
1119
|
+
allowed_callers: !item["allowed_callers"]
|
|
1120
|
+
? item["allowed_callers"]
|
|
1121
|
+
: item["allowed_callers"].map((p1) => {
|
|
1122
|
+
return p1;
|
|
1123
|
+
}),
|
|
1095
1124
|
};
|
|
1096
1125
|
}
|
|
1097
1126
|
export function fileSearchToolSerializer(item) {
|
|
@@ -1328,6 +1357,11 @@ export function mcpToolSerializer(item) {
|
|
|
1328
1357
|
allowed_tools: !item["allowed_tools"]
|
|
1329
1358
|
? item["allowed_tools"]
|
|
1330
1359
|
: _mcpToolAllowedToolsSerializer(item["allowed_tools"]),
|
|
1360
|
+
allowed_callers: !item["allowed_callers"]
|
|
1361
|
+
? item["allowed_callers"]
|
|
1362
|
+
: item["allowed_callers"].map((p) => {
|
|
1363
|
+
return p;
|
|
1364
|
+
}),
|
|
1331
1365
|
require_approval: !item["require_approval"]
|
|
1332
1366
|
? item["require_approval"]
|
|
1333
1367
|
: _mcpToolRequireApprovalSerializer(item["require_approval"]),
|
|
@@ -1351,6 +1385,11 @@ export function mcpToolDeserializer(item) {
|
|
|
1351
1385
|
allowed_tools: !item["allowed_tools"]
|
|
1352
1386
|
? item["allowed_tools"]
|
|
1353
1387
|
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
1388
|
+
allowed_callers: !item["allowed_callers"]
|
|
1389
|
+
? item["allowed_callers"]
|
|
1390
|
+
: item["allowed_callers"].map((p1) => {
|
|
1391
|
+
return p1;
|
|
1392
|
+
}),
|
|
1354
1393
|
require_approval: !item["require_approval"]
|
|
1355
1394
|
? item["require_approval"]
|
|
1356
1395
|
: _mcpToolRequireApprovalDeserializer(item["require_approval"]),
|
|
@@ -1454,6 +1493,11 @@ export function functionShellToolParamSerializer(item) {
|
|
|
1454
1493
|
environment: !item["environment"]
|
|
1455
1494
|
? item["environment"]
|
|
1456
1495
|
: functionShellToolParamEnvironmentUnionSerializer(item["environment"]),
|
|
1496
|
+
allowed_callers: !item["allowed_callers"]
|
|
1497
|
+
? item["allowed_callers"]
|
|
1498
|
+
: item["allowed_callers"].map((p) => {
|
|
1499
|
+
return p;
|
|
1500
|
+
}),
|
|
1457
1501
|
name: item["name"],
|
|
1458
1502
|
description: item["description"],
|
|
1459
1503
|
tool_configs: !item["tool_configs"]
|
|
@@ -1467,6 +1511,11 @@ export function functionShellToolParamDeserializer(item) {
|
|
|
1467
1511
|
environment: !item["environment"]
|
|
1468
1512
|
? item["environment"]
|
|
1469
1513
|
: functionShellToolParamEnvironmentUnionDeserializer(item["environment"]),
|
|
1514
|
+
allowed_callers: !item["allowed_callers"]
|
|
1515
|
+
? item["allowed_callers"]
|
|
1516
|
+
: item["allowed_callers"].map((p1) => {
|
|
1517
|
+
return p1;
|
|
1518
|
+
}),
|
|
1470
1519
|
name: item["name"],
|
|
1471
1520
|
description: item["description"],
|
|
1472
1521
|
tool_configs: !item["tool_configs"]
|
|
@@ -1650,6 +1699,11 @@ export function customToolParamSerializer(item) {
|
|
|
1650
1699
|
description: item["description"],
|
|
1651
1700
|
format: !item["format"] ? item["format"] : customToolParamFormatUnionSerializer(item["format"]),
|
|
1652
1701
|
defer_loading: item["defer_loading"],
|
|
1702
|
+
allowed_callers: !item["allowed_callers"]
|
|
1703
|
+
? item["allowed_callers"]
|
|
1704
|
+
: item["allowed_callers"].map((p) => {
|
|
1705
|
+
return p;
|
|
1706
|
+
}),
|
|
1653
1707
|
};
|
|
1654
1708
|
}
|
|
1655
1709
|
export function customToolParamDeserializer(item) {
|
|
@@ -1661,6 +1715,11 @@ export function customToolParamDeserializer(item) {
|
|
|
1661
1715
|
? item["format"]
|
|
1662
1716
|
: customToolParamFormatUnionDeserializer(item["format"]),
|
|
1663
1717
|
defer_loading: item["defer_loading"],
|
|
1718
|
+
allowed_callers: !item["allowed_callers"]
|
|
1719
|
+
? item["allowed_callers"]
|
|
1720
|
+
: item["allowed_callers"].map((p1) => {
|
|
1721
|
+
return p1;
|
|
1722
|
+
}),
|
|
1664
1723
|
};
|
|
1665
1724
|
}
|
|
1666
1725
|
export function customToolParamFormatSerializer(item) {
|
|
@@ -1756,11 +1815,23 @@ export function approximateLocationDeserializer(item) {
|
|
|
1756
1815
|
};
|
|
1757
1816
|
}
|
|
1758
1817
|
export function applyPatchToolParamSerializer(item) {
|
|
1759
|
-
return {
|
|
1818
|
+
return {
|
|
1819
|
+
type: item["type"],
|
|
1820
|
+
allowed_callers: !item["allowed_callers"]
|
|
1821
|
+
? item["allowed_callers"]
|
|
1822
|
+
: item["allowed_callers"].map((p) => {
|
|
1823
|
+
return p;
|
|
1824
|
+
}),
|
|
1825
|
+
};
|
|
1760
1826
|
}
|
|
1761
1827
|
export function applyPatchToolParamDeserializer(item) {
|
|
1762
1828
|
return {
|
|
1763
1829
|
type: item["type"],
|
|
1830
|
+
allowed_callers: !item["allowed_callers"]
|
|
1831
|
+
? item["allowed_callers"]
|
|
1832
|
+
: item["allowed_callers"].map((p1) => {
|
|
1833
|
+
return p1;
|
|
1834
|
+
}),
|
|
1764
1835
|
};
|
|
1765
1836
|
}
|
|
1766
1837
|
export function computerToolSerializer(item) {
|
|
@@ -1812,7 +1883,13 @@ export function functionToolParamSerializer(item) {
|
|
|
1812
1883
|
: emptyModelParamSerializer(item["parameters"]),
|
|
1813
1884
|
strict: item["strict"],
|
|
1814
1885
|
type: item["type"],
|
|
1886
|
+
output_schema: item["output_schema"],
|
|
1815
1887
|
defer_loading: item["defer_loading"],
|
|
1888
|
+
allowed_callers: !item["allowed_callers"]
|
|
1889
|
+
? item["allowed_callers"]
|
|
1890
|
+
: item["allowed_callers"].map((p) => {
|
|
1891
|
+
return p;
|
|
1892
|
+
}),
|
|
1816
1893
|
};
|
|
1817
1894
|
}
|
|
1818
1895
|
export function functionToolParamDeserializer(item) {
|
|
@@ -1824,7 +1901,15 @@ export function functionToolParamDeserializer(item) {
|
|
|
1824
1901
|
: emptyModelParamDeserializer(item["parameters"]),
|
|
1825
1902
|
strict: item["strict"],
|
|
1826
1903
|
type: item["type"],
|
|
1904
|
+
output_schema: !item["output_schema"]
|
|
1905
|
+
? item["output_schema"]
|
|
1906
|
+
: Object.fromEntries(Object.entries(item["output_schema"]).map(([k1, p1]) => [k1, p1])),
|
|
1827
1907
|
defer_loading: item["defer_loading"],
|
|
1908
|
+
allowed_callers: !item["allowed_callers"]
|
|
1909
|
+
? item["allowed_callers"]
|
|
1910
|
+
: item["allowed_callers"].map((p1) => {
|
|
1911
|
+
return p1;
|
|
1912
|
+
}),
|
|
1828
1913
|
};
|
|
1829
1914
|
}
|
|
1830
1915
|
export function emptyModelParamSerializer(_item) {
|
|
@@ -1854,11 +1939,12 @@ export function toolSearchToolParamDeserializer(item) {
|
|
|
1854
1939
|
};
|
|
1855
1940
|
}
|
|
1856
1941
|
export function containerConfigurationSerializer(item) {
|
|
1857
|
-
return { image: item["image"] };
|
|
1942
|
+
return { image: item["image"], registry_connection_id: item["registry_connection_id"] };
|
|
1858
1943
|
}
|
|
1859
1944
|
export function containerConfigurationDeserializer(item) {
|
|
1860
1945
|
return {
|
|
1861
1946
|
image: item["image"],
|
|
1947
|
+
registry_connection_id: item["registry_connection_id"],
|
|
1862
1948
|
};
|
|
1863
1949
|
}
|
|
1864
1950
|
export function protocolVersionRecordArraySerializer(result) {
|
|
@@ -2055,6 +2141,7 @@ export function promptAgentDefinitionDeserializer(item) {
|
|
|
2055
2141
|
}
|
|
2056
2142
|
export function reasoningSerializer(item) {
|
|
2057
2143
|
return {
|
|
2144
|
+
mode: !item["mode"] ? item["mode"] : reasoningModeEnumSerializer(item["mode"]),
|
|
2058
2145
|
effort: item["effort"],
|
|
2059
2146
|
summary: item["summary"],
|
|
2060
2147
|
context: item["context"],
|
|
@@ -2063,6 +2150,7 @@ export function reasoningSerializer(item) {
|
|
|
2063
2150
|
}
|
|
2064
2151
|
export function reasoningDeserializer(item) {
|
|
2065
2152
|
return {
|
|
2153
|
+
mode: !item["mode"] ? item["mode"] : reasoningModeEnumDeserializer(item["mode"]),
|
|
2066
2154
|
effort: item["effort"],
|
|
2067
2155
|
summary: item["summary"],
|
|
2068
2156
|
context: item["context"],
|
|
@@ -2093,6 +2181,8 @@ export function toolChoiceParamUnionSerializer(item) {
|
|
|
2093
2181
|
return toolChoiceMCPSerializer(item);
|
|
2094
2182
|
case "custom":
|
|
2095
2183
|
return toolChoiceCustomSerializer(item);
|
|
2184
|
+
case "programmatic_tool_calling":
|
|
2185
|
+
return specificProgrammaticToolCallingParamSerializer(item);
|
|
2096
2186
|
case "apply_patch":
|
|
2097
2187
|
return specificApplyPatchParamSerializer(item);
|
|
2098
2188
|
case "shell":
|
|
@@ -2127,6 +2217,8 @@ export function toolChoiceParamUnionDeserializer(item) {
|
|
|
2127
2217
|
return toolChoiceMCPDeserializer(item);
|
|
2128
2218
|
case "custom":
|
|
2129
2219
|
return toolChoiceCustomDeserializer(item);
|
|
2220
|
+
case "programmatic_tool_calling":
|
|
2221
|
+
return specificProgrammaticToolCallingParamDeserializer(item);
|
|
2130
2222
|
case "apply_patch":
|
|
2131
2223
|
return specificApplyPatchParamDeserializer(item);
|
|
2132
2224
|
case "shell":
|
|
@@ -2417,6 +2509,7 @@ export function agentIdentityDeserializer(item) {
|
|
|
2417
2509
|
return {
|
|
2418
2510
|
principal_id: item["principal_id"],
|
|
2419
2511
|
client_id: item["client_id"],
|
|
2512
|
+
status: item["status"],
|
|
2420
2513
|
};
|
|
2421
2514
|
}
|
|
2422
2515
|
export function agentBlueprintReferenceSerializer(item) {
|
|
@@ -3486,6 +3579,8 @@ export function toolboxToolUnionSerializer(item) {
|
|
|
3486
3579
|
return fabricIQPreviewToolboxToolSerializer(item);
|
|
3487
3580
|
case "toolbox_search_preview":
|
|
3488
3581
|
return toolboxSearchPreviewToolboxToolSerializer(item);
|
|
3582
|
+
case "toolbox_search":
|
|
3583
|
+
return toolSearchToolboxToolSerializer(item);
|
|
3489
3584
|
default:
|
|
3490
3585
|
return toolboxToolSerializer(item);
|
|
3491
3586
|
}
|
|
@@ -3516,6 +3611,8 @@ export function toolboxToolUnionDeserializer(item) {
|
|
|
3516
3611
|
return fabricIQPreviewToolboxToolDeserializer(item);
|
|
3517
3612
|
case "toolbox_search_preview":
|
|
3518
3613
|
return toolboxSearchPreviewToolboxToolDeserializer(item);
|
|
3614
|
+
case "toolbox_search":
|
|
3615
|
+
return toolSearchToolboxToolDeserializer(item);
|
|
3519
3616
|
default:
|
|
3520
3617
|
return toolboxToolDeserializer(item);
|
|
3521
3618
|
}
|
|
@@ -3528,6 +3625,11 @@ export function codeInterpreterToolboxToolSerializer(item) {
|
|
|
3528
3625
|
tool_configs: !item["tool_configs"]
|
|
3529
3626
|
? item["tool_configs"]
|
|
3530
3627
|
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3628
|
+
allowed_callers: !item["allowed_callers"]
|
|
3629
|
+
? item["allowed_callers"]
|
|
3630
|
+
: item["allowed_callers"].map((p) => {
|
|
3631
|
+
return p;
|
|
3632
|
+
}),
|
|
3531
3633
|
container: !item["container"]
|
|
3532
3634
|
? item["container"]
|
|
3533
3635
|
: _codeInterpreterToolContainerSerializer(item["container"]),
|
|
@@ -3541,6 +3643,11 @@ export function codeInterpreterToolboxToolDeserializer(item) {
|
|
|
3541
3643
|
tool_configs: !item["tool_configs"]
|
|
3542
3644
|
? item["tool_configs"]
|
|
3543
3645
|
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3646
|
+
allowed_callers: !item["allowed_callers"]
|
|
3647
|
+
? item["allowed_callers"]
|
|
3648
|
+
: item["allowed_callers"].map((p1) => {
|
|
3649
|
+
return p1;
|
|
3650
|
+
}),
|
|
3544
3651
|
container: !item["container"]
|
|
3545
3652
|
? item["container"]
|
|
3546
3653
|
: _codeInterpreterToolContainerDeserializer(item["container"]),
|
|
@@ -3640,6 +3747,11 @@ export function mcpToolboxToolSerializer(item) {
|
|
|
3640
3747
|
allowed_tools: !item["allowed_tools"]
|
|
3641
3748
|
? item["allowed_tools"]
|
|
3642
3749
|
: _mcpToolAllowedToolsSerializer(item["allowed_tools"]),
|
|
3750
|
+
allowed_callers: !item["allowed_callers"]
|
|
3751
|
+
? item["allowed_callers"]
|
|
3752
|
+
: item["allowed_callers"].map((p) => {
|
|
3753
|
+
return p;
|
|
3754
|
+
}),
|
|
3643
3755
|
require_approval: !item["require_approval"]
|
|
3644
3756
|
? item["require_approval"]
|
|
3645
3757
|
: _mcpToolRequireApprovalSerializer(item["require_approval"]),
|
|
@@ -3667,6 +3779,11 @@ export function mcpToolboxToolDeserializer(item) {
|
|
|
3667
3779
|
allowed_tools: !item["allowed_tools"]
|
|
3668
3780
|
? item["allowed_tools"]
|
|
3669
3781
|
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
3782
|
+
allowed_callers: !item["allowed_callers"]
|
|
3783
|
+
? item["allowed_callers"]
|
|
3784
|
+
: item["allowed_callers"].map((p1) => {
|
|
3785
|
+
return p1;
|
|
3786
|
+
}),
|
|
3670
3787
|
require_approval: !item["require_approval"]
|
|
3671
3788
|
? item["require_approval"]
|
|
3672
3789
|
: _mcpToolRequireApprovalDeserializer(item["require_approval"]),
|
|
@@ -3862,6 +3979,26 @@ export function toolboxSearchPreviewToolboxToolDeserializer(item) {
|
|
|
3862
3979
|
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3863
3980
|
};
|
|
3864
3981
|
}
|
|
3982
|
+
export function toolSearchToolboxToolSerializer(item) {
|
|
3983
|
+
return {
|
|
3984
|
+
type: item["type"],
|
|
3985
|
+
name: item["name"],
|
|
3986
|
+
description: item["description"],
|
|
3987
|
+
tool_configs: !item["tool_configs"]
|
|
3988
|
+
? item["tool_configs"]
|
|
3989
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3990
|
+
};
|
|
3991
|
+
}
|
|
3992
|
+
export function toolSearchToolboxToolDeserializer(item) {
|
|
3993
|
+
return {
|
|
3994
|
+
type: item["type"],
|
|
3995
|
+
name: item["name"],
|
|
3996
|
+
description: item["description"],
|
|
3997
|
+
tool_configs: !item["tool_configs"]
|
|
3998
|
+
? item["tool_configs"]
|
|
3999
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
4000
|
+
};
|
|
4001
|
+
}
|
|
3865
4002
|
export function toolboxSkillUnionArraySerializer(result) {
|
|
3866
4003
|
return result.map((item) => {
|
|
3867
4004
|
return toolboxSkillUnionSerializer(item);
|
|
@@ -4245,6 +4382,12 @@ export function evaluatorVersionDeserializer(item) {
|
|
|
4245
4382
|
generation_artifacts: !item["generation_artifacts"]
|
|
4246
4383
|
? item["generation_artifacts"]
|
|
4247
4384
|
: evaluatorGenerationArtifactsDeserializer(item["generation_artifacts"]),
|
|
4385
|
+
generation_job_id: item["generation_job_id"],
|
|
4386
|
+
warnings: !item["warnings"]
|
|
4387
|
+
? item["warnings"]
|
|
4388
|
+
: item["warnings"].map((p) => {
|
|
4389
|
+
return p;
|
|
4390
|
+
}),
|
|
4248
4391
|
created_by: item["created_by"],
|
|
4249
4392
|
created_at: item["created_at"],
|
|
4250
4393
|
modified_at: item["modified_at"],
|
|
@@ -4490,6 +4633,9 @@ export function evaluatorGenerationJobDeserializer(item) {
|
|
|
4490
4633
|
usage: !item["usage"]
|
|
4491
4634
|
? item["usage"]
|
|
4492
4635
|
: evaluatorGenerationTokenUsageDeserializer(item["usage"]),
|
|
4636
|
+
input_quality_warnings: !item["input_quality_warnings"]
|
|
4637
|
+
? item["input_quality_warnings"]
|
|
4638
|
+
: rubricGenerationInputQualityWarningArrayDeserializer(item["input_quality_warnings"]),
|
|
4493
4639
|
};
|
|
4494
4640
|
}
|
|
4495
4641
|
export function evaluatorGenerationInputsSerializer(item) {
|
|
@@ -4629,6 +4775,20 @@ export function evaluatorGenerationTokenUsageDeserializer(item) {
|
|
|
4629
4775
|
total_tokens: item["total_tokens"],
|
|
4630
4776
|
};
|
|
4631
4777
|
}
|
|
4778
|
+
export function rubricGenerationInputQualityWarningArrayDeserializer(result) {
|
|
4779
|
+
return result.map((item) => {
|
|
4780
|
+
return rubricGenerationInputQualityWarningDeserializer(item);
|
|
4781
|
+
});
|
|
4782
|
+
}
|
|
4783
|
+
export function rubricGenerationInputQualityWarningDeserializer(item) {
|
|
4784
|
+
return {
|
|
4785
|
+
code: item["code"],
|
|
4786
|
+
severity: item["severity"],
|
|
4787
|
+
message: item["message"],
|
|
4788
|
+
source: item["source"],
|
|
4789
|
+
source_index: item["source_index"],
|
|
4790
|
+
};
|
|
4791
|
+
}
|
|
4632
4792
|
export function _agentsPagedResultEvaluatorGenerationJobDeserializer(item) {
|
|
4633
4793
|
return {
|
|
4634
4794
|
data: evaluatorGenerationJobArrayDeserializer(item["value"] ?? item["data"] ?? []),
|
|
@@ -5121,6 +5281,7 @@ export function memoryStoreOperationUsageDeserializer(item) {
|
|
|
5121
5281
|
export function responseUsageInputTokensDetailsDeserializer(item) {
|
|
5122
5282
|
return {
|
|
5123
5283
|
cached_tokens: item["cached_tokens"],
|
|
5284
|
+
cache_write_tokens: item["cache_write_tokens"],
|
|
5124
5285
|
};
|
|
5125
5286
|
}
|
|
5126
5287
|
export function responseUsageOutputTokensDetailsDeserializer(item) {
|
|
@@ -5575,12 +5736,10 @@ export function routineDeserializer(item) {
|
|
|
5575
5736
|
updated_at: !item["updated_at"] ? item["updated_at"] : new Date(item["updated_at"] * 1000),
|
|
5576
5737
|
};
|
|
5577
5738
|
}
|
|
5578
|
-
export function
|
|
5739
|
+
export function _pagedResultWithNextLinkRoutineDeserializer(item) {
|
|
5579
5740
|
return {
|
|
5580
5741
|
data: routineArrayDeserializer(item["data"]),
|
|
5581
|
-
|
|
5582
|
-
last_id: item["last_id"],
|
|
5583
|
-
has_more: item["has_more"],
|
|
5742
|
+
next_link: item["next_link"],
|
|
5584
5743
|
};
|
|
5585
5744
|
}
|
|
5586
5745
|
export function routineArrayDeserializer(result) {
|
|
@@ -5588,12 +5747,10 @@ export function routineArrayDeserializer(result) {
|
|
|
5588
5747
|
return routineDeserializer(item);
|
|
5589
5748
|
});
|
|
5590
5749
|
}
|
|
5591
|
-
export function
|
|
5750
|
+
export function _pagedResultWithNextLinkRoutineRunDeserializer(item) {
|
|
5592
5751
|
return {
|
|
5593
5752
|
data: routineRunArrayDeserializer(item["data"]),
|
|
5594
|
-
|
|
5595
|
-
last_id: item["last_id"],
|
|
5596
|
-
has_more: item["has_more"],
|
|
5753
|
+
next_link: item["next_link"],
|
|
5597
5754
|
};
|
|
5598
5755
|
}
|
|
5599
5756
|
export function routineRunArrayDeserializer(result) {
|
|
@@ -6196,6 +6353,10 @@ export function dataGenerationJobOptionsUnionSerializer(item) {
|
|
|
6196
6353
|
return simpleQnADataGenerationJobOptionsSerializer(item);
|
|
6197
6354
|
case "traces":
|
|
6198
6355
|
return tracesDataGenerationJobOptionsSerializer(item);
|
|
6356
|
+
case "simulation_seed":
|
|
6357
|
+
return simulationSeedDataGenerationJobOptionsSerializer(item);
|
|
6358
|
+
case "task_generation":
|
|
6359
|
+
return taskGenerationDataGenerationJobOptionsSerializer(item);
|
|
6199
6360
|
case "tool_use":
|
|
6200
6361
|
return toolUseFineTuningDataGenerationJobOptionsSerializer(item);
|
|
6201
6362
|
default:
|
|
@@ -6208,6 +6369,10 @@ export function dataGenerationJobOptionsUnionDeserializer(item) {
|
|
|
6208
6369
|
return simpleQnADataGenerationJobOptionsDeserializer(item);
|
|
6209
6370
|
case "traces":
|
|
6210
6371
|
return tracesDataGenerationJobOptionsDeserializer(item);
|
|
6372
|
+
case "simulation_seed":
|
|
6373
|
+
return simulationSeedDataGenerationJobOptionsDeserializer(item);
|
|
6374
|
+
case "task_generation":
|
|
6375
|
+
return taskGenerationDataGenerationJobOptionsDeserializer(item);
|
|
6211
6376
|
case "tool_use":
|
|
6212
6377
|
return toolUseFineTuningDataGenerationJobOptionsDeserializer(item);
|
|
6213
6378
|
default:
|
|
@@ -6260,9 +6425,51 @@ export function tracesDataGenerationJobOptionsSerializer(item) {
|
|
|
6260
6425
|
model_options: !item["model_options"]
|
|
6261
6426
|
? item["model_options"]
|
|
6262
6427
|
: dataGenerationModelOptionsSerializer(item["model_options"]),
|
|
6428
|
+
redact_private_content: item["redact_private_content"],
|
|
6263
6429
|
};
|
|
6264
6430
|
}
|
|
6265
6431
|
export function tracesDataGenerationJobOptionsDeserializer(item) {
|
|
6432
|
+
return {
|
|
6433
|
+
type: item["type"],
|
|
6434
|
+
max_samples: item["max_samples"],
|
|
6435
|
+
train_split: item["train_split"],
|
|
6436
|
+
model_options: !item["model_options"]
|
|
6437
|
+
? item["model_options"]
|
|
6438
|
+
: dataGenerationModelOptionsDeserializer(item["model_options"]),
|
|
6439
|
+
redact_private_content: item["redact_private_content"],
|
|
6440
|
+
};
|
|
6441
|
+
}
|
|
6442
|
+
export function simulationSeedDataGenerationJobOptionsSerializer(item) {
|
|
6443
|
+
return {
|
|
6444
|
+
type: item["type"],
|
|
6445
|
+
max_samples: item["max_samples"],
|
|
6446
|
+
train_split: item["train_split"],
|
|
6447
|
+
model_options: !item["model_options"]
|
|
6448
|
+
? item["model_options"]
|
|
6449
|
+
: dataGenerationModelOptionsSerializer(item["model_options"]),
|
|
6450
|
+
};
|
|
6451
|
+
}
|
|
6452
|
+
export function simulationSeedDataGenerationJobOptionsDeserializer(item) {
|
|
6453
|
+
return {
|
|
6454
|
+
type: item["type"],
|
|
6455
|
+
max_samples: item["max_samples"],
|
|
6456
|
+
train_split: item["train_split"],
|
|
6457
|
+
model_options: !item["model_options"]
|
|
6458
|
+
? item["model_options"]
|
|
6459
|
+
: dataGenerationModelOptionsDeserializer(item["model_options"]),
|
|
6460
|
+
};
|
|
6461
|
+
}
|
|
6462
|
+
export function taskGenerationDataGenerationJobOptionsSerializer(item) {
|
|
6463
|
+
return {
|
|
6464
|
+
type: item["type"],
|
|
6465
|
+
max_samples: item["max_samples"],
|
|
6466
|
+
train_split: item["train_split"],
|
|
6467
|
+
model_options: !item["model_options"]
|
|
6468
|
+
? item["model_options"]
|
|
6469
|
+
: dataGenerationModelOptionsSerializer(item["model_options"]),
|
|
6470
|
+
};
|
|
6471
|
+
}
|
|
6472
|
+
export function taskGenerationDataGenerationJobOptionsDeserializer(item) {
|
|
6266
6473
|
return {
|
|
6267
6474
|
type: item["type"],
|
|
6268
6475
|
max_samples: item["max_samples"],
|
|
@@ -6375,23 +6582,27 @@ export function dataGenerationJobArrayDeserializer(result) {
|
|
|
6375
6582
|
return dataGenerationJobDeserializer(item);
|
|
6376
6583
|
});
|
|
6377
6584
|
}
|
|
6378
|
-
export function
|
|
6585
|
+
export function agentOptimizationJobSerializer(item) {
|
|
6379
6586
|
return {
|
|
6380
|
-
inputs: !item["inputs"] ? item["inputs"] :
|
|
6587
|
+
inputs: !item["inputs"] ? item["inputs"] : agentOptimizationJobInputsSerializer(item["inputs"]),
|
|
6381
6588
|
};
|
|
6382
6589
|
}
|
|
6383
|
-
export function
|
|
6590
|
+
export function agentOptimizationJobDeserializer(item) {
|
|
6384
6591
|
return {
|
|
6385
6592
|
id: item["id"],
|
|
6386
|
-
inputs: !item["inputs"]
|
|
6387
|
-
|
|
6593
|
+
inputs: !item["inputs"]
|
|
6594
|
+
? item["inputs"]
|
|
6595
|
+
: agentOptimizationJobInputsDeserializer(item["inputs"]),
|
|
6596
|
+
result: !item["result"]
|
|
6597
|
+
? item["result"]
|
|
6598
|
+
: agentOptimizationJobResultDeserializer(item["result"]),
|
|
6388
6599
|
status: item["status"],
|
|
6389
6600
|
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
6390
6601
|
created_at: new Date(item["created_at"] * 1000),
|
|
6391
6602
|
updated_at: new Date(item["updated_at"] * 1000),
|
|
6392
6603
|
progress: !item["progress"]
|
|
6393
6604
|
? item["progress"]
|
|
6394
|
-
:
|
|
6605
|
+
: agentOptimizationJobProgressDeserializer(item["progress"]),
|
|
6395
6606
|
warnings: !item["warnings"]
|
|
6396
6607
|
? item["warnings"]
|
|
6397
6608
|
: item["warnings"].map((p) => {
|
|
@@ -6399,162 +6610,167 @@ export function optimizationJobDeserializer(item) {
|
|
|
6399
6610
|
}),
|
|
6400
6611
|
};
|
|
6401
6612
|
}
|
|
6402
|
-
export function
|
|
6613
|
+
export function agentOptimizationJobInputsSerializer(item) {
|
|
6403
6614
|
return {
|
|
6404
|
-
agent:
|
|
6405
|
-
train_dataset:
|
|
6615
|
+
agent: optimizedAgentIdentifierSerializer(item["agent"]),
|
|
6616
|
+
train_dataset: agentOptimizationDatasetInputUnionSerializer(item["train_dataset"]),
|
|
6406
6617
|
validation_dataset: !item["validation_dataset"]
|
|
6407
6618
|
? item["validation_dataset"]
|
|
6408
|
-
:
|
|
6409
|
-
evaluators:
|
|
6410
|
-
options: !item["options"]
|
|
6619
|
+
: agentOptimizationDatasetInputUnionSerializer(item["validation_dataset"]),
|
|
6620
|
+
evaluators: agentOptimizationEvaluatorRefArraySerializer(item["evaluators"]),
|
|
6621
|
+
options: !item["options"]
|
|
6622
|
+
? item["options"]
|
|
6623
|
+
: agentOptimizationOptionsSerializer(item["options"]),
|
|
6411
6624
|
};
|
|
6412
6625
|
}
|
|
6413
|
-
export function
|
|
6626
|
+
export function agentOptimizationJobInputsDeserializer(item) {
|
|
6414
6627
|
return {
|
|
6415
|
-
agent:
|
|
6416
|
-
train_dataset:
|
|
6628
|
+
agent: optimizedAgentIdentifierDeserializer(item["agent"]),
|
|
6629
|
+
train_dataset: agentOptimizationDatasetInputUnionDeserializer(item["train_dataset"]),
|
|
6417
6630
|
validation_dataset: !item["validation_dataset"]
|
|
6418
6631
|
? item["validation_dataset"]
|
|
6419
|
-
:
|
|
6420
|
-
evaluators:
|
|
6421
|
-
options: !item["options"]
|
|
6632
|
+
: agentOptimizationDatasetInputUnionDeserializer(item["validation_dataset"]),
|
|
6633
|
+
evaluators: agentOptimizationEvaluatorRefArrayDeserializer(item["evaluators"]),
|
|
6634
|
+
options: !item["options"]
|
|
6635
|
+
? item["options"]
|
|
6636
|
+
: agentOptimizationOptionsDeserializer(item["options"]),
|
|
6422
6637
|
};
|
|
6423
6638
|
}
|
|
6424
|
-
export function
|
|
6639
|
+
export function optimizedAgentIdentifierSerializer(item) {
|
|
6425
6640
|
return { agent_name: item["agent_name"], agent_version: item["agent_version"] };
|
|
6426
6641
|
}
|
|
6427
|
-
export function
|
|
6642
|
+
export function optimizedAgentIdentifierDeserializer(item) {
|
|
6428
6643
|
return {
|
|
6429
6644
|
agent_name: item["agent_name"],
|
|
6430
6645
|
agent_version: item["agent_version"],
|
|
6431
6646
|
};
|
|
6432
6647
|
}
|
|
6433
|
-
export function
|
|
6648
|
+
export function agentOptimizationDatasetInputSerializer(item) {
|
|
6434
6649
|
return { type: item["type"] };
|
|
6435
6650
|
}
|
|
6436
|
-
export function
|
|
6651
|
+
export function agentOptimizationDatasetInputDeserializer(item) {
|
|
6437
6652
|
return {
|
|
6438
6653
|
type: item["type"],
|
|
6439
6654
|
};
|
|
6440
6655
|
}
|
|
6441
|
-
export function
|
|
6656
|
+
export function agentOptimizationDatasetInputUnionSerializer(item) {
|
|
6442
6657
|
switch (item.type) {
|
|
6443
6658
|
case "inline":
|
|
6444
|
-
return
|
|
6659
|
+
return agentOptimizationInlineDatasetInputSerializer(item);
|
|
6445
6660
|
case "reference":
|
|
6446
|
-
return
|
|
6661
|
+
return agentOptimizationReferenceDatasetInputSerializer(item);
|
|
6447
6662
|
default:
|
|
6448
|
-
return
|
|
6663
|
+
return agentOptimizationDatasetInputSerializer(item);
|
|
6449
6664
|
}
|
|
6450
6665
|
}
|
|
6451
|
-
export function
|
|
6666
|
+
export function agentOptimizationDatasetInputUnionDeserializer(item) {
|
|
6452
6667
|
switch (item["type"]) {
|
|
6453
6668
|
case "inline":
|
|
6454
|
-
return
|
|
6669
|
+
return agentOptimizationInlineDatasetInputDeserializer(item);
|
|
6455
6670
|
case "reference":
|
|
6456
|
-
return
|
|
6671
|
+
return agentOptimizationReferenceDatasetInputDeserializer(item);
|
|
6457
6672
|
default:
|
|
6458
|
-
return
|
|
6673
|
+
return agentOptimizationDatasetInputDeserializer(item);
|
|
6459
6674
|
}
|
|
6460
6675
|
}
|
|
6461
|
-
export function
|
|
6462
|
-
return { type: item["type"], items:
|
|
6676
|
+
export function agentOptimizationInlineDatasetInputSerializer(item) {
|
|
6677
|
+
return { type: item["type"], items: agentOptimizationDatasetItemArraySerializer(item["items"]) };
|
|
6463
6678
|
}
|
|
6464
|
-
export function
|
|
6679
|
+
export function agentOptimizationInlineDatasetInputDeserializer(item) {
|
|
6465
6680
|
return {
|
|
6466
6681
|
type: item["type"],
|
|
6467
|
-
items:
|
|
6682
|
+
items: agentOptimizationDatasetItemArrayDeserializer(item["items"]),
|
|
6468
6683
|
};
|
|
6469
6684
|
}
|
|
6470
|
-
export function
|
|
6685
|
+
export function agentOptimizationDatasetItemArraySerializer(result) {
|
|
6471
6686
|
return result.map((item) => {
|
|
6472
|
-
return
|
|
6687
|
+
return agentOptimizationDatasetItemSerializer(item);
|
|
6473
6688
|
});
|
|
6474
6689
|
}
|
|
6475
|
-
export function
|
|
6690
|
+
export function agentOptimizationDatasetItemArrayDeserializer(result) {
|
|
6476
6691
|
return result.map((item) => {
|
|
6477
|
-
return
|
|
6692
|
+
return agentOptimizationDatasetItemDeserializer(item);
|
|
6478
6693
|
});
|
|
6479
6694
|
}
|
|
6480
|
-
export function
|
|
6695
|
+
export function agentOptimizationDatasetItemSerializer(item) {
|
|
6481
6696
|
return {
|
|
6482
6697
|
query: item["query"],
|
|
6483
6698
|
ground_truth: item["ground_truth"],
|
|
6484
6699
|
desired_num_turns: item["desired_num_turns"],
|
|
6485
6700
|
criteria: !item["criteria"]
|
|
6486
6701
|
? item["criteria"]
|
|
6487
|
-
:
|
|
6702
|
+
: agentOptimizationDatasetCriterionArraySerializer(item["criteria"]),
|
|
6488
6703
|
};
|
|
6489
6704
|
}
|
|
6490
|
-
export function
|
|
6705
|
+
export function agentOptimizationDatasetItemDeserializer(item) {
|
|
6491
6706
|
return {
|
|
6492
6707
|
query: item["query"],
|
|
6493
6708
|
ground_truth: item["ground_truth"],
|
|
6494
6709
|
desired_num_turns: item["desired_num_turns"],
|
|
6495
6710
|
criteria: !item["criteria"]
|
|
6496
6711
|
? item["criteria"]
|
|
6497
|
-
:
|
|
6712
|
+
: agentOptimizationDatasetCriterionArrayDeserializer(item["criteria"]),
|
|
6498
6713
|
};
|
|
6499
6714
|
}
|
|
6500
|
-
export function
|
|
6715
|
+
export function agentOptimizationDatasetCriterionArraySerializer(result) {
|
|
6501
6716
|
return result.map((item) => {
|
|
6502
|
-
return
|
|
6717
|
+
return agentOptimizationDatasetCriterionSerializer(item);
|
|
6503
6718
|
});
|
|
6504
6719
|
}
|
|
6505
|
-
export function
|
|
6720
|
+
export function agentOptimizationDatasetCriterionArrayDeserializer(result) {
|
|
6506
6721
|
return result.map((item) => {
|
|
6507
|
-
return
|
|
6722
|
+
return agentOptimizationDatasetCriterionDeserializer(item);
|
|
6508
6723
|
});
|
|
6509
6724
|
}
|
|
6510
|
-
export function
|
|
6725
|
+
export function agentOptimizationDatasetCriterionSerializer(item) {
|
|
6511
6726
|
return { name: item["name"], instruction: item["instruction"] };
|
|
6512
6727
|
}
|
|
6513
|
-
export function
|
|
6728
|
+
export function agentOptimizationDatasetCriterionDeserializer(item) {
|
|
6514
6729
|
return {
|
|
6515
6730
|
name: item["name"],
|
|
6516
6731
|
instruction: item["instruction"],
|
|
6517
6732
|
};
|
|
6518
6733
|
}
|
|
6519
|
-
export function
|
|
6734
|
+
export function agentOptimizationReferenceDatasetInputSerializer(item) {
|
|
6520
6735
|
return { type: item["type"], name: item["name"], version: item["version"] };
|
|
6521
6736
|
}
|
|
6522
|
-
export function
|
|
6737
|
+
export function agentOptimizationReferenceDatasetInputDeserializer(item) {
|
|
6523
6738
|
return {
|
|
6524
6739
|
type: item["type"],
|
|
6525
6740
|
name: item["name"],
|
|
6526
6741
|
version: item["version"],
|
|
6527
6742
|
};
|
|
6528
6743
|
}
|
|
6529
|
-
export function
|
|
6744
|
+
export function agentOptimizationEvaluatorRefArraySerializer(result) {
|
|
6530
6745
|
return result.map((item) => {
|
|
6531
|
-
return
|
|
6746
|
+
return agentOptimizationEvaluatorRefSerializer(item);
|
|
6532
6747
|
});
|
|
6533
6748
|
}
|
|
6534
|
-
export function
|
|
6749
|
+
export function agentOptimizationEvaluatorRefArrayDeserializer(result) {
|
|
6535
6750
|
return result.map((item) => {
|
|
6536
|
-
return
|
|
6751
|
+
return agentOptimizationEvaluatorRefDeserializer(item);
|
|
6537
6752
|
});
|
|
6538
6753
|
}
|
|
6539
|
-
export function
|
|
6754
|
+
export function agentOptimizationEvaluatorRefSerializer(item) {
|
|
6540
6755
|
return { name: item["name"], version: item["version"] };
|
|
6541
6756
|
}
|
|
6542
|
-
export function
|
|
6757
|
+
export function agentOptimizationEvaluatorRefDeserializer(item) {
|
|
6543
6758
|
return {
|
|
6544
6759
|
name: item["name"],
|
|
6545
6760
|
version: item["version"],
|
|
6546
6761
|
};
|
|
6547
6762
|
}
|
|
6548
|
-
export function
|
|
6763
|
+
export function agentOptimizationOptionsSerializer(item) {
|
|
6549
6764
|
return {
|
|
6550
6765
|
max_candidates: item["max_candidates"],
|
|
6551
6766
|
optimization_config: item["optimization_config"],
|
|
6552
6767
|
eval_model: item["eval_model"],
|
|
6553
6768
|
optimization_model: item["optimization_model"],
|
|
6554
6769
|
evaluation_level: item["evaluation_level"],
|
|
6770
|
+
max_stalls: item["max_stalls"],
|
|
6555
6771
|
};
|
|
6556
6772
|
}
|
|
6557
|
-
export function
|
|
6773
|
+
export function agentOptimizationOptionsDeserializer(item) {
|
|
6558
6774
|
return {
|
|
6559
6775
|
max_candidates: item["max_candidates"],
|
|
6560
6776
|
optimization_config: !item["optimization_config"]
|
|
@@ -6563,23 +6779,24 @@ export function optimizationOptionsDeserializer(item) {
|
|
|
6563
6779
|
eval_model: item["eval_model"],
|
|
6564
6780
|
optimization_model: item["optimization_model"],
|
|
6565
6781
|
evaluation_level: item["evaluation_level"],
|
|
6782
|
+
max_stalls: item["max_stalls"],
|
|
6566
6783
|
};
|
|
6567
6784
|
}
|
|
6568
|
-
export function
|
|
6785
|
+
export function agentOptimizationJobResultDeserializer(item) {
|
|
6569
6786
|
return {
|
|
6570
6787
|
baseline: item["baseline"],
|
|
6571
6788
|
best: item["best"],
|
|
6572
6789
|
candidates: !item["candidates"]
|
|
6573
6790
|
? item["candidates"]
|
|
6574
|
-
:
|
|
6791
|
+
: agentOptimizationCandidateArrayDeserializer(item["candidates"]),
|
|
6575
6792
|
};
|
|
6576
6793
|
}
|
|
6577
|
-
export function
|
|
6794
|
+
export function agentOptimizationCandidateArrayDeserializer(result) {
|
|
6578
6795
|
return result.map((item) => {
|
|
6579
|
-
return
|
|
6796
|
+
return agentOptimizationCandidateDeserializer(item);
|
|
6580
6797
|
});
|
|
6581
6798
|
}
|
|
6582
|
-
export function
|
|
6799
|
+
export function agentOptimizationCandidateDeserializer(item) {
|
|
6583
6800
|
return {
|
|
6584
6801
|
candidate_id: item["candidate_id"],
|
|
6585
6802
|
name: item["name"],
|
|
@@ -6602,27 +6819,27 @@ export function promotionInfoDeserializer(item) {
|
|
|
6602
6819
|
agent_version: item["agent_version"],
|
|
6603
6820
|
};
|
|
6604
6821
|
}
|
|
6605
|
-
export function
|
|
6822
|
+
export function agentOptimizationJobProgressDeserializer(item) {
|
|
6606
6823
|
return {
|
|
6607
6824
|
candidates_completed: item["candidates_completed"],
|
|
6608
6825
|
best_score: item["best_score"],
|
|
6609
6826
|
elapsed_seconds: item["elapsed_seconds"],
|
|
6610
6827
|
};
|
|
6611
6828
|
}
|
|
6612
|
-
export function
|
|
6829
|
+
export function _agentsPagedResultAgentOptimizationJobListItemDeserializer(item) {
|
|
6613
6830
|
return {
|
|
6614
|
-
data:
|
|
6831
|
+
data: agentOptimizationJobListItemArrayDeserializer(item["data"]),
|
|
6615
6832
|
first_id: item["first_id"],
|
|
6616
6833
|
last_id: item["last_id"],
|
|
6617
6834
|
has_more: item["has_more"],
|
|
6618
6835
|
};
|
|
6619
6836
|
}
|
|
6620
|
-
export function
|
|
6837
|
+
export function agentOptimizationJobListItemArrayDeserializer(result) {
|
|
6621
6838
|
return result.map((item) => {
|
|
6622
|
-
return
|
|
6839
|
+
return agentOptimizationJobListItemDeserializer(item);
|
|
6623
6840
|
});
|
|
6624
6841
|
}
|
|
6625
|
-
export function
|
|
6842
|
+
export function agentOptimizationJobListItemDeserializer(item) {
|
|
6626
6843
|
return {
|
|
6627
6844
|
id: item["id"],
|
|
6628
6845
|
status: item["status"],
|
|
@@ -6631,8 +6848,8 @@ export function optimizationJobListItemDeserializer(item) {
|
|
|
6631
6848
|
updated_at: new Date(item["updated_at"] * 1000),
|
|
6632
6849
|
progress: !item["progress"]
|
|
6633
6850
|
? item["progress"]
|
|
6634
|
-
:
|
|
6635
|
-
agent: !item["agent"] ? item["agent"] :
|
|
6851
|
+
: agentOptimizationJobProgressDeserializer(item["progress"]),
|
|
6852
|
+
agent: !item["agent"] ? item["agent"] : optimizedAgentIdentifierDeserializer(item["agent"]),
|
|
6636
6853
|
};
|
|
6637
6854
|
}
|
|
6638
6855
|
export function updateToolboxRequestSerializer(item) {
|
|
@@ -6647,4 +6864,26 @@ export var KnownApiVersions;
|
|
|
6647
6864
|
/** Microsoft Foundry API version v1. */
|
|
6648
6865
|
KnownApiVersions["v1"] = "v1";
|
|
6649
6866
|
})(KnownApiVersions || (KnownApiVersions = {}));
|
|
6867
|
+
export function programmaticToolCallingParamDeserializer(item) {
|
|
6868
|
+
return {
|
|
6869
|
+
type: item["type"],
|
|
6870
|
+
};
|
|
6871
|
+
}
|
|
6872
|
+
export function programmaticToolCallingParamSerializer(item) {
|
|
6873
|
+
return { type: item["type"] };
|
|
6874
|
+
}
|
|
6875
|
+
export function reasoningModeEnumDeserializer(item) {
|
|
6876
|
+
return item;
|
|
6877
|
+
}
|
|
6878
|
+
export function reasoningModeEnumSerializer(item) {
|
|
6879
|
+
return item;
|
|
6880
|
+
}
|
|
6881
|
+
export function specificProgrammaticToolCallingParamDeserializer(item) {
|
|
6882
|
+
return {
|
|
6883
|
+
type: item["type"],
|
|
6884
|
+
};
|
|
6885
|
+
}
|
|
6886
|
+
export function specificProgrammaticToolCallingParamSerializer(item) {
|
|
6887
|
+
return { type: item["type"] };
|
|
6888
|
+
}
|
|
6650
6889
|
//# sourceMappingURL=models.js.map
|