From 6d128c6d1d2ac6da81ecdb0c54da3e83c02ee15e Mon Sep 17 00:00:00 2001 From: Buildkite CI Date: Mon, 28 Sep 2026 17:52:56 +0000 Subject: [PATCH 1/4] chore: sync generated SDK from upstream @ 0ae914bb Generated upstream and copied here. Do not edit in this repository; changes are overwritten by the next sync. --- .speakeasy/connector-id-or-name-overlay.yaml | 11 + .speakeasy/gen.lock | 4824 +++++++++-------- .speakeasy/gen.yaml | 6 +- .speakeasy/workflow.lock | 16 +- MIGRATION.md | 82 + README-PYPI.md | 60 +- README.md | 60 +- RELEASES.md | 194 + USAGE.md | 10 +- docs/models/activitytaskcompletedresponse.md | 8 +- docs/models/activitytaskfailedresponse.md | 8 +- docs/models/activitytaskretryingresponse.md | 8 +- docs/models/activitytaskstartedresponse.md | 8 +- docs/models/agentscompletionrequesttool.md | 18 - .../agentscompletionstreamrequesttool.md | 18 - ...ityspansevaluationsaggregatepostrequest.md | 10 + docs/models/audiov2voiceslistrequest.md | 13 + docs/models/audiov2voiceslistresponse.md | 8 + docs/models/audiov2voiceslisttype.md | 17 + docs/models/authdata.md | 3 +- docs/models/backendspec.md | 25 + docs/models/builtinconnectors.md | 1 + docs/models/chatcompletionrequest.md | 2 +- docs/models/chatcompletionrequesttool.md | 18 - docs/models/chatcompletionstreamrequest.md | 2 +- .../models/chatcompletionstreamrequesttool.md | 18 - ...connectordeletecredentialsconsumerscope.md | 15 + .../connectordeletecredentialsrequest.md | 10 + ...rdeleteorganizationcredentialsv1request.md | 9 - ...connectordeleteusercredentialsv1request.md | 9 - ...ctordeleteworkspacecredentialsv1request.md | 9 - docs/models/connectorgetv1request.md | 9 +- docs/models/connectorlisttoolsv1request.md | 1 - docs/models/connectorsqueryfilters.md | 1 - docs/models/createpipelineconfigrequest.md | 16 +- docs/models/createpipelinerequest.md | 12 + docs/models/customtaskcanceledresponse.md | 8 +- docs/models/customtaskcompletedresponse.md | 8 +- docs/models/customtaskfailedresponse.md | 8 +- docs/models/customtaskinprogressresponse.md | 8 +- docs/models/customtaskstartedresponse.md | 8 +- docs/models/customtasktimedoutresponse.md | 8 +- docs/models/datasetimportresult.md | 12 + docs/models/datasetimporttask.md | 25 +- ...abilitypipelinespipelineiddeleterequest.md | 8 + docs/models/deploymentkoyebbackendspec.md | 12 - docs/models/deploymentlogtype.md | 19 + .../deploymentmistralcloudbackendspec.md | 13 + .../deploymentmistralcloudbackendspectype.md | 18 + docs/models/deploymentresourceconfig.md | 6 +- docs/models/deploymentresourceconfigupdate.md | 6 +- docs/models/deploymentsecretbinding.md | 11 + docs/models/deploymentworkerspecinput.md | 12 +- .../deploymentworkerspecinputbackendspec.md | 17 - docs/models/deploymentworkerspecresponse.md | 19 +- ...deploymentworkerspecresponsebackendspec.md | 19 - ...indexesindexnamechunkschunkidgetrequest.md | 9 + docs/models/getdeploymentlogsrequest.md | 21 +- ...ervabilitypipelinespipelineidgetrequest.md | 8 + ...gmanagedindexesindexnamegreppostrequest.md | 9 + docs/models/grepmode.md | 14 + docs/models/greprequest.md | 12 + docs/models/importdatasetfromspansrequest.md | 9 + docs/models/keywordretriever.md | 2 +- ...oymentsv1workflowsdeploymentsgetrequest.md | 1 + ...istindexesv1ragmanagedindexesgetrequest.md | 11 +- docs/models/listlibrariesresponse.md | 10 +- ...linesv1observabilitypipelinesgetrequest.md | 11 + .../listrunsv1workflowsrunsgetrequest.md | 38 +- ...viceaccountsv1serviceaccountsgetrequest.md | 14 +- docs/models/manageddeploymentresponse.md | 4 +- docs/models/managedindexresponse.md | 1 + ...agedindexesindexnamenavigatepostrequest.md | 9 + docs/models/navigaterequest.md | 13 + docs/models/navigationchunkresponse.md | 19 + docs/models/navigationdirection.md | 14 + docs/models/navigationresponse.md | 10 + docs/models/nearestneighbourretriever.md | 3 +- docs/models/observabilityerrorcode.md | 2 + docs/models/otelfielddefinition.md | 17 +- docs/models/paginatedresultpipeline.md | 11 + docs/models/pipeline.md | 20 + docs/models/pipelineconfig.md | 5 +- docs/models/pipelinesresponse.md | 8 + ...etsdatasetidimportsfromspanspostrequest.md | 9 + docs/models/principaltype.md | 19 + ...gmanagedindexesindexnamereadpostrequest.md | 9 + docs/models/readrequest.md | 12 + docs/models/rrfretriever.md | 15 + docs/models/rrfretrieverfilter.md | 41 + ...{retriever.md => rrfretrieverretriever.md} | 2 +- docs/models/searchrequest.md | 6 +- docs/models/searchrequestretriever.md | 23 + docs/models/sortorder.md | 16 + docs/models/spandatasetmapping.md | 9 + docs/models/spandatasetmappingcontract.md | 15 + docs/models/spandatasetsourcenamespace.md | 16 + docs/models/spandatasetsourcereference.md | 9 + docs/models/telemetryspanreference.md | 11 + ...loymentsdeploymentidunhardenpostrequest.md | 9 + docs/models/updatepipelineconfigrequest.md | 16 +- docs/models/updatepipelinerequest.md | 12 + ...ervabilitypipelinespipelineidputrequest.md | 9 + docs/models/usageinfodollardefs.md | 1 + docs/models/usersapigetidentitysecurity.md | 3 +- .../usersapilistorganizationssecurity.md | 3 +- docs/models/usersapilistworkspacessecurity.md | 3 +- docs/models/voicegender.md | 15 + docs/models/voicelistpage.md | 9 + .../workflowexecutioncanceledresponse.md | 8 +- .../workflowexecutioncompletedresponse.md | 8 +- ...workflowexecutioncontinuedasnewresponse.md | 8 +- .../models/workflowexecutionfailedresponse.md | 8 +- .../workflowexecutionstartedresponse.md | 8 +- docs/models/workflowsworkerspecupdate.md | 12 +- .../workflowsworkerspecupdatebackendspec.md | 17 - docs/models/workflowtaskfailedresponse.md | 8 +- docs/models/workflowtasktimedoutresponse.md | 8 +- docs/sdks/agents/README.md | 2 +- docs/sdks/betaagents/README.md | 8 +- docs/sdks/chat/README.md | 6 +- docs/sdks/connectors/README.md | 129 +- docs/sdks/conversations/README.md | 8 +- docs/sdks/datasets/README.md | 60 + docs/sdks/deployments/README.md | 64 +- docs/sdks/documents/README.md | 4 +- docs/sdks/evaluations/README.md | 285 +- docs/sdks/files/README.md | 2 +- docs/sdks/fim/README.md | 2 +- docs/sdks/libraries/README.md | 2 +- docs/sdks/managedindexes/README.md | 202 +- docs/sdks/runs/README.md | 40 +- docs/sdks/serviceaccounts/README.md | 5 + docs/sdks/spans/README.md | 52 + docs/sdks/transcriptions/README.md | 2 +- docs/sdks/voices/README.md | 53 +- .../mistral/classifier/async_classifier.py | 2 +- .../jobs/async_jobs_ocr_batch_annotation.py | 2 +- examples/mistral/mcp_servers/sse_server.py | 6 +- examples/mistral/mcp_servers/stdio_server.py | 6 +- packages/azure/.speakeasy/gen.lock | 134 +- packages/azure/.speakeasy/gen.yaml | 1 + packages/azure/README-PYPI.md | 9 +- packages/azure/README.md | 9 +- packages/azure/pyproject.toml | 3 +- .../mistralai/azure/client/_hooks/sdkhooks.py | 2 +- .../mistralai/azure/client/_hooks/types.py | 16 +- .../src/mistralai/azure/client/_version.py | 4 +- .../src/mistralai/azure/client/basesdk.py | 2 +- .../azure/src/mistralai/azure/client/chat.py | 102 +- .../client/errors/httpvalidationerror.py | 2 +- .../azure/client/errors/mistralazureerror.py | 2 +- .../client/errors/responsevalidationerror.py | 2 +- .../mistralai/azure/client/errors/sdkerror.py | 2 +- .../src/mistralai/azure/client/httpclient.py | 2 +- .../azure/client/models/customconnector.py | 4 +- .../azure/src/mistralai/azure/client/ocr.py | 8 +- .../azure/src/mistralai/azure/client/sdk.py | 6 +- .../mistralai/azure/client/types/__init__.py | 3 + .../azure/client/types/base64fileinput.py | 43 + .../mistralai/azure/client/utils/__init__.py | 4 +- .../mistralai/azure/client/utils/datetimes.py | 16 +- .../azure/client/utils/eventstreaming.py | 217 +- .../src/mistralai/azure/client/utils/forms.py | 5 + .../mistralai/azure/client/utils/headers.py | 2 +- .../mistralai/azure/client/utils/logger.py | 2 +- .../azure/client/utils/requestbodies.py | 1 + .../mistralai/azure/client/utils/retries.py | 133 +- .../azure/client/utils/serializers.py | 89 +- .../mistralai/azure/client/utils/unions.py | 21 +- .../client/utils/unmarshal_json_response.py | 2 +- .../mistralai/azure/client/utils/values.py | 4 +- packages/azure/uv.lock | 59 +- packages/gcp/.speakeasy/gen.lock | 136 +- packages/gcp/.speakeasy/gen.yaml | 1 + packages/gcp/README-PYPI.md | 9 +- packages/gcp/README.md | 9 +- packages/gcp/pyproject.toml | 2 +- .../gcp/client/_hooks/registration.py | 2 +- .../mistralai/gcp/client/_hooks/sdkhooks.py | 2 +- .../src/mistralai/gcp/client/_hooks/types.py | 16 +- .../gcp/src/mistralai/gcp/client/_version.py | 4 +- .../gcp/src/mistralai/gcp/client/basesdk.py | 2 +- packages/gcp/src/mistralai/gcp/client/chat.py | 102 +- .../gcp/client/errors/httpvalidationerror.py | 2 +- .../gcp/client/errors/mistralgcperror.py | 2 +- .../client/errors/responsevalidationerror.py | 2 +- .../mistralai/gcp/client/errors/sdkerror.py | 2 +- packages/gcp/src/mistralai/gcp/client/fim.py | 48 +- .../src/mistralai/gcp/client/httpclient.py | 2 +- .../gcp/client/models/customconnector.py | 4 +- packages/gcp/src/mistralai/gcp/client/sdk.py | 2 +- .../mistralai/gcp/client/types/__init__.py | 3 + .../gcp/client/types/base64fileinput.py | 43 + .../mistralai/gcp/client/utils/__init__.py | 4 +- .../mistralai/gcp/client/utils/datetimes.py | 16 +- .../gcp/client/utils/eventstreaming.py | 217 +- .../src/mistralai/gcp/client/utils/forms.py | 5 + .../src/mistralai/gcp/client/utils/headers.py | 2 +- .../src/mistralai/gcp/client/utils/logger.py | 2 +- .../gcp/client/utils/requestbodies.py | 1 + .../src/mistralai/gcp/client/utils/retries.py | 133 +- .../mistralai/gcp/client/utils/serializers.py | 89 +- .../src/mistralai/gcp/client/utils/unions.py | 21 +- .../client/utils/unmarshal_json_response.py | 2 +- .../src/mistralai/gcp/client/utils/values.py | 4 +- packages/gcp/uv.lock | 48 +- pyproject.toml | 19 +- scripts/lint_custom_code.sh | 6 + src/mistralai/client/__init__.py | 1 - src/mistralai/client/_hooks/__init__.py | 1 - .../client/_hooks/custom_user_agent.py | 2 +- .../client/_hooks/deprecation_warning.py | 2 +- src/mistralai/client/_hooks/registration.py | 2 + src/mistralai/client/_hooks/sdkhooks.py | 3 +- .../client/_hooks/service_account_auth.py | 68 + .../client/_hooks/stream_error_hook.py | 4 +- src/mistralai/client/_hooks/traceparent.py | 2 +- src/mistralai/client/_hooks/tracing.py | 2 +- src/mistralai/client/_hooks/types.py | 3 +- .../client/_hooks/workflow_encoding_hook.py | 4 +- src/mistralai/client/_version.py | 5 +- src/mistralai/client/accesses.py | 1 - src/mistralai/client/agents.py | 1 - src/mistralai/client/audio.py | 1 - src/mistralai/client/basesdk.py | 3 +- src/mistralai/client/batch.py | 1 - src/mistralai/client/beta.py | 1 - src/mistralai/client/beta_agents.py | 1 - src/mistralai/client/beta_prompts.py | 1 - src/mistralai/client/chat.py | 1 - src/mistralai/client/classifiers.py | 1 - src/mistralai/client/connectors.py | 489 +- src/mistralai/client/conversations.py | 7 +- src/mistralai/client/datasets.py | 255 +- src/mistralai/client/deployments.py | 199 +- src/mistralai/client/documents.py | 1 - src/mistralai/client/embeddings.py | 1 - src/mistralai/client/errors/__init__.py | 1 - .../client/errors/httpvalidationerror.py | 3 +- src/mistralai/client/errors/mistralerror.py | 3 +- .../client/errors/no_response_error.py | 1 - .../client/errors/observabilityerror.py | 3 +- .../client/errors/responsevalidationerror.py | 3 +- src/mistralai/client/errors/sdkerror.py | 3 +- src/mistralai/client/evaluations.py | 1127 +++- src/mistralai/client/events.py | 1 - src/mistralai/client/executions.py | 1 - src/mistralai/client/files.py | 3 +- src/mistralai/client/fim.py | 1 - src/mistralai/client/httpclient.py | 3 +- .../ingestion_pipeline_configurations.py | 1 - src/mistralai/client/jobs.py | 1 - src/mistralai/client/judges.py | 1 - src/mistralai/client/libraries.py | 1 - src/mistralai/client/logs.py | 1 - src/mistralai/client/managed_indexes.py | 937 +++- src/mistralai/client/metrics.py | 1 - src/mistralai/client/models/__init__.py | 358 +- .../client/models/accepteddocumentresponse.py | 1 - ...activitytaskcompletedattributesresponse.py | 1 - .../models/activitytaskcompletedresponse.py | 61 +- .../models/activitytaskfailedattributes.py | 1 - .../models/activitytaskfailedresponse.py | 61 +- .../models/activitytaskretryingattributes.py | 1 - .../models/activitytaskretryingresponse.py | 61 +- .../activitytaskstartedattributesresponse.py | 1 - .../models/activitytaskstartedresponse.py | 61 +- src/mistralai/client/models/agent.py | 1 - .../client/models/agentaliasresponse.py | 1 - .../client/models/agentconversation.py | 1 - .../client/models/agenthandoffdoneevent.py | 1 - .../client/models/agenthandoffentry.py | 1 - .../client/models/agenthandoffstartedevent.py | 1 - src/mistralai/client/models/agentlistpage.py | 1 - ..._api_v1_agents_create_or_update_aliasop.py | 1 - .../agents_api_v1_agents_delete_aliasop.py | 1 - .../models/agents_api_v1_agents_deleteop.py | 1 - .../agents_api_v1_agents_get_versionop.py | 1 - .../models/agents_api_v1_agents_getop.py | 1 - .../agents_api_v1_agents_list_pagesop.py | 1 - ...ts_api_v1_agents_list_version_aliasesop.py | 1 - .../agents_api_v1_agents_list_versionsop.py | 1 - .../models/agents_api_v1_agents_listop.py | 1 - .../agents_api_v1_agents_update_versionop.py | 1 - .../models/agents_api_v1_agents_updateop.py | 1 - ...ts_api_v1_conversations_append_streamop.py | 1 - .../agents_api_v1_conversations_appendop.py | 1 - .../agents_api_v1_conversations_deleteop.py | 1 - .../agents_api_v1_conversations_getop.py | 1 - .../agents_api_v1_conversations_historyop.py | 1 - .../agents_api_v1_conversations_listop.py | 1 - .../agents_api_v1_conversations_messagesop.py | 1 - ...s_api_v1_conversations_restart_streamop.py | 1 - .../agents_api_v1_conversations_restartop.py | 1 - .../client/models/agentscompletionrequest.py | 10 - .../models/agentscompletionstreamrequest.py | 10 - ...lity_spans_evaluations_aggregate_postop.py | 69 + ...v1_observability_spans_aggregate_postop.py | 1 - ...1_observability_traces_aggregate_postop.py | 1 - src/mistralai/client/models/aggregation.py | 1 - .../client/models/aggregationmeta.py | 1 - .../client/models/aggregationrequest.py | 1 - src/mistralai/client/models/aggregationrow.py | 1 - src/mistralai/client/models/aliaslist.py | 1 - src/mistralai/client/models/and_.py | 1 - src/mistralai/client/models/annotations.py | 1 - src/mistralai/client/models/apiendpoint.py | 1 - src/mistralai/client/models/apikeyauth.py | 1 - ...flows_workflow_identifier_archive_putop.py | 1 - .../client/models/archivemodelresponse.py | 1 - .../models/assignableserviceaccountrole.py | 1 - .../client/models/assistantmessage.py | 1 - .../client/models/audio_v2_voices_listop.py | 117 + src/mistralai/client/models/audiochunk.py | 1 - src/mistralai/client/models/audiocontent.py | 1 - src/mistralai/client/models/audioencoding.py | 1 - src/mistralai/client/models/audioformat.py | 1 - .../models/audiotranscriptionrequest.py | 1 - .../models/audiotranscriptionrequeststream.py | 1 - src/mistralai/client/models/authdata.py | 9 +- src/mistralai/client/models/authdirection.py | 1 - .../models/authenticationconfiguration.py | 1 - ...thenticationmethodcreateorupdaterequest.py | 1 - src/mistralai/client/models/authstatus.py | 1 - .../client/models/authurlresponse.py | 1 - src/mistralai/client/models/basemodelcard.py | 1 - src/mistralai/client/models/basetaskstatus.py | 1 - src/mistralai/client/models/batcherror.py | 1 - .../client/models/batchexecutionbody.py | 1 - .../client/models/batchexecutionresponse.py | 1 - .../client/models/batchexecutionresult.py | 1 - src/mistralai/client/models/batchjob.py | 1 - src/mistralai/client/models/batchjobstatus.py | 1 - src/mistralai/client/models/batchrequest.py | 1 - .../client/models/bearerauthmethod.py | 1 - .../client/models/blobresourcecontents.py | 1 - .../client/models/boolarrayfielddefinition.py | 1 - .../client/models/boolfielddefinition.py | 1 - .../client/models/builtinconnectors.py | 2 +- ...s_executions_execution_id_cancel_postop.py | 1 - .../models/chatclassificationrequest.py | 1 - .../client/models/chatcompletionchoice.py | 1 - .../client/models/chatcompletionrequest.py | 10 - .../client/models/chatcompletionresponse.py | 1 - .../models/chatcompletionstreamrequest.py | 10 - .../client/models/chatmoderationrequest.py | 1 - .../client/models/classificationrequest.py | 1 - .../client/models/classificationresponse.py | 1 - .../models/classificationtargetresult.py | 1 - .../client/models/classifierfinetunedmodel.py | 1 - .../client/models/classifiertargetresult.py | 1 - .../client/models/clientcapabilities.py | 1 - src/mistralai/client/models/clientsecret.py | 1 - .../client/models/clientsessionpurpose.py | 1 - .../client/models/clienttaskscapability.py | 1 - .../models/clienttasksrequestscapability.py | 1 - .../client/models/codeinterpretertool.py | 1 - src/mistralai/client/models/completionargs.py | 1 - .../client/models/completionargsstop.py | 1 - .../client/models/completionchunk.py | 1 - .../client/models/completionevent.py | 1 - .../client/models/completionfinetunedmodel.py | 1 - .../models/completionresponsestreamchoice.py | 1 - .../client/models/completiontokensdetails.py | 1 - .../client/models/connectionconfigtype.py | 1 - .../models/connectioncredentialsinput.py | 1 - .../client/models/connectionpreference.py | 1 - src/mistralai/client/models/connector.py | 1 - .../connector_activate_for_consumer_v1op.py | 1 - .../client/models/connector_call_tool_v1op.py | 1 - .../connector_create_credentials_v1op.py | 1 - .../client/models/connector_create_v1op.py | 1 - .../connector_deactivate_for_consumer_v1op.py | 1 - ...nector_delete_all_user_credentials_v1op.py | 1 - ...p.py => connector_delete_credentialsop.py} | 19 +- .../client/models/connector_delete_v1op.py | 1 - ...ector_delete_workspace_credentials_v1op.py | 22 - .../models/connector_get_auth_url_v1op.py | 1 - ...nnector_get_authentication_methods_v1op.py | 1 - .../client/models/connector_get_v1op.py | 11 +- ...ctor_list_organization_credentials_v1op.py | 1 - .../models/connector_list_tools_v1op.py | 11 +- .../connector_list_user_credentials_v1op.py | 1 - .../client/models/connector_list_v1op.py | 1 - ...nnector_list_workspace_credentials_v1op.py | 1 - .../connector_share_to_organization_v1op.py | 1 - .../client/models/connector_share_v1op.py | 1 - ...onnector_unshare_from_organization_v1op.py | 1 - .../client/models/connector_unshare_v1op.py | 1 - .../models/connector_update_credentialsop.py | 1 - .../client/models/connector_update_v1op.py | 1 - .../models/connectorauthenticationheader.py | 1 - .../client/models/connectorcalltoolrequest.py | 1 - .../client/models/connectorlocale.py | 1 - .../client/models/connectormcppublicupdate.py | 1 - .../client/models/connectorsqueryfilters.py | 10 +- src/mistralai/client/models/connectortool.py | 1 - .../models/connectortoolcallmetadata.py | 1 - .../models/connectortoolcallresponse.py | 1 - .../client/models/connectortoollocale.py | 1 - .../models/connectortoolresultmetadata.py | 1 - src/mistralai/client/models/consumertype.py | 1 - src/mistralai/client/models/contentchunk.py | 1 - .../models/conversationappendrequest.py | 1 - .../models/conversationappendstreamrequest.py | 1 - .../client/models/conversationevents.py | 1 - .../client/models/conversationhistory.py | 1 - .../client/models/conversationinputs.py | 1 - .../client/models/conversationmessages.py | 1 - .../client/models/conversationrequest.py | 1 - .../client/models/conversationresponse.py | 1 - .../models/conversationrestartrequest.py | 1 - .../conversationrestartstreamrequest.py | 1 - .../models/conversationstreamrequest.py | 1 - .../client/models/conversationusageinfo.py | 1 - ...lient_session_v1_client_sessions_postop.py | 1 - ...lity_datasets_dataset_id_records_postop.py | 1 - ...ate_index_v1_rag_managed_indexes_postop.py | 1 - .../client/models/createagentrequest.py | 1 - .../client/models/createbatchjobrequest.py | 1 - .../client/models/createconnectorrequest.py | 1 - .../models/createdatasetrecordrequest.py | 1 - .../client/models/createdatasetrequest.py | 1 - .../client/models/createdeploymentrequest.py | 1 - .../client/models/createfileresponse.py | 1 - .../models/createhttpconnectorrequest.py | 1 - ...teingestionpipelineconfigurationrequest.py | 1 - .../client/models/createjudgerequest.py | 1 - .../client/models/createlibraryrequest.py | 1 - .../models/createmanagedindexrequest.py | 1 - .../models/createpipelineconfigrequest.py | 5 +- .../client/models/createpipelinerequest.py | 63 + .../client/models/createpromptrequest.py | 1 - .../models/createpromptversionresponse.py | 1 - .../models/createrealtimesessionrequest.py | 1 - .../models/createrealtimesessionresponse.py | 1 - .../models/createserviceaccountrequest.py | 1 - .../client/models/createskillrequest.py | 1 - .../models/createskillversionresponse.py | 1 - .../models/credentialscreateorupdate.py | 1 - .../client/models/credentialsresponse.py | 1 - .../client/models/credentialsstatus.py | 1 - .../models/credentialsstatuserrorreason.py | 1 - .../client/models/customconnector.py | 1 - .../client/models/customembeddingmodel.py | 1 - .../models/customtaskcanceledattributes.py | 1 - .../models/customtaskcanceledresponse.py | 61 +- .../customtaskcompletedattributesresponse.py | 1 - .../models/customtaskcompletedresponse.py | 61 +- .../models/customtaskfailedattributes.py | 1 - .../client/models/customtaskfailedresponse.py | 61 +- .../customtaskinprogressattributesresponse.py | 1 - .../models/customtaskinprogressresponse.py | 61 +- .../customtaskstartedattributesresponse.py | 1 - .../models/customtaskstartedresponse.py | 61 +- .../models/customtasktimedoutattributes.py | 1 - .../models/customtasktimedoutresponse.py | 61 +- src/mistralai/client/models/dataset.py | 1 - .../client/models/datasetimportresult.py | 23 + .../client/models/datasetimporttask.py | 9 +- src/mistralai/client/models/datasetpreview.py | 1 - src/mistralai/client/models/datasetrecord.py | 1 - .../client/models/datasetrecordsource.py | 1 - ...aset_records_dataset_record_id_deleteop.py | 1 - ...ervability_datasets_dataset_id_deleteop.py | 1 - ..._v1_workflows_deployments_name_deleteop.py | 1 - ...d_indexes_index_name_documents_deleteop.py | 1 - ...rag_managed_indexes_index_name_deleteop.py | 1 - ..._observability_judges_judge_id_deleteop.py | 1 - ...elete_model_v1_models_model_id_deleteop.py | 1 - ...ine_configs_pipeline_config_id_deleteop.py | 1 - ...vability_pipelines_pipeline_id_deleteop.py | 16 + ...ce_accounts_service_account_id_deleteop.py | 1 - ...voice_v1_audio_voices_voice_id_deleteop.py | 1 - .../client/models/deletebatchjobresponse.py | 1 - .../models/deletedatasetrecordsrequest.py | 1 - .../client/models/deletedocumentsrequest.py | 1 - .../client/models/deletedocumentsresponse.py | 1 - .../client/models/deletefileresponse.py | 1 - .../models/deletemanagedindexresponse.py | 1 - .../client/models/deletemodelresponse.py | 1 - .../client/models/deletepromptresponse.py | 1 - .../client/models/deleteskillresponse.py | 1 - src/mistralai/client/models/deltamessage.py | 1 - .../models/densevectorfielddefinition.py | 1 - .../client/models/deploymentbuildstate.py | 1 - .../client/models/deploymentdetailresponse.py | 1 - .../client/models/deploymentk8sbackendspec.py | 1 - .../models/deploymentkoyebbackendspec.py | 73 - .../client/models/deploymentlistresponse.py | 1 - .../client/models/deploymentlocation.py | 1 - .../client/models/deploymentlogrecord.py | 1 - .../models/deploymentlogsearchresponse.py | 1 - .../client/models/deploymentlogtype.py | 15 + .../deploymentmistralcloudbackendspec.py | 79 + .../client/models/deploymentobservedstate.py | 1 - .../client/models/deploymentresourceconfig.py | 21 +- .../models/deploymentresourceconfigupdate.py | 21 +- .../client/models/deploymentresponse.py | 1 - .../client/models/deploymentsecretbinding.py | 24 + .../models/deploymentworkerlistresponse.py | 1 - .../client/models/deploymentworkerresponse.py | 1 - .../models/deploymentworkerspecinput.py | 63 +- .../models/deploymentworkerspecresponse.py | 85 +- .../client/models/detectiondefinition.py | 1 - .../client/models/detectionpattern.py | 1 - src/mistralai/client/models/distancemetric.py | 1 - src/mistralai/client/models/document.py | 1 - .../models/documentfielderrorresponse.py | 1 - .../client/models/documentlibrarytool.py | 1 - .../client/models/documenttextcontent.py | 1 - .../client/models/documenturlchunk.py | 1 - .../client/models/elicitationcapability.py | 1 - .../client/models/embeddedresource.py | 1 - src/mistralai/client/models/embeddingdtype.py | 1 - .../client/models/embeddingrequest.py | 1 - .../client/models/embeddingresponse.py | 1 - .../client/models/embeddingresponsedata.py | 1 - .../client/models/encodedpayloadoptions.py | 1 - src/mistralai/client/models/encodingformat.py | 1 - .../client/models/encryptedpatchvalue.py | 1 - src/mistralai/client/models/entitytype.py | 1 - src/mistralai/client/models/equal.py | 1 - .../client/models/eventprogressstatus.py | 1 - src/mistralai/client/models/eventsource.py | 1 - src/mistralai/client/models/eventtype.py | 1 - ...workflow_registration_id_execute_postop.py | 1 - ...lows_workflow_identifier_execute_postop.py | 1 - .../client/models/executionconfig.py | 1 - .../client/models/executionlogrecord.py | 1 - .../models/executionlogsearchresponse.py | 1 - src/mistralai/client/models/executiontool.py | 1 - .../models/executiontraceinforesponse.py | 1 - ...asets_dataset_id_exports_to_jsonl_getop.py | 1 - .../client/models/exportdatasetresponse.py | 1 - .../client/models/exportdefinition.py | 1 - .../models/extendedoauthservermetadata.py | 1 - src/mistralai/client/models/failure.py | 1 - .../client/models/feedresultgetlog.py | 1 - .../client/models/feedresultgetspan.py | 1 - .../models/feedresultgetspanevaluation.py | 1 - .../client/models/feedresultgettrace.py | 1 - src/mistralai/client/models/file.py | 1 - src/mistralai/client/models/filechunk.py | 1 - src/mistralai/client/models/filepurpose.py | 1 - .../models/files_api_routes_delete_fileop.py | 1 - .../files_api_routes_download_fileop.py | 1 - .../files_api_routes_get_signed_urlop.py | 1 - .../models/files_api_routes_list_filesop.py | 1 - .../files_api_routes_retrieve_fileop.py | 1 - .../models/files_api_routes_upload_fileop.py | 1 - src/mistralai/client/models/fileschema.py | 1 - src/mistralai/client/models/filevisibility.py | 1 - .../client/models/fimcompletionrequest.py | 1 - .../client/models/fimcompletionresponse.py | 1 - .../models/fimcompletionstreamrequest.py | 1 - .../models/finetunedmodelcapabilities.py | 1 - .../models/floatarrayfielddefinition.py | 1 - .../client/models/floatfielddefinition.py | 1 - .../client/models/ftclassifierlossfunction.py | 1 - src/mistralai/client/models/ftmodelcard.py | 1 - src/mistralai/client/models/function.py | 1 - src/mistralai/client/models/functioncall.py | 1 - .../client/models/functioncallentry.py | 1 - .../models/functioncallentryarguments.py | 1 - .../client/models/functioncallevent.py | 1 - src/mistralai/client/models/functionname.py | 1 - .../client/models/functionresultentry.py | 1 - src/mistralai/client/models/functiontool.py | 1 - ...dexes_index_name_chunks_chunk_id_getop.py} | 15 +- ...observability_datasets_dataset_id_getop.py | 1 - ...datasets_dataset_id_tasks_task_id_getop.py | 1 - ...ability_datasets_dataset_id_tasks_getop.py | 1 - ...dataset_records_dataset_record_id_getop.py | 1 - ...ility_datasets_dataset_id_records_getop.py | 1 - ...atasets_v1_observability_datasets_getop.py | 1 - .../client/models/get_deployment_logsop.py | 11 +- ...ent_v1_workflows_deployments_name_getop.py | 1 - ...v1_rag_managed_indexes_index_name_getop.py | 1 - ..._v1_observability_judges_judge_id_getop.py | 1 - ...et_judges_v1_observability_judges_getop.py | 1 - ...ty_logs_fields_field_name_options_getop.py | 1 - ...peline_configs_pipeline_config_id_getop.py | 1 - ...servability_pipelines_pipeline_id_getop.py | 16 + ..._v1_workflows_runs_run_id_history_getop.py | 1 - .../get_run_v1_workflows_runs_run_id_getop.py | 1 - ...1_workflows_schedules_schedule_id_getop.py | 1 - ..._schedules_v1_workflows_schedules_getop.py | 1 - ...rvice_accounts_service_account_id_getop.py | 1 - ...ity_traces_trace_id_spans_span_id_getop.py | 1 - ...uations_fields_field_name_options_getop.py | 1 - ...y_spans_fields_field_name_options_getop.py | 1 - ...events_v1_workflows_events_stream_getop.py | 1 - ..._v1_observability_traces_trace_id_getop.py | 1 - ..._traces_fields_field_name_options_getop.py | 1 - ...servability_traces_trace_id_spans_getop.py | 1 - ...o_v1_audio_voices_voice_id_sample_getop.py | 1 - ...et_voice_v1_audio_voices_voice_id_getop.py | 1 - ...w_events_v1_workflows_events_list_getop.py | 1 - ...s_executions_execution_id_history_getop.py | 1 - .../models/get_workflow_execution_logsop.py | 1 - .../get_workflow_execution_trace_eventsop.py | 1 - .../get_workflow_execution_trace_infoop.py | 1 - .../get_workflow_execution_trace_otelop.py | 1 - .../get_workflow_execution_trace_summaryop.py | 1 - ...workflows_executions_execution_id_getop.py | 1 - ...1_workflows_workflow_name_metrics_getop.py | 1 - ...trations_workflow_registration_id_getop.py | 1 - ...ations_v1_workflows_registrations_getop.py | 1 - ..._v1_workflows_workflow_identifier_getop.py | 1 - .../get_workflows_v1_workflows_getop.py | 1 - .../models/getdeploymentsummariesresponse.py | 1 - ...etdeploymentsummariesresponsedeployment.py | 1 - ...loymentsummariesresponsevespadeployment.py | 1 - ...etdeploymentsummariesresponsevespaindex.py | 1 - .../client/models/getfileresponse.py | 1 - src/mistralai/client/models/getlog.py | 1 - .../client/models/getlogfieldoptions.py | 1 - src/mistralai/client/models/getlogfields.py | 1 - src/mistralai/client/models/getlogs.py | 1 - .../client/models/getsignedurlresponse.py | 1 - src/mistralai/client/models/getspan.py | 1 - .../client/models/getspanevaluation.py | 1 - .../models/getspanevaluationfieldoptions.py | 1 - .../client/models/getspanevaluationfields.py | 1 - .../client/models/getspanevaluations.py | 1 - .../client/models/getspanfieldoptions.py | 1 - src/mistralai/client/models/getspanfields.py | 1 - src/mistralai/client/models/getspans.py | 1 - src/mistralai/client/models/gettrace.py | 1 - .../client/models/gettracefieldoptions.py | 1 - src/mistralai/client/models/gettracefields.py | 1 - src/mistralai/client/models/gettraces.py | 1 - .../client/models/gitcommitauthor.py | 1 - .../client/models/gitcommitmetadata.py | 1 - .../client/models/globalheadervalue.py | 1 - src/mistralai/client/models/granularity.py | 1 - ..._managed_indexes_index_name_grep_postop.py | 23 + src/mistralai/client/models/grepmode.py | 10 + src/mistralai/client/models/greprequest.py | 44 + .../client/models/guardrailconfig.py | 1 - src/mistralai/client/models/httpconnector.py | 1 - src/mistralai/client/models/httpstatus.py | 1 - src/mistralai/client/models/imagecontent.py | 1 - src/mistralai/client/models/imagedetail.py | 1 - .../client/models/imagegenerationtool.py | 1 - src/mistralai/client/models/imageurl.py | 1 - src/mistralai/client/models/imageurlchunk.py | 1 - .../models/importdatasetfromdatasetrequest.py | 1 - .../models/importdatasetfromfilerequest.py | 1 - .../importdatasetfromplaygroundrequest.py | 1 - .../models/importdatasetfromspansrequest.py | 39 + src/mistralai/client/models/in_.py | 1 - .../models/inboundauthenticationtype.py | 1 - ...ged_indexes_index_name_documents_postop.py | 1 - .../client/models/ingestdocumentsrequest.py | 1 - .../client/models/ingestdocumentsresponse.py | 1 - .../models/ingestionpipelineconfiguration.py | 1 - .../models/ingestionpipelinetargetindexref.py | 1 - src/mistralai/client/models/inputentries.py | 1 - src/mistralai/client/models/inputs.py | 1 - .../client/models/instructrequest.py | 1 - .../client/models/intarrayfielddefinition.py | 1 - .../client/models/intfielddefinition.py | 1 - ...obs_api_routes_batch_cancel_batch_jobop.py | 1 - ...obs_api_routes_batch_delete_batch_jobop.py | 1 - .../jobs_api_routes_batch_get_batch_jobop.py | 1 - .../jobs_api_routes_batch_get_batch_jobsop.py | 1 - ..._fine_tuning_archive_fine_tuned_modelop.py | 1 - ...ine_tuning_unarchive_fine_tuned_modelop.py | 1 - ...s_fine_tuning_update_fine_tuned_modelop.py | 1 - .../client/models/jsonfielddefinition.py | 1 - src/mistralai/client/models/jsonpatch.py | 1 - src/mistralai/client/models/jsonpatchadd.py | 1 - .../client/models/jsonpatchappend.py | 1 - .../client/models/jsonpatchpayloadresponse.py | 1 - .../models/jsonpatchpayloadvalueresponse.py | 1 - .../client/models/jsonpatchremove.py | 1 - .../client/models/jsonpatchreplace.py | 1 - .../client/models/jsonpayloadresponse.py | 1 - src/mistralai/client/models/jsonschema.py | 1 - src/mistralai/client/models/judge.py | 1 - ...ity_judges_judge_id_live_judging_postop.py | 1 - ...s_dataset_record_id_live_judging_postop.py | 1 - .../models/judgeclassificationoutput.py | 1 - .../models/judgeclassificationoutputoption.py | 1 - .../client/models/judgeconversationrequest.py | 1 - .../models/judgedatasetrecordrequest.py | 1 - .../client/models/judgedefinition.py | 1 - src/mistralai/client/models/judgeoutput.py | 1 - .../client/models/judgeoutputtype.py | 1 - .../client/models/judgeregressionoutput.py | 1 - .../models/keywordarrayfielddefinition.py | 1 - .../client/models/keywordfielddefinition.py | 1 - .../client/models/keywordretriever.py | 5 +- .../client/models/libraries_delete_v1op.py | 1 - .../models/libraries_documents_delete_v1op.py | 1 - ...ents_get_extracted_text_signed_url_v1op.py | 1 - ...libraries_documents_get_signed_url_v1op.py | 1 - .../libraries_documents_get_status_v1op.py | 1 - ...braries_documents_get_text_content_v1op.py | 1 - .../models/libraries_documents_get_v1op.py | 1 - .../models/libraries_documents_list_v1op.py | 1 - .../models/libraries_documents_patch_v1op.py | 1 - .../libraries_documents_reprocess_v1op.py | 1 - .../models/libraries_documents_update_v1op.py | 1 - .../models/libraries_documents_upload_v1op.py | 1 - .../client/models/libraries_get_v1op.py | 1 - .../client/models/libraries_list_v1op.py | 1 - .../client/models/libraries_patch_v1op.py | 1 - .../models/libraries_share_create_v1op.py | 1 - .../models/libraries_share_delete_v1op.py | 1 - .../models/libraries_share_list_v1op.py | 1 - .../client/models/libraries_update_v1op.py | 1 - src/mistralai/client/models/library.py | 1 - ...service_accounts_assignable_roles_getop.py | 1 - ...orkflows_deployments_name_workers_getop.py | 1 - ...loyments_v1_workflows_deployments_getop.py | 11 +- ...st_indexes_v1_rag_managed_indexes_getop.py | 32 +- .../models/list_models_v1_models_getop.py | 1 - ...v1_observability_pipeline_configs_getop.py | 1 - ...elines_v1_observability_pipelines_getop.py | 68 + .../list_runs_v1_workflows_runs_getop.py | 5 +- ...accounts_service_account_id_roles_getop.py | 1 - ...vice_accounts_v1_service_accounts_getop.py | 20 +- .../list_voices_v1_audio_voices_getop.py | 1 - ...stassignableserviceaccountrolesresponse.py | 1 - .../client/models/listbatchjobsresponse.py | 1 - .../models/listdatasetimporttasksresponse.py | 1 - .../models/listdatasetrecordsresponse.py | 1 - .../client/models/listdatasetsresponse.py | 1 - .../client/models/listdocumentsresponse.py | 1 - .../client/models/listfilesresponse.py | 1 - .../client/models/listjudgesresponse.py | 1 - .../client/models/listlibrariesresponse.py | 5 +- .../models/listmanagedindexesresponse.py | 1 - .../models/listorganizationsresponse.py | 1 - .../client/models/listpromptsresponse.py | 1 - .../models/listpromptversionsresponse.py | 1 - .../models/listserviceaccountrolesresponse.py | 1 - .../models/listserviceaccountsresponse.py | 1 - .../client/models/listsharingresponse.py | 1 - .../client/models/listskillsresponse.py | 1 - .../models/listskillversionsresponse.py | 1 - .../client/models/listsortdirection.py | 1 - src/mistralai/client/models/listsortfield.py | 1 - .../models/listworkfloweventresponse.py | 1 - .../client/models/listworkspacesresponse.py | 1 - src/mistralai/client/models/locationtype.py | 1 - .../client/models/logicalexpression.py | 1 - src/mistralai/client/models/logsrequest.py | 1 - .../client/models/longarrayfielddefinition.py | 1 - .../client/models/longfielddefinition.py | 1 - .../models/manageddeploymentresponse.py | 20 +- .../client/models/managedindexconfig.py | 1 - .../client/models/managedindexfields.py | 1 - .../client/models/managedindexresponse.py | 4 +- .../client/models/managedindexstatus.py | 1 - src/mistralai/client/models/mcpconnector.py | 1 - src/mistralai/client/models/mcpprompt.py | 1 - src/mistralai/client/models/mcpresource.py | 1 - .../mcpserverauthenticationrequirement.py | 1 - src/mistralai/client/models/mcpservercard.py | 1 - .../client/models/mcpservercardmeta.py | 1 - .../client/models/mcpservercardtool.py | 1 - src/mistralai/client/models/mcpservericon.py | 1 - .../client/models/mcpserverremote.py | 1 - .../client/models/mcpserverremoteheader.py | 1 - .../client/models/mcpserverrepository.py | 1 - src/mistralai/client/models/mcptool.py | 1 - src/mistralai/client/models/mcptoolmeta.py | 1 - src/mistralai/client/models/mcpuitoolmeta.py | 1 - src/mistralai/client/models/messageentries.py | 1 - .../models/messageinputcontentchunks.py | 1 - .../client/models/messageinputentry.py | 1 - .../models/messageoutputcontentchunks.py | 1 - .../client/models/messageoutputentry.py | 1 - .../client/models/messageoutputevent.py | 1 - .../client/models/messageresponse.py | 1 - src/mistralai/client/models/messagetokens.py | 1 - .../client/models/metricaggregation.py | 1 - .../client/models/metricdefinition.py | 1 - .../client/models/mistralembeddingmodel.py | 1 - .../client/models/mistralpromptmode.py | 1 - .../client/models/modelcapabilities.py | 1 - .../client/models/modelconversation.py | 1 - src/mistralai/client/models/modellist.py | 1 - .../client/models/moderationdefinition.py | 1 - .../client/models/moderationllmaction.py | 1 - .../moderationllmv1categorythresholds.py | 1 - .../client/models/moderationllmv1config.py | 1 - .../moderationllmv2categorythresholds.py | 1 - .../client/models/moderationllmv2config.py | 1 - .../client/models/moderationobject.py | 1 - .../client/models/moderationresponse.py | 1 - ...aged_indexes_index_name_navigate_postop.py | 23 + .../client/models/navigaterequest.py | 47 + .../client/models/navigationchunkresponse.py | 91 + .../client/models/navigationdirection.py | 10 + .../client/models/navigationresponse.py | 22 + .../models/nearestneighbourretriever.py | 12 +- .../client/models/networkencodedinput.py | 1 - src/mistralai/client/models/noneauthmethod.py | 1 - src/mistralai/client/models/not_.py | 1 - .../client/models/oauth2authmethod.py | 1 - .../oauth2authorizationcodeauthmethod.py | 1 - .../oauth2clientcredentialsauthmethod.py | 1 - .../models/oauth2clientcredentialsinput.py | 1 - .../client/models/oauth2granttype.py | 1 - .../client/models/oauth2metadatasecrets.py | 1 - .../client/models/oauth2tokenauth.py | 1 - .../models/oauth2tokenendpointauthmethod.py | 1 - .../client/models/oauthmetadatasource.py | 1 - .../client/models/observabilityerrorcode.py | 3 +- .../client/models/observabilityerrordetail.py | 1 - .../client/models/ocrasidetextblock.py | 1 - .../client/models/ocrblockconfidencescores.py | 1 - .../client/models/ocrcaptionblock.py | 1 - src/mistralai/client/models/ocrcodeblock.py | 1 - .../client/models/ocrconfidencescore.py | 1 - .../client/models/ocrequationblock.py | 1 - src/mistralai/client/models/ocrfooterblock.py | 1 - src/mistralai/client/models/ocrheaderblock.py | 1 - src/mistralai/client/models/ocrimageblock.py | 1 - src/mistralai/client/models/ocrimageobject.py | 1 - src/mistralai/client/models/ocrlistblock.py | 1 - .../client/models/ocrpageconfidencescores.py | 1 - .../client/models/ocrpagedimensions.py | 1 - src/mistralai/client/models/ocrpageobject.py | 1 - .../client/models/ocrreferencesblock.py | 1 - src/mistralai/client/models/ocrrequest.py | 1 - src/mistralai/client/models/ocrresponse.py | 1 - .../client/models/ocrsignatureblock.py | 1 - src/mistralai/client/models/ocrtableblock.py | 1 - src/mistralai/client/models/ocrtableobject.py | 1 - src/mistralai/client/models/ocrtextblock.py | 1 - src/mistralai/client/models/ocrtitleblock.py | 1 - src/mistralai/client/models/ocrusageinfo.py | 1 - src/mistralai/client/models/or_.py | 1 - src/mistralai/client/models/orderbyclause.py | 1 - .../client/models/otelfielddefinition.py | 10 +- .../client/models/otlpdestination.py | 1 - .../models/outboundauthenticationtype.py | 1 - .../client/models/outputcontentchunks.py | 1 - .../client/models/paginatedconnectors.py | 1 - .../paginatedresultdatasetimporttask.py | 1 - .../models/paginatedresultdatasetpreview.py | 1 - .../models/paginatedresultdatasetrecord.py | 1 - .../models/paginatedresultjudgepreview.py | 1 - .../client/models/paginatedresultpipeline.py | 56 + .../models/paginatedresultpipelineconfig.py | 1 - src/mistralai/client/models/paginationinfo.py | 1 - .../client/models/paginationresponse.py | 1 - .../models/partialscheduledefinition.py | 1 - ...lows_schedules_schedule_id_pause_postop.py | 1 - src/mistralai/client/models/pipeline.py | 69 + src/mistralai/client/models/pipelineconfig.py | 12 +- .../client/models/pipelineconfigdefinition.py | 1 - .../client/models/pipelineconfigheader.py | 1 - .../client/models/pipelineconfigscope.py | 1 - .../client/models/pipelineconfigselector.py | 1 - .../client/models/pipelineconfigsresponse.py | 1 - src/mistralai/client/models/pipelinekind.py | 1 - .../client/models/pipelinesresponse.py | 17 + ..._dataset_id_imports_from_dataset_postop.py | 1 - ...ets_dataset_id_imports_from_file_postop.py | 1 - ...taset_id_imports_from_playground_postop.py | 1 - ...ts_dataset_id_imports_from_spans_postop.py | 30 + src/mistralai/client/models/prediction.py | 1 - src/mistralai/client/models/principaltype.py | 15 + .../client/models/processingstatus.py | 1 - src/mistralai/client/models/processstatus.py | 1 - src/mistralai/client/models/prompt.py | 1 - src/mistralai/client/models/promptargument.py | 1 - .../client/models/promptdefinition.py | 1 - .../client/models/prompts_create_versionop.py | 1 - .../client/models/prompts_deleteop.py | 1 - .../client/models/prompts_get_versionop.py | 1 - src/mistralai/client/models/prompts_getop.py | 1 - .../client/models/prompts_list_versionsop.py | 1 - src/mistralai/client/models/prompts_listop.py | 1 - .../prompts_update_version_metadataop.py | 1 - .../client/models/prompts_updateop.py | 1 - .../client/models/promptscapability.py | 1 - .../client/models/prompttokensdetails.py | 1 - src/mistralai/client/models/promptvariable.py | 1 - src/mistralai/client/models/promptversion.py | 1 - .../models/publicauthenticationmethod.py | 1 - .../client/models/publicconnectionconfig.py | 1 - .../models/publicconnectorexecutiondata.py | 1 - .../models/publicexecutionconnectionconfig.py | 1 - .../client/models/publicexecutionconnector.py | 1 - .../client/models/publicexecutionenv.py | 1 - .../client/models/publicresourcevisibility.py | 1 - ..._executions_execution_id_queries_postop.py | 1 - .../client/models/querydefinition.py | 1 - .../client/models/queryinvocationbody.py | 1 - .../client/models/queryworkflowresponse.py | 1 - src/mistralai/client/models/range.py | 1 - ..._managed_indexes_index_name_read_postop.py | 23 + src/mistralai/client/models/readrequest.py | 58 + .../models/realtimetranscriptionerror.py | 1 - .../realtimetranscriptionerrordetail.py | 1 - .../realtimetranscriptioninputaudioappend.py | 1 - .../realtimetranscriptioninputaudioend.py | 1 - .../realtimetranscriptioninputaudioflush.py | 1 - .../models/realtimetranscriptionsession.py | 1 - .../realtimetranscriptionsessioncreated.py | 1 - .../realtimetranscriptionsessionupdated.py | 1 - ...altimetranscriptionsessionupdatemessage.py | 1 - ...altimetranscriptionsessionupdatepayload.py | 1 - .../client/models/reasoningeffort.py | 1 - src/mistralai/client/models/referencechunk.py | 1 - .../registerdeploymentrequestdeployment.py | 1 - ...egisterdeploymentrequestvespadeployment.py | 1 - .../registerdeploymentrequestvespafield.py | 1 - .../registerdeploymentrequestvespaindex.py | 1 - .../registersearchindexresponseindex.py | 1 - .../client/models/registrysharingscope.py | 1 - .../client/models/rejecteddocumentresponse.py | 1 - .../client/models/requestedservicetier.py | 1 - src/mistralai/client/models/requestsource.py | 1 - ...ws_executions_execution_id_reset_postop.py | 1 - .../client/models/resetinvocationbody.py | 1 - src/mistralai/client/models/resourcelink.py | 1 - .../client/models/resourcescapability.py | 1 - .../client/models/resourcevisibility.py | 1 - .../client/models/responsedoneevent.py | 1 - .../client/models/responseerrorevent.py | 1 - src/mistralai/client/models/responseformat.py | 1 - .../client/models/responseformats.py | 1 - .../client/models/responsestartedevent.py | 1 - ...rkflows_deployments_name_restart_postop.py | 1 - ...ows_schedules_schedule_id_resume_postop.py | 1 - ...retrieve_model_v1_models_model_id_getop.py | 1 - src/mistralai/client/models/roles.py | 1 - .../client/models/rootscapability.py | 1 - src/mistralai/client/models/rrfretriever.py | 120 + src/mistralai/client/models/sampletype.py | 1 - .../client/models/samplingcapability.py | 1 - src/mistralai/client/models/scalarmetric.py | 1 - .../client/models/schedulecalendar.py | 1 - .../client/models/scheduledefinition.py | 1 - .../client/models/scheduledefinitionoutput.py | 1 - .../client/models/schedulefutureexecution.py | 1 - .../client/models/scheduleinterval.py | 1 - .../client/models/scheduleoverlappolicy.py | 1 - src/mistralai/client/models/schedulepolicy.py | 1 - src/mistralai/client/models/schedulerange.py | 1 - .../client/models/schedulerecentexecution.py | 1 - .../client/models/schemafielddatatype.py | 1 - .../client/models/schemafieldindex.py | 1 - .../client/models/schemafieldrankingtype.py | 1 - .../client/models/schemafieldstorage.py | 1 - ...anaged_indexes_index_name_search_postop.py | 1 - ..._spans_evaluations_search_latest_postop.py | 1 - ...ogs_v1_observability_logs_search_postop.py | 1 - ...ability_spans_evaluations_search_postop.py | 1 - ...ns_v1_observability_spans_search_postop.py | 1 - ...s_v1_observability_traces_search_postop.py | 1 - .../client/models/searchchunkresponse.py | 1 - .../client/models/searchhitresponse.py | 1 - src/mistralai/client/models/searchrequest.py | 21 +- src/mistralai/client/models/searchresponse.py | 1 - src/mistralai/client/models/security.py | 1 - .../client/models/servercapabilities.py | 1 - src/mistralai/client/models/serverlocale.py | 1 - .../client/models/servertaskscapability.py | 1 - .../models/servertasksrequestscapability.py | 1 - src/mistralai/client/models/serviceaccount.py | 1 - .../client/models/serviceaccountrole.py | 1 - ...accounts_service_account_id_roles_putop.py | 1 - .../models/setserviceaccountrolesrequest.py | 1 - src/mistralai/client/models/shareenum.py | 1 - src/mistralai/client/models/sharerelation.py | 1 - src/mistralai/client/models/sharing.py | 1 - src/mistralai/client/models/sharingdelete.py | 1 - src/mistralai/client/models/sharingrequest.py | 1 - ..._executions_execution_id_signals_postop.py | 1 - .../client/models/signaldefinition.py | 1 - .../client/models/signalinvocationbody.py | 1 - .../client/models/signalworkflowresponse.py | 1 - src/mistralai/client/models/skill.py | 1 - .../client/models/skillassetcontent.py | 1 - .../client/models/skilldefinition.py | 1 - .../client/models/skills_create_versionop.py | 1 - .../client/models/skills_deleteop.py | 1 - .../client/models/skills_get_versionop.py | 1 - src/mistralai/client/models/skills_getop.py | 1 - .../client/models/skills_list_versionsop.py | 1 - src/mistralai/client/models/skills_listop.py | 1 - .../skills_update_version_metadataop.py | 1 - .../client/models/skills_updateop.py | 1 - src/mistralai/client/models/skillversion.py | 1 - src/mistralai/client/models/sortorder.py | 11 + src/mistralai/client/models/source.py | 1 - src/mistralai/client/models/sourcekind.py | 1 - .../client/models/spandatasetmapping.py | 22 + .../models/spandatasetmappingcontract.py | 44 + .../models/spandatasetsourcenamespace.py | 11 + .../models/spandatasetsourcereference.py | 21 + .../client/models/spanevaluationsrequest.py | 1 - src/mistralai/client/models/spansrequest.py | 1 - .../models/speech_v1_audio_speech_postop.py | 1 - .../client/models/speechoutputformat.py | 1 - src/mistralai/client/models/speechrequest.py | 1 - .../client/models/speechstreamaudiodelta.py | 1 - .../client/models/speechstreamdone.py | 1 - .../client/models/speechstreameventtypes.py | 1 - src/mistralai/client/models/ssetypes.py | 1 - ...workflows_deployments_name_start_postop.py | 1 - ..._workflows_deployments_name_stop_postop.py | 1 - .../client/models/stream_deployment_logsop.py | 1 - ...ws_executions_execution_id_stream_getop.py | 1 - .../stream_workflow_execution_logsop.py | 1 - src/mistralai/client/models/streamerror.py | 1 - .../client/models/streameventssepayload.py | 1 - .../models/streameventworkflowcontext.py | 1 - src/mistralai/client/models/systemmessage.py | 1 - .../models/systemmessagecontentchunks.py | 1 - .../models/taskselicitationcapability.py | 1 - .../client/models/taskssamplingcapability.py | 1 - .../client/models/taskstoolscapability.py | 1 - .../client/models/telemetryspanreference.py | 20 + .../client/models/tempogettraceresponse.py | 1 - .../client/models/tempotraceattribute.py | 1 - .../tempotraceattributearraycontainer.py | 1 - .../models/tempotraceattributearrayelement.py | 1 - .../models/tempotraceattributearrayvalue.py | 1 - .../models/tempotraceattributeboolvalue.py | 1 - .../models/tempotraceattributedoublevalue.py | 1 - .../models/tempotraceattributeintvalue.py | 1 - .../models/tempotraceattributestringvalue.py | 1 - .../client/models/tempotracebatch.py | 1 - .../client/models/tempotraceevent.py | 1 - .../client/models/tempotraceresource.py | 1 - .../client/models/tempotracescope.py | 1 - .../client/models/tempotracescopekind.py | 1 - .../client/models/tempotracescopespan.py | 1 - src/mistralai/client/models/tempotracespan.py | 1 - ...xecutions_execution_id_terminate_postop.py | 1 - .../client/models/textarrayfielddefinition.py | 1 - src/mistralai/client/models/textchunk.py | 1 - src/mistralai/client/models/textcontent.py | 1 - .../client/models/textfielddefinition.py | 1 - .../client/models/textresourcecontents.py | 1 - src/mistralai/client/models/thinkchunk.py | 1 - src/mistralai/client/models/timedimension.py | 1 - .../client/models/timeseriesmetric.py | 1 - .../models/timestamparrayfielddefinition.py | 1 - .../client/models/timestampfielddefinition.py | 1 - .../client/models/timestampgranularity.py | 1 - src/mistralai/client/models/tool.py | 1 - .../client/models/toolannotations.py | 1 - src/mistralai/client/models/toolcall.py | 1 - .../client/models/toolcallconfirmation.py | 1 - src/mistralai/client/models/toolchoice.py | 1 - src/mistralai/client/models/toolchoiceenum.py | 1 - .../client/models/toolconfiguration.py | 1 - src/mistralai/client/models/toolexecution.py | 1 - .../models/toolexecutionconfiguration.py | 1 - .../client/models/toolexecutiondeltaevent.py | 1 - .../client/models/toolexecutiondoneevent.py | 1 - .../client/models/toolexecutionentry.py | 1 - .../models/toolexecutionstartedevent.py | 1 - src/mistralai/client/models/toolfilechunk.py | 1 - src/mistralai/client/models/toolmessage.py | 1 - src/mistralai/client/models/toolproperties.py | 1 - .../client/models/toolreferencechunk.py | 1 - .../client/models/toolscapability.py | 1 - src/mistralai/client/models/tooltype.py | 1 - src/mistralai/client/models/tooltypes.py | 1 - src/mistralai/client/models/tracesrequest.py | 1 - .../client/models/transcriptionresponse.py | 1 - .../models/transcriptionsegmentchunk.py | 1 - .../client/models/transcriptionstreamdone.py | 1 - .../models/transcriptionstreamevents.py | 1 - .../models/transcriptionstreameventtypes.py | 1 - .../models/transcriptionstreamlanguage.py | 1 - .../models/transcriptionstreamsegmentdelta.py | 1 - .../models/transcriptionstreamtextdelta.py | 1 - ...ws_schedules_schedule_id_trigger_postop.py | 1 - src/mistralai/client/models/turbinemeta.py | 1 - .../client/models/turbinetoollocale.py | 1 - .../client/models/turbinetoolmeta.py | 1 - ...ows_workflow_identifier_unarchive_putop.py | 1 - .../client/models/unarchivemodelresponse.py | 1 - ...ployments_deployment_id_unharden_postop.py | 60 + ..._rag_deployments_deployment_id_deleteop.py | 1 - ...orkflows_schedules_schedule_id_deleteop.py | 1 - ...records_dataset_record_id_payload_putop.py | 1 - ...ords_dataset_record_id_properties_putop.py | 1 - ...servability_datasets_dataset_id_patchop.py | 1 - ...t_v1_workflows_deployments_name_patchop.py | 1 - ...deployments_deployment_id_metrics_putop.py | 1 - ...v1_rag_managed_indexes_index_name_putop.py | 1 - ..._v1_observability_judges_judge_id_putop.py | 1 - ...peline_configs_pipeline_config_id_putop.py | 1 - ...servability_pipelines_pipeline_id_putop.py | 23 + ...peline_configurations_id_run_info_putop.py | 1 - ...workflows_schedules_schedule_id_patchop.py | 1 - ...ice_accounts_service_account_id_patchop.py | 1 - ..._voice_v1_audio_voices_voice_id_patchop.py | 1 - ..._executions_execution_id_updates_postop.py | 1 - ..._v1_workflows_workflow_identifier_putop.py | 1 - .../client/models/updateagentrequest.py | 1 - .../updatedatasetrecordpayloadrequest.py | 1 - .../updatedatasetrecordpropertiesrequest.py | 1 - .../client/models/updatedatasetrequest.py | 1 - .../client/models/updatedefinition.py | 1 - .../client/models/updatedeploymentrequest.py | 1 - .../client/models/updatedocumentrequest.py | 1 - .../models/updatehttpconnectorrequest.py | 1 - .../client/models/updateinvocationbody.py | 1 - .../client/models/updatejudgerequest.py | 1 - .../client/models/updatelibraryrequest.py | 1 - .../models/updatemanagedindexrequest.py | 1 - ...emetricsrequestdeploymentmetricsoffline.py | 1 - ...temetricsrequestdeploymentmetricsonline.py | 1 - .../updatemetricsrequestindexmetrics.py | 1 - .../client/models/updatemodelrequest.py | 1 - .../models/updatepipelineconfigrequest.py | 5 +- .../client/models/updatepipelinerequest.py | 63 + src/mistralai/client/models/updateruninfo.py | 1 - .../models/updateserviceaccountrequest.py | 1 - .../client/models/updateworkflowresponse.py | 1 - src/mistralai/client/models/usageinfo.py | 1 - .../client/models/usageinfo_dollar_defs.py | 8 +- src/mistralai/client/models/useridentity.py | 1 - .../client/models/useridentityapikey.py | 1 - .../client/models/useridentityorganization.py | 1 - .../client/models/useridentityworkspace.py | 1 - src/mistralai/client/models/usermessage.py | 1 - .../client/models/userorganization.py | 1 - .../client/models/users_api_get_identityop.py | 42 +- .../models/users_api_list_organizationsop.py | 36 +- .../models/users_api_list_workspacesop.py | 36 +- src/mistralai/client/models/userworkspace.py | 1 - .../client/models/validationerror.py | 1 - src/mistralai/client/models/vectordtype.py | 1 - .../client/models/voicecreaterequest.py | 1 - src/mistralai/client/models/voicegender.py | 11 + src/mistralai/client/models/voicelistpage.py | 52 + .../client/models/voicelistresponse.py | 1 - src/mistralai/client/models/voiceresponse.py | 1 - .../client/models/voiceupdaterequest.py | 1 - .../client/models/websearchpremiumtool.py | 1 - src/mistralai/client/models/websearchtool.py | 1 - src/mistralai/client/models/workflow.py | 1 - .../client/models/workflowarchiveresponse.py | 1 - .../client/models/workflowbasicdefinition.py | 1 - .../models/workflowbulkarchiverequest.py | 1 - .../models/workflowbulkarchiveresponse.py | 1 - .../client/models/workflowbulkerror.py | 1 - .../models/workflowbulkunarchiverequest.py | 1 - .../models/workflowbulkunarchiveresponse.py | 1 - .../client/models/workflowcodedefinition.py | 1 - .../client/models/workfloweventtype.py | 1 - .../workflowexecutioncanceledattributes.py | 1 - .../workflowexecutioncanceledresponse.py | 61 +- ...lowexecutioncompletedattributesresponse.py | 1 - .../workflowexecutioncompletedresponse.py | 61 +- ...ecutioncontinuedasnewattributesresponse.py | 1 - ...workflowexecutioncontinuedasnewresponse.py | 61 +- .../workflowexecutionfailedattributes.py | 1 - .../models/workflowexecutionfailedresponse.py | 61 +- .../models/workflowexecutionlistresponse.py | 1 - .../workflowexecutionprogresstraceevent.py | 1 - .../client/models/workflowexecutionrequest.py | 1 - .../models/workflowexecutionresponse.py | 1 - ...kflowexecutionstartedattributesresponse.py | 1 - .../workflowexecutionstartedresponse.py | 61 +- .../client/models/workflowexecutionstatus.py | 1 - .../models/workflowexecutionsyncresponse.py | 1 - .../models/workflowexecutiontraceevent.py | 1 - .../workflowexecutiontraceeventsresponse.py | 1 - .../workflowexecutiontraceotelresponse.py | 1 - ...owexecutiontracesummaryattributesvalues.py | 1 - .../workflowexecutiontracesummaryresponse.py | 1 - .../workflowexecutiontracesummaryspan.py | 1 - .../workflowexecutionwithoutresultresponse.py | 1 - .../client/models/workflowgetresponse.py | 1 - .../client/models/workflowlistresponse.py | 1 - .../client/models/workflowmetadata.py | 1 - .../client/models/workflowmetrics.py | 1 - .../client/models/workflowregistration.py | 1 - .../models/workflowregistrationgetresponse.py | 1 - .../workflowregistrationlistresponse.py | 1 - .../workflowregistrationwithworkerstatus.py | 1 - .../models/workflowschedulelistresponse.py | 1 - .../models/workflowschedulepauserequest.py | 1 - .../client/models/workflowschedulerequest.py | 1 - .../client/models/workflowscheduleresponse.py | 1 - .../models/workflowscheduletriggerrequest.py | 1 - .../models/workflowscheduleupdaterequest.py | 1 - .../client/models/workflowstreamerror.py | 1 - .../models/workflowsworkerspecupdate.py | 67 +- .../models/workflowtaskfailedattributes.py | 1 - .../models/workflowtaskfailedresponse.py | 61 +- .../models/workflowtasktimedoutattributes.py | 1 - .../models/workflowtasktimedoutresponse.py | 61 +- src/mistralai/client/models/workflowtype.py | 1 - .../models/workflowunarchiveresponse.py | 1 - .../client/models/workflowupdaterequest.py | 1 - .../client/models/workflowupdateresponse.py | 1 - .../client/models/workflowwithworkerstatus.py | 1 - src/mistralai/client/models_.py | 1 - src/mistralai/client/observability.py | 1 - src/mistralai/client/ocr.py | 1 - src/mistralai/client/rag.py | 1 - src/mistralai/client/realtime.py | 1 - src/mistralai/client/records.py | 1 - src/mistralai/client/runs.py | 5 +- src/mistralai/client/schedules.py | 1 - src/mistralai/client/sdk.py | 3 +- src/mistralai/client/sdkconfiguration.py | 1 - src/mistralai/client/search_indexes.py | 1 - src/mistralai/client/service_accounts.py | 23 +- src/mistralai/client/sessions.py | 1 - src/mistralai/client/skills.py | 1 - src/mistralai/client/spans.py | 271 +- src/mistralai/client/speech.py | 1 - src/mistralai/client/traces.py | 1 - src/mistralai/client/transcriptions.py | 1 - src/mistralai/client/types/__init__.py | 1 - src/mistralai/client/types/base64fileinput.py | 1 - src/mistralai/client/types/basemodel.py | 1 - src/mistralai/client/users.py | 1 - src/mistralai/client/utils/__init__.py | 1 - src/mistralai/client/utils/annotations.py | 1 - src/mistralai/client/utils/datetimes.py | 1 - src/mistralai/client/utils/dynamic_imports.py | 1 - src/mistralai/client/utils/enums.py | 1 - src/mistralai/client/utils/eventstreaming.py | 3 +- src/mistralai/client/utils/forms.py | 1 - src/mistralai/client/utils/headers.py | 3 +- src/mistralai/client/utils/logger.py | 3 +- src/mistralai/client/utils/metadata.py | 1 - src/mistralai/client/utils/queryparams.py | 1 - src/mistralai/client/utils/requestbodies.py | 1 - src/mistralai/client/utils/retries.py | 3 +- src/mistralai/client/utils/security.py | 1 - src/mistralai/client/utils/serializers.py | 3 +- src/mistralai/client/utils/unions.py | 1 - .../client/utils/unmarshal_json_response.py | 3 +- src/mistralai/client/utils/url.py | 1 - src/mistralai/client/utils/values.py | 3 +- src/mistralai/client/voices.py | 297 +- src/mistralai/client/workflows.py | 1 - src/mistralai/client/workflows_events.py | 1 - src/mistralai/extra/batch/client.py | 75 +- src/mistralai/extra/connectors_gateway.py | 191 + .../extra/connectors_gateway_errors.py | 105 + src/mistralai/extra/mcp/auth.py | 2 +- src/mistralai/extra/mcp/base.py | 2 +- src/mistralai/extra/mcp/sse.py | 10 +- src/mistralai/extra/mcp/streamable_http.py | 20 +- src/mistralai/extra/observability/otel.py | 2 +- src/mistralai/extra/realtime/transcription.py | 14 + src/mistralai/extra/struct_chat.py | 17 +- src/mistralai/extra/tests/test_batch.py | 170 +- .../extra/tests/test_connectors_gateway.py | 559 ++ .../extra/tests/test_mcp_streamable_http.py | 46 +- .../extra/tests/test_otel_tracing.py | 12 +- .../extra/tests/test_service_account_auth.py | 312 ++ .../extra/tests/test_stream_error_hook.py | 4 +- src/mistralai/extra/tests/test_struct_chat.py | 67 + .../extra/tests/test_traceparent_hook.py | 2 +- .../extra/tests/test_workflow_encoding.py | 3 +- .../extra/workflows/connector_auth.py | 2 +- uv.lock | 220 +- 1272 files changed, 13525 insertions(+), 5959 deletions(-) create mode 100644 .speakeasy/connector-id-or-name-overlay.yaml create mode 100644 docs/models/aggregatespanevaluationsv1observabilityspansevaluationsaggregatepostrequest.md create mode 100644 docs/models/audiov2voiceslistrequest.md create mode 100644 docs/models/audiov2voiceslistresponse.md create mode 100644 docs/models/audiov2voiceslisttype.md create mode 100644 docs/models/backendspec.md create mode 100644 docs/models/connectordeletecredentialsconsumerscope.md create mode 100644 docs/models/connectordeletecredentialsrequest.md delete mode 100644 docs/models/connectordeleteorganizationcredentialsv1request.md delete mode 100644 docs/models/connectordeleteusercredentialsv1request.md delete mode 100644 docs/models/connectordeleteworkspacecredentialsv1request.md create mode 100644 docs/models/createpipelinerequest.md create mode 100644 docs/models/datasetimportresult.md create mode 100644 docs/models/deletepipelinev1observabilitypipelinespipelineiddeleterequest.md delete mode 100644 docs/models/deploymentkoyebbackendspec.md create mode 100644 docs/models/deploymentlogtype.md create mode 100644 docs/models/deploymentmistralcloudbackendspec.md create mode 100644 docs/models/deploymentmistralcloudbackendspectype.md create mode 100644 docs/models/deploymentsecretbinding.md delete mode 100644 docs/models/deploymentworkerspecinputbackendspec.md delete mode 100644 docs/models/deploymentworkerspecresponsebackendspec.md create mode 100644 docs/models/getchunkindexv1ragmanagedindexesindexnamechunkschunkidgetrequest.md create mode 100644 docs/models/getpipelinev1observabilitypipelinespipelineidgetrequest.md create mode 100644 docs/models/grepindexv1ragmanagedindexesindexnamegreppostrequest.md create mode 100644 docs/models/grepmode.md create mode 100644 docs/models/greprequest.md create mode 100644 docs/models/importdatasetfromspansrequest.md create mode 100644 docs/models/listpipelinesv1observabilitypipelinesgetrequest.md create mode 100644 docs/models/navigateindexv1ragmanagedindexesindexnamenavigatepostrequest.md create mode 100644 docs/models/navigaterequest.md create mode 100644 docs/models/navigationchunkresponse.md create mode 100644 docs/models/navigationdirection.md create mode 100644 docs/models/navigationresponse.md create mode 100644 docs/models/paginatedresultpipeline.md create mode 100644 docs/models/pipeline.md create mode 100644 docs/models/pipelinesresponse.md create mode 100644 docs/models/postdatasetrecordsfromspansv1observabilitydatasetsdatasetidimportsfromspanspostrequest.md create mode 100644 docs/models/principaltype.md create mode 100644 docs/models/readindexv1ragmanagedindexesindexnamereadpostrequest.md create mode 100644 docs/models/readrequest.md create mode 100644 docs/models/rrfretriever.md create mode 100644 docs/models/rrfretrieverfilter.md rename docs/models/{retriever.md => rrfretrieverretriever.md} (90%) create mode 100644 docs/models/searchrequestretriever.md create mode 100644 docs/models/sortorder.md create mode 100644 docs/models/spandatasetmapping.md create mode 100644 docs/models/spandatasetmappingcontract.md create mode 100644 docs/models/spandatasetsourcenamespace.md create mode 100644 docs/models/spandatasetsourcereference.md create mode 100644 docs/models/telemetryspanreference.md create mode 100644 docs/models/unhardendeploymentv1workflowsdeploymentsdeploymentidunhardenpostrequest.md create mode 100644 docs/models/updatepipelinerequest.md create mode 100644 docs/models/updatepipelinev1observabilitypipelinespipelineidputrequest.md create mode 100644 docs/models/voicegender.md create mode 100644 docs/models/voicelistpage.md delete mode 100644 docs/models/workflowsworkerspecupdatebackendspec.md create mode 100644 packages/azure/src/mistralai/azure/client/types/base64fileinput.py create mode 100644 packages/gcp/src/mistralai/gcp/client/types/base64fileinput.py create mode 100644 src/mistralai/client/_hooks/service_account_auth.py create mode 100644 src/mistralai/client/models/aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop.py create mode 100644 src/mistralai/client/models/audio_v2_voices_listop.py rename src/mistralai/client/models/{connector_delete_organization_credentials_v1op.py => connector_delete_credentialsop.py} (55%) delete mode 100644 src/mistralai/client/models/connector_delete_workspace_credentials_v1op.py create mode 100644 src/mistralai/client/models/createpipelinerequest.py create mode 100644 src/mistralai/client/models/datasetimportresult.py create mode 100644 src/mistralai/client/models/delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop.py delete mode 100644 src/mistralai/client/models/deploymentkoyebbackendspec.py create mode 100644 src/mistralai/client/models/deploymentlogtype.py create mode 100644 src/mistralai/client/models/deploymentmistralcloudbackendspec.py create mode 100644 src/mistralai/client/models/deploymentsecretbinding.py rename src/mistralai/client/models/{connector_delete_user_credentials_v1op.py => get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop.py} (62%) create mode 100644 src/mistralai/client/models/get_pipeline_v1_observability_pipelines_pipeline_id_getop.py create mode 100644 src/mistralai/client/models/grep_index_v1_rag_managed_indexes_index_name_grep_postop.py create mode 100644 src/mistralai/client/models/grepmode.py create mode 100644 src/mistralai/client/models/greprequest.py create mode 100644 src/mistralai/client/models/importdatasetfromspansrequest.py create mode 100644 src/mistralai/client/models/list_pipelines_v1_observability_pipelines_getop.py create mode 100644 src/mistralai/client/models/navigate_index_v1_rag_managed_indexes_index_name_navigate_postop.py create mode 100644 src/mistralai/client/models/navigaterequest.py create mode 100644 src/mistralai/client/models/navigationchunkresponse.py create mode 100644 src/mistralai/client/models/navigationdirection.py create mode 100644 src/mistralai/client/models/navigationresponse.py create mode 100644 src/mistralai/client/models/paginatedresultpipeline.py create mode 100644 src/mistralai/client/models/pipeline.py create mode 100644 src/mistralai/client/models/pipelinesresponse.py create mode 100644 src/mistralai/client/models/post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop.py create mode 100644 src/mistralai/client/models/principaltype.py create mode 100644 src/mistralai/client/models/read_index_v1_rag_managed_indexes_index_name_read_postop.py create mode 100644 src/mistralai/client/models/readrequest.py create mode 100644 src/mistralai/client/models/rrfretriever.py create mode 100644 src/mistralai/client/models/sortorder.py create mode 100644 src/mistralai/client/models/spandatasetmapping.py create mode 100644 src/mistralai/client/models/spandatasetmappingcontract.py create mode 100644 src/mistralai/client/models/spandatasetsourcenamespace.py create mode 100644 src/mistralai/client/models/spandatasetsourcereference.py create mode 100644 src/mistralai/client/models/telemetryspanreference.py create mode 100644 src/mistralai/client/models/unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop.py create mode 100644 src/mistralai/client/models/update_pipeline_v1_observability_pipelines_pipeline_id_putop.py create mode 100644 src/mistralai/client/models/updatepipelinerequest.py create mode 100644 src/mistralai/client/models/voicegender.py create mode 100644 src/mistralai/client/models/voicelistpage.py create mode 100644 src/mistralai/extra/connectors_gateway.py create mode 100644 src/mistralai/extra/connectors_gateway_errors.py create mode 100644 src/mistralai/extra/tests/test_connectors_gateway.py create mode 100644 src/mistralai/extra/tests/test_service_account_auth.py diff --git a/.speakeasy/connector-id-or-name-overlay.yaml b/.speakeasy/connector-id-or-name-overlay.yaml new file mode 100644 index 000000000..21d4b11c0 --- /dev/null +++ b/.speakeasy/connector-id-or-name-overlay.yaml @@ -0,0 +1,11 @@ +overlay: 1.0.0 +info: + title: Keep connector ID-or-name parameters as strings + version: 1.0.0 +actions: + - target: $.paths..[?(@.name == 'connector_id_or_name')].schema.anyOf + description: Connector names are not UUIDs, so this parameter cannot be UUID-only. + remove: true + - target: $.paths..[?(@.name == 'connector_id_or_name')].schema + update: + type: string diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4ec9d636b..52d114cf5 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 2d045ec7-2ebb-4f4d-ad25-40953b132161 management: - docChecksum: a9c16d46ae1923d832640cabafc693c6 + docChecksum: 4f9ba5008713fd0bd2864dd6eac5780a docVersion: 1.0.0 speakeasyVersion: 1.796.4 generationVersion: 2.935.1 - releaseVersion: 2.10.1 - configChecksum: 6c53df88b0ef67507b9a5049929112a1 + releaseVersion: 3.0.0 + configChecksum: 2da9d88237906b32d6ef9434cf403af7 repoURL: https://github.com/mistralai/client-python.git installationURL: https://github.com/mistralai/client-python.git published: true persistentEdits: - generation_id: aea6e2cf-f892-4093-9d63-7b7543e71ee1 - pristine_commit_hash: 80200e9898c9d59df95afa280ae0dcdbe602c65b - pristine_tree_hash: b7c5712b0f249666998df1f0baefa56db06a9644 + generation_id: d26ba3b0-97aa-4b45-ade0-89d30e488815 + pristine_commit_hash: d9d722b95db47326800414c20c9480082d4690c5 + pristine_tree_hash: 731210a5b737d1965e4f501d7225497578856cff features: python: acceptHeaders: 3.0.0 @@ -59,10 +59,9 @@ trackedFiles: id: 89aa447020cd last_write_checksum: sha1:f84632c81029fcdda8c3b0c768d02b836fc80526 pristine_git_object: 8d79f0abb72526f1fb34a4c03e5bba612c6ba2ae - deleted: true USAGE.md: id: 3aed33ce6e6f - last_write_checksum: sha1:a301895a264e69dc11007de5f8c7c2e675cbdf5b + last_write_checksum: sha1:d172deb3ee1630f16b279de22aec1f8f68d7565f pristine_git_object: 9d32240a60c8885479c95388bb81c8024b5604ff docs/errors/httpvalidationerror.md: id: 7fe2e5327e07 @@ -82,32 +81,32 @@ trackedFiles: pristine_git_object: 43c92fe262f8e8657d337420526959424889d5dd docs/models/activitytaskcompletedresponse.md: id: 6aade3f8c26c - last_write_checksum: sha1:ec3b700f98e982fdcc350fb454f5414d04d2d2a0 - pristine_git_object: 3b457416cc1766bace1a93d54765922bf62a7055 + last_write_checksum: sha1:a95b07dd552a1ab6f4b39e50748ac28abb0072c8 + pristine_git_object: 4b92b46d71f40016a08de2e12b535d3c4696af6c docs/models/activitytaskfailedattributes.md: id: a69d5f4b0b99 last_write_checksum: sha1:e5371dae85ec79f485b5e3afc1ac8c29a2424163 pristine_git_object: 5cb9cafe9ce235ff996c3f1529babedfc6ebe239 docs/models/activitytaskfailedresponse.md: id: 325e821a4d2f - last_write_checksum: sha1:a8d6d513380af689771cf03480940cf459abf6b1 - pristine_git_object: d32ae8fdfaa39cfbb5e9783b08879a17953b5788 + last_write_checksum: sha1:6c58820f8f91a3f1bcfea038e21da615cff97ee0 + pristine_git_object: 43c1c89cbca022c79e808d182592af5c185ad663 docs/models/activitytaskretryingattributes.md: id: 4d2e278266f7 last_write_checksum: sha1:a79f27b4272efab1378a0f2d7de12939dfb7a933 pristine_git_object: 9216607678cc149d446bf30ba92a6cf9b3d4d3d2 docs/models/activitytaskretryingresponse.md: id: ca0fb7b72379 - last_write_checksum: sha1:fabe07b6096f02e7df3e9942ce7c079169a9a3ed - pristine_git_object: bde2a072bc20f00dddfe57d1df033b725d0f92bd + last_write_checksum: sha1:dfd78832f9c2a969b49f266e099a1fe561a5bed8 + pristine_git_object: 2a61ce4abfc28d254f681a6149c93dadeee50576 docs/models/activitytaskstartedattributesresponse.md: id: b0d2e886ad19 last_write_checksum: sha1:89068691379007eb892b4d81bfaeeb8f889771fd pristine_git_object: dd97ff85fb14f03afb8e3b390d7000cd3c308e64 docs/models/activitytaskstartedresponse.md: id: c25113506e99 - last_write_checksum: sha1:54bbccad7c1aa5c86a2594599ab8b051acaad22e - pristine_git_object: ca0206333956c6cf6509a27a84df921bcb83d18a + last_write_checksum: sha1:7d01cdc71769f865d8f9f6fa58a904299a858334 + pristine_git_object: 07dd761ba3392797d11b6e88e3c711f5e005df83 docs/models/agent.md: id: ffdbb4c53c87 last_write_checksum: sha1:568c13a4d6ccbd079989bd6a1af02c847e3e15c0 @@ -246,8 +245,8 @@ trackedFiles: pristine_git_object: 21ce6fb539238168e6d1dfc5a8206d55d33018d3 docs/models/agentscompletionrequesttool.md: id: 242b6dce104d - last_write_checksum: sha1:1ba227813be0c1047edfaf41b00bc14506374878 - pristine_git_object: c20358664c677d0e6c4179a7ac44c7e633125352 + last_write_checksum: sha1:50b88e66bbea8852587dc1093052a6c10008e26c + pristine_git_object: 71e35c17b5dbb53a295b8fe29a9f3b73012281fc docs/models/agentscompletionrequesttoolchoice.md: id: bd8a6f9fbb47 last_write_checksum: sha1:f3d9ec3c82b6bbd2c3cbc320a71b927edcc292b1 @@ -266,8 +265,8 @@ trackedFiles: pristine_git_object: 981005f3ff2277eae57c56787edb5f1f62d1fe46 docs/models/agentscompletionstreamrequesttool.md: id: 03d75b677f51 - last_write_checksum: sha1:3e9ef8be5631387c05584ba64f66f5b6fe2d4386 - pristine_git_object: 6a11b0420d94f7c42ea1ffa6b7577552f1d3c0d1 + last_write_checksum: sha1:e56c4ea2e77b9c4c1410fd8ddf06d30a622b8495 + pristine_git_object: 2170f32cfe9cfa24ab0fb30f658af4b403c20720 docs/models/agentscompletionstreamrequesttoolchoice.md: id: b1f76f7a4e1c last_write_checksum: sha1:843c4946d5cab61df2cba458af40835c4e8bcafe @@ -276,6 +275,10 @@ trackedFiles: id: 513b8b7bc0b7 last_write_checksum: sha1:8dedf7bcaa05492689ce0828e5644380258d5a7e pristine_git_object: 0722e955359c8569a219f3c2c9b3d9dbb7449ee0 + docs/models/aggregatespanevaluationsv1observabilityspansevaluationsaggregatepostrequest.md: + id: d38596604910 + last_write_checksum: sha1:954198c644c5900bdcc93f755ee7a1169f8b0467 + pristine_git_object: 4e1149480486505d969273c5f1cf04bf673b8392 docs/models/aggregatespansv1observabilityspansaggregatepostrequest.md: id: 71333abc025a last_write_checksum: sha1:8a38edff34faedbad4967eb6946c810f1e832e0c @@ -384,10 +387,22 @@ trackedFiles: id: 79b5f721b753 last_write_checksum: sha1:df6825c05b5a02dcf904ebaa40fb97e9186248cc pristine_git_object: 5d64964d1a635da912f2553c306fb8654ebfca2e + docs/models/audiov2voiceslistrequest.md: + id: 2205462da89a + last_write_checksum: sha1:3076645c68a5a05a6e2e6471ccf89696e57b09dc + pristine_git_object: a6b2755328b02b561b9c97c208641fcd08d27560 + docs/models/audiov2voiceslistresponse.md: + id: a62d3f3e8ca2 + last_write_checksum: sha1:fe201a4636dd4079a1aeb9640961d749aad650f3 + pristine_git_object: 8295e46ddd1693d3fb9bf3c30bbff65de6d283b8 + docs/models/audiov2voiceslisttype.md: + id: 68793ebbf9d9 + last_write_checksum: sha1:211ad9c5a88f6db2d967e6f1df92ef768d7709f8 + pristine_git_object: bebd95dc8202137d8434e9ec7fa324478b83ea37 docs/models/authdata.md: id: e510ac107a56 - last_write_checksum: sha1:37a2135ea310afd440dd66c8ca49737e618550b1 - pristine_git_object: 66b945d41ec04cf9667876acb78928aa40f09d2b + last_write_checksum: sha1:c9381080d1e156fd53e9ad96560fc889760872c1 + pristine_git_object: 8ff6b486c194c6553e0e172b965d3e9b9563f20f docs/models/authdirection.md: id: ca10166120de last_write_checksum: sha1:83c67886c8768b357c58470e17450c8b0e621e80 @@ -412,6 +427,10 @@ trackedFiles: id: df05a2481f48 last_write_checksum: sha1:6e6e74a9ee75bf37dd08703aca9f8e6a5f95a431 pristine_git_object: f8401a8e26c3d54aa47a1a6cc265050f0a4afc80 + docs/models/backendspec.md: + id: 491edc0f1471 + last_write_checksum: sha1:8ecc077b983dba655c45f701ebb5d0dbb4e56d64 + pristine_git_object: e5e0e4818f0299aec66e075027f38fe2279e3475 docs/models/basemodelcard.md: id: 2f62bfbd650e last_write_checksum: sha1:805554a7ce17fec802fab239d30b54fb723fb3b9 @@ -474,8 +493,8 @@ trackedFiles: pristine_git_object: 43c275a9e2125fe60a73dcf4c56953a9aad38356 docs/models/builtinconnectors.md: id: 9d14e972f08a - last_write_checksum: sha1:ad790344ffc177d10a7eff06482c39d722cd7b95 - pristine_git_object: 11dfd48a87d5341883fbcdf2aad1cfff8aed5587 + last_write_checksum: sha1:8dfff3054ed086ad8e3abee1bd69353a33290c81 + pristine_git_object: 45ba222b015366ac63ca2e9baa29acaae320bea3 docs/models/cancelworkflowexecutionv1workflowsexecutionsexecutionidcancelpostrequest.md: id: 69e393daf019 last_write_checksum: sha1:51a5c5fa815093aa1e91ec0f41567066b025abf3 @@ -494,7 +513,7 @@ trackedFiles: pristine_git_object: c289272622b137541843bb4ba9654d0e1405ffec docs/models/chatcompletionrequest.md: id: adffe90369d0 - last_write_checksum: sha1:616393d4f60c5af5acd59a1b0d75a5bb104bf5aa + last_write_checksum: sha1:0dddf71ba1e0546e1dfd66593ebcdb348abb7479 pristine_git_object: f2635c41c7223cf91ef92aac6f889a057e89b6cd docs/models/chatcompletionrequestmessage.md: id: 3f5e170d418c @@ -506,8 +525,8 @@ trackedFiles: pristine_git_object: 749296d420c0671d2a1d6d22483b51f577a86485 docs/models/chatcompletionrequesttool.md: id: 01554a1b158a - last_write_checksum: sha1:e7259e65ba3c614e5e70d0d55c88db03e90097d0 - pristine_git_object: 572d12ca006caead244387a5e91000ac33b0aa0e + last_write_checksum: sha1:d682d551e7a2398cfaf907335b9f084f20c1f2cb + pristine_git_object: 52d4935542f9adac9ba43e868a31f09b20226022 docs/models/chatcompletionrequesttoolchoice.md: id: b97041b2f15b last_write_checksum: sha1:7ad7eb133f70e07d0d6a9def36aadd08b35cf861 @@ -518,7 +537,7 @@ trackedFiles: pristine_git_object: a0465ffbfc5558628953e03fbc53b80bbdc8649b docs/models/chatcompletionstreamrequest.md: id: cf8f29558a68 - last_write_checksum: sha1:6d5a43f03b3a1df2f61517d7f0a43a10ecf03ee9 + last_write_checksum: sha1:311682fab87baa123dcdab3cd32d0cc8a18256a6 pristine_git_object: 49acc50011a19b108fe63dbd000889424e3fff28 docs/models/chatcompletionstreamrequestmessage.md: id: 053a98476cd2 @@ -530,8 +549,8 @@ trackedFiles: pristine_git_object: a48460a92ac47fec1de2188ba46b238229736d32 docs/models/chatcompletionstreamrequesttool.md: id: cbfb16fb3b03 - last_write_checksum: sha1:163ad1e31d7ba4eaef7797b399d1323465e97110 - pristine_git_object: 48998fcbb16a8ce5f5a4fd8b2794125d97e935ac + last_write_checksum: sha1:dc03dcf2779444a15d820fe73b06e2c3df025a91 + pristine_git_object: 446b7712a2ae9deb8a628206a126064e7aba646e docs/models/chatcompletionstreamrequesttoolchoice.md: id: 210d5e5b1413 last_write_checksum: sha1:0543164caf3f4fb2bef3061dbd1a5e6b34b17ae9 @@ -704,22 +723,18 @@ trackedFiles: id: aee76bcb9648 last_write_checksum: sha1:495f75627085cf18c0c0346a8c2ed93dc178dd34 pristine_git_object: 683554fb16cd8ea69c8b2616a3aca506bf065fd0 - docs/models/connectordeleteorganizationcredentialsv1request.md: - id: 922f5267f2c0 - last_write_checksum: sha1:23af2d809a20c093ece79bcd1e6ebc551be4b368 - pristine_git_object: eaf4d00cc70f2d15e29634ff99f1cfedcdeea189 - docs/models/connectordeleteusercredentialsv1request.md: - id: 294334281c1c - last_write_checksum: sha1:2dfb1be1e57d3c48c0a5df7c642212e572731b34 - pristine_git_object: fd52cf921a5db428757407e216c918853f5e67cb + docs/models/connectordeletecredentialsconsumerscope.md: + id: 5ff67defa69b + last_write_checksum: sha1:c403299c1a55efe838be3ed97b165b4f63328435 + pristine_git_object: 116362f6bc41d4c5aa792930755367e8c9cba59b + docs/models/connectordeletecredentialsrequest.md: + id: 39625cc7647e + last_write_checksum: sha1:83a5ecfb5302ea048e92d257d326ae8f776948e7 + pristine_git_object: fc6d069dc6e984468e66462824aa75414935cde4 docs/models/connectordeletev1request.md: id: 8d5621ba6395 last_write_checksum: sha1:881b88b2e0788f7c16938115a6cada5f0ebe144b pristine_git_object: e50c7296f28bbf48daf724af3c848a50e8424ad7 - docs/models/connectordeleteworkspacecredentialsv1request.md: - id: 058a4c7be62f - last_write_checksum: sha1:c5185ed84e0f26596bcc1c573009d694a064f21f - pristine_git_object: 3bc3d7c9e7f25bb3ee716e0fc9011dfa40b844c5 docs/models/connectorgetauthenticationmethodsv1request.md: id: 50edde04fff0 last_write_checksum: sha1:78305fe0052b6b90036ca72302a42dcf9093e3d3 @@ -730,16 +745,16 @@ trackedFiles: pristine_git_object: bc1f53389615a2762ecc013468c23e37a983bfad docs/models/connectorgetv1request.md: id: 844c1f489684 - last_write_checksum: sha1:1eab3b3b0f1a780df635aeca9393d667221b8e30 - pristine_git_object: 124ab1e5162bca3887a7bbd7585b5654c505418e + last_write_checksum: sha1:2ce0a9b44c78e04d1918f1265087f1553c0614dc + pristine_git_object: 4047bca3c6c88ca58acd4333ca856b60c81a0d57 docs/models/connectorlistorganizationcredentialsv1request.md: id: cc1870566c72 last_write_checksum: sha1:a6b5cd03c244abcd1d5e4d6a48c066f9cf438acc pristine_git_object: 439a2dc84881838257ca4bec34910c8a58ce9ee4 docs/models/connectorlisttoolsv1request.md: id: 43698382d3c4 - last_write_checksum: sha1:57fc27097bbf2466326616914defac3666560c8a - pristine_git_object: a71039f47d5ff264aac2a7da4ae4688f1c07ccb1 + last_write_checksum: sha1:6615b2eba48d65badfed2ef43db68255770bcecf + pristine_git_object: 2b4c177816451b137c00677a2c041c583d45fc9b docs/models/connectorlistusercredentialsv1request.md: id: 721da447813a last_write_checksum: sha1:6a5ba1aa775e243e0b2de94f9be3829b84d10579 @@ -778,8 +793,8 @@ trackedFiles: pristine_git_object: 4447f538f7baee30a1d5921efd87fd337f945e58 docs/models/connectorsqueryfilters.md: id: d6fb981cad1e - last_write_checksum: sha1:ade303aa8a2432d6b15de7874744edbd79282b33 - pristine_git_object: b4ffb97baaac41425cc7ae0b20de73b53fe801ad + last_write_checksum: sha1:628059a2112a492bde1039f2822f7cb93521cdb8 + pristine_git_object: 06997e2e17ce8d370fcead0074b7b3a6a725c349 docs/models/connectortool.md: id: 1c640bab9aeb last_write_checksum: sha1:ab4ad137330bda6699043da2337aea477c33241e @@ -1022,8 +1037,12 @@ trackedFiles: pristine_git_object: 1913893746776759f2684528bff4ba4d4dbcc014 docs/models/createpipelineconfigrequest.md: id: df6cbc748145 - last_write_checksum: sha1:221e211b62756deaf364d65d558d5393ac3ab741 - pristine_git_object: 0914d2646fbb95d5f0712df79e640020ac2b46cf + last_write_checksum: sha1:774e6f7514dc10f4c63467bc51da94cb51ce6ac0 + pristine_git_object: cf46da1a8bed6f3a329ba173b152f3f9bc4b1779 + docs/models/createpipelinerequest.md: + id: 664a84790fd9 + last_write_checksum: sha1:68e08369df3bef08e283418fd9b04d2121ebb61b + pristine_git_object: b1981c44c6bbb6b091ccadd21086ac7e7bd63f91 docs/models/createpromptrequest.md: id: a944c1299095 last_write_checksum: sha1:991592a4ffcbdaf0d6c67b2ce0b73383af81a9cd @@ -1090,56 +1109,60 @@ trackedFiles: pristine_git_object: 3a5facdd3be90098f0f22bcf05215472cf2d4ec9 docs/models/customtaskcanceledresponse.md: id: 79e4f2bbf720 - last_write_checksum: sha1:74b9d178b7f8b51fdc941bc8f21dfdcdfb0ac7c2 - pristine_git_object: 85d7bca4f402adfcb7f30e865b9df400b3ff872e + last_write_checksum: sha1:9e35850754fc24486e41131185fc9f1c7ad25c31 + pristine_git_object: 858fee9c1a1d024a28131c4298be8e657ae1fac1 docs/models/customtaskcompletedattributesresponse.md: id: c12961b43e1c last_write_checksum: sha1:e549b58f4d1a544e3c453a9ec454930d342f5adf pristine_git_object: 4c7cbfa21dcdcf91ceac8f1ca5d84413eefc4bbb docs/models/customtaskcompletedresponse.md: id: 81d843216312 - last_write_checksum: sha1:f3ef2e7bf00991bddcbda889972b2880a5f62b3b - pristine_git_object: e3383dde878fbc76f6ad6f33a444f4c3d7551641 + last_write_checksum: sha1:8837bd43e603551cca17297f18cbce956f53e531 + pristine_git_object: 491e2b1702c7414769125b76057d294590b8d5ac docs/models/customtaskfailedattributes.md: id: cd0cdf6bd8d8 last_write_checksum: sha1:71cf249d1b1bd2df1cf3ec4426da9b8c9bb82c37 pristine_git_object: f4e3ab2d57ec9d447c3570e6832f911c93c94f96 docs/models/customtaskfailedresponse.md: id: 16c047b0f70f - last_write_checksum: sha1:63554fce99b7786ef6ff7cae82bebcd92b5554d2 - pristine_git_object: 3f4c18a4ead21889bfad744a263bd2009e7f595e + last_write_checksum: sha1:8c5e880a116c59353b3998f94bc231b3ab404716 + pristine_git_object: ffab0cf2f26e740cf2ccad34be0720fd6d896e39 docs/models/customtaskinprogressattributesresponse.md: id: 8482e22b58c4 last_write_checksum: sha1:0681737168dc45c08b085a4cf084903fedc127e3 pristine_git_object: d55b81379969289edd586c03cfc8eda46a615fb2 docs/models/customtaskinprogressresponse.md: id: a181c7602b7f - last_write_checksum: sha1:599633a421219de9834c97f4f58c05d1e827d1f6 - pristine_git_object: 15a4cf8bc5ce58307389f465dad03a96743ca1cc + last_write_checksum: sha1:c2002297176f0db2dc9af918846cee0b8a46700b + pristine_git_object: 566edbab0d4557b33d16dc2c99ed16751caf0106 docs/models/customtaskstartedattributesresponse.md: id: 272cf75ac5d3 last_write_checksum: sha1:bc09d8da2636e28821260a08235fcf69d577758a pristine_git_object: 41cd66a9e59dbfdb9c0574001a4a12f2ac499f93 docs/models/customtaskstartedresponse.md: id: 6ccd9fe137bc - last_write_checksum: sha1:c1d0a5a6a52147eef43552a9a64df568df178b43 - pristine_git_object: 4130f72dfba1d591ca688cb05fa899ae4f817307 + last_write_checksum: sha1:54dba4357cd67c362476c93d212961a5599069c4 + pristine_git_object: 7fdd2e54dbd5496951b34fad826ae357c333c202 docs/models/customtasktimedoutattributes.md: id: b941e1c031db last_write_checksum: sha1:db82046ed2aa47a5c206a9e5cea7f7ab066a3329 pristine_git_object: b302b07666ad0b807990d42d6ef67a3c9c213bc8 docs/models/customtasktimedoutresponse.md: id: b4f8e7f006e7 - last_write_checksum: sha1:b2e0e46c908f75aaaaa9a88771686022c041b5f5 - pristine_git_object: 1d206b0219c460e44e9432d1b1c9783b79a972a4 + last_write_checksum: sha1:0163889d34b158b0efc0aa192ed196d6a4ae60a8 + pristine_git_object: 24ec13fbdf8d26f8232b03658ac0eacc13719dc1 docs/models/dataset.md: id: 31af4d237e19 last_write_checksum: sha1:073fa9a0b7891ccd9b6ae64ba960d74eeb5c9007 pristine_git_object: 9d235433850f4024ea920e85567d5c2d6df13fb0 + docs/models/datasetimportresult.md: + id: e03af4f79a3a + last_write_checksum: sha1:d2d17f260ae104d98d7dde583e5995be84256dd6 + pristine_git_object: 6368a87df7885eba4818547776fe48ff270fc555 docs/models/datasetimporttask.md: id: 32402ad24d69 - last_write_checksum: sha1:8a41338cc24d1a48d4495e1be3124960bad09fef - pristine_git_object: 21e6130fcd7d2e1e4c303b4bc4292491fcd9ce81 + last_write_checksum: sha1:ba616d3bf8b9944b09c64177b3e904f59e94f116 + pristine_git_object: 370d7ed5aabda11cbef3f6886e28aa4f75b11954 docs/models/datasetpreview.md: id: 5e080239e3e1 last_write_checksum: sha1:5914284c85165976de7d53ac06fd30ebdc5a8c15 @@ -1212,6 +1235,10 @@ trackedFiles: id: aa34c6dec8b9 last_write_checksum: sha1:365031583fa903b460ebff7010ead14d23e380d8 pristine_git_object: 026bd85935d68bab788db531e25763e4e9262642 + docs/models/deletepipelinev1observabilitypipelinespipelineiddeleterequest.md: + id: 06769be84a14 + last_write_checksum: sha1:0c3baaa2f91cc775dbebd02882760aab7d3cd830 + pristine_git_object: 242f1beb29b11a23106d9614854bd76ff195beeb docs/models/deletepromptresponse.md: id: 56c2ccfde5e9 last_write_checksum: sha1:cd77a801fdc22502c9d7247d9c97e4877e0dcea8 @@ -1252,10 +1279,6 @@ trackedFiles: id: 55034e96c579 last_write_checksum: sha1:d4783243a38bab5892744ca3b3308f7d2366d963 pristine_git_object: dcb861b96dd80547c9f29a81bdd225022223a7c2 - docs/models/deploymentkoyebbackendspec.md: - id: 567a9aa4815a - last_write_checksum: sha1:5683d30b31c9f25b15e6f6cb0ceac66a4a450a62 - pristine_git_object: 24284389c54c38964091c943622db4528b0cce77 docs/models/deploymentlistresponse.md: id: 45a11caf1008 last_write_checksum: sha1:e0d0d588f994f72dd7adcc096129cfdac50efb33 @@ -1272,22 +1295,38 @@ trackedFiles: id: fa360c0dff40 last_write_checksum: sha1:309959d041d47ed39a34402e42552c834523cdfd pristine_git_object: 8cf2ade307ce5690f0784211e39b801ec75de7bf + docs/models/deploymentlogtype.md: + id: 312642c2cc79 + last_write_checksum: sha1:1808adf9c3ab91b5be218f0bf0fa1abbaaaa4981 + pristine_git_object: 33659f1202348fad4b928cf65d1c84c54036b4f6 + docs/models/deploymentmistralcloudbackendspec.md: + id: dd5165748958 + last_write_checksum: sha1:f2b40aff7021f1c0a717db56dbd7174523903615 + pristine_git_object: b637eff989866d3c3436514bb6f0778c82067dfa + docs/models/deploymentmistralcloudbackendspectype.md: + id: 360585111aee + last_write_checksum: sha1:632519c7cbe1552707510b713f3576560ff204cd + pristine_git_object: 55b6b01d76c86f7f3bf494111111fba68d933da9 docs/models/deploymentobservedstate.md: id: 8b01388b9434 last_write_checksum: sha1:66c380404c57a7c6d5c60d1c37004d41af5cbc6e pristine_git_object: 5f4779d78eed208bccbde33ed64b46d118fbadaf docs/models/deploymentresourceconfig.md: id: 5834c98a07b3 - last_write_checksum: sha1:84df2e5736d1eaab479a0fbc31c6cd34623608a7 - pristine_git_object: 92261a14ac65a6017d2f602aa99d31eebea319f4 + last_write_checksum: sha1:1777a527e27b30f336a813b3e0fd4f351cf4dced + pristine_git_object: 149f946031d597d9016aeef1229be0ed06a17513 docs/models/deploymentresourceconfigupdate.md: id: f811bb0b2548 - last_write_checksum: sha1:c94149e7cf2b090ed72874a73b34e5f1fdc8bff5 - pristine_git_object: e11a8275410eab9849577f7fe6b86665f86a04e6 + last_write_checksum: sha1:83fe18819aa4a2aa4cc86bd05dcba4deccc06087 + pristine_git_object: 51d6cb433620ccc015a7ed64b1f2ff9a57f9eedf docs/models/deploymentresponse.md: id: a9da842850c4 last_write_checksum: sha1:bf75c978bf0aeb41964e6adadfa2b4779f830d45 pristine_git_object: e805fcca3257e3df396788d69d06e48811bd0b3d + docs/models/deploymentsecretbinding.md: + id: 8e58922196c7 + last_write_checksum: sha1:bab7ab1103f99cc97472737a8bab9b7d3552363b + pristine_git_object: f30250fdc65e14ab8f46d5ca21b583a9857a7301 docs/models/deploymentstatus.md: id: b039895c72a9 last_write_checksum: sha1:fe2f0489b2fea1fa58454ea8abe7426d01b17794 @@ -1302,20 +1341,12 @@ trackedFiles: pristine_git_object: 2f1d4bc3cb1e2c7dae1ba59235b5c82af28c6aca docs/models/deploymentworkerspecinput.md: id: 1cd06cd8089d - last_write_checksum: sha1:4d84bb1ab0d9b07bd382ce862c52ce27d9345c3f - pristine_git_object: fafa705226890d95baf9d4eafc8e1a14c79026de - docs/models/deploymentworkerspecinputbackendspec.md: - id: 9060b04bda15 - last_write_checksum: sha1:5476e2ea4870db63b210145a9f0d2c66aeb719e7 - pristine_git_object: 18a02a702b1faa249e8b76c09ec4388685eeb64e + last_write_checksum: sha1:f548c5cef035d51fe112249f575696ed71aa8ffb + pristine_git_object: 616e9aa173439275b5008830f4d6e4d75f3ce589 docs/models/deploymentworkerspecresponse.md: id: cad5b4a16cab - last_write_checksum: sha1:bbc86d8487bab94d07a55ca33eeb1331198da75b - pristine_git_object: 35e93f975f9a9d2fe191b79f96d9c4aaecd0582b - docs/models/deploymentworkerspecresponsebackendspec.md: - id: 2b558fa690a3 - last_write_checksum: sha1:5747e033b4ff01005fd9a2adc77306caaf24ae86 - pristine_git_object: 4d83e87a3652300e2c9cc97779d0fafd0ad78fe2 + last_write_checksum: sha1:bc75fc1ab4e40698bf0fed8412078d755f96b56c + pristine_git_object: 8c857ee32f5f82649568050ba5cd2235f8d9ac51 docs/models/detectiondefinition.md: id: e4e320b174a0 last_write_checksum: sha1:7d683feda1d7a3d75179bcfcaae8a35dffb78a1f @@ -1632,6 +1663,10 @@ trackedFiles: id: 5fb499088cdf last_write_checksum: sha1:a9a3b6530b1c48a8575402b48cde7b65efb33a7d pristine_git_object: 0226b7045c9d82186e1111bb2025e96a4de90bd6 + docs/models/getchunkindexv1ragmanagedindexesindexnamechunkschunkidgetrequest.md: + id: 48234a5745b2 + last_write_checksum: sha1:79ed9e84d11d2bf21f007dc926c1f78a6ab76202 + pristine_git_object: a12c4ca0be3fc989aef15767d7ac2c3544eacec1 docs/models/getdatasetbyidv1observabilitydatasetsdatasetidgetrequest.md: id: a5811667ed1e last_write_checksum: sha1:91f96f1449ad0adf83fccf11fdf270682a3e3cb4 @@ -1662,8 +1697,8 @@ trackedFiles: pristine_git_object: c77af7effca502ab4a1e9d2b68530370e47b85c1 docs/models/getdeploymentlogsrequest.md: id: 83372a03f641 - last_write_checksum: sha1:0ca5f9d96d5d55f50c143de40dc43622be64347f - pristine_git_object: 330290c7248f8dde6936463ddc827449be70a137 + last_write_checksum: sha1:ce3d159fe81bb6d34392000677290083f3065ce0 + pristine_git_object: 7dfd6b054343bae27f890614c41a775726b76889 docs/models/getdeploymentsummariesresponse.md: id: a4553c9ddb4e last_write_checksum: sha1:8cca88c3bbe5e7c3876fc66ac377a4088845c9a4 @@ -1732,6 +1767,10 @@ trackedFiles: id: 9987a63f928a last_write_checksum: sha1:1aae5f440458dbd19254024155f55c250f5d8daa pristine_git_object: b9fc1024c309cac319d746ce9d00a8cf0330f651 + docs/models/getpipelinev1observabilitypipelinespipelineidgetrequest.md: + id: 38220b2af1c7 + last_write_checksum: sha1:407a60ae866f48fd7f962eb2b32a2c128130521b + pristine_git_object: de11d3da8de3aca39355d07e869ef50c0e4263ea docs/models/getrunhistoryv1workflowsrunsrunidhistorygetrequest.md: id: d0010e389ace last_write_checksum: sha1:9083de20179b09071ac9f5ded13a15b70d4fea87 @@ -1948,6 +1987,18 @@ trackedFiles: id: 3cee51c03dea last_write_checksum: sha1:7ac3b029b14105672460c3fab1b8ae56637fb979 pristine_git_object: d409e523ec385ba2170afb8b7299ab2f971c9c4a + docs/models/grepindexv1ragmanagedindexesindexnamegreppostrequest.md: + id: 632e5a09ba18 + last_write_checksum: sha1:374e97e36c96386e9e067431650772bc267626f5 + pristine_git_object: 0330507228dd492f65b11919dcd50148de76084a + docs/models/grepmode.md: + id: 20c2b5e3634b + last_write_checksum: sha1:379358ce01ab60d0260e7533e34d72a5df28a0ae + pristine_git_object: f6a4e94c1548bdbecc84673c7d3f7da786aad62d + docs/models/greprequest.md: + id: 688b4e89af79 + last_write_checksum: sha1:cdb40fbb654d6e0481fd602dfc2573d74984df42 + pristine_git_object: 87cb5c51e8d327de78c63219a6c4e9ec34bb1399 docs/models/gt.md: id: 140a4c2dfe7b last_write_checksum: sha1:0b80e420c4eaaac6fe255ca6e79352f6c43303c9 @@ -2004,6 +2055,10 @@ trackedFiles: id: 74bd521abc26 last_write_checksum: sha1:a4efe4ff8c52137af47d6ab750d1d2f7cba77e7c pristine_git_object: 72a586bc65f6219abed50105d9df9cb8b6ec8d02 + docs/models/importdatasetfromspansrequest.md: + id: 491f834aecc3 + last_write_checksum: sha1:781d9ad1f7eb72ecfe10fb522598bb0b80bcf91a + pristine_git_object: 1dbc28f5daba38528d45336a3f8809b4d52fceed docs/models/in_.md: id: 9520707758f0 last_write_checksum: sha1:8db5ba33fa9c50f199d1a7bbae3c1616e65203b8 @@ -2198,8 +2253,8 @@ trackedFiles: pristine_git_object: f76b86aed2bdf889181a1a7922ce83d0654cbb6c docs/models/keywordretriever.md: id: 6ee7aba8d363 - last_write_checksum: sha1:013d65bc293715c7c5055627ff2521684a79d67b - pristine_git_object: 36eeb6d4a76d5ebe24ddc19eb8bbab63753cf5bc + last_write_checksum: sha1:93d993c6ab785f6eaa93433db429c25e377bb3b5 + pristine_git_object: 37ae2b6c0340466ac0e5a650a3546b5d6226f8fc docs/models/keywordretrieverfilter.md: id: 3d0460c874e0 last_write_checksum: sha1:2880aa294c7db44ab0cc225ab06e82e1e9ea2935 @@ -2318,8 +2373,8 @@ trackedFiles: pristine_git_object: 554266f5c9bd5d25d8735e58a62f32347f016915 docs/models/listdeploymentsv1workflowsdeploymentsgetrequest.md: id: 7c9f534b899b - last_write_checksum: sha1:44216e5da8714b7e412739c50ef777469d9a67b0 - pristine_git_object: 7eb76ad7779a49ffa9f86cb9b14aada572d7990b + last_write_checksum: sha1:3dca28f262d6b2ad627e40a41861f04c3768449f + pristine_git_object: 23b27aac81155eccac42d7aa3a51340ebd97e275 docs/models/listdeploymentworkersv1workflowsdeploymentsnameworkersgetrequest.md: id: fbdc29434ada last_write_checksum: sha1:fb828cc92b49284efe410dddc8c128d2b7937fc6 @@ -2334,8 +2389,8 @@ trackedFiles: pristine_git_object: 802f685fb3a76afb86a69cf41e6de9339cd6fbc7 docs/models/listindexesv1ragmanagedindexesgetrequest.md: id: d29f21547878 - last_write_checksum: sha1:00031363f35d718d84a7d87947974a03efc2c6f1 - pristine_git_object: 1c737d5aa49fa510e68c13e2d91ee9b626513188 + last_write_checksum: sha1:b1d692dc209c3cd445fdf65a8a04f4fe5064d71d + pristine_git_object: a99444dafc939b15ce422b37be60fcd5f92fe963 docs/models/listindexesv1ragmanagedindexesgetresponse.md: id: a3c656fc6549 last_write_checksum: sha1:f87cfe79c88729b1b845459aab7e1d63da2d6aa5 @@ -2346,8 +2401,8 @@ trackedFiles: pristine_git_object: 66883d64d0e040f5eef0976a88c1a83b7a3137ed docs/models/listlibrariesresponse.md: id: 87e3bec10745 - last_write_checksum: sha1:6315b5da0bea6a99b4cf353f155ed1c4c366efe4 - pristine_git_object: 4b47ae0e762bce22dc8da2b9fa31c85bcc90564d + last_write_checksum: sha1:78359f08ac0a513801a24d2ef59e0d5687aa1053 + pristine_git_object: 4916aabb3f59992c250fe5a41454c7857eb17c08 docs/models/listmanagedindexesresponse.md: id: 89cbf1543b35 last_write_checksum: sha1:ddd9e6a019304ebbab0a2b28c2ffaa579c66fdd0 @@ -2364,6 +2419,10 @@ trackedFiles: id: 355ccbf58e21 last_write_checksum: sha1:288bdd47a8a28adae2574d68b710a7cebf0a5f32 pristine_git_object: b99b831ec8a1b4f0669cdeb20e4c3a391d2e316d + docs/models/listpipelinesv1observabilitypipelinesgetrequest.md: + id: 11d54a25de23 + last_write_checksum: sha1:86bfe6a7ee9e9e84ae6cff2744233bd314f64ab8 + pristine_git_object: c18fb6630e41ff86e71c1817a56b4ff46a1e9ab2 docs/models/listpromptsresponse.md: id: cd6fa906e61b last_write_checksum: sha1:de70326e508f9d5e0cd58b316fbfb4969c38ecf7 @@ -2378,8 +2437,8 @@ trackedFiles: pristine_git_object: 645719816f34b6ce88aaada4f4a7dc546ff096b2 docs/models/listrunsv1workflowsrunsgetrequest.md: id: 132927390b33 - last_write_checksum: sha1:58c3ce4432fb9795e1d13c38dcf13efa7c716ac6 - pristine_git_object: 8238bdc5b90aa880b66d9984656bab2d50b9ead6 + last_write_checksum: sha1:a12db69be2a28e10228fa85522d031c7a3ed737b + pristine_git_object: d954d3952fab26494ce23b3296d6328600a66800 docs/models/listrunsv1workflowsrunsgetresponse.md: id: da55980ef20d last_write_checksum: sha1:e176049e48a9f78b47be166b6dc8f47bca3e7da7 @@ -2402,8 +2461,8 @@ trackedFiles: pristine_git_object: a8b5111ca3b0801f2c0eb4579a95397b3352463d docs/models/listserviceaccountsv1serviceaccountsgetrequest.md: id: 41894aec56d8 - last_write_checksum: sha1:58cd9beaf63faf8cce3f36e9febc9fc2249e543f - pristine_git_object: db108d1844cdf1fc0a34e5f3e3c9a2f90a33e782 + last_write_checksum: sha1:f43820514b9bf78f7fbabc8c9589e2a3bf055e10 + pristine_git_object: dff896e2938a51e2b3c62bb6b3d1d23f4d54e742 docs/models/listserviceaccountsv1serviceaccountsgetresponse.md: id: 4d926edd8670 last_write_checksum: sha1:7748eed7ad71b7b742a55b4173a135c26178b2b1 @@ -2490,8 +2549,8 @@ trackedFiles: pristine_git_object: 82973fa4eb26efec6e75369c73599f342e304d93 docs/models/manageddeploymentresponse.md: id: fba53130778a - last_write_checksum: sha1:54eb7049a7f9d9cc4a1865f6527682aa13b493d7 - pristine_git_object: be39058e6a3bdb3647acc5011d324e0afeacc53c + last_write_checksum: sha1:3c858c3f30d4024b3f466cf0af0b91f279610499 + pristine_git_object: 450f2f391e9ba4e7adfa6c0773b0ec14380c65c2 docs/models/managedindexconfig.md: id: 642ff59b1373 last_write_checksum: sha1:9704f80fc125c343ee439697ec14e6c39d747e8b @@ -2502,8 +2561,8 @@ trackedFiles: pristine_git_object: b2616f6ddd5ee772f3e3f63c3670614b7ab51287 docs/models/managedindexresponse.md: id: 389c98065299 - last_write_checksum: sha1:8bdbf4521fb7308cbe0adbe624d6e931b7872bb5 - pristine_git_object: d7a126658511fb189a4938bcfc331cc7cae7eebe + last_write_checksum: sha1:3b12d92b76d750c2c4da15a9ca560fb908765841 + pristine_git_object: c0a8b8013b34f9d10144785a7c69c29245d5a571 docs/models/managedindexstatus.md: id: 9ac947c8b23b last_write_checksum: sha1:93491eadf0a938a5ac3fe71ffc92481ac3b283f1 @@ -2696,10 +2755,30 @@ trackedFiles: id: f5be2d861921 last_write_checksum: sha1:624f30759b7b7de1913b1ef3b8bb2187a95b9570 pristine_git_object: 9d7a00c44e1507edd12f16fbb6b3864f1c0bbd81 + docs/models/navigateindexv1ragmanagedindexesindexnamenavigatepostrequest.md: + id: 1f48255d8986 + last_write_checksum: sha1:54abdcfbfd5d7eae91dd9ae3d2c3e8d6e82317f9 + pristine_git_object: fe54e7dde28172af5f52a8eb3bb8c6194e7659f1 + docs/models/navigaterequest.md: + id: a19131f003bd + last_write_checksum: sha1:2621e592095e237eccbeb63affc953c0328fbc38 + pristine_git_object: 5b99a467d792819e3dfc53989abf7d4207022e69 + docs/models/navigationchunkresponse.md: + id: 8045485a0ee0 + last_write_checksum: sha1:e78c487c331442c7c6ff73a2471a44dabbca820a + pristine_git_object: 793af7cc8c1eb3d32ebac0759aaa2d4011058b81 + docs/models/navigationdirection.md: + id: 294da3e9257f + last_write_checksum: sha1:86f8514a2fb0e02d627902b09ab8beb2da057bcb + pristine_git_object: 397bc828d8b4b0f9f4162ad854602b7aabc66d09 + docs/models/navigationresponse.md: + id: aaf46372e541 + last_write_checksum: sha1:0400b249342ac49cb43ab59c4991912d33f30114 + pristine_git_object: 32a3b4f18890499e750cdc6a11625e4105261bc5 docs/models/nearestneighbourretriever.md: id: 6df392a159b7 - last_write_checksum: sha1:e400227a9bc9c8a3c0c9f29996943c354d03ad7c - pristine_git_object: df41d5f80cd889ebf765492f8abd2ddfc5cb6c7d + last_write_checksum: sha1:c39880c31136e2dc3706393b6e0a5a1573f6ad96 + pristine_git_object: 47c7c8018647ede9417074b16780075a4b3d7e60 docs/models/nearestneighbourretrieverfilter.md: id: 209c95127bea last_write_checksum: sha1:3d5085ec08c652bb065a011e58d960b5fdd434af @@ -2758,8 +2837,8 @@ trackedFiles: pristine_git_object: 22e2804a4424325ad07c264a61463635299fc254 docs/models/observabilityerrorcode.md: id: 61d16ff95b87 - last_write_checksum: sha1:362cc7dd4faef8b9816fd0e3355d8db7802f6622 - pristine_git_object: 5ad41a679ac7a6518977b49a83183cd5d4462c2c + last_write_checksum: sha1:afbfe6a69b3cafa1ea5ef09558636ed92b21b384 + pristine_git_object: 678d3886145f1eb5a1b80ce1763ee02c4c066b73 docs/models/observabilityerrordetail.md: id: 38061447dfbb last_write_checksum: sha1:1da7bf6e72c2f972b0e22f0201a1cb9b76f53ccd @@ -2874,8 +2953,8 @@ trackedFiles: pristine_git_object: cdb11118bad4d954b3cf84126635f59680d4d3ee docs/models/otelfielddefinition.md: id: a631910a6c2c - last_write_checksum: sha1:332a8fb238653396370c554d0c1f3b455360fd7e - pristine_git_object: 5ae1345b3248e89f8469b87cf3a2f40edcba58a9 + last_write_checksum: sha1:2282907c6daa8cf0f4a949d5cb7fe6cad10bcfb7 + pristine_git_object: 291cc84f9bca9a99a61da2e2081c86c0d7291e35 docs/models/otelfielddefinitiontype.md: id: 894f9ac0eb7f last_write_checksum: sha1:64bad53995233259436e7d14f75d75ed085f1cbb @@ -2920,6 +2999,10 @@ trackedFiles: id: 90506e511844 last_write_checksum: sha1:01368f99123b7db0e8dee1f03640f8258f89ea8b pristine_git_object: 91bf0c35876a6dcc2bf5cd34c8cbf1ade82b4d0c + docs/models/paginatedresultpipeline.md: + id: b2c2a32a3b9f + last_write_checksum: sha1:f9d1589299f685be51841600a471adc9ffeff308 + pristine_git_object: 26d820be5a7de5efbb7b8988b13fce691f15f902 docs/models/paginatedresultpipelineconfig.md: id: 8366cb2d20dd last_write_checksum: sha1:45453d13980ebfa2b68f93848e8e27f3cb39e6df @@ -2944,10 +3027,14 @@ trackedFiles: id: cd93a0338683 last_write_checksum: sha1:58bb76cb62da4c0c3c0f41965854dac205dcae3c pristine_git_object: 22b47fa5d1a09c31ceacca958e094b9f37ea994a + docs/models/pipeline.md: + id: 7bf10de52bd9 + last_write_checksum: sha1:920c73bee4548517704407909d530f907421c764 + pristine_git_object: 41a30f2236f0e6bba9d47962463a8488793f7ae6 docs/models/pipelineconfig.md: id: c332380c94c3 - last_write_checksum: sha1:87754c6cce6613f7b554caef1af9000e77d66806 - pristine_git_object: 3c092f574ce76da06d17162b297e0748bfc7fb88 + last_write_checksum: sha1:94c60bcb5c4cacb2f16619c659acff0dafa3cb2d + pristine_git_object: f02bd185e1d83776c85dbd0c3bfc63f9ce5a4dfd docs/models/pipelineconfigdefinition.md: id: f51917c84914 last_write_checksum: sha1:3963a203fc3d8e52b324eb60b198a00f64938032 @@ -2972,6 +3059,10 @@ trackedFiles: id: 6ff77216eff6 last_write_checksum: sha1:bdd0599996d501a066e3e40e577189ccf04ded0b pristine_git_object: d1039b084421b2943648b79d72a3be4df30fcdfd + docs/models/pipelinesresponse.md: + id: ee771aa6a983 + last_write_checksum: sha1:f4b33e0bed60e22e7b8ccc386c77a98b202ac8ef + pristine_git_object: 3388b230b8f59d4dff559fa0a4786c29124126e5 docs/models/postdatasetrecordsfromdatasetv1observabilitydatasetsdatasetidimportsfromdatasetpostrequest.md: id: 6a1b28e01fd6 last_write_checksum: sha1:63acf2f14db16c43da0347c0b5547cf90bf91e55 @@ -2984,10 +3075,18 @@ trackedFiles: id: a3c711a50d05 last_write_checksum: sha1:130c16a00743f65394279d00af233e6ee4337451 pristine_git_object: 86ab87b8d016644f31b762a9010b368337c3b141 + docs/models/postdatasetrecordsfromspansv1observabilitydatasetsdatasetidimportsfromspanspostrequest.md: + id: ef891ce33670 + last_write_checksum: sha1:a39d9e95577d9bc45f25c8a2b310ea42bc4411d2 + pristine_git_object: 503a5bb7130cc7b54460d3761f6cbdc2866401d9 docs/models/prediction.md: id: 3c70b2262201 last_write_checksum: sha1:ca8a77219e6113f2358a5363e935288d90df0725 pristine_git_object: fae3c1ca4ba2c2ddb3b7de401ecdc8d56dcc7740 + docs/models/principaltype.md: + id: 0e53e3fb2207 + last_write_checksum: sha1:dbf587220ecf75870521e72aef84517f1bbb57b0 + pristine_git_object: 9edf6a182d50a34021b758903bcaa229af4e3abc docs/models/processingstatus.md: id: 06047222d2ff last_write_checksum: sha1:81a11724ad214bab81874167854e6cbcb55a6cc0 @@ -3120,6 +3219,14 @@ trackedFiles: id: 5b84ba3d9dbe last_write_checksum: sha1:75c51d48629dbc67ff8ff0ce6b6d19607e7c9740 pristine_git_object: 3713254e1117aa1799a9ef6321146bc314d6f44a + docs/models/readindexv1ragmanagedindexesindexnamereadpostrequest.md: + id: 020404737c20 + last_write_checksum: sha1:5ad5245cee0487330f8066dd2851627213fc89c2 + pristine_git_object: 93d3a44933cc746c8035226db34998dc00ceb1b2 + docs/models/readrequest.md: + id: 1323016410bd + last_write_checksum: sha1:553cf2fa061b2ac0cd52d04c287927d7d8f01b10 + pristine_git_object: 657af9de97a1863eef9f9484303b939ad854fe01 docs/models/realtimetranscriptionerror.md: id: 4bc5e819565b last_write_checksum: sha1:c93e4b19a0aa68723ea69973a9f22a581c7b2ff6 @@ -3308,10 +3415,6 @@ trackedFiles: id: ac567924689c last_write_checksum: sha1:7534c5ec5f1ae1e750c8f610f81f2106587e81a9 pristine_git_object: f1280f8862e9d3212a5cfccd9453884b4055710a - docs/models/retriever.md: - id: ea2ad3ed76c1 - last_write_checksum: sha1:3712bd9a0e8e56d043ea23e74c365de17cb887e5 - pristine_git_object: d5d94a92581895229983df3794a52a8bb14c5e9f docs/models/role.md: id: b694540a5b1e last_write_checksum: sha1:dd140bf891a9b08db014fde4a99af28839e10dfb @@ -3324,6 +3427,18 @@ trackedFiles: id: 7cc1a16f90b4 last_write_checksum: sha1:65f29860fb46023e6feb61ed5775d4fef4774a92 pristine_git_object: f025431df291c6ab11241b2adfd33e5b915488c5 + docs/models/rrfretriever.md: + id: 2808f9bbc227 + last_write_checksum: sha1:165c590b31f6f900e6350eadcf9c0fc02c169d15 + pristine_git_object: 30f1c21b2506249430ed74bbecc4d92bdcf74c34 + docs/models/rrfretrieverfilter.md: + id: fe9a76e3cd59 + last_write_checksum: sha1:a471f42fb1f8e65db90bc4a80ca4e68f0b8d668b + pristine_git_object: c7fa02af08d934ad22438797c7e62c13a513b165 + docs/models/rrfretrieverretriever.md: + id: 8cf222c4b810 + last_write_checksum: sha1:0e421d7174379b3bd8ec8789eb64999c77b2a960 + pristine_git_object: 16145cf4ef3933e1fc66b79b09686d3fdf5aefa1 docs/models/sampletype.md: id: 0e09775cd9d3 last_write_checksum: sha1:b77964a7b39ec1b74f70925a39c30b23fad6ac43 @@ -3418,8 +3533,12 @@ trackedFiles: pristine_git_object: c0bd16222c225c2eea2fd8402d01f7ee8084b27b docs/models/searchrequest.md: id: bc36c5e5aee1 - last_write_checksum: sha1:1f795b80f00439321fda68f67197a8f25f4a62e4 - pristine_git_object: ecf2058058da72cdb2cdbc1d337c2c369d47ed29 + last_write_checksum: sha1:e1d05007422f9d649dca80a9c627b0c6715bb61a + pristine_git_object: 6b4d32e9df3bac00a0131d5b5b455e5a3aaa0a8c + docs/models/searchrequestretriever.md: + id: 9057a52eb882 + last_write_checksum: sha1:801e07549d076de393f7d9d9b7e44b72e8833309 + pristine_git_object: 047e99abc8c3db1428c7a947bc0a99ff6a19d188 docs/models/searchresponse.md: id: d5606b4d403f last_write_checksum: sha1:68c823a3beffd8394b5fec02f3310e702cfdfe22 @@ -3580,6 +3699,10 @@ trackedFiles: id: ba9d0fca86fe last_write_checksum: sha1:d85f5663c0b7e704c8662f4257a3574cbc3117f5 pristine_git_object: ef56a615c87d604f7b245cc1657794b1a8f97ff5 + docs/models/sortorder.md: + id: 9d51d68607b9 + last_write_checksum: sha1:f00f2d159587c7241e96a5c24282d041ced281a7 + pristine_git_object: 0e472dbf4a76710ebc52c39f00347a628574b40b docs/models/source.md: id: 6541ef7b41e7 last_write_checksum: sha1:00d43797d0155945ec39d4aff068a3ac7bad5ad5 @@ -3588,6 +3711,22 @@ trackedFiles: id: 7c1256de772d last_write_checksum: sha1:cd12387021362e82a41eda6aaaf76daf71f579e3 pristine_git_object: b38aec782bdb1c34b5574a847114183284bd0926 + docs/models/spandatasetmapping.md: + id: 16585c213949 + last_write_checksum: sha1:3b34f6716f5a53ec47d4a803e0271033c308846b + pristine_git_object: 3482f35aec0f958759ae22a83a596aa9006bee96 + docs/models/spandatasetmappingcontract.md: + id: 7db51be51ce6 + last_write_checksum: sha1:b84c7bf9a712a26fd0dfaf10e2bb85fc3367bca8 + pristine_git_object: 5ffe3b3589e7d0b830aad0a04a17fe78ea0b5239 + docs/models/spandatasetsourcenamespace.md: + id: 1cdaffc290e8 + last_write_checksum: sha1:cbcd8b28d6478e9f63d5afba19710f14f84a017e + pristine_git_object: 0af6fb8bd31f7e33e5dec636f2ef62b2bc1fb7fa + docs/models/spandatasetsourcereference.md: + id: cd7416283617 + last_write_checksum: sha1:489d597bc2509bba45fd194e2cfe9109e9f38f08 + pristine_git_object: bdded12da36f71f6c97227d84d5bc78182430e42 docs/models/spanevaluationsrequest.md: id: 062bf0aa28e4 last_write_checksum: sha1:c156070c505b1b57a9b6d0cc1838e615c1b1922b @@ -3740,6 +3879,10 @@ trackedFiles: id: 58be1f1aef25 last_write_checksum: sha1:2005c0e15f36bd315c17688daa4dd9a8c260b009 pristine_git_object: 2d16da9de0af99ca5cecd7aab3349e13d22c7013 + docs/models/telemetryspanreference.md: + id: 5797efa7ed07 + last_write_checksum: sha1:c5312c01c1b1b2c090134efce92e4b45bcd21884 + pristine_git_object: 5c156736641413be8f00e1f0c4db138847a34eee docs/models/tempogettraceresponse.md: id: b5700fe45c4d last_write_checksum: sha1:334312483f0365ed3ec20f6fc26b7fdf54fde811 @@ -4044,6 +4187,10 @@ trackedFiles: id: 68ac0e7701d3 last_write_checksum: sha1:3ff86e1e4647f0787841ba5f267a16b730c60351 pristine_git_object: e25cd4bcc990fc9b6d583b8d771ce9b0c297d391 + docs/models/unhardendeploymentv1workflowsdeploymentsdeploymentidunhardenpostrequest.md: + id: 528ecc78beed + last_write_checksum: sha1:75fb3eb56cd5dcf1361947d6e5b2f84c90a89d7a + pristine_git_object: d9afa1e292b3c0fe1c459943f085d3b007cce4f8 docs/models/unregisterdeploymentv1ragdeploymentsdeploymentiddeleterequest.md: id: 65f06ee99763 last_write_checksum: sha1:436eec06a8de98fb86d3d63522412bb271b67764 @@ -4166,12 +4313,20 @@ trackedFiles: pristine_git_object: 56b84c59c48ac135345394235c71ce77d384e33e docs/models/updatepipelineconfigrequest.md: id: a5647ffa8f3c - last_write_checksum: sha1:b2b5da5d662ce6f1b8c0324f0113d5d7d5fda37a - pristine_git_object: c319b089dcc4ae1676560a8b049b91fc5efd2e5c + last_write_checksum: sha1:c3fb4f751fe4ccbb4de625791488ffc09c3209ff + pristine_git_object: 7d0b1ba95643a340b9d6b29ecfeb39312e166b2a docs/models/updatepipelineconfigv1observabilitypipelineconfigspipelineconfigidputrequest.md: id: c3441f5225c7 last_write_checksum: sha1:613c534e9fddb4e1ed5449d5e66f1ddf3fbd505f pristine_git_object: 0eb31092cc21530e6acd9a5b3320c6b7b114927d + docs/models/updatepipelinerequest.md: + id: 1efe6e900bce + last_write_checksum: sha1:6855a42f8566847de071d6c4a524da1e0c9e1484 + pristine_git_object: edcafcc27b625c5706d2c1641c23dea018831eb7 + docs/models/updatepipelinev1observabilitypipelinespipelineidputrequest.md: + id: ee1b796b2663 + last_write_checksum: sha1:22b53a87753672f80911c58c6428129d2cee54fd + pristine_git_object: 81b72fa4ad3ae7b206ee3ebcdd27874bf77346f1 docs/models/updatepromptrequest.md: id: b89c81d877b9 last_write_checksum: sha1:b01121ea7d50fd30522d7d943f2f77338eaefba1 @@ -4230,8 +4385,8 @@ trackedFiles: pristine_git_object: fb460774fe5e9affe5d1c0e6795ed6255cf06587 docs/models/usageinfodollardefs.md: id: db2412f29163 - last_write_checksum: sha1:22376657c6afb47bd1d3c6629bca91f7c956fc64 - pristine_git_object: 8e405fc0bc409e1cd5a34742886b87036b5b8235 + last_write_checksum: sha1:618cb870e5cb3bc6e612908b118c1bce075391e0 + pristine_git_object: 8f1f228d20f855505f9dfd33c627a6f0d81b88d5 docs/models/useridentity.md: id: 959b5b6bb365 last_write_checksum: sha1:57c19208b5cccac6058c850e34f98bdb7d6b04e9 @@ -4262,8 +4417,8 @@ trackedFiles: pristine_git_object: 5de1a616ce1ed838b26e0f1119d5ae153b44097b docs/models/usersapigetidentitysecurity.md: id: 8af75bda1bc5 - last_write_checksum: sha1:7ffc5e81badd66a9bc039618ff736cab0e34cc61 - pristine_git_object: 3c8bc6ca66228a0f5e08c339316c1b5d31988fbb + last_write_checksum: sha1:187766ce82f6b5ae5d55225783088dabb54623b2 + pristine_git_object: 06ddff8de6dd7e2195e0e1902c010cd27808f64b docs/models/usersapilistorganizationsrequest.md: id: 1a4c0d2d029b last_write_checksum: sha1:407236f9a8771967b197620fd9655cd03b6b14fc @@ -4274,8 +4429,8 @@ trackedFiles: pristine_git_object: 5198158a7a84860bd7c71af433897477e602400c docs/models/usersapilistorganizationssecurity.md: id: 42ae3ba6301b - last_write_checksum: sha1:c78e2449126ea18b458dbf1449612f2d44f3b195 - pristine_git_object: 49414a0cededa483e1f3fc8c2e1a9ddab24f3dbe + last_write_checksum: sha1:9b140224fc167b2c1f31dd0fcd0d551cd05ab4cc + pristine_git_object: 1b3ba57aceaef52419236cd5a991f39bd3595cbc docs/models/usersapilistworkspacesrequest.md: id: 6a72fcd8ee5d last_write_checksum: sha1:3790dd770a96442acb7ed115f82634aacb7ce7ae @@ -4286,8 +4441,8 @@ trackedFiles: pristine_git_object: 31c88d9238c04305c88a8aff873668400e09693a docs/models/usersapilistworkspacessecurity.md: id: 2f546e515eb8 - last_write_checksum: sha1:b794d7dd14e5ad8646e6afc6a73974b9521af8ec - pristine_git_object: 1c00dffac2e0386b57417214d1106724bd6191a3 + last_write_checksum: sha1:e5192f676a61f96e042d137c7f4c6f76798019e0 + pristine_git_object: 477f35e56c77c81b3f9ae6809eb4863b73ceb9e2 docs/models/userworkspace.md: id: e35426656a3c last_write_checksum: sha1:8aee61aa245bd3a4392f74faea4cab26933e11a8 @@ -4312,6 +4467,14 @@ trackedFiles: id: 1014a6e8d549 last_write_checksum: sha1:390c49792fcb2da2a55439f4357d2d902b131f87 pristine_git_object: c1381cb692e074e07d2e96fdc70364d74e30cf1a + docs/models/voicegender.md: + id: 64611cefbb5a + last_write_checksum: sha1:84778b9e7284f24d5abf2b88f283665dbe7ab991 + pristine_git_object: 71e875845d8ad430c71a46e60b92ba755207e498 + docs/models/voicelistpage.md: + id: d4a0068905be + last_write_checksum: sha1:ca55ccf1253ec3db561415eab63813bf502b014e + pristine_git_object: 2dd88fe0389b83dd5d1f5dcc01c50c44865c9ee2 docs/models/voicelistresponse.md: id: 8226f91596b3 last_write_checksum: sha1:5d4dc06036e1c8267fe736ae23c53104853850dd @@ -4386,32 +4549,32 @@ trackedFiles: pristine_git_object: fcd2f19de6c0b3149283436a39dca1bc8d02b913 docs/models/workflowexecutioncanceledresponse.md: id: c56b39b95831 - last_write_checksum: sha1:15251491df2983602bbb6f9bec1e712fd75d86b9 - pristine_git_object: 66037a786e24ce298e35c1e053b41982a10a77bb + last_write_checksum: sha1:cebf9297f7cd73b0c244669fc1cf2c61c60d2e49 + pristine_git_object: 4eed995169cd4560938182e1b222a3eb39b039eb docs/models/workflowexecutioncompletedattributesresponse.md: id: ee786dd87f88 last_write_checksum: sha1:d9725e0eb29b0713e74dcf32b1881d0fcb841350 pristine_git_object: 6693aad346acc4c3f9a5c5a94ca661c912ae558d docs/models/workflowexecutioncompletedresponse.md: id: c1888ba90ec6 - last_write_checksum: sha1:c57e5dcd53f750567d6376a4a2ed6af3eea0a392 - pristine_git_object: 5b56c61ce23cb4e49ec5745a5db6957265ae5d64 + last_write_checksum: sha1:db7a259335940d8304a1ba14a213f9e18d618329 + pristine_git_object: 0de369c5ccd4f8aea18403dc5ecc7c2096879b82 docs/models/workflowexecutioncontinuedasnewattributesresponse.md: id: 30eef6da0d67 last_write_checksum: sha1:5419f5ccfb9b13fbef8aef96a97a34a32ea136c6 pristine_git_object: 13e21499434f9bdef975a6d6902e2b85d8c7a04f docs/models/workflowexecutioncontinuedasnewresponse.md: id: 1ea81bc536b4 - last_write_checksum: sha1:accf720d80fdde4f03eff7ed43e4d1eb87c0851a - pristine_git_object: 6155c7b6b019aaf4ab6bc08f2f11a515b22ed50b + last_write_checksum: sha1:4e8a2ea736665dfd136e3b64ceab92f03d92ec35 + pristine_git_object: 4356869e381af0ddf536e5a5fbcc9b0cd5d8896d docs/models/workflowexecutionfailedattributes.md: id: b5ddf561c50e last_write_checksum: sha1:751ab6aef6dd3ecf045a4d71d272304666cf6ab2 pristine_git_object: d862605f17c357f6b24d26da60235f992878b4ff docs/models/workflowexecutionfailedresponse.md: id: 1c88150815b1 - last_write_checksum: sha1:5e394d97e472e46ea58795f8df46fddce54fff0b - pristine_git_object: b509a4281925bc15187aa420e7273d74e7415177 + last_write_checksum: sha1:8ab4ee1a73f9917cd163740aff97f1731e3476dc + pristine_git_object: e29f630b1d38a8272e955214804905187e8e54fd docs/models/workflowexecutionlistresponse.md: id: a66878b279ba last_write_checksum: sha1:9fafefc730d10ae17baf0c77462f658f9f15fdcb @@ -4434,8 +4597,8 @@ trackedFiles: pristine_git_object: e548b02234b04cf49b13ed312ad57dc7a3ca2a56 docs/models/workflowexecutionstartedresponse.md: id: 64174669ff20 - last_write_checksum: sha1:a151d7d5af7aaecccac74fa26d22e89bf3d258cb - pristine_git_object: 26a946753da3471aa3b7ae355b51c0f98a33315e + last_write_checksum: sha1:ec96541da2882a562bbba567738c05f3443ccd3e + pristine_git_object: 40a9781ddfb751a832b943644a0b2efbf9f9ffce docs/models/workflowexecutionstatus.md: id: 1e988cdad165 last_write_checksum: sha1:9478f494d16651522d373f36d0537c0fca703038 @@ -4538,28 +4701,24 @@ trackedFiles: pristine_git_object: af919c68028854c00c2b611bd79235dc24d52fda docs/models/workflowsworkerspecupdate.md: id: a7af8bf36e09 - last_write_checksum: sha1:ad898824f2467c870cea59aafa47f5bf18798e8b - pristine_git_object: c85013c46bb7ff3c658695d2064c6f8338b77363 - docs/models/workflowsworkerspecupdatebackendspec.md: - id: 4d7b6c23d680 - last_write_checksum: sha1:d1dc66ee14a99532c7170d419fb551b42b0dadae - pristine_git_object: a0b7dfedee913401cff9d155220f84001c1c9a21 + last_write_checksum: sha1:96e43e57d821f3f268374a7c2577ba941cc7abf5 + pristine_git_object: f4a50e0794c5e76d254aefb16458b6c404e28ec5 docs/models/workflowtaskfailedattributes.md: id: 7f329c44d7fb last_write_checksum: sha1:432c70ec990e81e2de79c14efbbb6161b60e1b3e pristine_git_object: c6515f84fb66f59e6b35a4524dbd1f3edc73a7ad docs/models/workflowtaskfailedresponse.md: id: 9e6bdbc8ec6d - last_write_checksum: sha1:1f8eaa66395d8a079ee45cd589589417292c3e50 - pristine_git_object: 215cf9f7bc30a3a9fd580b99fb5ac3f2927fdb76 + last_write_checksum: sha1:6d88e53ebd7d4a316c44a08b0a6ee7cb932a4448 + pristine_git_object: 0f752614004b523f96188b8fa334c0e99b457599 docs/models/workflowtasktimedoutattributes.md: id: e9ab5a25e976 last_write_checksum: sha1:52fb7ed9cfce65338b381616afac1dfc1e676d16 pristine_git_object: 7f298ea251febc1a35510655d14a84c37172c899 docs/models/workflowtasktimedoutresponse.md: id: f53d1e6e4141 - last_write_checksum: sha1:15fb0b7a8af29a92b2c71150b92de3460cbb6e6b - pristine_git_object: 6922f70a645c7f4ce6e978966e6981373b6cb0de + last_write_checksum: sha1:d6c14cf4eab4c6db49137e735771633f648d0e2d + pristine_git_object: 77ab3f09e1f98daccb029f9f9edfa2129f2c55e4 docs/models/workflowtype.md: id: fdb669e25dee last_write_checksum: sha1:1cb6c274e8bd8942a7064a46a183f402935b0526 @@ -4586,11 +4745,11 @@ trackedFiles: pristine_git_object: a3b9532316559ac9d244cae4b623884d60b1fe62 docs/sdks/agents/README.md: id: 5965d8232fd8 - last_write_checksum: sha1:6096cc2c1831b7f446faab15caebe383576f6c80 + last_write_checksum: sha1:90783da4c7ded2b1cc9d9214383c6e8c1484491f pristine_git_object: 449d90ad7b730a9819ac6a896cf11eab17076ddc docs/sdks/betaagents/README.md: id: 5df79b1612d8 - last_write_checksum: sha1:8dd037a30ac3854f99ec63882a7efef70cd92eab + last_write_checksum: sha1:d3009dde4dd252a1a932547ea581c6800a9e393d pristine_git_object: ca1dc5033fb40d412882aad2d116676a192b4809 docs/sdks/betaprompts/README.md: id: 837896e7e5a0 @@ -4598,7 +4757,7 @@ trackedFiles: pristine_git_object: 8c22824d97140d957da9b3ab24ff3d7898420efc docs/sdks/chat/README.md: id: 393193527c2c - last_write_checksum: sha1:aef6275a4ceb45e1f53ff478e7f34fe22d23b2b3 + last_write_checksum: sha1:10471097451914bf1979b32e6d46226e08e20f14 pristine_git_object: e9bbc68dd66930a45f909a37aa5b1848d169e847 docs/sdks/classifiers/README.md: id: 74eb09b8d620 @@ -4606,23 +4765,23 @@ trackedFiles: pristine_git_object: dc0f4984380b5b137266421e87a1505af5260e89 docs/sdks/connectors/README.md: id: 7633a87d946d - last_write_checksum: sha1:d7ae13bd5ec401cac98f6c0f2484ec9409e4da6f - pristine_git_object: e1863bcdfe680f17ce1ca144d33dac6f6eef4392 + last_write_checksum: sha1:f3b04851cf53675ca4e0ec49db32aa782ba9b14b + pristine_git_object: 74957a6dd4159d3a5689085846b87bfb21a28b8b docs/sdks/conversations/README.md: id: e22a9d2c5424 - last_write_checksum: sha1:68ede193fd35a89ab226aa92a92edaecf1eebb1a + last_write_checksum: sha1:d0a4e55b1f1c9acc6e9b7cf5925faf930a911d26 pristine_git_object: 63cd80a4a655a5c139be79239b0787c3f90cdea9 docs/sdks/datasets/README.md: id: deb5d90f4faf - last_write_checksum: sha1:28772c1a5052d7ed5fbb8231517f446214a33449 - pristine_git_object: b53e3aa3002fd9e156b2d396f848a6949a4168a3 + last_write_checksum: sha1:183b499c600848ed7b4806d66701fa48973a993b + pristine_git_object: 33ba11244708935709ba31a38b8320bd6d9859df docs/sdks/deployments/README.md: id: e7c5559ab768 - last_write_checksum: sha1:01390d45b865313afc3a599a6b1e8c0b7bcd9ee5 - pristine_git_object: ebeafe63764d8e0760612ee242ff59c2c9824d72 + last_write_checksum: sha1:36ff6519a6b6da6164369d1d9eb6f31795d5b1fb + pristine_git_object: d851f1c0c714633db3befec3db2062cb0d955cee docs/sdks/documents/README.md: id: 9758e88a0a9d - last_write_checksum: sha1:7f1540110547b0ddb1350dc24422bb94bdf3bdd8 + last_write_checksum: sha1:57b97c82e4a26a51efa5fdf1995f8f55b6947f78 pristine_git_object: 2a4787d0bb340be626208900ab7d72c2232792eb docs/sdks/embeddings/README.md: id: 15b5b04486c1 @@ -4630,8 +4789,8 @@ trackedFiles: pristine_git_object: cb207d8be2ca86b00dc797fc06eabd1498adb770 docs/sdks/evaluations/README.md: id: d40a3d898554 - last_write_checksum: sha1:a8f73fbbcad107a4b3bac8dee482a352dc8ab1ff - pristine_git_object: 7ecdb5701bf89f128221c9d8bac8fae57191cae3 + last_write_checksum: sha1:4c12e29c60837ed108888e91c3c06bb1a84d1bfd + pristine_git_object: 5b6c0a60822f3dc6ec06db7d8ec26e11f5466d63 docs/sdks/events/README.md: id: cf45a4390b9b last_write_checksum: sha1:b025db8d28fda5180453b25f815d35f3b7eb7159 @@ -4642,11 +4801,11 @@ trackedFiles: pristine_git_object: 9c086a596a599b48dcf7a6feffac5b64c6e301dd docs/sdks/files/README.md: id: e576d7a117f0 - last_write_checksum: sha1:ca90e32b21837a12b2e0f248b2e6160864e01d21 + last_write_checksum: sha1:45265e774720742cde1c76c8be294983bf4fc77a pristine_git_object: 246707073e9dee115d30b20a01bf728dcb43efd7 docs/sdks/fim/README.md: id: 499b227bf6ca - last_write_checksum: sha1:b4aa3bc3243a20f339c9f9aab0365ed0456d7808 + last_write_checksum: sha1:be2db0822c83cec2cfe2b5424d4b08db06d1c63c pristine_git_object: 7bf8908378c764c58cca2eddc6a4a97574c3709f docs/sdks/ingestionpipelineconfigurations/README.md: id: ead2af7afd1c @@ -4662,7 +4821,7 @@ trackedFiles: pristine_git_object: 34d167398ac81ce78d50c1498c01f4c74917ce7f docs/sdks/libraries/README.md: id: df9a982905a3 - last_write_checksum: sha1:ef9c73a854980c4b1239b230af8108a648658129 + last_write_checksum: sha1:950fa78ba00a615e909c52d8208c5ac1fae9e60c pristine_git_object: 116fafa6cc1329a7d17aa63e17e8acdaaffb66bf docs/sdks/logs/README.md: id: 5adacd63da21 @@ -4670,8 +4829,8 @@ trackedFiles: pristine_git_object: da7cb5a91dd8982dea2b38e1fbc000ec233396c9 docs/sdks/managedindexes/README.md: id: 24213eb90409 - last_write_checksum: sha1:7a272fdfdbb416daa8e8a962fd8aaa0474e780a1 - pristine_git_object: 17f8350815a034dd99f707a268e0ca9c37e24985 + last_write_checksum: sha1:10a85b6e5a20faa7a7c373585e6d79b10ce7e89f + pristine_git_object: ce93eac4a7db74d042222fcb40634fa8c7a619a1 docs/sdks/metrics/README.md: id: a8545d964e21 last_write_checksum: sha1:826a1a941e7687218cd0670e4fdb1f7a65118464 @@ -4690,8 +4849,8 @@ trackedFiles: pristine_git_object: d6a095e3d7ab169613a8b3338fa72508235d0729 docs/sdks/runs/README.md: id: 4598fd39b715 - last_write_checksum: sha1:787ad2cc3aea493f9cac63137e718917a5cdb219 - pristine_git_object: 66a407748f96d8dcd7b663c4681d9ab3e1672e4d + last_write_checksum: sha1:2e39bc2e144354e34064a616a0bdb4dbd4a9cf20 + pristine_git_object: fb1ac1d7034d3d5be492dd90936501054de4e348 docs/sdks/schedules/README.md: id: 2f28c809a225 last_write_checksum: sha1:ed27d25b618632207500e122efa02e948d7f9b38 @@ -4702,8 +4861,8 @@ trackedFiles: pristine_git_object: bf6c052b2dd3f473524a6401bfac46670dca2241 docs/sdks/serviceaccounts/README.md: id: f172389e7190 - last_write_checksum: sha1:c1da4e577e807042f55969914c178e86186d3bee - pristine_git_object: 170cc4960c2d4435cb98e7395218eba2c13becca + last_write_checksum: sha1:cd8abf90059fb09f37eb2036597dd6a8db1bf305 + pristine_git_object: 5c782e397d840ef3145fc8bfe06dbe35fe39c759 docs/sdks/sessions/README.md: id: 57ad62844f79 last_write_checksum: sha1:73bdf3ff4e98863534439cd1b37b455a27cf4cd7 @@ -4714,8 +4873,8 @@ trackedFiles: pristine_git_object: c0339ef9d33793b7e15581fdf0693fc4ce5b9f21 docs/sdks/spans/README.md: id: 594028be109d - last_write_checksum: sha1:131e21849ac1eead91ea7a14bc8e3fc3136b21e0 - pristine_git_object: 5865ef28befbde047b5663eb42c82973a2fcc9a1 + last_write_checksum: sha1:5765cc3d25b81e08dc25e2704a5d21a4de60dd46 + pristine_git_object: 10aa9a19f066293d2b2f5c36a7849049ec51785a docs/sdks/speech/README.md: id: d5924688d48c last_write_checksum: sha1:ad4d386e6d2b9b144d283ad72024eb140b7c5d96 @@ -4726,7 +4885,7 @@ trackedFiles: pristine_git_object: 5db6394cc71bcac7fa32fb8455c39d8844fbb0e4 docs/sdks/transcriptions/README.md: id: 089cf94ecf47 - last_write_checksum: sha1:548786cb29e8500574afaaa771a5184c81fe2ebc + last_write_checksum: sha1:15d118796f147bc5b0bf4146ba39bfa9edfbc996 pristine_git_object: 97703c9b4dc942385ee04ae96cbd100c3f632a17 docs/sdks/users/README.md: id: 5d80027045fe @@ -4734,8 +4893,8 @@ trackedFiles: pristine_git_object: a7c2bd7324612444b808198b6541f20b165a1b1e docs/sdks/voices/README.md: id: 4f1a657c8f68 - last_write_checksum: sha1:b20fcd910ed18cf6d8628b5aec13cb9ac97deff3 - pristine_git_object: 9e9705b520b01d840ce5125ea9e09d9887403518 + last_write_checksum: sha1:2c58bde9893dc9c3735d3620de9688d1ae588c06 + pristine_git_object: 9cce61ba2f1897a7e8a462f2f685a681a9fc165c docs/sdks/workflows/README.md: id: 80c76ce944c0 last_write_checksum: sha1:0a9532451f7132c0d2d3acf6b626545a66f360d9 @@ -4758,3992 +4917,4136 @@ trackedFiles: pristine_git_object: c35748f360329c2bc370e9b189f49b1a360b2c48 src/mistralai/client/__init__.py: id: f1b791f9d2a5 - last_write_checksum: sha1:c05dc9845d3361c4aae7796b079ac0e7952e8606 - pristine_git_object: 4b79610a3fc8222fc8f9adeeaf798e894708fc06 + last_write_checksum: sha1:da077c0bdfcef64a4a5aea91a17292f72fa2b088 + pristine_git_object: 833c68cd526fe34aab2b7e7c45f974f7f4b9e120 src/mistralai/client/_hooks/__init__.py: id: cef9ff97efd7 - last_write_checksum: sha1:9a6f060871150610f890cc97676c3afe9050b523 - pristine_git_object: 66a04e3727ffcc2c427d854cdbb4f5f340af050f + last_write_checksum: sha1:e3111289afd28ad557c21d9e2f918caabfb7037d + pristine_git_object: 2ee66cdd592fe41731c24ddd407c8ca31c50aec1 src/mistralai/client/_hooks/sdkhooks.py: id: ed1e485b2153 - last_write_checksum: sha1:e592d5ab277827b988257b4df3e746508ca91b23 - pristine_git_object: ecf94240a5689c8b248add46509bc7a7982d8437 + last_write_checksum: sha1:8f62ba90d0baca33996dbba66022c61ef749ff73 + pristine_git_object: 67745c628f716f7e3bacf86276c712b70851ab4f src/mistralai/client/_hooks/types.py: id: 85cfedfb7582 - last_write_checksum: sha1:115ecaa013c5ea4c6d38180bab812b77a47e036b - pristine_git_object: ee6e28004691749e83bf7630b4fbca9de3eb5318 + last_write_checksum: sha1:4054245fa2d26d37887af12e964331f40b620cbe + pristine_git_object: 5052bb072d14c65419bf49bdc1a47500cb03ae56 src/mistralai/client/_version.py: id: cc807b30de19 - last_write_checksum: sha1:4519b9a2d90f23df035d1f7e3de804741922e605 - pristine_git_object: d0c2346d1f610cb26249717e19f350e13e717bd5 + last_write_checksum: sha1:be24637f37146238933c02eed929d1d06d9115bc + pristine_git_object: 09081afce85523d73fdc1d4ccbe11a721532b7ac src/mistralai/client/accesses.py: id: 76fc53bfcf59 - last_write_checksum: sha1:9a5184751fcfec757251bd9ffa593ea13396ff51 - pristine_git_object: 4ece96dd9132e53a49262980689df341ead57504 + last_write_checksum: sha1:2fcb8bfce98ee0c3207e6e037320416f7bb1f900 + pristine_git_object: 704aceee5505519655340ed211ee5d8cda7f46c0 src/mistralai/client/agents.py: id: e946546e3eaa - last_write_checksum: sha1:58455d260cf7d684dd2a66e7f923f4d48c9f142b - pristine_git_object: af0070292dd83823ffafae617caa17e339e7f7f5 + last_write_checksum: sha1:f09ea4bc867e1fb6da89bc8cd20d1108377d21ea + pristine_git_object: 131deb53f0add5d2bdb2243aa127336ef0d01207 src/mistralai/client/audio.py: id: 7a8ed2e90d61 - last_write_checksum: sha1:b9dc19b4b6070baf7d8937907b8665e9f0e36afd - pristine_git_object: 597954e4facba105cee62d92ea6b8c68555f63dd + last_write_checksum: sha1:d013638b57a09d5363746178770e7919d39b5511 + pristine_git_object: 4cf4d06d2b64c062f6b3d5c6d1da510e434b2f70 src/mistralai/client/basesdk.py: id: 7518c67b81ea - last_write_checksum: sha1:0544004f28ec429df8ab994c361f384b6159740d - pristine_git_object: b305e63e3a40f1b9ba5833f0d7d692c090f9eea2 + last_write_checksum: sha1:988e7aff5278afa1e67a474baa858522de733227 + pristine_git_object: 03847ec0820dab6070c556279ad901a4e4c32add src/mistralai/client/batch.py: id: cffe114c7ac7 - last_write_checksum: sha1:f2732c76eb5320f3d65490353470432f8345a4c4 - pristine_git_object: 59117c8e807d0d5dc42693fce396261f7f6ea79c + last_write_checksum: sha1:7cacd2679a8b3a5611e8ad63bf631cd05d08beb5 + pristine_git_object: f2c04da0896816f402e48047bb51e0692213e13f src/mistralai/client/beta.py: id: 981417f45147 - last_write_checksum: sha1:0068c439aedd1ed5a66231d196ee4e76be74f51c - pristine_git_object: 21c69eea0a7e9cbceba05fbdd6397e36422043e8 + last_write_checksum: sha1:d6dd904ad18838bf4192ed5f21349da415f5c92d + pristine_git_object: 37297dc8ac14e0f0a94175e3d21cc8ca7fb16ce2 src/mistralai/client/beta_agents.py: id: b64ad29b7174 - last_write_checksum: sha1:e369130aa83b2db11b86af615357269e732a0bbb - pristine_git_object: 3a32a2c4fc0d16fc41dc3dfa3c6e30c3f6d47fca + last_write_checksum: sha1:5915e0fad1ee46d11684eca33c512a49560346da + pristine_git_object: 60d085f5239bb5142bcd241428f62a1007eec24c src/mistralai/client/beta_prompts.py: id: bb124f107a50 - last_write_checksum: sha1:244496fd24463ef706c4add685070e4452fd1552 - pristine_git_object: 9bb79d0585a192f5f8d41da0bf1c0a27fa2dedef + last_write_checksum: sha1:d4db5b7c176a0f65ef9bb023d26a06d41e2cbaf3 + pristine_git_object: f8ac8d4220c28c3348fae7f6d5cf1f5cce45e465 src/mistralai/client/chat.py: id: 7eba0f088d47 - last_write_checksum: sha1:4ce9d4fd79dd71fa8e8f7edba9ddcd6e580ce8b3 - pristine_git_object: 6760ea0c9a522658f3862534a6f3e001da60dece + last_write_checksum: sha1:d997d9c19f50bc7c15bc5c01e4c7603678d72c47 + pristine_git_object: ccf49091331dcea529d3069da21868cd4f96f913 src/mistralai/client/classifiers.py: id: 26e773725732 - last_write_checksum: sha1:b07a1cd731b74d3d20716e1a88c2a0dab3773b93 - pristine_git_object: d50ed2ad4867314be86c788594677fbe16ae8da3 + last_write_checksum: sha1:249e22ad7f9e92afeefc5502e2a94f9b9fc30d6a + pristine_git_object: aa0f29b1f1d3d5246c8f6a2d4a9720fa06ca3e83 src/mistralai/client/connectors.py: id: 39da03126050 - last_write_checksum: sha1:02fd7d3108adda5c2dc135882dd28a94f3b75890 - pristine_git_object: cab86f099be241273d761bf85923a0a10b98e737 + last_write_checksum: sha1:2cc709b232920276938ca74c4d33522344cfdaaf + pristine_git_object: 4de4eca019348e0cc9377fb09eb0629c4a918085 src/mistralai/client/conversations.py: id: 40692a878064 - last_write_checksum: sha1:19abde1fe93a6e1a1eb1b60cfb59dcf8edb79e9f - pristine_git_object: 57d8b9f94efcd9c138baefab1526d9b605a2b1c5 + last_write_checksum: sha1:37a8e5b453f5cd77dac8cfec4e2a744285069aa1 + pristine_git_object: 1f467f42010c82c01979af14ec2cab7c6e9838c1 src/mistralai/client/datasets.py: id: e5a6ae2a2d85 - last_write_checksum: sha1:cc6795b78766ed030d1975c5623997695aa31ed6 - pristine_git_object: db9ed38cc785de33445c1784f7c663107e00cc94 + last_write_checksum: sha1:a5b90d898f8097936590da091df7dd1bd3195530 + pristine_git_object: ecf6aef70746e046b6613906e3ce43ca421d93ba src/mistralai/client/deployments.py: id: a874b267fcb9 - last_write_checksum: sha1:72a5cbbde2cbe0fcca7acdc35dd9b0fe67bf6a26 - pristine_git_object: cba07497994f5f6ba618ad2c3af96e2fecf7c947 + last_write_checksum: sha1:5cff69c4087bc456a8d1980da3489177b62a9f37 + pristine_git_object: e32fbe65d1d69f5f7fd234092040a0eb4a86b1c9 src/mistralai/client/documents.py: id: bcc17286c31c - last_write_checksum: sha1:2defc6f93789fe84f01029bd28abe5e34dfb54b9 - pristine_git_object: 1122cb2f98bd8a03e363ac15688b2d0b0fae2f37 + last_write_checksum: sha1:a8cf00aa683204dc4cfd72d38debe6ab98dbc594 + pristine_git_object: 79c01bdf55586340bb760e55235ddb49abe9dec5 src/mistralai/client/embeddings.py: id: f9c17258207e - last_write_checksum: sha1:d2c5d705bd415e76ea92b64f2703d57db0bdb259 - pristine_git_object: 63f32c554d13c9c2b6ccd80d49f2b3a6a22e1797 + last_write_checksum: sha1:671d79b0574e76ad814d359c0da453ddbd8cbe9e + pristine_git_object: 4f8388f1c34b234e24ffe6bfb42dea5375d45318 src/mistralai/client/errors/__init__.py: id: 0b2db51246df - last_write_checksum: sha1:0032f4eb3501c71fafb8f68113a8c80e677311a4 - pristine_git_object: f6fd99a097e71ec901f14f3c726a50f6351939de + last_write_checksum: sha1:0a20d0ca958f48c2bd937050be4ae45a689cf81d + pristine_git_object: c70f47cb38b5639c7b537e38ac5c874e19938a1a src/mistralai/client/errors/httpvalidationerror.py: id: ac3de4a52bb6 - last_write_checksum: sha1:73251adb99a07d11b56d0bc0399a2362ff9ccdba - pristine_git_object: 97b165629c39ab6e24406eb3f13970414b73f8f7 + last_write_checksum: sha1:d0c7a65f16f3c5e44da158f6f3a8402f7268de92 + pristine_git_object: c73b06cc0a8dddedbe3ee73904b3a619cc53c356 src/mistralai/client/errors/mistralerror.py: id: d1f57f0ff1e9 - last_write_checksum: sha1:30065cdd7003ec02cb3463d7c63229c4ff97503c - pristine_git_object: eb73040c5b5251018695204fde80eac914b35dae + last_write_checksum: sha1:03f454c2fd29d4252a98318ee5eda0616774d188 + pristine_git_object: 261e11fa2a37463141722374b52d9d21e661defb src/mistralai/client/errors/no_response_error.py: id: 8b469ecb0906 - last_write_checksum: sha1:0b3fdb1136472c41a4a739a5cbf9e2a4ce0c63a4 - pristine_git_object: d71dfa7b24146f1390ac6830e61acf337b99ca83 + last_write_checksum: sha1:7f326424a7d5ae1bcd5c89a0d6b3dbda9138942f + pristine_git_object: 1deab64bc43e1e65bf3c412d326a4032ce342366 src/mistralai/client/errors/observabilityerror.py: id: 4946ae06717e - last_write_checksum: sha1:dc65670ba779ef19f015f65d133ec595ba002878 - pristine_git_object: a360bac4c0c6620e19d3b27f4de6d722b2d420c2 + last_write_checksum: sha1:879609eb3fee159abe3dfb9fc0f79406feb59d96 + pristine_git_object: 1a6054a8d12d74d0fd13e6fb6cbe2afb49fdd0e1 src/mistralai/client/errors/responsevalidationerror.py: id: 6cfaa3147abe - last_write_checksum: sha1:6862d178d4d1964bc03db47b76709aa406546981 - pristine_git_object: a7b3b9f0207846b5f176076b9f400e95cb08ebb9 + last_write_checksum: sha1:d0b9c8306583622fda7741dec22053f1de3e3cb8 + pristine_git_object: 6f24315dd96ea9d24163973fa49a25d867acbaeb src/mistralai/client/errors/sdkerror.py: id: c489ffe1e9ca - last_write_checksum: sha1:f708168e46c2960dd51896083aee75ccdb36f9dd - pristine_git_object: 25b87255a51021079f8ba5cc60b43509e12f9a4d + last_write_checksum: sha1:e6e1643ebd5acef99b453577f774a5c35fc08e81 + pristine_git_object: 20a13102ef688244e888cad21e49afb86b157944 src/mistralai/client/evaluations.py: id: 911a1a741d81 - last_write_checksum: sha1:3c204f3f45675d396ca49b11341efb99d150e888 - pristine_git_object: efa9b77b6d8a2111e3b9c32647324e4c90ea1915 + last_write_checksum: sha1:0827521bac8d064ae99e0ab6d490285070e85bd5 + pristine_git_object: 9376eda0a4b1d2b5e44f016122e161873ffdc925 src/mistralai/client/events.py: id: ac9b961cc70d - last_write_checksum: sha1:2585cb8be95f68a0e1298599645d4f4f9af914a9 - pristine_git_object: 65cabcc2cbdd6adcfd035ccb80815a194f7660a5 + last_write_checksum: sha1:4e5dd8bfa3cda63db7f4e9ecb0c5c27d818460e9 + pristine_git_object: 3d5353d8691d30b0fdfe32ff9ce24e6b6b9dba30 src/mistralai/client/executions.py: id: 974004d347a2 - last_write_checksum: sha1:c057f88d4b24a3064ddec1b28a72d23859f88bc6 - pristine_git_object: 00b56c7115f3e6b5dff78c2db20ce90b1c0d99d6 + last_write_checksum: sha1:5babcdf1b2adff91de48adf0bd7dc0555da61415 + pristine_git_object: 84912c93738c13306038d4fb85821e3cc3f88654 src/mistralai/client/files.py: id: f12df4b2ce43 - last_write_checksum: sha1:0ff6f93db4356d1449f69fdec4f23fed19166f8a - pristine_git_object: 7eb526d70914a299767264a1a2230eb3c4ad2781 + last_write_checksum: sha1:702129a06ddb58fea171a3798d79f8c7ab584405 + pristine_git_object: e5ed9b71f7ebca7774187070d43c44c2851c463a src/mistralai/client/fim.py: id: 217bea5d701d - last_write_checksum: sha1:dfd8ada80e0dda7d8a2d8a758d6fe176121a6429 - pristine_git_object: 8b1a194c470e6a0526354758bba4ad5a0f6043b3 + last_write_checksum: sha1:eb815f6e61b75879f1cebc210e1f6b0f5701b912 + pristine_git_object: d880cfbca35f0b38ac61778062e7edc2dc78a05a src/mistralai/client/httpclient.py: id: 3e46bde74327 - last_write_checksum: sha1:0f4ecc805be1dc3d6e0ca090f0feb7d988f6eb9d - pristine_git_object: 544af7f87d6b7097935290bebd08e30e5f485672 + last_write_checksum: sha1:82dd0803e52747313b216da8900313279ecde8b0 + pristine_git_object: 2b2e342b3ec61d354edd6e48b45c02da132b30b1 src/mistralai/client/ingestion_pipeline_configurations.py: id: f5a994272058 - last_write_checksum: sha1:03827d54b86bfb84c66a07a74839c4d0814c3030 - pristine_git_object: cd743379b6ba14b6b5a5fdae685d6d10680d7def + last_write_checksum: sha1:6bc3aff0be9c1b5fe890394baba2d64ee68ce6f6 + pristine_git_object: b8f826ee4c213e4ba84cbab55a9d203dfd0d51f3 src/mistralai/client/jobs.py: id: 22e6e695e52b - last_write_checksum: sha1:ef342b2a163402b3e0aeec800da16699bf7c50c6 - pristine_git_object: af00547ed4ae6d71edbe81c7f1056f29b37a4f85 + last_write_checksum: sha1:ca5140d7dee16bb03a70be7c9d526f0e46df44e2 + pristine_git_object: 40cb34619f568796a716c1810364643b1b1c8625 src/mistralai/client/judges.py: id: b6024a41ecb4 - last_write_checksum: sha1:7da6f4cd151e042058bf4100d379120a3008b153 - pristine_git_object: 60624ec5b65637a1d74387413df19d9fd0c11f19 + last_write_checksum: sha1:b7c8976627ca26a43cb92c149d3e83eb2f781883 + pristine_git_object: 4bcd9492e9b39c416db8a20a109612dad3018928 src/mistralai/client/libraries.py: id: d43a5f78045f - last_write_checksum: sha1:e310665d81298346bc967a9781f35297a41f247e - pristine_git_object: 850380db1bc8017d61a3637a2e341f2b68cef1df + last_write_checksum: sha1:34e7652f676263e61cfea2673b6a8f79bf74d057 + pristine_git_object: 3bc5218f9e61de8e98ff6c9711bf0429af2ab56f src/mistralai/client/logs.py: id: 8cf582f9ca81 - last_write_checksum: sha1:c1307e1ad8764cab0a406e95ac1f2cfe0a19ece5 - pristine_git_object: 9c08cc9a9702e8228c5d0550a5206630c94b9e2b + last_write_checksum: sha1:9ab5033d9a792bfb61a1fbfdc8ae61e24da488b0 + pristine_git_object: e7755cdc9230bbb9a87fff16930099911959c558 src/mistralai/client/managed_indexes.py: id: b6dd0fca653d - last_write_checksum: sha1:83096fce757523a6e8139dfdebeec8ad4321e2ae - pristine_git_object: 9a7c08a7a44655a03bcff7184294e325c97d1f9d + last_write_checksum: sha1:d36a089bbc9e9a26865230488db434f72f4fbea9 + pristine_git_object: 4d28aa34fe8438c920b8d278f5f19098b6b2d958 src/mistralai/client/metrics.py: id: 937cb03f8130 - last_write_checksum: sha1:63247c665bd1f0620e320c9832f03ac8d0df64bc - pristine_git_object: 5556061280ed508ee219b3b967564318e28108ca + last_write_checksum: sha1:461f34f2e6b943241208de01bbbf5f57ec6a31b4 + pristine_git_object: 41d7f799e8a2afa860b4193f7752e094f1c624b2 src/mistralai/client/models/__init__.py: id: e0e8dad92725 - last_write_checksum: sha1:9254774592dc6b74e53a4bc23ec2bde648bfcb83 - pristine_git_object: b5fe2ba5680913e9737ad50c0a53483b2feb82fe + last_write_checksum: sha1:f4a9bc53f2fe7ff53ce4b7cdca891ec95c94fb13 + pristine_git_object: 9f5028964c8db72e1e2108fb71ac15c082450dfd src/mistralai/client/models/accepteddocumentresponse.py: id: f529b784daff - last_write_checksum: sha1:bb2c2f3a6c1498a9e47af522f79ddba49121ff44 - pristine_git_object: dc1b3e842a04eb52448108551b8f336d7952d75b + last_write_checksum: sha1:2eb3c7dc0d7165987aefda841b1ceada6698c15d + pristine_git_object: 27b6b2c88e53f51f5e1d723546cdca5cfac5f431 src/mistralai/client/models/activitytaskcompletedattributesresponse.py: id: 8174941767cc - last_write_checksum: sha1:b5246e203765ba0532a6a65d391bdd237ab2c891 - pristine_git_object: 8e355d48421982b9480d0ea50ce07de0aaba6e3b + last_write_checksum: sha1:c4c08ecbb9cc47815e02a42d792ee21c2c684d91 + pristine_git_object: 35b1d18e73a2db318d6d088309b772db2c5beb65 src/mistralai/client/models/activitytaskcompletedresponse.py: id: 28373f0a2c9e - last_write_checksum: sha1:32a45962284062da43acbaab22cbe4c5aad45c45 - pristine_git_object: 9c0b728bf495cce5fafc5ffb8395d43b83585127 + last_write_checksum: sha1:4b9c7e30f835b77f77baf9c3c25814f34961cad6 + pristine_git_object: 79e6436bdbc153af1358bf555e393a8561b8d04f src/mistralai/client/models/activitytaskfailedattributes.py: id: 12635cd17417 - last_write_checksum: sha1:d9f8dbbc30720e66e0d3da8046dbdc3a6a350198 - pristine_git_object: 37749d4a7fe8f6c3dfa007a2a6db3cf480761663 + last_write_checksum: sha1:268d2a02852b14ad3bd276822f82dcfd056e1eda + pristine_git_object: 2a6f52934d29da4ed8f0b3361694e6b2753ebb42 src/mistralai/client/models/activitytaskfailedresponse.py: id: b739e8fc9b44 - last_write_checksum: sha1:39adb3f37683017b42dccfe0823e6737e61e6ea6 - pristine_git_object: 485a41c29004f57df787fc126610f92ac8b2cb99 + last_write_checksum: sha1:1bc3a59e19263a59bf39a4ecf5e3eb0da48e2bb1 + pristine_git_object: 6c12e346fa6a964621c6378d739703308fc9b34a src/mistralai/client/models/activitytaskretryingattributes.py: id: 9aaa9eecac09 - last_write_checksum: sha1:811a7631992abea7dbcabc4a33d43b135ca1c4ce - pristine_git_object: b0ee11d8ae7005e3c1fb7cb403602841632ad1c6 + last_write_checksum: sha1:190fa52ae1aa014754b705c7e78adae4e41fe0b0 + pristine_git_object: 478ad534145ac07bc86310f5226713d0db5767fb src/mistralai/client/models/activitytaskretryingresponse.py: id: 3a4ff1e01fa1 - last_write_checksum: sha1:b81b9a11c6d8c34d610b7c38fa9ec41c466a1161 - pristine_git_object: ba5cb11f68185bcfde444e23f980f0e09d28512e + last_write_checksum: sha1:77e8a15362d8129be3e125421685e4dc9337c758 + pristine_git_object: 9af73c6eccc8ae012d13a5532c45c70642e6fc9c src/mistralai/client/models/activitytaskstartedattributesresponse.py: id: 3a365e2c2942 - last_write_checksum: sha1:e932c7960e78f8b31008efef29df7cc8ce3c4ce4 - pristine_git_object: 9a049150e26cf8fd89f5f85195cab961629c5402 + last_write_checksum: sha1:d9df97ac60c8d08f05998f6f434110a66455a34c + pristine_git_object: 6538c0c762696d8b461d07a174904276627e0fa1 src/mistralai/client/models/activitytaskstartedresponse.py: id: d01ef9cb3955 - last_write_checksum: sha1:34136308260df69bd810c0b9b06cb0fbe119e266 - pristine_git_object: ad47b76adcc32b9b24ef84e461c98ea5bd39b5ea + last_write_checksum: sha1:a9db06c787a8b9e72d81435675d969891b95f8e5 + pristine_git_object: 800b91cc3697b5fad3c256169f39d318d6c0e053 src/mistralai/client/models/agent.py: id: 1336849c84fb - last_write_checksum: sha1:b2c141bf2fb2272126c32aac5756d1eac47cec94 - pristine_git_object: 25dc21d4eb14c1ee05f32bc0023d41cc87cd8ac1 + last_write_checksum: sha1:de7ce5efebefb928e6c44844e6945d93a113d5c8 + pristine_git_object: 7d57e5b462312eec40ae115e367e418c99ac22cb src/mistralai/client/models/agentaliasresponse.py: id: 3899a98a55dd - last_write_checksum: sha1:d7e12ea05431361ad0219f5c8dee11273cd60397 - pristine_git_object: 6972af2a4ae846e63d2c70b733ecd6c8370ee0cd + last_write_checksum: sha1:6dfa55d4b61a543382fab8e3a6e6d824feb5cfc7 + pristine_git_object: 4bc8225c0217f741328d52ef7df38f7a9c77af21 src/mistralai/client/models/agentconversation.py: id: 1b7d73eddf51 - last_write_checksum: sha1:2619ac07a5b0642d5ea02b843bf38a7e32ec8cb1 - pristine_git_object: b52f5e5a96c497c731c19f32c6142ee50ed29367 + last_write_checksum: sha1:cd1c0dbcb168b2290e09edb90a15bf32b2e3807a + pristine_git_object: f78c722f481fef82ac4078407a1d4feef0bc2c44 src/mistralai/client/models/agenthandoffdoneevent.py: id: 82628bb5fcea - last_write_checksum: sha1:2c8fbb608143ee836e675a0d9610a64b7b8ac99a - pristine_git_object: ea9cd6b2a64e6add14bcf1f87dc5a15f800dde61 + last_write_checksum: sha1:61af0f2b49dabb298dec5c2fe8084da275dc9126 + pristine_git_object: 54350779c321358d198a845a8f9f72b62faf885f src/mistralai/client/models/agenthandoffentry.py: id: 5030bcaa3a07 - last_write_checksum: sha1:dbbadef3757f8949c63cc0bf91ac8e72a2e42abb - pristine_git_object: 8d1c143eac305c79da8ce4566b51b399da91585c + last_write_checksum: sha1:4230095a0cc0fd2c6e3e95f9494ce1fd6c9ececd + pristine_git_object: f7d76b22bd8b7d09cdec0b45b1bc62832fe21979 src/mistralai/client/models/agenthandoffstartedevent.py: id: 2f6093d9b222 - last_write_checksum: sha1:b354f10f57b51aa515932ec403eba7034eaf9e9b - pristine_git_object: 9525bcf65ed318872e038078ec379f87794d6f84 + last_write_checksum: sha1:a390cd3b4c9af4b80b4cd960a366520ebad492ef + pristine_git_object: 6e5a08b29269f9e1083da863231e8939c39f112e src/mistralai/client/models/agentlistpage.py: id: 4d2e1e8b3b57 - last_write_checksum: sha1:b7878fcc9e432b7be4c152dca502e6c04cb60126 - pristine_git_object: 2eed6dcfcac85bde85b2b4babd9bd5becc585c54 + last_write_checksum: sha1:23c8f8c5e8307a094b2d4783c123ae53ac5527d9 + pristine_git_object: 169e361cc1b804af90ba0ab1f3f2923c2c2856e2 src/mistralai/client/models/agents_api_v1_agents_create_or_update_aliasop.py: id: 23a832f8f175 - last_write_checksum: sha1:237d6b4419615c9c26f96d49760732bd7b4617e7 - pristine_git_object: 04761ae786c35e6fa6cd5a896a5e52458cb3a5d5 + last_write_checksum: sha1:9ca9a0be2db68005fc0dec3f24d24fccf8d0c631 + pristine_git_object: 33da325cadf36ce8162bac11f1576872bcbbdbd6 src/mistralai/client/models/agents_api_v1_agents_delete_aliasop.py: id: 9c9947e768d3 - last_write_checksum: sha1:385faebecef8479d1a72a7ab6f15ddcc611dad87 - pristine_git_object: 291a9802a7d49108fc0d428610cb4c37b42f0796 + last_write_checksum: sha1:8081fa7ba71c4301ff547853dab966be6609b963 + pristine_git_object: aae6bf3b9e1dff2ad9193f960f0b9a4a888687d4 src/mistralai/client/models/agents_api_v1_agents_deleteop.py: id: 95adb6768908 - last_write_checksum: sha1:f222a61a73ba2f37051fffbf2d19b3b81197d998 - pristine_git_object: 5e41fdcdbf182e993acd71603ecb8c9a14e48043 + last_write_checksum: sha1:9118fb084668440cec39ddd47b613fb4cd796c8d + pristine_git_object: 58fe902f0a51b50db869dfa760f1a3a4cba36342 src/mistralai/client/models/agents_api_v1_agents_get_versionop.py: id: ef9914284afb - last_write_checksum: sha1:c99ee098f659a56cb365c280cc29de441916b48a - pristine_git_object: 941863d0f8143020200bb5566ce66d527c4369c8 + last_write_checksum: sha1:d9b429cd8ea7d20050c0bc2077eec0084ed916b6 + pristine_git_object: edcccda19d5c3e784a227c6356285ee48be3d7f2 src/mistralai/client/models/agents_api_v1_agents_getop.py: id: f5918c34f1c7 - last_write_checksum: sha1:6a420e218b378015507acda1e8eb4de9fc865c06 - pristine_git_object: dee6a3475ff81f773f92f4473410639dacafd517 + last_write_checksum: sha1:626723d9f86e5aa543e9f98850434dbac2148a5a + pristine_git_object: 4926d392be1fb7f9540f356dfafa57aab1e582cd src/mistralai/client/models/agents_api_v1_agents_list_pagesop.py: id: a7dfc67cb1ee - last_write_checksum: sha1:501ce65d132349483c6fc5b741ed5b24862b6f7f - pristine_git_object: 0b272c98d92695a5cf8d23b250b7faf4f0817d7a + last_write_checksum: sha1:fdd166224ed02689fa9bccd9727a1cbe37bd2808 + pristine_git_object: 9a0fffbc7b553f734d04612e8b26779aeacce5ea src/mistralai/client/models/agents_api_v1_agents_list_version_aliasesop.py: id: a04815e6c798 - last_write_checksum: sha1:b4b5c4e8566f1d0c68a14aba94b7ffea257fd7ce - pristine_git_object: bb1da6020386fabfbd606db9a098a0e9323ce3b0 + last_write_checksum: sha1:7bd6ba32e2aeeee4c34f02bab1d460eb384f9229 + pristine_git_object: b9770fffe5be41579f12d76f41a049e8b41b3ef8 src/mistralai/client/models/agents_api_v1_agents_list_versionsop.py: id: 19e3310c3907 - last_write_checksum: sha1:14f86d6a09a6c3ee8579ef5b3f7ecbf0aa467c40 - pristine_git_object: 25ea29e31693b6352f0ab395b4f21352e46ab037 + last_write_checksum: sha1:5ce6030229a13ddaeda3c34bfa8435685f2c063c + pristine_git_object: 28626590469877017746588b80e69035ec53a3ef src/mistralai/client/models/agents_api_v1_agents_listop.py: id: 25a6460a6e19 - last_write_checksum: sha1:ff64974c26700e1b32ad90f7b7b8917aef73d985 - pristine_git_object: 100e0da71927900c796e294c5e7438138faaf647 + last_write_checksum: sha1:2f8aa6ff05097e8bfd05fa870faf7c28f6256788 + pristine_git_object: 837885ea817a39bbf881c92b80edc2c89a1ad474 src/mistralai/client/models/agents_api_v1_agents_update_versionop.py: id: 63f61b8891bf - last_write_checksum: sha1:e9046cf75e008e856f00dda8725cbb16d83cd394 - pristine_git_object: 5ab821ea413d656dc7194f3588c8987c3e720831 + last_write_checksum: sha1:b214f6850347e4c98930ef6f019fdad52668c8c0 + pristine_git_object: 116f952b2ba2a7dca47975a339267c85122cd29a src/mistralai/client/models/agents_api_v1_agents_updateop.py: id: bb55993c932d - last_write_checksum: sha1:bc922e15651d7bb33b841d9b3ae247843b6a5426 - pristine_git_object: 69da5001007916e458cab6caf8c10073c8fbc7d6 + last_write_checksum: sha1:fc741f8f07c8e0bb3d3fd72aa6b4983c373fc9f7 + pristine_git_object: ccbe65488acf4cab0cd8428ea67beb597cff4b4c src/mistralai/client/models/agents_api_v1_conversations_append_streamop.py: id: ec00e0905f15 - last_write_checksum: sha1:d0a253c2f383241378e6fab35a38427d0a1dd827 - pristine_git_object: d257dc789cdc4f57bb91d1788335d2d49442d02f + last_write_checksum: sha1:67967a775c3a1ec139ccd6991465ea15327e3ba7 + pristine_git_object: 9f00ffd4b484f03dae6e670d019f61a4392afc85 src/mistralai/client/models/agents_api_v1_conversations_appendop.py: id: 39c6125e850c - last_write_checksum: sha1:864ece4ddcd65075547daa1ab996ba7cfe9939fc - pristine_git_object: 61fec0834e6e05a56a7ee5c984fb0401f9c72f5c + last_write_checksum: sha1:93621c5ea8fbc5c038c92596b7d4c0aef0a01e2f + pristine_git_object: 13d07ba91207f82dcea8f58c238cc743cd6c3964 src/mistralai/client/models/agents_api_v1_conversations_deleteop.py: id: 0792e6abbdcb - last_write_checksum: sha1:9725fce86a52b4995a51e1995ca114c0c4b414df - pristine_git_object: 499645a77782e29db61e439060340fee787799c1 + last_write_checksum: sha1:dc60f272fed790bec27c654da0fb185aab27ff82 + pristine_git_object: 81066f90302d79bc2083d1e31aa13656c27cc65f src/mistralai/client/models/agents_api_v1_conversations_getop.py: id: c530f2fc64d0 - last_write_checksum: sha1:241e5a07f37fa88f1e5011615b3e2b47a1aaf6a7 - pristine_git_object: 504616abbf0c9d0595f2aae81c59e52352cee323 + last_write_checksum: sha1:89088ac683d6830ffd4f649c25ccfb60a4b094de + pristine_git_object: 7308708e0b702d97fc01ca1aa100331dd8e7698b src/mistralai/client/models/agents_api_v1_conversations_historyop.py: id: 2f5ca33768aa - last_write_checksum: sha1:fccc3e1a3f48eff31463829037a440be667a7da1 - pristine_git_object: ef0a4eb084de52d4bde435ee9751aaa12e61dcc3 + last_write_checksum: sha1:9f33f183cd07b823b4727662ea305c74853049c5 + pristine_git_object: ba1f8890c1083947e4d6882dff2b50b3987be738 src/mistralai/client/models/agents_api_v1_conversations_listop.py: id: 936e36181d36 - last_write_checksum: sha1:dc0da883d6e6d045dc85f74032c50d7ae0c19669 - pristine_git_object: dd6276d9ececa4fd28f179c58adfc5b71043db86 + last_write_checksum: sha1:22938d8661e945617cb3686ccb328c304f95f64d + pristine_git_object: b2eec741624e753d60ca9e484073137377a9633b src/mistralai/client/models/agents_api_v1_conversations_messagesop.py: id: b5141764a708 - last_write_checksum: sha1:17fd503da7fb20198792c6e25f94dcc0a1e5db05 - pristine_git_object: 19978a194e2dd633fe89bcee7ceac177fcdd6629 + last_write_checksum: sha1:0be49e2ad8a3edb079ce4b1f092654c7a6b7e309 + pristine_git_object: e05728f2c2c0a350bdaf72fe9dc488c923230ab7 src/mistralai/client/models/agents_api_v1_conversations_restart_streamop.py: id: c284a1711148 - last_write_checksum: sha1:2e462249c8ab71376c5f6179a2c033e254165f3e - pristine_git_object: 63c744498dfbdd254f2e780d90a680b10100ee63 + last_write_checksum: sha1:ef22ebf2e217ab41ce0b69cf388122ee18ad7b05 + pristine_git_object: 9b489ab46486cc37349d64a4fc685f1355afb79a src/mistralai/client/models/agents_api_v1_conversations_restartop.py: id: 3ba234e5a8fc - last_write_checksum: sha1:5dd06d300dbe8832b72d868657dc4c58f0ebaad5 - pristine_git_object: 3186d5df9000d4a62c0fbc64a601e6b709803deb + last_write_checksum: sha1:e7e22098d8b31f5cc5cb0e8fafebe515842c2f88 + pristine_git_object: 8bce3ce519a69a6d1cb36383b22fb801768c4868 src/mistralai/client/models/agentscompletionrequest.py: id: 3960bc4c545f - last_write_checksum: sha1:01f9ef314b90175c6ef138e735735ea956bfc9c6 - pristine_git_object: 6327daf4c745cf6a2d907f5e7e9aeddbdc34a060 + last_write_checksum: sha1:017eceb25074387be5b9a41119e23e71b6d86510 + pristine_git_object: dc2374714ecbfe1e358c1468f11d95a22197e4b4 src/mistralai/client/models/agentscompletionstreamrequest.py: id: 1b73f90befc2 - last_write_checksum: sha1:f742410c1503bb5056f195ffaabae316d3262eec - pristine_git_object: 8f8f163eb9f3e659b8be35e07965f784e44cca44 + last_write_checksum: sha1:8260a020fd020174182f53aeb58c3ee3fa1bfe78 + pristine_git_object: 96062f45ad3f5c96ccc0cd76f0cc0018739f437f + src/mistralai/client/models/aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop.py: + id: 3fe59a78e3d0 + last_write_checksum: sha1:5aa309d247dcabf1688c648bcde6939c5ea31bc4 + pristine_git_object: ccbee699c96bc5647b13a75b9695fbe70943742e src/mistralai/client/models/aggregate_spans_v1_observability_spans_aggregate_postop.py: id: 402703d63097 - last_write_checksum: sha1:7bacd9cf0a5aba6604fdda000e2454978c57a758 - pristine_git_object: 721d0b7c4aa2745a84e04e884ecd4277c9c47399 + last_write_checksum: sha1:e94ac4fcebf7c6aa138c386a29e609c547c7249d + pristine_git_object: 9964bdd367e9dfd709151e2164819f5c0f868e3b src/mistralai/client/models/aggregate_traces_v1_observability_traces_aggregate_postop.py: id: 48b3b1b2debd - last_write_checksum: sha1:994d98a29a0e6134f339b7ff527c1fa7e0a6a5b6 - pristine_git_object: 147e37f836293334804756b9309cc2489ca4a287 + last_write_checksum: sha1:4ba2b696c0143de7bc099188617a36a34e77d07d + pristine_git_object: d8a8ba99265716d9dcbb2cfff949ab6e34ddede6 src/mistralai/client/models/aggregation.py: id: e0f464c8bc95 - last_write_checksum: sha1:1b3d88c977df636cd112af812d9fbd2701dd3235 - pristine_git_object: 1da7c65a23d39ebf2be4b3ab61c71429d864ad9f + last_write_checksum: sha1:86f2ab85f7f8c6376e3b8c6ba6318edab6bc9b65 + pristine_git_object: b040b3b49adc18a61212f918ea5a347e0fd40804 src/mistralai/client/models/aggregationmeta.py: id: 2075ee6b10a3 - last_write_checksum: sha1:01563e0e01132f4af7b4b8b67cd8114b40e545ac - pristine_git_object: 88c7cd3ef616081d9e816cc52125bc208825ac1b + last_write_checksum: sha1:2eaa250bc896343d74dd7c13563180e8cfdf83b7 + pristine_git_object: 50f0d0f0103c900adb655e09e7712260c965eefa src/mistralai/client/models/aggregationrequest.py: id: f35f9759a3f6 - last_write_checksum: sha1:21cbf703f42cca65abbe826a32166625664550f7 - pristine_git_object: 6ecc06ccf6f97e4dc844304d643c6d233cff05b2 + last_write_checksum: sha1:9c18da901eb1910b5eafc8cf647b0d3bc66da30d + pristine_git_object: 854580fa092c8d213c9798df031458af643a226c src/mistralai/client/models/aggregationrow.py: id: 376cd8ead269 - last_write_checksum: sha1:b3d9623e4b378549cba088cd8833762bea4a96e8 - pristine_git_object: ac61d4b5105b47e92a0702f03d5bc413ff7d4b34 + last_write_checksum: sha1:718a3cf26cc6877eaa5f061ce6577468166141d3 + pristine_git_object: 139c89ff61ac15b2a7e404a1b686afceedf3c37f src/mistralai/client/models/aliaslist.py: id: 62e1e2ab1ce8 - last_write_checksum: sha1:53eba1fc2cbd363982d3d2a8bd62591146dd70c5 - pristine_git_object: 4a395ce82d228804a8018aa4e0d8706e3d623fa0 + last_write_checksum: sha1:ebcfd7cef325bfe38de65ad004de0a0d1d1ce130 + pristine_git_object: f962182bf942257600ea07b504f9e0edf33559fb src/mistralai/client/models/and_.py: id: 124ee0e13b27 - last_write_checksum: sha1:908dcf391b5da59b3e0eb595d8bbf7de490ca731 - pristine_git_object: 40bf2330ae0363acc5d31f755ea2ba2cfad5fe13 + last_write_checksum: sha1:ca15ac0aea3cb332d372924fd90ab15ef0238e02 + pristine_git_object: 316b837267195af0779ae54d250cf89225a1b34e src/mistralai/client/models/annotations.py: id: 3ae9e07de11d - last_write_checksum: sha1:c015e86fa53f60f6fccce2be63b2faf8a6d81f38 - pristine_git_object: f3f5c21c66dd570be71d8d87350ec7683478b545 + last_write_checksum: sha1:eb707654e21adfe7e4f8897b9991b45826d431a5 + pristine_git_object: 0462d42928b5a296173f087bdd0ca3405c1ab08e src/mistralai/client/models/apiendpoint.py: id: 00b34ce0a24d - last_write_checksum: sha1:733e852bf75956acd2c72a23443627abfa090b7b - pristine_git_object: a6665c1076f05c28936510c24ee7d3498d7e7a24 + last_write_checksum: sha1:0a1a08e7faaa7be804de952248b4f715c942af9a + pristine_git_object: a6072d568e08ab1f5e010d5924794adfb2188920 src/mistralai/client/models/apikeyauth.py: id: f55510f5ff82 - last_write_checksum: sha1:995d3fcf007b0f10eea18bb6745478e7eeb6bce2 - pristine_git_object: 10cbaf589e2a4bc1e63b3a02689e76f4d7f1e88a + last_write_checksum: sha1:3f02d8b651a7eeeecfbf6aed0fd4472b53c8fcf7 + pristine_git_object: 567e4ba281f023139a507b88eda49aa609d561d0 src/mistralai/client/models/archive_workflow_v1_workflows_workflow_identifier_archive_putop.py: id: 0be575ead94b - last_write_checksum: sha1:1a28b0b1fc741af5fc2830363f6acbd713a9c0f0 - pristine_git_object: 8582aaf5a704186cd72f67487db55b90ffd081fd + last_write_checksum: sha1:85a4318497b000e6ce399a38c0047cfc177c87b1 + pristine_git_object: cb86f0d216f2d8015f42f2d8de7c45429f593d90 src/mistralai/client/models/archivemodelresponse.py: id: 2d22c644df64 - last_write_checksum: sha1:e55af09d03586d14e2a52292be9a0d6729f9e1e7 - pristine_git_object: c5ca8ff5d3a571bd8bc936eca1d361d09358b2f5 + last_write_checksum: sha1:0b2b0f9058cf105b42b476bed2e0f52ddfbe725b + pristine_git_object: 781a698722cadcaa5c0318c3c5eac27bf508fbb4 src/mistralai/client/models/assignableserviceaccountrole.py: id: d7a78a2b681e - last_write_checksum: sha1:3baddff7a47d194b570c47d549685542187acaea - pristine_git_object: 7d8692a98293f7fa0e9aed6ae802bc39f0283f2d + last_write_checksum: sha1:b55972a2abdab79686b8af5ce43b017147f58dde + pristine_git_object: 8a0596b285ea3b4b13dae1e191075df7112378a7 src/mistralai/client/models/assistantmessage.py: id: 2b49546e0742 - last_write_checksum: sha1:0610c5a58e3aa264ba77f603e75adce29ecbe3c7 - pristine_git_object: f333a44422c7f6114797b63f1faf94e2bc9ef90e + last_write_checksum: sha1:3f29cd1fa6ea948917a3b7777b04e6ce63863f87 + pristine_git_object: cc33d9e7821fc12ebadabb0c4e97551adc32d7ba + src/mistralai/client/models/audio_v2_voices_listop.py: + id: db554547c0eb + last_write_checksum: sha1:5d0d76afd47ca9381daef96cc66bdff0af5ac6c3 + pristine_git_object: 753290dc4a6ac652e0e53a558a1127c0ade711ba src/mistralai/client/models/audiochunk.py: id: ce5dce4dced2 - last_write_checksum: sha1:d3c2e28583d661a9583c40c237430a1f63ea7631 - pristine_git_object: 68866cd2c3c640cf56258f2f98b8a2385ea6fcdb + last_write_checksum: sha1:68938e8a655f212701e2c341cab8ad16a8c25f2c + pristine_git_object: 6d563417a6e30c6b6aa1eed9a9bd86e734603775 src/mistralai/client/models/audiocontent.py: id: 8e39736e73f0 - last_write_checksum: sha1:8ae8d3af5ba655b4766f8710c34c31d8401cc18a - pristine_git_object: 2d38d2a1479327156434a5338229f48d7fae7df6 + last_write_checksum: sha1:a09e384bff61dfda9e91825a0093a7b2f9f9be04 + pristine_git_object: 73ba02a8e1aa52594a82d80121fa4fea2ccef689 src/mistralai/client/models/audioencoding.py: id: b14e6a50f730 - last_write_checksum: sha1:92ca06dce513cd39b2c7d9e5848cf426b40598ce - pristine_git_object: 67fec75d72845b8dda774c96767a0b233f269fe5 + last_write_checksum: sha1:8c8d6c1da3958200bf774313c485189426439545 + pristine_git_object: 557f53ed7a90f05e5c457f8b217d3df07e113e0b src/mistralai/client/models/audioformat.py: id: c8655712c218 - last_write_checksum: sha1:8ee7b564d106b601b6ad8a9321c27dfff421ce5e - pristine_git_object: fef87ae76b31128ebd5ced4278e274c249181c23 + last_write_checksum: sha1:baef21b264f77117bbaa1336d7efefae916b9119 + pristine_git_object: 7ea10b3ad610aa1500fd25500ff942988ea0e1db src/mistralai/client/models/audiotranscriptionrequest.py: id: e4148b4d23e7 - last_write_checksum: sha1:ab55d16773cdd9d536999537908d5bb70c642cd1 - pristine_git_object: 734860d52b12c11e007faf8ef5d1c233d2a183c6 + last_write_checksum: sha1:f13f0308874ef7c123d578a5b172c739dd8c5595 + pristine_git_object: f0c981ae5d4c7fec825951f84ca9b4318021b337 src/mistralai/client/models/audiotranscriptionrequeststream.py: id: 33a07317a3b3 - last_write_checksum: sha1:c7e404caadd964924bb59372827f702acc7dd3f2 - pristine_git_object: 84c4dbcdf555b057190d53ac5a952b9b566ca3fc + last_write_checksum: sha1:d154d69f3fbd24226003a85f0a9a8ffb1c527c16 + pristine_git_object: a823c82798fcfb87db243e73b0bd281815204a9b src/mistralai/client/models/authdata.py: id: b4d3fb07196e - last_write_checksum: sha1:ad8b878b1a3eeba8ad1b8fa15783d4da7bca6fad - pristine_git_object: 9e608b1fe66d3048368e92dc8b5ed2bb75ad59da + last_write_checksum: sha1:4a00b691a67d9078520325440ac1cc63b44876de + pristine_git_object: f214209140091d1dab7b7917176eefe1ca0bd5be src/mistralai/client/models/authdirection.py: id: ad8790fb5fab - last_write_checksum: sha1:51d523a9ef24216d4f06883022dd7cefc5e30613 - pristine_git_object: 9220e6dcbc799c7569e5ad36e08e0b73efb356fb + last_write_checksum: sha1:36a82cc9ebaddc16868548d88bf10543018b758b + pristine_git_object: 666b7b55dd1740c9527f6018cb48e5694a15c221 src/mistralai/client/models/authenticationconfiguration.py: id: 97b5056c29fb - last_write_checksum: sha1:f908c35b7f4fdd24f1f6d87a31c58d02daa1cbde - pristine_git_object: 972dedf80bc703491ee7193e5f6f1e41219bf5b5 + last_write_checksum: sha1:624ccbf5f2b2810d770ea1a7ffae9648f28c274f + pristine_git_object: ff29038ad243423d740cd166869291d17c2eb6b0 src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py: id: 240c643113bb - last_write_checksum: sha1:eee0372d19bb1d8c5081bff282e0fff64301dc7b - pristine_git_object: b9a01eecf25e43736c5c73f00f72a78058b8e3ab + last_write_checksum: sha1:c2aa04bec79a7649930cce30cd96ec547fd4717b + pristine_git_object: 53d08e4eb6bfc9f59efeb85721ad505f2f6fae72 src/mistralai/client/models/authstatus.py: id: 0f25b817bca6 - last_write_checksum: sha1:2be578532e4a239c298d4d534f59023b40f2d86b - pristine_git_object: dc97b2b23677590dd956ddc44435449d5479ef68 + last_write_checksum: sha1:0111c21d1b428ab23537769e64e076d170a696b8 + pristine_git_object: f603f5a8b8e1e742f2e76769f41ddd404308992e src/mistralai/client/models/authurlresponse.py: id: a2b468c87a8a - last_write_checksum: sha1:8ffc0c770c51d7b0cb49770e6829486d0cb82741 - pristine_git_object: 1f5a6639b3fae3a5c96cf35bc4417d5d5151a37f + last_write_checksum: sha1:8d46162ad6badcedb28ee2d7108b49f43a69cef9 + pristine_git_object: 6053f32c9c6b1462cefa8b57983e5c47dbdbd3cc src/mistralai/client/models/basemodelcard.py: id: 556ebdc33276 - last_write_checksum: sha1:9b127f0b0f14ba6264c00d584ec6dd4fa8e18e5b - pristine_git_object: 1f4a20f093782700268327cbe0e544df256ed9b7 + last_write_checksum: sha1:46cf1f674308a573d36f67ff83df05b84e2f2fcf + pristine_git_object: d2208ff95d9077f18cb7a4300d722e961f3f20ea src/mistralai/client/models/basetaskstatus.py: id: 7b381554d5c7 - last_write_checksum: sha1:8124cb3871ff7565865cd8b06181b5b0a8eb3428 - pristine_git_object: ff2f1c63a6dceceeabe6b8c6bc8bf1a7c64c70a0 + last_write_checksum: sha1:7904f335832f15f96490aabca25742db3b62de46 + pristine_git_object: fca1de320b7495216e46240e38235d247aab9414 src/mistralai/client/models/batcherror.py: id: 1563e2a576ec - last_write_checksum: sha1:3bb5b8a9f479b888efc37cf1ba9731e5efc3d8d0 - pristine_git_object: a0add5ad71b1732849fe89de72227e846b3e3b1b + last_write_checksum: sha1:9c75550a2c35c4505a295383f50b99a750bf99eb + pristine_git_object: af36e4e6c7c833210a8d4a85d5c87deeb555abd5 src/mistralai/client/models/batchexecutionbody.py: id: 6cfbee9c4ec7 - last_write_checksum: sha1:b59b61a0a9b3f678918d939448b9a95d07abde7b - pristine_git_object: 7d9895e5a7e8bfebc77c2a36cbe190dbbc7eb164 + last_write_checksum: sha1:8a356aef5fb6fe58056ad89de97b73dda91b4194 + pristine_git_object: d929ec3013e199d799399e839860e2b83dbe21cb src/mistralai/client/models/batchexecutionresponse.py: id: 37e6d5d616fe - last_write_checksum: sha1:3118fd4f7196e446101b017ec77667a439da09f6 - pristine_git_object: a0c1f06e72e744cb74ad495d8a906c4723fcee0a + last_write_checksum: sha1:88b0f5375fd722bba0d120f99506d5841d74d124 + pristine_git_object: e61f6fc9c41a5a663106fd56ee9b235b96841d61 src/mistralai/client/models/batchexecutionresult.py: id: ca6840204f22 - last_write_checksum: sha1:d8628b48ae4198b487312b70cc425dc810b0ea8c - pristine_git_object: ebe41e0110c69a856461fa033ce698cd324e2db0 + last_write_checksum: sha1:583635bef68334c57574e11fcd2ce48551c1fa17 + pristine_git_object: 5930d5236a3a92286b460d2d3d488cb5423e2c02 src/mistralai/client/models/batchjob.py: id: 85cd28932cc7 - last_write_checksum: sha1:d9aab4f4058332de7f8e05ddc0719dbc9b054993 - pristine_git_object: 9cef43800cf382fe27d84fa958df493fe9624ea1 + last_write_checksum: sha1:4275117e3c9bab12be29277db3ea8bfce0146c26 + pristine_git_object: 4927beff1cd130c634fc99d17d115f53af241e14 src/mistralai/client/models/batchjobstatus.py: id: 61e08cf5eea9 - last_write_checksum: sha1:78934183519948464385245cbc89efb68ac00bfb - pristine_git_object: bd77faa2fbed74b19a8d3884af6d43bc1b4806e0 + last_write_checksum: sha1:f90059b4aaead197100965c648114254e7dc4888 + pristine_git_object: 1ba3dd55424670cfb240a2627b755dcb5dfd2bdf src/mistralai/client/models/batchrequest.py: id: 6f36819eeb46 - last_write_checksum: sha1:f4ed16f0d2fef446bf1b4eb3023d4f38824ffe6d - pristine_git_object: dcc47bd25fd0b790677b3e175b3e62058c970327 + last_write_checksum: sha1:d34a96aa71cadb82b66c801f2df9a4c1dac7cbd7 + pristine_git_object: 27786e9f434694fd234d53be336a7222dcaa3f1a src/mistralai/client/models/bearerauthmethod.py: id: 51b0b7c8b24a - last_write_checksum: sha1:45e9ee3ba8e457f8b79625ec2d2c4503b2fb13de - pristine_git_object: aaf1b868db17edcdc5e00d527a20227b32394695 + last_write_checksum: sha1:7307db284c05b9528456e0aa535c0f4229946b91 + pristine_git_object: 741e7af1c9a8091fc65b815eb81c86690cbfb3af src/mistralai/client/models/blobresourcecontents.py: id: fa924bc295ad - last_write_checksum: sha1:e624129b00144d82726a5a2ac5d3a809061b76ae - pristine_git_object: bfae16fb641bbe2c6dfa8c3aab1a042182d9137e + last_write_checksum: sha1:b7c97c44176edb5f18d5cd4ed6243db3d03cb2d5 + pristine_git_object: a32419f70d11acef949a56c08ffd53898721a5f2 src/mistralai/client/models/boolarrayfielddefinition.py: id: d0bee3f0a168 - last_write_checksum: sha1:5478e4f18318a796483e3a4ba0c2431702a5e80b - pristine_git_object: 255db6d7c6219dccb6ed4c79f5ff5c816d57f413 + last_write_checksum: sha1:ae7603f96c7e18e9303651e5489878b91e6b7c3f + pristine_git_object: be7b20d6d35a0272c16c37cd6f2359c165ca9f92 src/mistralai/client/models/boolfielddefinition.py: id: 4aaf558ba8b9 - last_write_checksum: sha1:57c6b0855d671bfb1e962ed5423ac45366bf62c8 - pristine_git_object: ab8fa0836edb71fe6493a6239932c39eb8e9151e + last_write_checksum: sha1:da5887c468826930cd8905c6af7003eabb96107a + pristine_git_object: 598ffca5a00fad6056374dc931e8cff28c35f22c src/mistralai/client/models/builtinconnectors.py: id: 2d276ce938dc - last_write_checksum: sha1:4ceb3182009b6535c07d652ccf46661b553b6272 - pristine_git_object: ecf60d3c1a83028d9cf755d4c9d5459f6b56e72a + last_write_checksum: sha1:8b8e49a0e6f03ae6cb8aa9ccd6c590f31ce2cb90 + pristine_git_object: bfa7a95a19612175c70cbd0b4a9df779a6ce01dd src/mistralai/client/models/cancel_workflow_execution_v1_workflows_executions_execution_id_cancel_postop.py: id: e26fc5a228af - last_write_checksum: sha1:cc7b1b2bb13a1ee8f88f5a485c3f4c7ef7e32875 - pristine_git_object: 8ba7176cb0213275c463d39fe8fc3ad9b9e5a0ad + last_write_checksum: sha1:f07c1fd93993863b4335d926089d1c2e1bae8d65 + pristine_git_object: 0fdca43dfeffb886feb07f65f3acceb08f6d9337 src/mistralai/client/models/chatclassificationrequest.py: id: afd9cdc71834 - last_write_checksum: sha1:a29088359142ebd6409f45569168b2096014119e - pristine_git_object: cf2aa78af3ffc747d557422b83551075b83e601d + last_write_checksum: sha1:47b1601331d17795959fda9b3dc9fe3a74d528aa + pristine_git_object: f9cadc3134e31a9b3f8c421faa7be72de0f9e5d8 src/mistralai/client/models/chatcompletionchoice.py: id: 7e6a512f6a04 - last_write_checksum: sha1:1ca89c543a5a01368910a35bb2381c4340fdd2e7 - pristine_git_object: ab8f331f35e80425590a13948bdab8cadcb4d394 + last_write_checksum: sha1:3d1937dc9eba76aa53985caedecb6a7357b67704 + pristine_git_object: ab010dc9997d0531ce0a18c39ba31893960b08bb src/mistralai/client/models/chatcompletionrequest.py: id: 9979805d8c38 - last_write_checksum: sha1:17f4ba20e320f54a6c94b4c2c82aed42bf17c4da - pristine_git_object: 846e2fa14b78d460b2a12142f3fc71fafd672038 + last_write_checksum: sha1:f4c0e8dc95552c02eb41851e48b12baeea4a5174 + pristine_git_object: 193c7674e8255d2ac6734a3e94307acb4c51bf31 src/mistralai/client/models/chatcompletionresponse.py: id: 669d996b8e82 - last_write_checksum: sha1:97f164fea881127ac82303e637b6a270e200ac5b - pristine_git_object: 7092bbc18425091d111ec998b33edc009ff0931b + last_write_checksum: sha1:af8071e660b09437a32482cdb25fd07096edc080 + pristine_git_object: 60a1f561ff29c3bc28ee6aea69b60b9d47c51471 src/mistralai/client/models/chatcompletionstreamrequest.py: id: 18cb2b2415d4 - last_write_checksum: sha1:8214308788910355c784ba53e5f1c490ee7ebd4c - pristine_git_object: 7b2dc5c96145bd3b16db7f7cb7802705a49f0400 + last_write_checksum: sha1:7740d0d4e3930663374625375d40bdb10ff8894e + pristine_git_object: 9fa4a8736b06ad17a8969de64fa34c75125cdb0c src/mistralai/client/models/chatmoderationrequest.py: id: 057aecb07275 - last_write_checksum: sha1:7677494c0e36ccbc201384cb587abeb852a1a924 - pristine_git_object: 228e7d26b8b172c3e11f01d4f260bf6e5195b318 + last_write_checksum: sha1:55fd2b53fd4b9e4ab3da4209846b65ceebcf8ff6 + pristine_git_object: 664349ec3948f178d5633cdef6011ceaaf740326 src/mistralai/client/models/classificationrequest.py: id: 6942fe3de24a - last_write_checksum: sha1:8b6f78592b6fe5c5a0e686f54ad1f99d3fdb78c5 - pristine_git_object: 4300f9ad559f6a2d87c726fd5f0b82d83e643481 + last_write_checksum: sha1:f0946aa02aa33c32cff1533ef03fb87554a4f93f + pristine_git_object: 6f38add13b80d231c35364883d35dbff58de9524 src/mistralai/client/models/classificationresponse.py: id: eaf279db1109 - last_write_checksum: sha1:64522aa2b0970e86a0133348411592f95163f374 - pristine_git_object: d2f09f430c4bca39ea9e5423b7d604ea4016fc70 + last_write_checksum: sha1:0e09986f5db869df04601cec3793552d17e7ed04 + pristine_git_object: 4bc21a58f0fb5b5f29357f2729250030b7d961bc src/mistralai/client/models/classificationtargetresult.py: id: 2445f12b2a57 - last_write_checksum: sha1:2b8b9aeadee3b8ffe21efd1e0c842f9094c4ecc7 - pristine_git_object: 6c7d6231d211977332100112900ea0f8cdf5d84c + last_write_checksum: sha1:9325f4db4e098c3bf7e24cfc487788e272a5896f + pristine_git_object: 89a137c374efc0f8b3ee49f3434f264705f69639 src/mistralai/client/models/classifierfinetunedmodel.py: id: 5a9a7a0153c8 - last_write_checksum: sha1:bfd6ffd8323a7b62199c84e64077b26b4c9c72d5 - pristine_git_object: 35d557aa6c122efe7fd300233f5837e69302fc33 + last_write_checksum: sha1:e562f09487369094ad9182a5490d131cf623760b + pristine_git_object: 713544f230fd0d55313332560bf64ac546183e05 src/mistralai/client/models/classifiertargetresult.py: id: 19c343844888 - last_write_checksum: sha1:3f5b37de3585cb38a3e41f0ee49dc4b5a33bf925 - pristine_git_object: 8ce7c0ca167b38ebaf1e5fc6393ab56d9f142cfa + last_write_checksum: sha1:3edfc99578506cb19ffbf67a2ac807734588bdad + pristine_git_object: c2c608b1c2a01a1c1996b4807b8260261a44c0f9 src/mistralai/client/models/clientcapabilities.py: id: b2ad660c5c9b - last_write_checksum: sha1:9e9ab4cfed5487f3ba336de7465efcbe7891fdcb - pristine_git_object: 772711601752ec07d571befea5b51a30abed1650 + last_write_checksum: sha1:68e87c1b80f6e139f24e0e48833bf95a92f9d622 + pristine_git_object: e0a9762069c03872ed47bc690516ae6c67f8ec21 src/mistralai/client/models/clientsecret.py: id: c56702dc45ce - last_write_checksum: sha1:4bcc951f93276e5521c1349eb18822cbcb8e18f2 - pristine_git_object: 28ea9ef426242a17cb710e2399ef1709fb123aa5 + last_write_checksum: sha1:ee082ced6e1f9f4f423f51c687d55b2123227ba7 + pristine_git_object: 3859c4385f024413b896077cdd09141989211a2b src/mistralai/client/models/clientsessionpurpose.py: id: 650b94028268 - last_write_checksum: sha1:6521fb6f2c0f7680d50ae096084e8c8a47bb045f - pristine_git_object: 0b509448de6fea1f6a8c420ef726cc004dac3212 + last_write_checksum: sha1:0471c2f0f3d796ab3d57f623c73051619085674b + pristine_git_object: 7fcfab1102f68c0f9e141c50d66db455e38a5990 src/mistralai/client/models/clienttaskscapability.py: id: 83aeca444b21 - last_write_checksum: sha1:1aac7c99f18f0449acbe46ab38e0012f7a4b1862 - pristine_git_object: 5256c3d502a7de1b6509031ee8c0ceea2df53479 + last_write_checksum: sha1:f7c4fc5b25653a69d6e8bf7dd205eea9cb9abcb0 + pristine_git_object: 3098367f5351fda7090d8c79af2bfa1ec10a6ac2 src/mistralai/client/models/clienttasksrequestscapability.py: id: 26148da505a0 - last_write_checksum: sha1:ecdb0a3954e6cd3ddd4dd49ba1d3844cf2ff54e2 - pristine_git_object: 38b9d6b12e9cc278fa882c95b25bd1de848c7fae + last_write_checksum: sha1:e5f45a3c660ff4ecdf229b26a0466e4132429acf + pristine_git_object: 253642030fa1feae2cf3e537ca2965fe3b92f6a1 src/mistralai/client/models/codeinterpretertool.py: id: 950cd8f4ad49 - last_write_checksum: sha1:248d6e6c1906303f03eb4f29429227a7d39679a2 - pristine_git_object: 4cf9d055c3aaee426d99071180ae6de21eb648cf + last_write_checksum: sha1:ba87eadecf637712f7ab65d2243df5170ca549cd + pristine_git_object: 92720ee3a9adf174dfb3084ac0d4df30986a1fb8 src/mistralai/client/models/completionargs.py: id: 3db008bcddca - last_write_checksum: sha1:1c9918b8b9631471dcee25f6608c026770810a2f - pristine_git_object: 57e4840a14602ab11b4018810aae5bc5772a1e5c + last_write_checksum: sha1:ed8ff54936603360e24d71dc758b44f6f1d7722b + pristine_git_object: c85d59ffa55ef5249b77bd2932784d1d1d77c47d src/mistralai/client/models/completionargsstop.py: id: 5f339214501d - last_write_checksum: sha1:744878976d33423327ea257defeff62073dad920 - pristine_git_object: 39c858e66380044e11d3c7fd705334d130f39dea + last_write_checksum: sha1:99912f7a10e92419308cf3c112c36f023de3fc11 + pristine_git_object: de7a09564540daaa6819f06195c347b3e01914f7 src/mistralai/client/models/completionchunk.py: id: d786b44926f4 - last_write_checksum: sha1:df78fa0e2374a4f39d8cc0489109a0b7eaf85ce5 - pristine_git_object: 27029b6f08ab42842022f04ddeebbf90154751da + last_write_checksum: sha1:7114472fc41616706765cc17d20a96d8f387dc66 + pristine_git_object: 42c6ab7e20f36167e57c3cafd968f6588c72a565 src/mistralai/client/models/completionevent.py: id: c68817e7e190 - last_write_checksum: sha1:dc43ac751e4e9d9006b548e4374a5ec44729eea4 - pristine_git_object: 3b90ab0c1ecac12f90e0ae3946a6b61410247e4f + last_write_checksum: sha1:c29f7e8a5b357e15606a01ad23e21341292b9c5e + pristine_git_object: 52db911eeb62ec7906b396d6936e3c7a0908bb76 src/mistralai/client/models/completionfinetunedmodel.py: id: f08c10d149f5 - last_write_checksum: sha1:da9ba4911148929c202368ec95f5a5bd55f6da21 - pristine_git_object: 9b420ed73a496a0bfd0309422992178332ec6b48 + last_write_checksum: sha1:9f23f0acf34809c17007d70bf1c0759bdddbae30 + pristine_git_object: 52b5c30fbb69302a88e6095ab4e55a53e5ca92f4 src/mistralai/client/models/completionresponsestreamchoice.py: id: 5969a6bc07f3 - last_write_checksum: sha1:4a1cd9adf6558faf84f873313210e9ae448c287b - pristine_git_object: ef1a106bdbde4eba5de9342a9418413daa08c0da + last_write_checksum: sha1:9e1eaa15994108209fe2819644864770bbfc2c13 + pristine_git_object: b90dee84ffd9c887cbcd995c478ed2b4f07c6492 src/mistralai/client/models/completiontokensdetails.py: id: 8e822f11a1b2 - last_write_checksum: sha1:82683389a41bc1d83ea93079c12bf0063af33bc4 - pristine_git_object: ff6fd79419c124c5e52205d9b82d7bae81111200 + last_write_checksum: sha1:117cc6daf733fa5bb2286dc01e2b220165ae074b + pristine_git_object: 503b5e7fc16ff1b8195be3d8108d2be188fb5d64 src/mistralai/client/models/connectionconfigtype.py: id: 52923bfd57d3 - last_write_checksum: sha1:c515a281111d65a4acf890c2683a891d352a652c - pristine_git_object: 9ad1bee185be3830d587d428b83f2bdd626ac341 + last_write_checksum: sha1:e514f14e429a909487cfe7e53b9a2c8b3b019ad7 + pristine_git_object: d6d26aaf8ba6d19236156187194b7336895c602a src/mistralai/client/models/connectioncredentialsinput.py: id: da2f91bbd24d - last_write_checksum: sha1:1734dfa6c6b4110e4155e50dd7d51091b2eaee2f - pristine_git_object: 80daf13bf431f524da2188e72209bee02d6acb0c + last_write_checksum: sha1:11d74848e80733da61333effb2ef4d69bb9c190c + pristine_git_object: 13a20107f4a4e60dd569db435df4a9c610e9a993 src/mistralai/client/models/connectionpreference.py: id: 6b9389ac91e6 - last_write_checksum: sha1:94c03c3e8ac45245baec8db480cfa162794b0dd8 - pristine_git_object: 953ef17cbecfa6983a722b151b966c72f74cf476 + last_write_checksum: sha1:586106310d6ec2ce38e7d1aefb0a37cb71534ee8 + pristine_git_object: fbca39a4f13d80041161d4f0a35efbc170d3eea6 src/mistralai/client/models/connector.py: id: 1a4facac922d - last_write_checksum: sha1:ffca108dd5edf29d8be29ec6a78f311e5e3cea17 - pristine_git_object: 886791fc98e4c47a2cc7ecaf2bd30f0e5c32fd7b + last_write_checksum: sha1:ab248d0d9facc036b568078130ab576601a07bdb + pristine_git_object: 71c8e72eebd648f100e70a63896c3152e5bf821f src/mistralai/client/models/connector_activate_for_consumer_v1op.py: id: 810bc363ca55 - last_write_checksum: sha1:55f8fd3250f9eb0d77e191e285ee6301d02c2d42 - pristine_git_object: 78aa42ac4772daba89b0e2f79051c48d1213cc45 + last_write_checksum: sha1:1eb4b4cd121adc3718b5af81a275f0dd23153bec + pristine_git_object: 6e6f5b38579f2dbb0dafe051b8e5e06edf936259 src/mistralai/client/models/connector_call_tool_v1op.py: id: 7948899b3068 - last_write_checksum: sha1:c4388ac1594641c36f97daaedcf42b0e94753be7 - pristine_git_object: 9c77123e18a86efaa7c0055e0c2a1a7226e7ffd9 + last_write_checksum: sha1:a410ddbbc6f3b6b6b2593219bad3dbaa0bf96d42 + pristine_git_object: 9e580cb7465c2c1b6b10a106e2f9e27d52a108f9 src/mistralai/client/models/connector_create_credentials_v1op.py: id: d190a00d654d - last_write_checksum: sha1:19019760240e6363b2111c9f62da00ad11eb1cd1 - pristine_git_object: 33645f3594b5f5d09bcd49e2154e72771ae42c66 + last_write_checksum: sha1:53c8e0e6e9f9fc17c53cfe47db574996157fcc17 + pristine_git_object: a758e71bfabbccbea35222c9100a019d0f431491 src/mistralai/client/models/connector_create_v1op.py: id: 195a0217bddb - last_write_checksum: sha1:ee7b0e861008dbc3bc36fcaea468ee9e8a808fcf - pristine_git_object: 0b251eed38fd0b3ff460a3f51f537e715553bfd5 + last_write_checksum: sha1:93cccbd4f03c20b146511ecc564fb45dae96f506 + pristine_git_object: daf2e947c3e0db044dc586fdb220cdb6a70ff07c src/mistralai/client/models/connector_deactivate_for_consumer_v1op.py: id: 5df1d67b0cc1 - last_write_checksum: sha1:316e219ab4f9fcec5990638362228406d2b2bf28 - pristine_git_object: 9b435f23877232073ffccc028a594b715e299115 + last_write_checksum: sha1:5f2bed6c8288554ba2c9caa4d0038ddda7b8760d + pristine_git_object: b75f7da8d5a0bc60b1582af7c3c47abe44776287 src/mistralai/client/models/connector_delete_all_user_credentials_v1op.py: id: 7d0462b6586b - last_write_checksum: sha1:1f356eb0414fd81f9fbbc6c5809441776317b1eb - pristine_git_object: 70adc2fdb3b488782826505ec8628b97ce867ce3 - src/mistralai/client/models/connector_delete_organization_credentials_v1op.py: - id: aab3a70dbbc5 - last_write_checksum: sha1:a53123b18f8dd5a33e777741ab44aac0d5ed64ee - pristine_git_object: 6cdb0c31f9a3d13ee87336fafe85865da6cfcf7e - src/mistralai/client/models/connector_delete_user_credentials_v1op.py: - id: 8bf2075ebdbf - last_write_checksum: sha1:9fbbc77385a362f9a03f9fdd6110d7e77854d16f - pristine_git_object: 40d25aabfd4c0e2c980782afa6cc5c059441045e + last_write_checksum: sha1:2380d856b99c7a48b62accf04b8f04beae27c4f7 + pristine_git_object: 3dace254bdba794080711f729f24dde99d4195c5 + src/mistralai/client/models/connector_delete_credentialsop.py: + id: a94152ccdd84 + last_write_checksum: sha1:75eb7af3da6ab508c0509420284a1777ec84e7be + pristine_git_object: 4d4f311eae0d9bd1ca34d107447006c9d348887a src/mistralai/client/models/connector_delete_v1op.py: id: a377930b1435 - last_write_checksum: sha1:2c9a501ab2e2b05829f2e3fd838f88a610d56781 - pristine_git_object: 74134361aeeaf83af57d7edc7d9ae26ab09d96fb - src/mistralai/client/models/connector_delete_workspace_credentials_v1op.py: - id: 4f0993c25ece - last_write_checksum: sha1:d928043c07daf8e170649473bd6cb36b1c928805 - pristine_git_object: a746ff5e09af76bf2aa4135b5fc675c816a8941f + last_write_checksum: sha1:be65a894ce0997779d05b47d0c1bfb6ab11a0769 + pristine_git_object: fc1f2e259bb5e93f9239fe38992d1ae134bf5111 src/mistralai/client/models/connector_get_auth_url_v1op.py: id: 2e6b9ab43d1d - last_write_checksum: sha1:1e111ee2954a1c33960b1c73822aff15f23e0cde - pristine_git_object: 228f4b0773fe377c56d44f5d14a6c769ee79775e + last_write_checksum: sha1:7b66d630176cad32277ad4c1eaef935ba63780d8 + pristine_git_object: 1ff713920027c4fc68fa84a03158297949e86c48 src/mistralai/client/models/connector_get_authentication_methods_v1op.py: id: 6861e4d57959 - last_write_checksum: sha1:8114ef46326cfcdadbbcc73fdcdc9ab52f3d8e0d - pristine_git_object: e0c4146d4621eec51f6961f85de95088e7480c08 + last_write_checksum: sha1:7ded9e81cb18cb16991a6b1a58789acf58828df0 + pristine_git_object: 055ca7be72e285a96b201786e4cc5703b3d8c232 src/mistralai/client/models/connector_get_v1op.py: id: 73ca3a446dcc - last_write_checksum: sha1:7afd047c7e74eb418365d79a25c79ec566e72992 - pristine_git_object: beb27872de7204b10e5a28789f817b2cdb629a77 + last_write_checksum: sha1:17542749965a6b5bb0235da74e9980a19e04b6d0 + pristine_git_object: 56696502c9fb5fb80efae7a349a70d349850dbd7 src/mistralai/client/models/connector_list_organization_credentials_v1op.py: id: a52ee058feab - last_write_checksum: sha1:2abf099d7a6ea68134d38c3a95dfec08d37e9ed9 - pristine_git_object: 6b37773fb3e7b1b0e999a342709599797d64c558 + last_write_checksum: sha1:07259200003943cc65e22780a2c8bdcc64c09c36 + pristine_git_object: 7e87736ba66d43fb1609dc96817dac3d9a8899dc src/mistralai/client/models/connector_list_tools_v1op.py: id: 4c6ad704479b - last_write_checksum: sha1:f1ac1e2ea00f76c4160ec085bdd8bc8340fd64f9 - pristine_git_object: 4f4124a744809a8695463fcd7f510f3d8016ebc3 + last_write_checksum: sha1:24f20a9c3c557a05ce2da139ba4c2530ea9c3077 + pristine_git_object: 0e0698b73410734d7c0639b10b506120a66ef900 src/mistralai/client/models/connector_list_user_credentials_v1op.py: id: 106e8fba762d - last_write_checksum: sha1:35c2b9e14c552a6525c7d1baf1bdea509284e939 - pristine_git_object: 5434a2833038b37e0c944330569a3fa0eb295160 + last_write_checksum: sha1:b17c3afeb95e23559899a6788a989e876895b0cc + pristine_git_object: 5699528101989723325c86d3b0939977ca4c394c src/mistralai/client/models/connector_list_v1op.py: id: 5ec0889995f5 - last_write_checksum: sha1:17c0a5965d058a4aacb891d37db3481a907ff091 - pristine_git_object: 3cb31bf7fe0b814606b4bbdfbf7e5cbf733984bf + last_write_checksum: sha1:dbad162a991ead9adbb54b05b93f6b1c28e51fbc + pristine_git_object: fdf5b521b2d5474357aa111ff9cfe0f796042568 src/mistralai/client/models/connector_list_workspace_credentials_v1op.py: id: de7c431e8a54 - last_write_checksum: sha1:01b9e654b460634000b4975323311dae56c983d4 - pristine_git_object: c610c4c8b4f8c3561c389eb5092023d86ee4767d + last_write_checksum: sha1:5a0a9acb77b59b2681b437476a164117ee793d35 + pristine_git_object: 35b14f8bffd77ebf35d79358324822f298ca1921 src/mistralai/client/models/connector_share_to_organization_v1op.py: id: 6a1f29c81825 - last_write_checksum: sha1:a5247a0e881f4b5becc8faa41998b048787d97f0 - pristine_git_object: b64e25cc3e726f65febcf22f3a840a3840100f12 + last_write_checksum: sha1:d2ac54ce47975941c9c7eae465dd9bc6215630ac + pristine_git_object: 1faab6a293e86018f6f72cb62a48c85bfbca9b08 src/mistralai/client/models/connector_share_v1op.py: id: 3271dc4ecdc2 - last_write_checksum: sha1:e45f6efff5b2ca86213ba71f770b9571ea98c5df - pristine_git_object: 7072c3b8da85e2d3f3dd00e566e318eb0b151e5b + last_write_checksum: sha1:e3f141dada71a59bf2ea8a056b3f23fcd6493044 + pristine_git_object: c6176cc4ca561c7616be6a3ea6c587582bd854dc src/mistralai/client/models/connector_unshare_from_organization_v1op.py: id: 63400c035995 - last_write_checksum: sha1:89a6ecb3a50c12e548e734c4f4a1f0fdfbe3354b - pristine_git_object: c3192cdfb76b02001b248d889e32c03ebd9f3bd6 + last_write_checksum: sha1:b7faa5e437c1d5864a0c70f5dd2715f0a5d31847 + pristine_git_object: cfe579781f7b42a4283026af46439b6a77bb2a8e src/mistralai/client/models/connector_unshare_v1op.py: id: 03a76840486f - last_write_checksum: sha1:abc6a8bf3f11f5af9734b847f3df27121af7a045 - pristine_git_object: 936fcb38664b380c864603d8ea873df53033ee4f + last_write_checksum: sha1:eebe3c67ca0bba3e33ec67380cfb4b27c0904b63 + pristine_git_object: d6009374927bf2fd65d48183738981f1bbbb634b src/mistralai/client/models/connector_update_credentialsop.py: id: 68d46f1d01d0 - last_write_checksum: sha1:df5e602b70a7712af075db661c400f7d6cd00864 - pristine_git_object: 107ff1caf63a8e91378f708c425e941a4ce42881 + last_write_checksum: sha1:79b677795427f99231e975d14c5dbe229770e6eb + pristine_git_object: 5cadaa9b279530428edde3d6bedabd86342c1dd9 src/mistralai/client/models/connector_update_v1op.py: id: 6f884d18ac56 - last_write_checksum: sha1:f0c2bda00d41a3c000b4a4521b3848fe02f45281 - pristine_git_object: bd3c2d8bc8ee139c19f51edf6aa2bf30ba590524 + last_write_checksum: sha1:544f7f5bd377bbe144ec904d5a09208ab7573397 + pristine_git_object: bee03d5e0674956feb263b412b68ab57d6dc32c4 src/mistralai/client/models/connectorauthenticationheader.py: id: 7271f22f39b0 - last_write_checksum: sha1:0811c183ba11289f038860270ccf622ca51b0a6a - pristine_git_object: 5fc073f040c9fae143383077747e5fad8799a2e7 + last_write_checksum: sha1:afcc431cc08f441fc1fa4f73c8cf59d52bf62c43 + pristine_git_object: cbf324ba421e4346d6eb1f06ab394bb4d9953f52 src/mistralai/client/models/connectorcalltoolrequest.py: id: 7dc7ec295301 - last_write_checksum: sha1:8af4bd44caa8ad09180139e7e8a68052c16dce11 - pristine_git_object: 85366bb6acaa0724a907803c689a2caeb431bf7b + last_write_checksum: sha1:518d83bb171f6f5a5efc02beb4bd369d73ca17c8 + pristine_git_object: c01ed8d3ff9c8fe71d2437eda8e4c5f0c8c170ba src/mistralai/client/models/connectorlocale.py: id: f987f5207d2e - last_write_checksum: sha1:650dd62ffecf5940c5b9c43e561059244ae1e09d - pristine_git_object: 373e9e848b4df211f646c289b864b3a3d66b4954 + last_write_checksum: sha1:0faf0e888cd12eb5d3f8d2032143a3c02aa6f7c0 + pristine_git_object: 36e9c84f50426fbeac320f9bd1599b4ed69dc492 src/mistralai/client/models/connectormcppublicupdate.py: id: 8b7f3521ec95 - last_write_checksum: sha1:0a2e30e0a8a1d4009095c8f25cb394c0ce1b5a06 - pristine_git_object: cf24b8595d0d97a6712c384d97e4d30277accc47 + last_write_checksum: sha1:6cbdcf8ef6a71255cd988628fc19da12cef3b75e + pristine_git_object: 3189aa2eccf3f5cf96ee9ad1465266e223c074c7 src/mistralai/client/models/connectorsqueryfilters.py: id: 3b9fc81aa726 - last_write_checksum: sha1:413e7d4805a7ea93e221b404f51db7949dacfaa6 - pristine_git_object: e5bffe456d11bf0a4cb59d218bdabf0c4931bcda + last_write_checksum: sha1:fb9a3328a1ba2bd8089b4387cb4f1b379fe1d7b0 + pristine_git_object: 9e1716ff42db201767a38006dca3cf2c3ee60f39 src/mistralai/client/models/connectortool.py: id: 41ca596b44f8 - last_write_checksum: sha1:0306b9a607d59afe042aac018df6e2bc0cff0d8a - pristine_git_object: e8a036c7800ad7db3cdad18f4a61c9c3b8d050b8 + last_write_checksum: sha1:56975c2c8cc9656694c31a543871579447adde7e + pristine_git_object: 441cb5a424a5abee4b954e257a92e8f2c4fdae56 src/mistralai/client/models/connectortoolcallmetadata.py: id: 2d27189e58e6 - last_write_checksum: sha1:da057b97e36ab7b49f863ab92e1c20ccbf81fb45 - pristine_git_object: 0280eae009cd4fa8b91923f31bd607d74ce7f753 + last_write_checksum: sha1:88091f845c6d35068032ca87f137a236dda06af9 + pristine_git_object: 4e873d706a839bf3a1b4969a7aa1f220afea58f6 src/mistralai/client/models/connectortoolcallresponse.py: id: c4f7a932bd2e - last_write_checksum: sha1:453f0382ecf925c483a6071130c61eb7b7326ee4 - pristine_git_object: 76abe558e5c558db157d743a6e90ef7c26038680 + last_write_checksum: sha1:be9010feb9bdd4a4c59f5590ba98a2c712174373 + pristine_git_object: 54c74ad7da0c7c7ffb1e6478ff57b1cf22210f3b src/mistralai/client/models/connectortoollocale.py: id: 247ebe411537 - last_write_checksum: sha1:e68370e4bcf2a1f5f2f9036416fc889821668244 - pristine_git_object: ec1359c8ccf883bff066fd1500503f5e28913e05 + last_write_checksum: sha1:c3e60bf7016b4b994697402425c221bf91e50af9 + pristine_git_object: 84e891a8771c58029d18b32740102acc10253bf6 src/mistralai/client/models/connectortoolresultmetadata.py: id: 86730e16aa67 - last_write_checksum: sha1:fae6e84b040a1c8bcb25b94041f990525529472a - pristine_git_object: 8c92f2f8d4c25eac7f3c95e0ae425942829390d0 + last_write_checksum: sha1:2a4bfe56056aa9a884f1da82e201af775b4c713b + pristine_git_object: 9464462ddb9e9f609eeab20e9a67595d00911615 src/mistralai/client/models/consumertype.py: id: d18230da2fdd - last_write_checksum: sha1:4fc648452051b1dc9ef496b54e75d18396807158 - pristine_git_object: ac091e5e905d0985ce7286389f46c308c53ebb82 + last_write_checksum: sha1:ff39347639a7a115c2eaca3f6454fee898d66d2f + pristine_git_object: b48c3c87f8ec9584ff62d9efbab1dbbd3a231ada src/mistralai/client/models/contentchunk.py: id: c007f5ee0325 - last_write_checksum: sha1:b921b03b4c1e300b0e3f51ea9eadd4d7c4b7a0ea - pristine_git_object: e3de7591a089a3739af17108cecdc2d4240f10bf + last_write_checksum: sha1:704b9565d900be8476663660883bf84453f61cf1 + pristine_git_object: 1490577d725900f719344b6a604e57b9771e5994 src/mistralai/client/models/conversationappendrequest.py: id: 81ce529e0865 - last_write_checksum: sha1:1180d6092dc70b5c919529694623e7c5c2f8f470 - pristine_git_object: 6d310816dfe569850207a701a5ce84853702f8d1 + last_write_checksum: sha1:6d7cbbeff8bca89d21a17318df319812ff772cdc + pristine_git_object: f0cc1cce9d50e8e0fa6ce7da8b2ed53aea82b157 src/mistralai/client/models/conversationappendstreamrequest.py: id: 27ada745e6ad - last_write_checksum: sha1:7a5ac0f3f0e255d2ebf2005a9dc931b0fc8d4320 - pristine_git_object: b65f1e82f38099aad5f2a113a784ac706adbd8be + last_write_checksum: sha1:34bfd07c618d7d484da9264be6a1cda36c96af62 + pristine_git_object: ba002c3077dffad5f8ba0faf7930f824bc9d20cd src/mistralai/client/models/conversationevents.py: id: 8c8b08d853f6 - last_write_checksum: sha1:2eedde1ecf31061fb13de0b1bdc9ea311897b570 - pristine_git_object: 17812983f3aee3e675d44f46ca1b741315c2139a + last_write_checksum: sha1:3d65082bb441e6beb7b27e42d15ca2dbc13e7936 + pristine_git_object: 9987d596359e92473e7b0997f9edccf592fb102e src/mistralai/client/models/conversationhistory.py: id: 60a51ff1682b - last_write_checksum: sha1:661d135eb6614a54ffbeb7d63320311821f9f23b - pristine_git_object: 2e812bb8b2945db91e534d74265482ce914a8975 + last_write_checksum: sha1:449ef637cc3319dee2c76229047daa3b4e7a678a + pristine_git_object: cc32b079ede56e4b3d4b11369c4f4defd370ae4d src/mistralai/client/models/conversationinputs.py: id: 711b769f2c40 - last_write_checksum: sha1:5fc688af61d6a49ede9c9709069f3db79f4dc615 - pristine_git_object: 7ce3ffc3772926a259d714b13bfc4ee4e518f8f7 + last_write_checksum: sha1:3e8c4650808b8059c3a0e9b1db60136ba35942df + pristine_git_object: 4d30cd76d14358e12c3d30c22e3c95078ecde4bd src/mistralai/client/models/conversationmessages.py: id: 011c39501c26 - last_write_checksum: sha1:83adcc316ff46085a7b02a4ce54b3cee7a848937 - pristine_git_object: a7e13c712fa0ac250929efdc10303ea7fd26c37d + last_write_checksum: sha1:2cce9b4a984ffbd6f951a6c432fb595dbf770169 + pristine_git_object: ed421a08dd53d83f1d5d867a126d2fa5e32b89b1 src/mistralai/client/models/conversationrequest.py: id: 58e3ae67f149 - last_write_checksum: sha1:5d64abb831437c60c7e88a7dce2e08d03174ee1e - pristine_git_object: 94fcb03bb392ff4a369e0dfaa524644d611d2c49 + last_write_checksum: sha1:8ff7c9dd2865f6bc68c3f46e68548ed6753599c2 + pristine_git_object: f9078860aa5ac9a98e3ca3c296a587f731e4ce3b src/mistralai/client/models/conversationresponse.py: id: ad7a8472c7bf - last_write_checksum: sha1:cd45eec534ccd27052d9809f8aafedeee243d9f9 - pristine_git_object: 64437b23c7ff4cd50010e970832bed3567ae4bf0 + last_write_checksum: sha1:33fbf4afe8a95033c5393a371186c521eac4809a + pristine_git_object: 7befe44c194044c64796fa299e273f859824142e src/mistralai/client/models/conversationrestartrequest.py: id: 681d90d50514 - last_write_checksum: sha1:edc3713fa0be297da7c622f60775db3c617ab221 - pristine_git_object: b6b03f1faa89d72e4a4b3682f47692f301cfed9c + last_write_checksum: sha1:9261a3f7e5a0cde4ab796b7ffdcccdf88c954862 + pristine_git_object: 2d30be54b77024de34b2c97d23b44c7009d8db71 src/mistralai/client/models/conversationrestartstreamrequest.py: id: 521c2b5bfb2b - last_write_checksum: sha1:6fd47c92114693010c6014af6e2a347091985a87 - pristine_git_object: 41b7098f7086b41089432b183df664fb7539bfc1 + last_write_checksum: sha1:24dd0a73ba55b8c616ea62af579dfbd6b3519889 + pristine_git_object: d6c4ea52318e36f2447014ffaf45004ebeda2c03 src/mistralai/client/models/conversationstreamrequest.py: id: 58d633507527 - last_write_checksum: sha1:17f643578f395a5b4605710402f115eb25cae8b3 - pristine_git_object: a1afb2679b5c1e97995b78bbf2572cec489d28c5 + last_write_checksum: sha1:ff595a23e54d3e15d1ac2b7a0f792146376c1673 + pristine_git_object: 4c0fe163df82aec1458c10fd050b31314d29dc97 src/mistralai/client/models/conversationusageinfo.py: id: 6685e3b50b50 - last_write_checksum: sha1:ee993afc39cece27caf99ee60258f45980d86cbc - pristine_git_object: e717284f15a4f3c88768f96d98007b95aa2b7922 + last_write_checksum: sha1:6889ada77c34d3e813dce0a0890c3615b7ce9da6 + pristine_git_object: a933d13120d5f6b69200deeea103307fb70ae681 src/mistralai/client/models/create_client_session_v1_client_sessions_postop.py: id: 6faae4a19392 - last_write_checksum: sha1:da10010aeb074aaf706592a262a328aa42a5fb3d - pristine_git_object: 6e7599d70199e2b5543c9bf6f8590ead3ba43218 + last_write_checksum: sha1:b8cc5e230543063f49cb9c8097a7223fc45e29d0 + pristine_git_object: 13e87c4aabf89b567ba9e566cd8762c962127d50 src/mistralai/client/models/create_dataset_record_v1_observability_datasets_dataset_id_records_postop.py: id: 1ddc53a46c74 - last_write_checksum: sha1:5df5b6676f6c115da0b1c242a6f3cc7f8c077927 - pristine_git_object: 03156fa31f51655dfd9bda21082710b1d1f42907 + last_write_checksum: sha1:6f127a5a3d6e1f90edeadc327e66902063c5ce44 + pristine_git_object: 64d702f7e9a9c451b98dadcc85ad4869b47874b5 src/mistralai/client/models/create_index_v1_rag_managed_indexes_postop.py: id: 07cbec23d26c - last_write_checksum: sha1:875f6d0ed6599ba94959d713282a911ae2f4bd4a - pristine_git_object: 50b9e2a23fc366e24a4d90bf55a6947c5181dd43 + last_write_checksum: sha1:590ad3f90b316a7abdc90e860abdd18e5fc0a1a9 + pristine_git_object: dcd3ff9c00ab2077393a048cca02d9d9eae1a76b src/mistralai/client/models/createagentrequest.py: id: 442629bd914b - last_write_checksum: sha1:da0d93f32efd9db292a83ccb8c0d18c02dbbb7ee - pristine_git_object: b434619d8c161f74453e2546986e24ea802269e8 + last_write_checksum: sha1:5e338fed7de77b4b43859cb2dde038695c2d217f + pristine_git_object: 686067ae956ca682e5e0e5471ee79b19a3e350e5 src/mistralai/client/models/createbatchjobrequest.py: id: 56e24cd24e98 - last_write_checksum: sha1:8f3af5306ce986bde39b315e19947d1f21cfe0e1 - pristine_git_object: c74c13815aae904b0b8da9c864edbf41d891cc6a + last_write_checksum: sha1:f78d42397de1666c3bf8d4254dd2049742da5faa + pristine_git_object: 2bff3887ae7f5e5ecffde12b0ac26a35b80a113f src/mistralai/client/models/createconnectorrequest.py: id: 3da192d6491a - last_write_checksum: sha1:112dd4859ebae1a59fe4a22f5513106a86df87b5 - pristine_git_object: be5de83761c53970ba17a06bdd2ea5fc4eb3b952 + last_write_checksum: sha1:3280baada598eec86422ffb87fa37b23dbe7bfe1 + pristine_git_object: dc04c210b29cbf4badbdaafa8dd8005ddd3ae641 src/mistralai/client/models/createdatasetrecordrequest.py: id: 9455e38a8c31 - last_write_checksum: sha1:d00734bf40b7c45b3b777edab2a6dada410942f2 - pristine_git_object: 10ab31a77a7dbe899913ad0b6b6454ebfa88232c + last_write_checksum: sha1:6ef09d30009e22815be6191bdd6997e88335fe45 + pristine_git_object: 899b01618d7de573f6ac1ad9b12538ceae6b7758 src/mistralai/client/models/createdatasetrequest.py: id: 046a094d3ef9 - last_write_checksum: sha1:5c38317b544af6ca66fb895c627634d160bc3975 - pristine_git_object: ecffc52a82e3e0baca00cf94de047ff5124e3a04 + last_write_checksum: sha1:f878d30cdebf517c7e7322017cd49e831f1867f7 + pristine_git_object: 0f2991f3a796db5a5fbfa5b7ccc7020a62651046 src/mistralai/client/models/createdeploymentrequest.py: id: 1ebab7ec18c6 - last_write_checksum: sha1:1adc0886aae7d01ea117b7c9ea3d5f95b7edc54b - pristine_git_object: a85cbad3204ff00a61afa70443f254e7d00530f9 + last_write_checksum: sha1:b7cfddb42d3c7578215b94d1ea21851f4c217280 + pristine_git_object: 0e6cdaee5fd1c7e2b218e4f03b0c688f47ae665f src/mistralai/client/models/createfileresponse.py: id: fea5e4832dcc - last_write_checksum: sha1:e0a0abb33411e145285db9d36c207812bf8f0587 - pristine_git_object: bafefc372e35f21c38e45b0055610f19e7efad44 + last_write_checksum: sha1:3ca70b0d17795320a95cb97377c42fa7603feb93 + pristine_git_object: 3486c63248e3222443e44b909d8a5f363b4d5c54 src/mistralai/client/models/createhttpconnectorrequest.py: id: 0a6ae9a449be - last_write_checksum: sha1:917a5d787a877d75aa397b4362dac3aeb1103d8e - pristine_git_object: 7365c16f9457a044cd5aabece370952842ae732c + last_write_checksum: sha1:d89b3a1d07e8cdd1cb3defc49ab1a66fe34d50ff + pristine_git_object: 312a7aae7875c989f3254a6076bb6f44bbc27f5c src/mistralai/client/models/createingestionpipelineconfigurationrequest.py: id: 480f219c27e5 - last_write_checksum: sha1:709685e6f602e2badcd3e594b60b8a2d1be01e35 - pristine_git_object: 8e6bdffe885c295e8df1606b22e09f264236583f + last_write_checksum: sha1:497d54410c74e821ddf8d02f79ee221d9975e8cd + pristine_git_object: 28b02228ddb17efd495ebd28f104344907050885 src/mistralai/client/models/createjudgerequest.py: id: e606837a626e - last_write_checksum: sha1:d5c16104089075af1b8b2fe922006aea9d74b0e3 - pristine_git_object: 7c30aa5ffde4e23ce9ebcb0d67a0e1a3c875c698 + last_write_checksum: sha1:9e719da72bda66ae7e47a26e1ff050364caecb45 + pristine_git_object: 2237dcfa5c02629dffee009472c4ea197feda273 src/mistralai/client/models/createlibraryrequest.py: id: 1c489bec2f53 - last_write_checksum: sha1:ebee21e3ac561b490513d6ebcb79efea070e1597 - pristine_git_object: 2bbb1e18c3ee495db44df95e47046b6f1285e54e + last_write_checksum: sha1:716dbaec50810b4bd3b538b13ca578d2320d0c5c + pristine_git_object: ca87602a23036bde9ec7fa96ce3ecb7dd1c6d888 src/mistralai/client/models/createmanagedindexrequest.py: id: cfb7d0f96759 - last_write_checksum: sha1:8ac85a63da2f31a01f6da163aaf17cdaa726a549 - pristine_git_object: b6d613dc3b796ccee843c94f90d404c8dfaf24fd + last_write_checksum: sha1:e44d50f0dc28164ba0df595ffd362a941048d6e2 + pristine_git_object: 616f212f4f07534b26b9b677117f2678aa11dbfe src/mistralai/client/models/createpipelineconfigrequest.py: id: b13c0360ed4d - last_write_checksum: sha1:38110a66de8a240986f8cd474dfa4e6025e7b476 - pristine_git_object: 7b0886871b64f1bde78ce01680c57d36f6cec312 + last_write_checksum: sha1:ce399f6166a0eff2a4e6da5c1a78177cae59faca + pristine_git_object: 7f4ed20f9032de3794293457911177aacc6c9c17 + src/mistralai/client/models/createpipelinerequest.py: + id: 269c83965d38 + last_write_checksum: sha1:751900b7bfe61aa20127d4a84012cd6528d2690c + pristine_git_object: eb772f7e0b75980efa72f2da18345e37933f36f0 src/mistralai/client/models/createpromptrequest.py: id: 5e7efdfa82b5 - last_write_checksum: sha1:2e37513547a368c898549c2827acb6697d573c88 - pristine_git_object: aad995d520095ce99149c2d89d464734dfeedf8c + last_write_checksum: sha1:ee3de2cf86f4ccbb9e676a0c7446b3976fa34a8b + pristine_git_object: dde65b5b26e993151ff35e0cbe448d8413b26e28 src/mistralai/client/models/createpromptversionresponse.py: id: 53a2fee8bd20 - last_write_checksum: sha1:c10c1e63bdda716c762b749333e7a3d63ed0fde9 - pristine_git_object: 32c96a41aef6c5f592c660c2107cd5948d582822 + last_write_checksum: sha1:cb1c4c0df130feac86ce5120a27dfb519507305c + pristine_git_object: 8cb5fe4339214ce42e9a9cd2225938c4a79448ce src/mistralai/client/models/createrealtimesessionrequest.py: id: 285bf15f71b1 - last_write_checksum: sha1:cb855c4cb0195bf092d0d0f6b78db807d6dfb03d - pristine_git_object: 49b770d7947c5c5d5989a733aac6ceada65f13ce + last_write_checksum: sha1:b3929270655a57be0d85a7b85216ab351b985e95 + pristine_git_object: af96d4722c0c70247e365fe5ae53c443ccc633a2 src/mistralai/client/models/createrealtimesessionresponse.py: id: 9183c3301002 - last_write_checksum: sha1:98a59fe804b6cb1edc384aa1fc5c232274747713 - pristine_git_object: 81e0e6e30cf8815b0d8da6001400f2419373452f + last_write_checksum: sha1:c2623ac1fbf5a099f3e2fcdf1d10b4e204726bdd + pristine_git_object: 3eb05f2e539531a61bf699b0206794192d5c548a src/mistralai/client/models/createserviceaccountrequest.py: id: fb57eff2a21c - last_write_checksum: sha1:379342ac83a552fe2245bf8f1b5b389c09d6b2f7 - pristine_git_object: 7a09bc7cd39f0c9915c3f3b6e8fc89b4e5382830 + last_write_checksum: sha1:e7d600ffe39b6108211ceb582c68131a59a74486 + pristine_git_object: 19aad5236a7b763e39df1bf1a18358813991eeb3 src/mistralai/client/models/createskillrequest.py: id: 226c4222df28 - last_write_checksum: sha1:39c2918d4d7eac1803163f859328e4bf4e41db3d - pristine_git_object: 7b89264abd7f252964a5e1588ae261ad1ac31221 + last_write_checksum: sha1:bb1e79bcc7d51dcd77caa09280ef88e231aa11ae + pristine_git_object: ee20de1d4aab1da72a48fe5f5a78a64ff1a43374 src/mistralai/client/models/createskillversionresponse.py: id: d5d19aa97adf - last_write_checksum: sha1:a89397768264e6823655d40aa89a27b052313a41 - pristine_git_object: d12d37881d11d8dd1376be245f33a1fc97d828ef + last_write_checksum: sha1:f57fc464897d1eb5ad263a3efa022932bee8580d + pristine_git_object: 24cea8e06328f8bff7662b6674b232953df17fb6 src/mistralai/client/models/credentialscreateorupdate.py: id: 9927546f2487 - last_write_checksum: sha1:0fb0d1b8a568ee61b3fa934ec7bced3f032006c5 - pristine_git_object: b4edfa796c38115b98bac3a21376c677b14913f1 + last_write_checksum: sha1:68fcdfe367f5ece20c03adfbe82cd98395e2adcf + pristine_git_object: 06e6fbf99de4d7806e2ce19375d2870d8c8d0ab5 src/mistralai/client/models/credentialsresponse.py: id: 80cc6fb316f9 - last_write_checksum: sha1:f5dc920dbfba507188ddfa8a1ba964ab8b5ba755 - pristine_git_object: 5cf9a198ece228642c0147d218ddd6be39825fd4 + last_write_checksum: sha1:f8128ce2ec4245cf11563cc6bf4bd62cb17725d6 + pristine_git_object: 1d8b533a0f9a9b85a97ffe02595f43af838c7aa8 src/mistralai/client/models/credentialsstatus.py: id: 14e3a65841d9 - last_write_checksum: sha1:da725b4273993ceb9e80769a4191cffa434efba3 - pristine_git_object: a36a20ad94e89a98d84f10f6b3690053437f924d + last_write_checksum: sha1:8d9f0b9740a512dadc9001b3780c64cd2a71788f + pristine_git_object: 7171be943d6ed1528f40f2448ae204a260ff8b86 src/mistralai/client/models/credentialsstatuserrorreason.py: id: 63651566faee - last_write_checksum: sha1:5a9145107b4c43fb40c94169e30fc3d5f9c77ac7 - pristine_git_object: 9e567225126631273744b263b75a0a23db6d4b07 + last_write_checksum: sha1:b387c2d0466e3b2e32ce09b47b730c87b5e03af1 + pristine_git_object: 0fe21f70705951ad14e9fdde181a970bff6d0ab4 src/mistralai/client/models/customconnector.py: id: 14f3643f7703 - last_write_checksum: sha1:2162c7e4b3a9c747c5da88e72315d138f28dea5d - pristine_git_object: f3a1e2ffb1a29e8798a2ac8c9c636ac3bada7413 + last_write_checksum: sha1:f1719fb240320fde71f866a4acdaf7b798fff05f + pristine_git_object: af63feac55ff13b7bacf312074ae7176431eccae src/mistralai/client/models/customembeddingmodel.py: id: 9d02c87fc396 - last_write_checksum: sha1:e9aaabf4ad7822405b6501cc109fe3273e4b5448 - pristine_git_object: 495757fd51cbf10115c1132de69322898595728c + last_write_checksum: sha1:e2fc2fd2978f8f311039123a30ce9cfdbaa8a4db + pristine_git_object: b8ee867739de950c0672ba884ac90898260c96e7 src/mistralai/client/models/customtaskcanceledattributes.py: id: c20b8be67b8c - last_write_checksum: sha1:94e8aa92de645553991a5a0940aee90c19a6adc1 - pristine_git_object: cea2137e5356e636b44a3b1107aa9e29a69fd504 + last_write_checksum: sha1:8e11636842288039af2c74db2029896a739f8621 + pristine_git_object: 7492ca85081d989c0ccd4cf5ee9075b721b8b3bf src/mistralai/client/models/customtaskcanceledresponse.py: id: 0eeb9d6cf409 - last_write_checksum: sha1:342f29f26679bc8cd69177b010ab78864c7a62b4 - pristine_git_object: 14c34de503be4551e3c3cdce1e67689c6bd3cabc + last_write_checksum: sha1:51e087f3182508e8cd9493f74aad4f7ac78925c6 + pristine_git_object: 1d56d66049caec295633eaf0f5d185a5ef7f8d5c src/mistralai/client/models/customtaskcompletedattributesresponse.py: id: 0b9fb891f354 - last_write_checksum: sha1:f5053cec4e78eaa7b83df2c7e6d7f9f66cd35933 - pristine_git_object: afd48d7660446f5daa52b7358934227bb3761e87 + last_write_checksum: sha1:3e9857b93e643d94a6bc5d23ca404b8a40d29a59 + pristine_git_object: 6e7f54a7f687f9af5e44650b820013274e8ce21b src/mistralai/client/models/customtaskcompletedresponse.py: id: 719b68571f4c - last_write_checksum: sha1:1e72834ba11f0aa9d1951d32799fb21eabf6cbba - pristine_git_object: 85f69523067ed139327df32d36e6f530093ebe82 + last_write_checksum: sha1:d067f6e41445ec461be1d8ddfd8604bf1a83325b + pristine_git_object: f5a4a8efe4936a478d48c50b8ded971da8a64d96 src/mistralai/client/models/customtaskfailedattributes.py: id: ff33698df363 - last_write_checksum: sha1:dbbd423357a0d653ba20e94737126e9919bf2ff9 - pristine_git_object: b66d7d3c973307e23a73f45a1e654e375f55140c + last_write_checksum: sha1:56c588d5af9d3c2f6de3d92fb8fb4f39ba3bd48c + pristine_git_object: 43dfc9d0207572504a1d45a110e05fcfd3fbdc89 src/mistralai/client/models/customtaskfailedresponse.py: id: 1cde7920833f - last_write_checksum: sha1:030babc65031085c32389bc51236c9bb080459a6 - pristine_git_object: 3dbd5257a37e03adc0c32579605d3ef9bc412de2 + last_write_checksum: sha1:0769198a2c56cfe63964b04569ec23e9d6e6b7d1 + pristine_git_object: c7c32235d3c63cdde647e66d6d0f75c180f4bbd9 src/mistralai/client/models/customtaskinprogressattributesresponse.py: id: 895147a1a6a8 - last_write_checksum: sha1:67a5a511f40f83c678f591a2f6e9be632e5c622b - pristine_git_object: 45ee5e4244bd011c0a271f4429abb72f41fe92b3 + last_write_checksum: sha1:8493611bcb2716f8e8da54852603c6538c0485d2 + pristine_git_object: 4baa7282334e46a9ee2b4b5a38f60a597ec55777 src/mistralai/client/models/customtaskinprogressresponse.py: id: 9d012ecb7626 - last_write_checksum: sha1:266fe763209fee393e0d8dc012b6f3d0b1f0e59e - pristine_git_object: f26db3a940780e891585456abbc7b00c9cffc146 + last_write_checksum: sha1:d26bb4a7cabbb4b1073bbd23051698b26997bb1f + pristine_git_object: aa83bad206e930c117222844cb4ddfea7f8bb87e src/mistralai/client/models/customtaskstartedattributesresponse.py: id: 6b8946c77018 - last_write_checksum: sha1:5902afbf5696150caae710ef55a4c5b5f8b2ed1a - pristine_git_object: 4f53ae8a35f590ab4bd2fd5e5ab63e44ea449cc1 + last_write_checksum: sha1:e288ade0f97ade7c9eb91f037ce7c1b4eb9d5370 + pristine_git_object: e59a37355633644c4d5858e0844a747a4f029965 src/mistralai/client/models/customtaskstartedresponse.py: id: 02b330a5292e - last_write_checksum: sha1:7dbec0a211ef9f99ac7aa5abe7b2f0e2d4db913b - pristine_git_object: 206880e722d08fc5985077de5f1112090d318696 + last_write_checksum: sha1:4612b6e43e659f5b6efc865402bc3f2858c07dc9 + pristine_git_object: 39713a09978d39d003800ff220986a0cd0ab962b src/mistralai/client/models/customtasktimedoutattributes.py: id: 9cc865098add - last_write_checksum: sha1:229037a374553cf8523d2c0e0f0aa017adb8790b - pristine_git_object: 47517ab1924cfce787805e9a528b04b1d4766a19 + last_write_checksum: sha1:b05404e12095d8f7fefeac1cde560d2b02c21dc7 + pristine_git_object: 658e30e7c7c3a7046085fc10fb96fdade9db498c src/mistralai/client/models/customtasktimedoutresponse.py: id: 2dbbc78b85d1 - last_write_checksum: sha1:6592375ea05a5381828f742f2972b9064064743d - pristine_git_object: 96d4b924ef4a909cbc3507f1c7261a7ea81649f4 + last_write_checksum: sha1:b90ca01483d4f5bd69a66a8919da30377ccbfef7 + pristine_git_object: 3d99b9405502d8a8979a8398799984cee2dcddec src/mistralai/client/models/dataset.py: id: cbf14670ee00 - last_write_checksum: sha1:012f85ebfbdb286436621efc3b5b1adb150871f3 - pristine_git_object: 08ce979e19eb6b852a0a565b38c5b8d4f25ba35c + last_write_checksum: sha1:70c4233445b12201475b2f6c6d11d13a7f3f522b + pristine_git_object: b4a74b07032cb57e3821079d96de82a2045e611f + src/mistralai/client/models/datasetimportresult.py: + id: e85c28e35518 + last_write_checksum: sha1:11d0abb7fd22e456bbf9dcc411505f664f992b41 + pristine_git_object: b4a454fc30c7df1484d71840c109c1f276603600 src/mistralai/client/models/datasetimporttask.py: id: c20f7db9633c - last_write_checksum: sha1:0a1c92ca0b498fa04d5fac1d3857937d616a8b38 - pristine_git_object: e8d90f126fdeb041bb2cbce9709481c6174c6662 + last_write_checksum: sha1:5f35c924dbf5f0c9cd4437e086258edc4e474345 + pristine_git_object: 04cf8b3e0cf9421ebb7c0683bcc3442c99ee24e4 src/mistralai/client/models/datasetpreview.py: id: 128c29db3f37 - last_write_checksum: sha1:5bd20ac7c1b179bd30489cf869ce9e71fd48c135 - pristine_git_object: 90676245b258a6c4217a730fb8b59a336e830afb + last_write_checksum: sha1:8be4527464d6630a3aec3ca5e528d4eed44147e5 + pristine_git_object: e50d0898a3bd2d24e84ab8f22be12e8d770b7278 src/mistralai/client/models/datasetrecord.py: id: 87ddebf2a0ce - last_write_checksum: sha1:f50d282e068ed71aef0b054e55092e60e43b3d8e - pristine_git_object: 64eb666a1a4fd030601df0de0ca420102f3132b0 + last_write_checksum: sha1:b9d138f81a6ddeaff7e28e9579343902434b0cdb + pristine_git_object: f7604c3214b0a32867f3eed380e83516eef2b7f5 src/mistralai/client/models/datasetrecordsource.py: id: 5416a8b7276d - last_write_checksum: sha1:ff11f2ae37219446df47d3db2ced9e8938b48482 - pristine_git_object: 84c106bd3f077c805c4b8eab9b9fc327d1aa83dd + last_write_checksum: sha1:0714b6343f40bc50db0bc3c51e8c0985c322a2f4 + pristine_git_object: 13c02b0db48ab1656b01e91ba29aaaaf20986221 src/mistralai/client/models/delete_dataset_record_v1_observability_dataset_records_dataset_record_id_deleteop.py: id: 66b2054bda8c - last_write_checksum: sha1:06f6736ce3d02ea899edc1e90b2f1e6af053a9bf - pristine_git_object: ffeefca659a79f77480655bc960cb8c74dc4899d + last_write_checksum: sha1:0b1d93003477053195acb492e395ae7657fb32db + pristine_git_object: 5685287b9ca76e56609e83236b10fa2fcc39ff67 src/mistralai/client/models/delete_dataset_v1_observability_datasets_dataset_id_deleteop.py: id: 446419cd07d2 - last_write_checksum: sha1:fc4e716afa0920b4c07fb9bf90c69c3e50a3f958 - pristine_git_object: af8697706726676862d2b27317b64ebd52510282 + last_write_checksum: sha1:fb4311dbc3bde1c1ee42e02a11d4933920465d39 + pristine_git_object: 84dd3c262112c532218628c873d6ef81d5806549 src/mistralai/client/models/delete_deployment_v1_workflows_deployments_name_deleteop.py: id: b669fcc8cb57 - last_write_checksum: sha1:0e172f684cb410f2df4dd917d81ae268497ee5e3 - pristine_git_object: f9907398b68ebe424be5546e573fe9bf89b86b78 + last_write_checksum: sha1:bc9fec31532db43f493b4d4363fd17b0dc29918c + pristine_git_object: beaf74a3f63ab94ab26d705aa26a9d52c02ad4ca src/mistralai/client/models/delete_documents_v1_rag_managed_indexes_index_name_documents_deleteop.py: id: 989ccb864c02 - last_write_checksum: sha1:6e230cb91d07c5513f4a86e1de1e71e216ebacdc - pristine_git_object: 101128b13c43338212cf63e62f3946be51f0f13f + last_write_checksum: sha1:e18955e31b2309bf6d2ed98433c8dc632b760b98 + pristine_git_object: f2613abbf992385e569340205ca478c43b3554c1 src/mistralai/client/models/delete_index_v1_rag_managed_indexes_index_name_deleteop.py: id: 4be93f6efdcb - last_write_checksum: sha1:701e18668abdaf10723c391cae6f16b6bde798ac - pristine_git_object: c073e9d68133247ebdc9a1124c063c774795d24c + last_write_checksum: sha1:b2e5357e37cb92e874768307f09131e82ca0c30f + pristine_git_object: 6de889054bc2dc0318371ac4ad1c55fe075a3cff src/mistralai/client/models/delete_judge_v1_observability_judges_judge_id_deleteop.py: id: 415724e139bd - last_write_checksum: sha1:0fc88a1a4edefd593e8b2d6f18bdd77383142209 - pristine_git_object: c2f7b79701af71ecf95839c1037e50776469ea41 + last_write_checksum: sha1:165eebec34fd7ebd4d6d881a54245c32ba3e7dce + pristine_git_object: 14576352df65bd6810d726496502e2ae417814a8 src/mistralai/client/models/delete_model_v1_models_model_id_deleteop.py: id: 767aba526e43 - last_write_checksum: sha1:73568f2f450bf9c23aca3649372a92e1b9a2fc54 - pristine_git_object: 199614f53501f34088cb112d6fe1114e1e588d8a + last_write_checksum: sha1:9a8f9917fc5de154e8a6fdb44a1dd7db55bb1de5 + pristine_git_object: 1cd36128a231a6d4be328fde53d1f048ff7c2ccd src/mistralai/client/models/delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop.py: id: 52788b71c0d8 - last_write_checksum: sha1:23b00fa86fdf71e87979efa8fb9ddf250e0ad832 - pristine_git_object: 51488a3d3452ffe7538f4738b5bb1b1e89945e82 + last_write_checksum: sha1:5a11027fa83dc284532c50e64ec6c5764916f1ed + pristine_git_object: 3e65952f80ad4ed4f7a5f93430af0523c2916566 + src/mistralai/client/models/delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop.py: + id: 6c25545f26ce + last_write_checksum: sha1:dc14a061f07863941ad455be7fbaf5a715da2d98 + pristine_git_object: 333ad323f902e8fdce083e7bb268637408bde5bb src/mistralai/client/models/delete_service_account_v1_service_accounts_service_account_id_deleteop.py: id: 632ca915cfd0 - last_write_checksum: sha1:b0e3c95ea20d0f228c333c8d3c41477bff082599 - pristine_git_object: b1dec336d5c12fef4647433cbbf7db44ed0f2c7a + last_write_checksum: sha1:8a92064a3a178abefac33e02591d977992c0ffbb + pristine_git_object: 4b1142e30e3a2b60bda848894ee99f26791f0a0e src/mistralai/client/models/delete_voice_v1_audio_voices_voice_id_deleteop.py: id: a84ce12a8251 - last_write_checksum: sha1:4c0a37f3516ff7198dfe13c0ed04fa4cf48b35fb - pristine_git_object: 3ce383648b1de95099b59b1f4c015a595f24060b + last_write_checksum: sha1:c4c25619eac86da3c23b195647a56da54e34f2da + pristine_git_object: 14775396ce5bef87c3c08f955e16d23fd3dfbcd3 src/mistralai/client/models/deletebatchjobresponse.py: id: 79a43aab6cf9 - last_write_checksum: sha1:9d4916ba4733e777f745c54dd20e71a6a8f4fdd7 - pristine_git_object: 958f0c4f4dbd989b9a95f0c8d52a279c1d448f0e + last_write_checksum: sha1:2945387a313395e7bf8ea8344ca088d0d6b55f6a + pristine_git_object: 2a2cf52fb66587c55bde3a2646363c474d87b7e8 src/mistralai/client/models/deletedatasetrecordsrequest.py: id: e7ef16596e54 - last_write_checksum: sha1:971e81be9064277df5dd656e912b9f319474e742 - pristine_git_object: 8c33a9634f99fcf30475545c9af175434b5f41cf + last_write_checksum: sha1:5dd836ad2a5fdcf0e80cee1d4c1c94c25029d578 + pristine_git_object: f3ad6aaa8d142d674a345d826457020c92d8151c src/mistralai/client/models/deletedocumentsrequest.py: id: cdf87b81f77d - last_write_checksum: sha1:ef85ce47597956af58b8855c438a0a32d4895f6d - pristine_git_object: d2eac488e5c59003eecd53ff807da7599d819211 + last_write_checksum: sha1:31c481906c7c448d8b8d2188b2ea05ee4767c3cb + pristine_git_object: ea89c5d6fea2efa951819cb6dc86c874bac3a7e1 src/mistralai/client/models/deletedocumentsresponse.py: id: "200972843e47" - last_write_checksum: sha1:cd64ea26f8c5c5bfd7c57c8311c912ba90c4a724 - pristine_git_object: 82a8190d2e617cfa9f517752f39f80a145fa6266 + last_write_checksum: sha1:e85427cdb17ee9d9d47b96875466cfc3e2937bec + pristine_git_object: 8ae1751e48348b289514b9341ab14f151fc34332 src/mistralai/client/models/deletefileresponse.py: id: 3ee464763a32 - last_write_checksum: sha1:2c0df66fc8c4384d50e54ac03577da3da2997cf5 - pristine_git_object: ffd0e0d015e38e5f6113da036ebeba98441444f4 + last_write_checksum: sha1:e7023dd55c9aaf5289a8046f3af6d79ffa356273 + pristine_git_object: 8e297082ea031c2fcc22681cf56a97ed712cc079 src/mistralai/client/models/deletemanagedindexresponse.py: id: 5b03242c7430 - last_write_checksum: sha1:e444b207ac3e9a846be8fed2f6ceda77431e4c07 - pristine_git_object: 8d20cf184c406c83ba50c780f3e48fbd59ed507d + last_write_checksum: sha1:223579c8956a803c882f1364ea0ce53361e97155 + pristine_git_object: d06a4dd383c065628f30c5b5c5f7528e33387254 src/mistralai/client/models/deletemodelresponse.py: id: 8957175b7482 - last_write_checksum: sha1:f5cef2da79834be2cbd72c4bd37c94aa4ef5abb2 - pristine_git_object: 1e65e08f881d1c57b8ea61c7db5551be964b47f6 + last_write_checksum: sha1:8637927a6351a1937d03cfb0e1dfa1b39800ab3b + pristine_git_object: 4e249f04efd1afe7160cf2a8656af7cc35a49e8b src/mistralai/client/models/deletepromptresponse.py: id: e847a7b2e0eb - last_write_checksum: sha1:b0fd16b58453010e96a947e54bb8bbbef05d7c77 - pristine_git_object: afdb2e7d41ffeac0cbf7b5fe65e61bd0d54bb6ac + last_write_checksum: sha1:10de8d1cc403c05487bb3b96740403d2aa210a83 + pristine_git_object: d5ddb25a7adc565bbea693076dca7c97c5e0c816 src/mistralai/client/models/deleteskillresponse.py: id: d2fb1f99fb61 - last_write_checksum: sha1:f677dcff1b9ef55a13579afb2d65811f4ef69661 - pristine_git_object: f41ba0508754719cb4f955d10eb2e98ed1ff4844 + last_write_checksum: sha1:c0ea796d18091375babe1f2a3388f7567f21aa4d + pristine_git_object: 0fefb0fc9993cbb78aab6a998c9d5c75d5abd14f src/mistralai/client/models/deltamessage.py: id: 68f53d67a140 - last_write_checksum: sha1:5653c52c448643feab36e03ba2c73b602438149f - pristine_git_object: f0ca3282d3d26bbdcf9382063b14c185c3758faa + last_write_checksum: sha1:f9fa3bb346cd58d86be1bd9b593dd0cee1103428 + pristine_git_object: 6ce4da3f403751ecda225962d31fc448a5b2a2d6 src/mistralai/client/models/densevectorfielddefinition.py: id: 144d264e128e - last_write_checksum: sha1:e7653a060611fae691bc8f910bbc5ee35536d3c1 - pristine_git_object: 36a4c17ffe121c35bc5f8e045b44bb63d11eef35 + last_write_checksum: sha1:7242eed5d7f9e6abc608fe1d235d491a4a21a0db + pristine_git_object: f13c706a211f70568d609b69ca03474a1cc43779 src/mistralai/client/models/deploymentbuildstate.py: id: 61e9001287f8 - last_write_checksum: sha1:7bfcea2b41ec09dbf2a753d084be639755e265b3 - pristine_git_object: 53f4e05984410b65529e0e53c117bdcc0388bb78 + last_write_checksum: sha1:1495ac929b42b454a229d26644005b3868dbd90c + pristine_git_object: 98a6f5efabb143974d31a482398196210e18b72b src/mistralai/client/models/deploymentdetailresponse.py: id: 7f4a17a1c7ca - last_write_checksum: sha1:729a2f2df72601f8600bb769fc2561f3fcc036c4 - pristine_git_object: 38ec4925eef0db9ed03e88c7e88bb38874c523c2 + last_write_checksum: sha1:f751be5c6d687273e52eb9bb5dae8eaf2a726a97 + pristine_git_object: e4fe78cc3527d524a14079812ef4271cd4dc9436 src/mistralai/client/models/deploymentk8sbackendspec.py: id: bd300f69aa45 - last_write_checksum: sha1:5a8c25d2cdda2efc130a08b5c6731b3ff92a8148 - pristine_git_object: 149453bd87e8bb05d12d8bcf9f4ed70e89d2a34a - src/mistralai/client/models/deploymentkoyebbackendspec.py: - id: 756d9f222217 - last_write_checksum: sha1:c8ef52cc83f63a275c88e31bd3002fab6b7f6f05 - pristine_git_object: 7227f6fbd265930a0dc092530a28d4f38579d238 + last_write_checksum: sha1:17f34e57196553b7557c7e362385a1e49877f31f + pristine_git_object: 7401bc8c03b0e3311304e83b7e3c61f8e2e84152 src/mistralai/client/models/deploymentlistresponse.py: id: 1f0b404ba621 - last_write_checksum: sha1:828203fc1426550d9b7f6e9d3288f921eec9bfb1 - pristine_git_object: 7bc165309ff1a5b7d7ecc457658748e5f4188efa + last_write_checksum: sha1:9428423752ed14e41b0d726e299187e28f28a197 + pristine_git_object: c1029a1d43e977dffcecbb2379517f550267c57c src/mistralai/client/models/deploymentlocation.py: id: c62839f1466c - last_write_checksum: sha1:a67cf8983cf1bf9c5790a22a5b9b8ed6d5c51fab - pristine_git_object: 52ce79939cd52cb071d7f532b2b4ea8ab4f4976f + last_write_checksum: sha1:abe749bd211663eb5cb3132351e24b13345ae4ca + pristine_git_object: 6d2f837e6219b38429abf21105a34bd30b631cca src/mistralai/client/models/deploymentlogrecord.py: id: e74aecf2c4d5 - last_write_checksum: sha1:6bbf4342cf321a265b48eaa846328e99e4c462c5 - pristine_git_object: 24b6bcdcf8c5e9258cfc4284cfba5a3f10374cce + last_write_checksum: sha1:2888f8cf4b8afddd27c00ff6895b59595fac0e9e + pristine_git_object: 1652862b514f0013a29b537d00524453143cc790 src/mistralai/client/models/deploymentlogsearchresponse.py: id: 2991a19da27d - last_write_checksum: sha1:5f498c304ac9e13dbe957cc72ee7e03ca4431ac3 - pristine_git_object: 7801115b1349f70dec9634d2454cb56a07213a60 + last_write_checksum: sha1:fd6e789fc04b5eb9d8f4d9306f31b509752816a5 + pristine_git_object: 8d40a90466923d1cc3adec2dfaf2014857142099 + src/mistralai/client/models/deploymentlogtype.py: + id: 214f23cf2eb7 + last_write_checksum: sha1:59849876d73b0d47b9ab982843bb9394afd82eeb + pristine_git_object: 1031c2aa6940595a9bf6c3d22b67d40149d37110 + src/mistralai/client/models/deploymentmistralcloudbackendspec.py: + id: 91abeca3ffbc + last_write_checksum: sha1:7598b8e5bc6ffed7231a452667284ba1daf8e5ae + pristine_git_object: a4e7affd60616643b9914f44e9ca8389c348c386 src/mistralai/client/models/deploymentobservedstate.py: id: 4bed4a2622bf - last_write_checksum: sha1:5cd9803d86353f16f950ea783cbe77f1fa0b883e - pristine_git_object: cb920095fe6bd5717f6d6b78b98ef358eeb687f9 + last_write_checksum: sha1:8c401b9cb499ab78e29ad8cd8607ecb7ab391459 + pristine_git_object: 123f3eacd631fe00d2d7d06a24782f9f66e53202 src/mistralai/client/models/deploymentresourceconfig.py: id: 278b04eed455 - last_write_checksum: sha1:8817e6e5d99d0e17843fc0169757967e63f57f37 - pristine_git_object: 8011b7b69823286bc9550b5212734f47ae46425d + last_write_checksum: sha1:88c9bef64f65d03dd6acaea9f45de7f978d3d42c + pristine_git_object: 8a3814a942efc15e26c8d2e1757e180e0079212f src/mistralai/client/models/deploymentresourceconfigupdate.py: id: 369dcb81cacb - last_write_checksum: sha1:382de67e01142294f9ec8f54db0a65aba675ca3f - pristine_git_object: bafd7796692153ed78c6b374f4672c2d73b95009 + last_write_checksum: sha1:820052c8ac7d280a9bfe26a0192e379571462dee + pristine_git_object: c9d8acda04203bdf8d3204e21d7aedab7e08fd58 src/mistralai/client/models/deploymentresponse.py: id: ea15ddd64402 - last_write_checksum: sha1:ce68dd039dbca13b0bdc92e6d30631a0faa7f628 - pristine_git_object: 8a194dc5be8fbe2d763f47e6184ccf7fc2a35a94 + last_write_checksum: sha1:f6f87c5cba83e93bbffc98df9f3e200238d50a1e + pristine_git_object: b30c9bbe8dc2c474365cc881d5f7bf740425b7f2 + src/mistralai/client/models/deploymentsecretbinding.py: + id: 05b0f4040b79 + last_write_checksum: sha1:8de952a026360e1a7bec41c883cd516f25fc5a5e + pristine_git_object: 738653d96a731043ac5abec911699c1d17c97d11 src/mistralai/client/models/deploymentworkerlistresponse.py: id: 29dddd42d9cc - last_write_checksum: sha1:edfb69f1c0ca8d33d7db792ea37299d7ef87db7e - pristine_git_object: 70edaeda0811e16e1b6b53101a83f07b691a8cd3 + last_write_checksum: sha1:f87df3f9fc5fd180c5da3dd5b6ac0ecd3fbabcfb + pristine_git_object: 11dcc1f6e8c427d707287a9abd68226948390348 src/mistralai/client/models/deploymentworkerresponse.py: id: b11a9947bd19 - last_write_checksum: sha1:ba874460631af395315e52e1b48d8fd3cc033d1a - pristine_git_object: c4a775f675cccfd39b79b8803fe65c07e713c2ad + last_write_checksum: sha1:e600028e7008b969b16b0e53711a519a25a5d7a4 + pristine_git_object: 9d890efe21490dde13316d7072bea5cd27ae7086 src/mistralai/client/models/deploymentworkerspecinput.py: id: 635133e69342 - last_write_checksum: sha1:2c714a4ac39cbd3c732b3654c34c606ac0fd107e - pristine_git_object: d294a095663d5981fcfcbb2f0f011584bc85cb69 + last_write_checksum: sha1:11c7eb22eacb3bdec873e067151656cc21204180 + pristine_git_object: 44ee3db68a474d5af1487d1848350d1565f7ab50 src/mistralai/client/models/deploymentworkerspecresponse.py: id: e56d154527fd - last_write_checksum: sha1:8cca08127a2503528b88ba58fe826687977400c1 - pristine_git_object: 8257654558416f7cf49010b2e86792533d62bc01 + last_write_checksum: sha1:bdfa3a8d8905479a71b18b016eccf9d6404a9cee + pristine_git_object: 5b44534527c1508027157655e0516d56484e2171 src/mistralai/client/models/detectiondefinition.py: id: b48b6429cb1e - last_write_checksum: sha1:66a1a4fe90eb7496e598d8af947881495df13d86 - pristine_git_object: fb428bd5dc255753232846ae633ca9f733bf0e70 + last_write_checksum: sha1:30917971f2768d189666c662a5bf2ffb79ad319a + pristine_git_object: b746713caca7a27241146b7c258bacca50f63e83 src/mistralai/client/models/detectionpattern.py: id: 6668b80e0502 - last_write_checksum: sha1:c902cf4f37ba60d9dc2cc2c3fff06ad51e8c6b15 - pristine_git_object: 7244b451156e910a7bb26b0e9b982972a0d36663 + last_write_checksum: sha1:e55300753eef9cea672199383c6f09d04a4ee9f6 + pristine_git_object: 58016d5ffd19a4385226e8cc81d67644dc40deec src/mistralai/client/models/distancemetric.py: id: 6b697e08cb8c - last_write_checksum: sha1:c92913455b94886e57ded760b8b698dfe198a2a5 - pristine_git_object: 68720afada546b639e3b9eeb55a58cfdc04b06bd + last_write_checksum: sha1:1e9435a9de6b99f2bb1d13a3dcdd347bca5353e4 + pristine_git_object: b719f14b3887da61af138f92cd53058c4c11106a src/mistralai/client/models/document.py: id: fbbf7428328c - last_write_checksum: sha1:3cdd40229b126132d3eb60505cd1d635325a8372 - pristine_git_object: c04512c130ee295c80548a2215b0f6bb428667bc + last_write_checksum: sha1:22f7ebb4e85b199e96f2b995a983e84e330ff211 + pristine_git_object: 5436d4f90e967b29dc63ede0e32556ebd27143ea src/mistralai/client/models/documentfielderrorresponse.py: id: d2fdbba45f4b - last_write_checksum: sha1:aae23297597f8fb244962832e178352844f183c4 - pristine_git_object: 71a5a6edb6754a1f0dc3fe63a1485ede86ac8a76 + last_write_checksum: sha1:d6eed65e575ee46c7c259a83f22a61f932ea8d09 + pristine_git_object: 28ed953c50d7cbcd4c206e6720262061d642ae9d src/mistralai/client/models/documentlibrarytool.py: id: 3eb3c218f457 - last_write_checksum: sha1:a84295aba7b9e7f70b68f279934d1a5ca0817f77 - pristine_git_object: 29f8d64a695342489d81bfe20ec2f8de60546ddd + last_write_checksum: sha1:be8306a039289977d7172b85887581ea16c480f4 + pristine_git_object: 068f8be6b52992fb9b927eed0c90e4504284c4a6 src/mistralai/client/models/documenttextcontent.py: id: e730005e44cb - last_write_checksum: sha1:c86f4b15e8fda1cd5c173da01462342cd22b7286 - pristine_git_object: b6904cb4267347b62a457a01b91a391500326da9 + last_write_checksum: sha1:ad7e836b5f885d703fd5f09c09aba0628d77e05b + pristine_git_object: b1c1aa073dff4dcdc59d070058221b67ce9e36f9 src/mistralai/client/models/documenturlchunk.py: id: 4309807f6048 - last_write_checksum: sha1:f45ecef78fb4412dc76ce54478fe536df0259048 - pristine_git_object: f7a99ff81ee01d256052920405ca4788d3a47f75 + last_write_checksum: sha1:594e9261f7990c5cb88e437f863e69ff74751af3 + pristine_git_object: 702e298a131d7617a28e75d1d6721b6c7c12e937 src/mistralai/client/models/elicitationcapability.py: id: 63a9b5cfa2f2 - last_write_checksum: sha1:dc5d41705df6540b421fe0bacb10a11696d6a526 - pristine_git_object: 128084365172f50fc5b4f3f2f6453a1b216d9731 + last_write_checksum: sha1:bb4c3df60a1c27e38f4cc50c70eb47468c5df72a + pristine_git_object: fbee5e0f6951de83f034dc427dfbd2cf494da0b7 src/mistralai/client/models/embeddedresource.py: id: 94a23f656f72 - last_write_checksum: sha1:50375363269d68edd3ea1c0a31ba08c8bf9bd160 - pristine_git_object: e16fedf8362a19e55e7bfc6c273000f3446fe3ac + last_write_checksum: sha1:2964e37b2c97b6dd6eebf3b06dd92c0c13df8e99 + pristine_git_object: 40070ae0f94d3c5699abbb27b45383dafa4ba784 src/mistralai/client/models/embeddingdtype.py: id: 77f9526a78df - last_write_checksum: sha1:a4e2ce6d00e6d1db287a5d9f4254b0947227f337 - pristine_git_object: 732c4ebe3678563ebcdbafd519f93317261586fb + last_write_checksum: sha1:962f629fa4ee8a36e731d33f8f730d5741a9e772 + pristine_git_object: 26eee779e12ae8114a90d3f18f99f3dd50e46b9e src/mistralai/client/models/embeddingrequest.py: id: eadbe3f9040c - last_write_checksum: sha1:00e4499575e7a8a4a5e879174b7f25a0f522fd8c - pristine_git_object: 2ef747d8ba91f824f0ad117d21c5a8487cc7ea80 + last_write_checksum: sha1:dda193e1d15189e317843b9fc5145de86e10610b + pristine_git_object: 6839c4b791d0f08a6ba78a2f827cf267e21fb7ca src/mistralai/client/models/embeddingresponse.py: id: f7d790e84b65 - last_write_checksum: sha1:9bb53a5a860c8e10d4d504648d84da73068c0a83 - pristine_git_object: 6ffd68941f32f396998df9dded14ff8365926608 + last_write_checksum: sha1:285531abf3a45de3193ed3c8b07818faac97eb32 + pristine_git_object: 64a28ea9f1c57ed6e69e1d49c5c83f63fa38fd36 src/mistralai/client/models/embeddingresponsedata.py: id: 6d6ead6f3803 - last_write_checksum: sha1:b0daee4bd21a441a2e8e47cf8ca8be32d2179869 - pristine_git_object: 03b23a7cba53c27ef02f3bc025f38f10d7b98e2d + last_write_checksum: sha1:15edb318f295dbe1fbf78264c01375023fffe9bb + pristine_git_object: 0fe9d7d769ebfd73a1ff55b28866d595d3fbc8a1 src/mistralai/client/models/encodedpayloadoptions.py: id: 97955ebc2eb9 - last_write_checksum: sha1:e2563e89bb821157b091f8723e0d65f24b43831d - pristine_git_object: 54bcaf13d10d711ec133c64bc3dac6d5e235d9ea + last_write_checksum: sha1:a913a75e6213fa7717fb02b18428e9789f9551f1 + pristine_git_object: 0ec8f72182f210da688f5a7a919e375cff4df1de src/mistralai/client/models/encodingformat.py: id: b51ec296cc92 - last_write_checksum: sha1:ea907f86b00323d99df37f7ff45d582aace798e7 - pristine_git_object: 4a39d0295f9069ae9f749cf21dab450eaf145d19 + last_write_checksum: sha1:f9a3568cd008edb02f475a860e5849d9a40d0246 + pristine_git_object: be6c1a14e4680e24e70b8bbda018759056b784ca src/mistralai/client/models/encryptedpatchvalue.py: id: 311803d1f28e - last_write_checksum: sha1:bd3ab363a2924b69a7f1efd03a10d0d0f6b4f31b - pristine_git_object: 970bd59b8458d0f30fb2826cf3ee027a1e4237dd + last_write_checksum: sha1:0daded37eb26ad6dc030614deeb537d4bb5a7b94 + pristine_git_object: ee5e41ea4005275031b8cf1c60ec3a5c49bf2994 src/mistralai/client/models/entitytype.py: id: 62d6a6a13288 - last_write_checksum: sha1:015e2db9e8e5a3e4ce58442ccedaf86c66239dde - pristine_git_object: 56d82cbed237f32a8b00cfee4042dfe3e7053bcb + last_write_checksum: sha1:baefd3e820f1682bbd75ab195d1a47ccb3d16a19 + pristine_git_object: 9c16f4a1c0e61f8ffaee790de181572891db3f89 src/mistralai/client/models/equal.py: id: 7e27f8202d48 - last_write_checksum: sha1:2687e0a7d1a656a73e02c60c20bc1230c06fee3b - pristine_git_object: 463de7819b57c11a037d90d322c1bdbeead46f2d + last_write_checksum: sha1:bf4a8532401a068fb245aad9aedd6de4ec8ce907 + pristine_git_object: 0dca8201d06ea9e85e0c88bb649f97d329245057 src/mistralai/client/models/eventprogressstatus.py: id: 48623263df72 - last_write_checksum: sha1:e2fd3c6e145e07d247c1ec41adf67996c86696ba - pristine_git_object: 6fde1c3913c670a60d3eead5ba0d27f77a281799 + last_write_checksum: sha1:fd2733c3772a53ef2de3a975c7395959750db86a + pristine_git_object: 3efd7483774a988381363c48f65c976bf012fc04 src/mistralai/client/models/eventsource.py: id: 8b926028b7b2 - last_write_checksum: sha1:435ed061780a6e971cd120b2dc40467c0ecc90b3 - pristine_git_object: 1959cdec5d3970a27f7ad2d0d5844ebdd02fefd6 + last_write_checksum: sha1:a1ec764a41340d3739eb4ddedcad61412d4eb1d1 + pristine_git_object: ed2a570c5f537fa1217398a070d7365cb0c89384 src/mistralai/client/models/eventtype.py: id: f70686df1fa5 - last_write_checksum: sha1:a9f66d0772a83a6f83968d7a6a4877ddcf5e4728 - pristine_git_object: a85321b2603057de07d343b380e86476f1b70adb + last_write_checksum: sha1:244802cc4d375dcaa3f2a59271e0aa6e8a563181 + pristine_git_object: f42e58bbd156a1e7087f96e38b37708b50250817 src/mistralai/client/models/execute_workflow_registration_v1_workflows_registrations_workflow_registration_id_execute_postop.py: id: 3e2249825144 - last_write_checksum: sha1:d177be670203df65ed11fb73210d4a5afed1a566 - pristine_git_object: 2e79ef25f7117584df49c6f1f925a3386360d49b + last_write_checksum: sha1:49d869704b209d74359c846ff94ae1b295cb2b32 + pristine_git_object: cb9041fb5c870e556885fddb65847dad3dfb0f52 src/mistralai/client/models/execute_workflow_v1_workflows_workflow_identifier_execute_postop.py: id: 5da876c66fc5 - last_write_checksum: sha1:2a474dbbbd10132f2530e3f09d6a5a87ec9e4aa1 - pristine_git_object: bd9496a2d969927634c9cea1c294c9d26fc3a87b + last_write_checksum: sha1:549a12c73ef85e1f9fb9650779f07bf382ca5b51 + pristine_git_object: 736e267765b1be6c33c99d05cf24d6b69dd954f7 src/mistralai/client/models/executionconfig.py: id: 14518c40a13b - last_write_checksum: sha1:351fb4a74622cb70969b728ac65b62ca670fc7e5 - pristine_git_object: 56b58ae369ffb75c9556ef20af79b985fe3db710 + last_write_checksum: sha1:740db7bb531e8b9777e5987cc5a217374c017ebc + pristine_git_object: a2e4704b9bdfe299f9c8d95b275d081d60d7b396 src/mistralai/client/models/executionlogrecord.py: id: 59aa2dd2c4a1 - last_write_checksum: sha1:16fbfe0ec4c088e43b018dd3eb79ee0c3c8769ab - pristine_git_object: 3e889cc4657f09c21824b43233a5a2d038e4074c + last_write_checksum: sha1:8c6c79ad705fe42c0540095507ecb9cbd2e51174 + pristine_git_object: 3da58bfae8585caec0a6430bbbd749bc584f91ac src/mistralai/client/models/executionlogsearchresponse.py: id: 967bf5f43b22 - last_write_checksum: sha1:0c4798d0793091f48d614f73208fa5bb62b5b18d - pristine_git_object: 8095c3149fbca09c6b089e4e5638d54a39a66277 + last_write_checksum: sha1:968aa30ff6452d6ca923e0d212235c3fb9c66ad1 + pristine_git_object: e60043c997ae48ea923adf11e3525c5ffe95f4c5 src/mistralai/client/models/executiontool.py: id: 313d88a97140 - last_write_checksum: sha1:ac13ed1fb5866a8660bfbd8d9dde7e24b9518ba5 - pristine_git_object: 2bbc5332a1d49f571aba8e0173b09fc5ff93f3b5 + last_write_checksum: sha1:7cb1a6854c5096b17ef5fa40f6c184a445c485ce + pristine_git_object: e47a8a3da89a348098b71a2574711a7aaf3ad90f src/mistralai/client/models/executiontraceinforesponse.py: id: 1839f4a33582 - last_write_checksum: sha1:8a8b029ca71b8feb2a8e4034f247c64cce1260c1 - pristine_git_object: afea2a13b81a81735aa7157c2278a0fcc458ebd0 + last_write_checksum: sha1:c1de2460041b229f808dd0fd4dbe77a8db31b24b + pristine_git_object: b0d561a49b3cba43175fd27920fcf2d93a9764e6 src/mistralai/client/models/export_dataset_to_jsonl_v1_observability_datasets_dataset_id_exports_to_jsonl_getop.py: id: 74f5f3183b64 - last_write_checksum: sha1:8d7dde90d9c55b520aa9300a25c843a0b866638b - pristine_git_object: 07b4e58fe2a7065e1f61e571355a7e6997abcb56 + last_write_checksum: sha1:1bbc92f77bfad6155f3d3fa87bc531504100646e + pristine_git_object: 6da73b3718e51600d7a373e569691d007bd0a2b8 src/mistralai/client/models/exportdatasetresponse.py: id: 22cc29d258db - last_write_checksum: sha1:83a787b852101f1862f0aabc1638f68753b5d607 - pristine_git_object: f1600cac74e1d50979277d3eb6830ea5e84b69ec + last_write_checksum: sha1:7b9a02caf6f2f2d44411b41055282b355524a6f7 + pristine_git_object: e3d99e24950b8d172451a5581ec6308e22b94b69 src/mistralai/client/models/exportdefinition.py: id: 5c9cf6e59905 - last_write_checksum: sha1:2d23f927a996e4c92cd4e60c3646cc57c79e99aa - pristine_git_object: 3f20c0ce19def61df8bb979ffe19329ba47d0e18 + last_write_checksum: sha1:dc23b970991dacf99dc23523bb1325ec4ad2b6cc + pristine_git_object: 8d8949aafeac67d810c9043b5ab9ea40c4f086a2 src/mistralai/client/models/extendedoauthservermetadata.py: id: 967e2e08f18c - last_write_checksum: sha1:1b327191874873887d59647e3a564e288c9d4213 - pristine_git_object: 8bf67dbc590e08b04f536826531fc4f56d1aef3f + last_write_checksum: sha1:a732c4f73df678eb7accc58e847bf951b0de4a0b + pristine_git_object: d5c1fda0ef9f4368e104d57c7e34280122bc467a src/mistralai/client/models/failure.py: id: 596e38493eaa - last_write_checksum: sha1:5077e5660c7192e2123fc26059f1786f9d75e273 - pristine_git_object: 85ca77a5713f0fc3d51c5c7fdaa3f06066ac4dbc + last_write_checksum: sha1:3fbef90a083b437d57b07f6bd4c43e41853671dc + pristine_git_object: a33170a46739f8b01b8fd7e1252b5c9215edc663 src/mistralai/client/models/feedresultgetlog.py: id: 35106cf21e36 - last_write_checksum: sha1:44a5beb07e0cf6febaabc2fdf47580f602ddbb12 - pristine_git_object: f3395a68c676fecb020d16bb5b6a045bce7daef8 + last_write_checksum: sha1:f0e5f7339b4e1966a1b7ad76509118157a131907 + pristine_git_object: 2f6fb2a81fd120f5edb797ad06bd10723a25d807 src/mistralai/client/models/feedresultgetspan.py: id: 39914702ec21 - last_write_checksum: sha1:22ce31f58317b89d21cb8c5c555d33eaf725bb5f - pristine_git_object: 20663e3ffa59f33c08484dcb7add7a6f90210288 + last_write_checksum: sha1:1338b1cb40fb872aea8ac1692c97dcdef52d5721 + pristine_git_object: 576241eb699ceda0f7bcdf7e0b774a3f76d66ee6 src/mistralai/client/models/feedresultgetspanevaluation.py: id: 75d380a8e7fb - last_write_checksum: sha1:d7d0757b78365abc106c6f7ebc3b686d90b5eb94 - pristine_git_object: 757fba768cde5aecae01eb6f164aae4cbbd2398b + last_write_checksum: sha1:014e5c87650ebdfecf104b70de7efc090b3b90e7 + pristine_git_object: e95ef928cfdc4941ec1c4b4d34fda50b2fead655 src/mistralai/client/models/feedresultgettrace.py: id: 8216f7641078 - last_write_checksum: sha1:15cc0530202ce3bfb58de7f4bb2c880924d1187f - pristine_git_object: 142a9cebb99986cc5b54aaed666bf8945403852b + last_write_checksum: sha1:515325af0dc26a176f7fddd5860b7f8bc6d6ae33 + pristine_git_object: d4f6ddcb41e9a7204ff66a9b25c1d9ba5ba127cd src/mistralai/client/models/file.py: id: f972c39edfcf - last_write_checksum: sha1:e9377b4fb500caccbd95f3c188469de613b5f220 - pristine_git_object: 06be529c312bdc56df94b0a5132b5a2871aaa70c + last_write_checksum: sha1:f2782b7452ebf703364e64bae64ed9cee1d5da05 + pristine_git_object: 30c5bf3a79dd48a49579f8981133f13b4519bff6 src/mistralai/client/models/filechunk.py: id: ff3c2d33ab1e - last_write_checksum: sha1:dc247ef441b0436a1444322bca312be8bfc8ded2 - pristine_git_object: 6c9c8b0e5772d51465f69950b55dd0ecc22be3b2 + last_write_checksum: sha1:9e2b064a6c95f72e4f94c5c924dddbdfc95df46a + pristine_git_object: bb757760cf4172543680ca6fe448c5a112c38a1c src/mistralai/client/models/filepurpose.py: id: a11e7f9f2d45 - last_write_checksum: sha1:8b167c02f9f33e32d5fd1c6de894693924f4d940 - pristine_git_object: 49a5568ff82ad4a85e15c8de911e8d6c98dcd396 + last_write_checksum: sha1:154a721dbd5e0c951757a596a96e5d880ecf4982 + pristine_git_object: eef1b08999956fd45fe23f2c03bb24546207b4e3 src/mistralai/client/models/files_api_routes_delete_fileop.py: id: 2f385cc6138f - last_write_checksum: sha1:ccfd3ff64635cfd511f49c5e02a6f1860c479966 - pristine_git_object: eaba274b9dd94d6cf729325316b3e3e9b3834566 + last_write_checksum: sha1:e7b7ad30a08b1033ecd5433da694f69a91029bfc + pristine_git_object: b71748669906990998cc79345f789ed50865e110 src/mistralai/client/models/files_api_routes_download_fileop.py: id: 8184ee3577c3 - last_write_checksum: sha1:81058ede2a5eb333b54561f99ed7878082c0f411 - pristine_git_object: 83de8e73a3d50917e4a41bb92a828a10e646a632 + last_write_checksum: sha1:7781932cc271d47a2965217184e1dd35a187de3f + pristine_git_object: fa9e491a95625dbedde33bc9ea344aaebf992902 src/mistralai/client/models/files_api_routes_get_signed_urlop.py: id: 0a1a18c6431e - last_write_checksum: sha1:46c5a0babdc6df693c03355f22131ff8d847389c - pristine_git_object: c381244b5d819e48ca7d1ad5064726fd6627cfd1 + last_write_checksum: sha1:66ce8aeadf270e618782ec92113aa214d8360d0c + pristine_git_object: 230fb3a84450fd209d73a922bf6e915317a1018e src/mistralai/client/models/files_api_routes_list_filesop.py: id: b2e92f2a29b4 - last_write_checksum: sha1:18f318488f01a9a919c8650ee1f5eb825c39c91d - pristine_git_object: e18eaa6a509344303c81599ac19ce2aa8e741060 + last_write_checksum: sha1:bc2d33c3764a51b8fbd8b4994268268b1735b046 + pristine_git_object: b379fe6f22b252a8ead44957b747250bdc47b96d src/mistralai/client/models/files_api_routes_retrieve_fileop.py: id: 5d5dbb8d5f7a - last_write_checksum: sha1:d451d8d2b32f412158a074919cca1a72f79940cb - pristine_git_object: 5f8de05f1bba07517dc2ee33a4f05122503b54b5 + last_write_checksum: sha1:ea34337ee17bdb99ad89c0c6742fb80cb0b67c13 + pristine_git_object: 4a9678e5aa7405cbe09f59ffbdb6c7927396f06a src/mistralai/client/models/files_api_routes_upload_fileop.py: id: f13b84de6fa7 - last_write_checksum: sha1:9f48f3a8ca29457de8d1109bca2e98985963f286 - pristine_git_object: 25efcff2ade46c116ddc622a3c5796c2b95e039f + last_write_checksum: sha1:9e5ea506421f1c4c9b6971f93f0ed2d3e98d7883 + pristine_git_object: 54c38d8349758468460f725ea8c176869bfbd103 src/mistralai/client/models/fileschema.py: id: 19cde41ca32a - last_write_checksum: sha1:c559713ad8602bc8f4a73268758f9a010a7fe8f1 - pristine_git_object: ce64a16bb54c33024580619fb15443f25473df8c + last_write_checksum: sha1:8e87253717d8a2b1fdcf5cc39c8f9e1d6ae8b56e + pristine_git_object: 4dae2c23ad19db3cb80eb2849d9322e5b05004c1 src/mistralai/client/models/filevisibility.py: id: 11a670fa3b71 - last_write_checksum: sha1:8d44761845eea1d9bb239864863fc058e7c09bf2 - pristine_git_object: 56cfe8810059e7fcb0eae8f50dcdc1f91e2db157 + last_write_checksum: sha1:23f0c457bcdb90e76f49ea2ae95e0f983877513a + pristine_git_object: 7ad424930d85a2870985b359cf86da2dea1ba690 src/mistralai/client/models/fimcompletionrequest.py: id: cf3558adc3ab - last_write_checksum: sha1:ce9f8fa0775c9208ce5a393fdfc9439aabc2bdab - pristine_git_object: 65d132eac878cdb5e025ab34a149f832a6dc5ffe + last_write_checksum: sha1:d5b1fae35876416fbd463a58694cb33f7b971aec + pristine_git_object: 96ef0ba386857907ea9338ac3da493dbd594b19b src/mistralai/client/models/fimcompletionresponse.py: id: b860d2ba771e - last_write_checksum: sha1:dffd5a7005999340f57eaa94e17b2c82ddc7fd90 - pristine_git_object: 1345a116b7855ab4b824cf0369c0a5281e44ea97 + last_write_checksum: sha1:00b5b7146932f412f8230da7164e5157d267a817 + pristine_git_object: 8a2eda0ced48f382b79e5c6d7b64b0c5f0b16c15 src/mistralai/client/models/fimcompletionstreamrequest.py: id: 1d1ee09f1913 - last_write_checksum: sha1:68ca7eac3aeb3c8b35d9769201111aa078f32bc9 - pristine_git_object: dc7ede38dc81ac74d2e21a7e1de2fffe11295836 + last_write_checksum: sha1:575b05367c16bb53ac2cf813edee590901eaf544 + pristine_git_object: a370d362a4def140a1606508855bbac9bc2c703f src/mistralai/client/models/finetunedmodelcapabilities.py: id: 475c805eab95 - last_write_checksum: sha1:91f720f910b01109b6216aa7de1b3f76d04108c9 - pristine_git_object: b9ad2f9e62486e5f54bc801ab547377114ca3f5c + last_write_checksum: sha1:8c5e5443180102973e133b7253754dfa5ec69d34 + pristine_git_object: 73f7bee99ae44b08f237e91dc7c43e6579402e62 src/mistralai/client/models/floatarrayfielddefinition.py: id: 464222fdaecc - last_write_checksum: sha1:54dd0f20211e419fedf3ff7e3adc31dc8446355d - pristine_git_object: 4c09750f3361cd985d91bde32ab5ba7a10771ce5 + last_write_checksum: sha1:760ea028f5925b1548dce24a9b9060ddb21e8833 + pristine_git_object: 53505d37f1fe6ebd7583972c592c7f4c2f62abd3 src/mistralai/client/models/floatfielddefinition.py: id: e394e306ef00 - last_write_checksum: sha1:c4f734394e47e5687494c3135ff051e31a121e64 - pristine_git_object: 47fb3b278e7ed7e6fccf03563f3c84b65bb5092a + last_write_checksum: sha1:382e5c74a12ed6a024d3195e52620f154f6c4375 + pristine_git_object: a292c9f567aef250dc706281bf389579925126f2 src/mistralai/client/models/ftclassifierlossfunction.py: id: d21e2a36ab1f - last_write_checksum: sha1:ca90e2f1cd0b9054293bea304be0867c93f7fac2 - pristine_git_object: ccb0f21b5a69f91119bec9db6e9f3d876e4c35af + last_write_checksum: sha1:9554b17b3139b54975aae989fb27e1c369bee4cd + pristine_git_object: e6781a5e8b8777756af0f7814d157eced8467963 src/mistralai/client/models/ftmodelcard.py: id: c4f15eed2ca2 - last_write_checksum: sha1:f6c18f6b25b60756f027b845d7ac7d6265ba5272 - pristine_git_object: dffdb04d29b026278ec16109d3b411a75dffaef9 + last_write_checksum: sha1:ae134fcc616eff80317303e6dfe0e722f58daf28 + pristine_git_object: 573ce4fc1724621fd85a1e0b437cbc0b3cecdabd src/mistralai/client/models/function.py: id: 32275a9d8fee - last_write_checksum: sha1:c01c1ed54b3086859cde0dd3c3c466c78d8323ae - pristine_git_object: 8a3267e8b4b3fc78e64c46a0c05f7f9822bd3e3f + last_write_checksum: sha1:be4dd0ca556dc2263cf2697b48903c5954f6afd4 + pristine_git_object: cf4ca7d5b6ef0d62405ad63710ed06edcef5a65a src/mistralai/client/models/functioncall.py: id: 393fca552632 - last_write_checksum: sha1:6e96e9abaa9b7625a9a30e376c31b596ee9defcb - pristine_git_object: 527c3ad408e1e1ccfe6301a8860e7f751e1d312d + last_write_checksum: sha1:ef22d048ddb5390f370fcf3405f4d46fa82ed574 + pristine_git_object: 6cb6f26e6c69bc134bcb45f53156e15e362b8a63 src/mistralai/client/models/functioncallentry.py: id: cd058446c0aa - last_write_checksum: sha1:209dc38d13e7cab489dc99ecd2f400b259847ad2 - pristine_git_object: a88d87ab553d42a244cda26946dc10c44da3031a + last_write_checksum: sha1:c335718a2683e38c1ee2224f8ddba4509a32ae36 + pristine_git_object: c8edc702ab5564f289e62940df033852ea6cd5db src/mistralai/client/models/functioncallentryarguments.py: id: 3df3767a7b93 - last_write_checksum: sha1:9858feba8f7f01017f10477a77dec851a1d06e55 - pristine_git_object: afe81b24e131a8ef879ee7f140271aa762b8ed2f + last_write_checksum: sha1:6beb9aca5bfc2719f357f47a5627c9edccef051f + pristine_git_object: ac9e6227647b28bfd135c35bd32ca792d8dd414b src/mistralai/client/models/functioncallevent.py: id: 23b120b8f122 - last_write_checksum: sha1:57469e759f6d9100ca09e607a9687a4f59043bb0 - pristine_git_object: 6e3c0715818bf78d7cd90ab3cf1106aa5d31640f + last_write_checksum: sha1:948c4423183e70d9f47a65deb23c6fe55b048674 + pristine_git_object: 0bbc824af442e5225df8557873426244e7967182 src/mistralai/client/models/functionname.py: id: 000acafdb0c0 - last_write_checksum: sha1:4145b7b817b712b85dcbedb309416c7ba72d827e - pristine_git_object: 07d98a0e65ccbcba330fb39c7f23e26d3ffc833c + last_write_checksum: sha1:03d7b26a37311602ae52a3f6467fe2c306c468c1 + pristine_git_object: 2a05c1de42a6ff5775af5509c106eaa7b391778e src/mistralai/client/models/functionresultentry.py: id: 213df39bd5e6 - last_write_checksum: sha1:ec72ed10d5170484643db846ac32df5e3263ca4e - pristine_git_object: 115765225e6b0f1c166b7b9c89a41fade1ba90e6 + last_write_checksum: sha1:20bf3cb64ccad075f06ceef9bb01911e8ac658db + pristine_git_object: 28afaa8216a8f7e1544116d19162db2f0c21cd5b src/mistralai/client/models/functiontool.py: id: 2e9ef5800117 - last_write_checksum: sha1:bce744d77a3dac92d4776a37be497311674bdc7d - pristine_git_object: eae872643c85115a825c2feda11d9a6c12a06b99 + last_write_checksum: sha1:f2499451be3b207fd882bdaf4d3c0d57d805ae13 + pristine_git_object: 3f34ef87fa0a5eb90f953033b198e6989d5f477e + src/mistralai/client/models/get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop.py: + id: 6b1a4a862e54 + last_write_checksum: sha1:aafc513f2f201aa88eb681337465223274387234 + pristine_git_object: 566d5d8316e24bb48b6e5695e6aecdb84b6d7f9b src/mistralai/client/models/get_dataset_by_id_v1_observability_datasets_dataset_id_getop.py: id: cfd3282e7f33 - last_write_checksum: sha1:5f3de85d18b2cbd085a01946ac1c193d41e1ab71 - pristine_git_object: 0259485d3d2d36f1042d3807abf38f4b122b9b5e + last_write_checksum: sha1:8ee5bdeb7fc75e1d91f0d5218bb717abbf2dba48 + pristine_git_object: ec90cd8a7a58d419162157981016d903b429b164 src/mistralai/client/models/get_dataset_import_task_v1_observability_datasets_dataset_id_tasks_task_id_getop.py: id: b45f77cb328c - last_write_checksum: sha1:70df627813ed0c25aa8d4d2d51a3861b942a014c - pristine_git_object: cf900d0e4ef6eff4114c5e7737d03d0ab0e07d6f + last_write_checksum: sha1:344916eda39007d5bcd3eaf717fb1907281441d1 + pristine_git_object: cf9ac0e265cf1446740441a6a165bc423f36aa17 src/mistralai/client/models/get_dataset_import_tasks_v1_observability_datasets_dataset_id_tasks_getop.py: id: 07ece48f664d - last_write_checksum: sha1:9156ce8891f5b9c0775f633316644afcf8984e6a - pristine_git_object: 8213c023c3d47e38d6f3cf14cf985e267529c600 + last_write_checksum: sha1:4083c574a0485854c1ca3b0128b4a50ef15e464b + pristine_git_object: a47e64414abb7f4088d1bfdf656da3901d6894f5 src/mistralai/client/models/get_dataset_record_v1_observability_dataset_records_dataset_record_id_getop.py: id: 6ea6a0dab32f - last_write_checksum: sha1:8a8027a201a49fa1fe6717a1dbae4a6c242b8dbe - pristine_git_object: 0cb239dfd04d98488b8ce7ee143bb3cc589326e8 + last_write_checksum: sha1:fecb21ae77e49f8b6cd57e3e870f302497831949 + pristine_git_object: 3265a0f09fa8c6fce4d967faf7e59df3e987b4b8 src/mistralai/client/models/get_dataset_records_v1_observability_datasets_dataset_id_records_getop.py: id: 77967c965aea - last_write_checksum: sha1:831414ebd99ed826562864b2819fbe35180b6e50 - pristine_git_object: ed1778235ce208110598a165c5afc9fbfc1a20aa + last_write_checksum: sha1:4c6983055a505ca8c5959f7a7e4226290e759acf + pristine_git_object: c6a0514f6d03f0c16e219a764ba0e31a8a40271f src/mistralai/client/models/get_datasets_v1_observability_datasets_getop.py: id: 3e4f4e2447ac - last_write_checksum: sha1:c58e1c3e04892b5bfcadeec7c640c37c8d3da017 - pristine_git_object: 1d79f2d59fc1d0f38c66d85cf266bc9700087c37 + last_write_checksum: sha1:033fba3dbc2fd31ffbcc83fcd7145e75201c9973 + pristine_git_object: 4d8fa5cc9d6cb16a7c53298818cda9b5704b6bec src/mistralai/client/models/get_deployment_logsop.py: id: 5d6df36b14ff - last_write_checksum: sha1:7f03aff6628081fa4d2a75295c6ba5a2e7d425c3 - pristine_git_object: cf63c308dda3961008a08d8689ae2e22d1d9ec54 + last_write_checksum: sha1:426147690862d820c5b5bd88e0e258465a4507af + pristine_git_object: 807e7390da92c58975a92f338b8ba2deb1deb719 src/mistralai/client/models/get_deployment_v1_workflows_deployments_name_getop.py: id: 3fae92e2573a - last_write_checksum: sha1:1060d40b6d833ce2ee6136184d3bdfce77504bfb - pristine_git_object: 412b09fb7f0a342e5b505572e564f7f6c9000978 + last_write_checksum: sha1:2cdae63d01da8e6b26638f4d6cb2eb48ca671a7c + pristine_git_object: b5e21b0b5f9073cb66219af1caca7130ecda29c8 src/mistralai/client/models/get_index_v1_rag_managed_indexes_index_name_getop.py: id: 192042c7351d - last_write_checksum: sha1:bcf95916d3292e9b1456c10e161031dfafac9cc7 - pristine_git_object: ffabcc1afc265bbbcef6235df19f3c57124d5f6a + last_write_checksum: sha1:e60862ea91ece868a0b2b65bc36926dcbf751747 + pristine_git_object: e064cdfe5be57c3dad307190ac9e57868e55b50b src/mistralai/client/models/get_judge_by_id_v1_observability_judges_judge_id_getop.py: id: 4201c3c5a891 - last_write_checksum: sha1:44c9a7d21ea727e0f849cfc5dc4a02220bcf6e74 - pristine_git_object: 375db2e9b8ff839f6ec3bdfdf06de9b7a24fbe7c + last_write_checksum: sha1:7de6fb46a22ec718cac599a2b43c86fa7cac4d39 + pristine_git_object: 44ed3fba6ea3fd6aa9fd5bad155042078c8f37f5 src/mistralai/client/models/get_judges_v1_observability_judges_getop.py: id: fa04e3db7781 - last_write_checksum: sha1:d59740c9021cd891db4b81a7f4c6aeeecb9d6958 - pristine_git_object: b5d0980e197c19eaa70ac26f3b118a8e60364e3e + last_write_checksum: sha1:81821ff9df0552bc7b6d8161146f60e5da62a157 + pristine_git_object: f0d15cf5732652f803503e57672665dfd30c236d src/mistralai/client/models/get_log_field_options_v1_observability_logs_fields_field_name_options_getop.py: id: 5cb47b819527 - last_write_checksum: sha1:ea64702c4c1739338f05b2d5cd7fa7acdc5b8662 - pristine_git_object: 0bf3b7fb14005c0260f13aeee408fd48a93fb935 + last_write_checksum: sha1:8fd3f5fffd1abbbd434b9fb701ef81667eec7e1c + pristine_git_object: b4a4e4062ee815560a2b2c6400dd59828db7f74b src/mistralai/client/models/get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop.py: id: a6675e628904 - last_write_checksum: sha1:4e67c359dca372dd676324fe2e1ff572179acfc1 - pristine_git_object: 1f371effd690f174ba784b7f18f6fb5fef4ec831 + last_write_checksum: sha1:9835caa8c604d789820cc5c4a3a8d7f470fd9d1f + pristine_git_object: 6429a23100af5ea572caae2e959b67c2cb278bd0 + src/mistralai/client/models/get_pipeline_v1_observability_pipelines_pipeline_id_getop.py: + id: 552fe66cb0c9 + last_write_checksum: sha1:219273cdf9049edc2e3a66d741bdcc64a05b9e83 + pristine_git_object: 30a963c8cb1311eb5d364ceb926660ea3fdf0586 src/mistralai/client/models/get_run_history_v1_workflows_runs_run_id_history_getop.py: id: 9d566ab77998 - last_write_checksum: sha1:d75b0ea41941a0d1a0b748cf5181a976ecba068f - pristine_git_object: e297367919706bb21f8950aa38f21be4fd67eb2c + last_write_checksum: sha1:f4481dce1e0a5f3ec544c7e108d35acede7a4594 + pristine_git_object: 27f89fa14790d1ac729c46c9a40cc8ff4d2d5b1c src/mistralai/client/models/get_run_v1_workflows_runs_run_id_getop.py: id: 60463c59ff01 - last_write_checksum: sha1:a851312a3e0c91273ad444c6e2cc81c8c541c9cd - pristine_git_object: d9b6758f1622c76ad41092f4dbb9c6cf392b299c + last_write_checksum: sha1:681286bbfbec7183f5c1f52bd518bc64b5748534 + pristine_git_object: 5be104e331180edac2974d8333f177f63929e13d src/mistralai/client/models/get_schedule_v1_workflows_schedules_schedule_id_getop.py: id: cb775bc63ffd - last_write_checksum: sha1:29edc18fcca86b478702fa9ab632c93e63868a11 - pristine_git_object: d22d0515070d71858367cacdca0e2b83ee2a4cc0 + last_write_checksum: sha1:cced505e3c1321e2a7a4407dd0a71da8fe67fb93 + pristine_git_object: 3410bd46487118e2d2d970c86bc0eb0a1a8ea166 src/mistralai/client/models/get_schedules_v1_workflows_schedules_getop.py: id: b5f0210eca23 - last_write_checksum: sha1:babe5070a74471b86b61e645e3e077e0f58a1cff - pristine_git_object: 1bbea001e32e3894d432e95185602427c76bbaaa + last_write_checksum: sha1:745e4b61f49bb631759354b764c68d52c5725b13 + pristine_git_object: b8d6ae0383c6a3b74e8c9df806d5fd1511b9b0dd src/mistralai/client/models/get_service_account_v1_service_accounts_service_account_id_getop.py: id: 46d26398e77d - last_write_checksum: sha1:8c07885b3b74dc6d3e7bf016012d7c8f0e793a08 - pristine_git_object: 1bab7b67fb75c894bebf39950fcc28938b09a383 + last_write_checksum: sha1:8838ba799d562f20057258b3ecdb3191c85324cb + pristine_git_object: 8186e1427a65dd664d989ad920a5c1d7f2c9c515 src/mistralai/client/models/get_span_by_id_v1_observability_traces_trace_id_spans_span_id_getop.py: id: 5827757f5577 - last_write_checksum: sha1:ac120196f4ea7caf6446f878c017e0fc4b182f56 - pristine_git_object: 64fc2d8043e55edca55e80cb205b4c3eba98f461 + last_write_checksum: sha1:70298e404ea26b1ed49840b49f56f2e002146a02 + pristine_git_object: 4ec11ac2a89e67c911d9ac0739b25e6cd3a0142c ? src/mistralai/client/models/get_span_evaluation_field_options_v1_observability_spans_evaluations_fields_field_name_options_getop.py : id: 366d52a81fad - last_write_checksum: sha1:9a5bc27ff1e24fc0faf49aba3c94497997a929a4 - pristine_git_object: 54b337976356fb67b2740d8d592ca47526ccbc12 + last_write_checksum: sha1:b9371e5dfe533c2007636465f2bf6e5d242f303c + pristine_git_object: 06b8a9c1483142faba72ab503f248cb85bd025a3 src/mistralai/client/models/get_span_field_options_v1_observability_spans_fields_field_name_options_getop.py: id: 5a4fca728b6e - last_write_checksum: sha1:84168c2c05cf3382c418dfd5b4eb144c4fb69930 - pristine_git_object: 40aead4d66763f732bc2c885ad7da56dbb1fe44d + last_write_checksum: sha1:446819ced7787d74d524a2d3cb9a96cad09be127 + pristine_git_object: c18124871c8db1f4de7fbe018f6a1d0db1c1a947 src/mistralai/client/models/get_stream_events_v1_workflows_events_stream_getop.py: id: 8dd6ce0e8d66 - last_write_checksum: sha1:699f8176adb46f07224273b3128a68a7670ebb94 - pristine_git_object: 53f751977664678b86aef066a9e66641a8a78f79 + last_write_checksum: sha1:b1d984fb5c3ebb923d2f35c42adfefd9bbad5ccb + pristine_git_object: f0d02ee31d5004d1f1a8ed9bfe7bde791ef02337 src/mistralai/client/models/get_trace_by_id_v1_observability_traces_trace_id_getop.py: id: a7ad88602f1b - last_write_checksum: sha1:7a1d9296c7e556daf5e9c50be963272705f3c932 - pristine_git_object: fb84444bb2a26e30a7592073febd72ec69fe7377 + last_write_checksum: sha1:f7f25b3b3508b29420fe7160cbf36ec7e2a29355 + pristine_git_object: f24fd3fbf57818eb1078b7ee92861cdfd66a4dc9 src/mistralai/client/models/get_trace_field_options_v1_observability_traces_fields_field_name_options_getop.py: id: 56e51fef9440 - last_write_checksum: sha1:169aafabc91b71e7f33fbb882b95ad5f62f6ebef - pristine_git_object: 0d8fc763acc4ddc3bcd8bd37ce121c59b93dd135 + last_write_checksum: sha1:7839100c825efa8db42913865f785cd5a79ce42d + pristine_git_object: 03f70d050b7dc50e7e4cadb8f44dbccf28b258b1 src/mistralai/client/models/get_trace_spans_v1_observability_traces_trace_id_spans_getop.py: id: e0cacaec1f92 - last_write_checksum: sha1:d0c31c482ab3552cfb869567a038b589c3efe72a - pristine_git_object: c7f0e39c9b28a6c1c766ac958fe21674e031f819 + last_write_checksum: sha1:93021cc0a3064fe72007107addb75097d3c63b7e + pristine_git_object: bd8c487a64fef5d4b3f4b6f1d99de822ca14d908 src/mistralai/client/models/get_voice_sample_audio_v1_audio_voices_voice_id_sample_getop.py: id: a5838063aee4 - last_write_checksum: sha1:457e62a76bd229aecf1725c5f813de63e35d8b7e - pristine_git_object: 5d4cbbfd8e3e30fe2e24d1a9f6f624a7480487f1 + last_write_checksum: sha1:700734d9e52f8295daee46c7ac911426f7c1b454 + pristine_git_object: 7f5c88bb032992713afdacded5cc3d4d33701639 src/mistralai/client/models/get_voice_v1_audio_voices_voice_id_getop.py: id: b6ca849d5005 - last_write_checksum: sha1:ef189175dacf5a9be4295782eebfead3f40ce137 - pristine_git_object: bd81442ec3758ba0833ce8d3ad54fbc803748bc5 + last_write_checksum: sha1:b6ef71fb653fadec743608185749b13b57eb665f + pristine_git_object: 65c2156a6438289954a97d6c21a11083b79a6954 src/mistralai/client/models/get_workflow_events_v1_workflows_events_list_getop.py: id: 9d6d093835d6 - last_write_checksum: sha1:143b69eded03282526de2164ca95f51915be6a10 - pristine_git_object: 186c55486ef2f9ba01b4c5ace5b91a416b0a6bcb + last_write_checksum: sha1:aeda6e2c6b0905172b0d1f851f12b89eadcec0ed + pristine_git_object: 3df5cfab220272301c697245e507daf68c549490 src/mistralai/client/models/get_workflow_execution_history_v1_workflows_executions_execution_id_history_getop.py: id: 8d636c8cad1e - last_write_checksum: sha1:783549db97e2001b739d807715242c8428c4d922 - pristine_git_object: c71a23052cd42092941951cf0157734253535e0a + last_write_checksum: sha1:41ce70069e5507513e03729a88771f91d4b4bb8d + pristine_git_object: 5bcbf337170f38c42ab2a3735e551c028465d76e src/mistralai/client/models/get_workflow_execution_logsop.py: id: 53708093eaee - last_write_checksum: sha1:816539cc9ad4b9f2edd8197a6703e3529e98d31f - pristine_git_object: 1bfe5f52104a14535b5751d9ebfb6d24bca525a0 + last_write_checksum: sha1:0249fb1d452c9b366167dcb4b9243cd49f3ddaa9 + pristine_git_object: ac1937c84599432d70bc4a0a9f005de1f1b2aaaf src/mistralai/client/models/get_workflow_execution_trace_eventsop.py: id: 75438195bf19 - last_write_checksum: sha1:3fc47c8b7c301c1029f6a10e30298d8bc776d140 - pristine_git_object: a60fb536b9e4dd1ab8a2256d1cc28235752c34f2 + last_write_checksum: sha1:1f07bc50cb5327f6e913ea81bb229caeeab4e6ec + pristine_git_object: 09854131c90b44f1a8ce347b79bf0ae5dd119148 src/mistralai/client/models/get_workflow_execution_trace_infoop.py: id: 2e9818ffab8a - last_write_checksum: sha1:412cf2adad478e55507081849cacaf52930b3c97 - pristine_git_object: a256ff9f0e355a3fe43abdaa26e5a8ad82c49a0c + last_write_checksum: sha1:92b4322a354b9fb07a65b5c14df6e2887f1590a7 + pristine_git_object: 65beb169e54cf8be4bbc96ed73361b2031fe8509 src/mistralai/client/models/get_workflow_execution_trace_otelop.py: id: f24457d6ea21 - last_write_checksum: sha1:33ddf619eb30b950d5e2120b432a8dc1b3acb10a - pristine_git_object: 0abdd75fc1650a95aee925ec26bfd1af8a6e2632 + last_write_checksum: sha1:c4c960d17c41e6031b2dd458e07986e038286322 + pristine_git_object: 21c1d5850774050105678ca8d28211a40a865b02 src/mistralai/client/models/get_workflow_execution_trace_summaryop.py: id: e44e62e3c444 - last_write_checksum: sha1:818f5bd1151bd77c9c200f2799e352ae5eab73ab - pristine_git_object: 54b080e0b03bd406c805874666e81ee32967bc76 + last_write_checksum: sha1:4d8841d312855f640e801039a661fc440f583015 + pristine_git_object: aedc6326155fe5f73e172d50809d51b4dfa671f0 src/mistralai/client/models/get_workflow_execution_v1_workflows_executions_execution_id_getop.py: id: 25bc5d3fec8d - last_write_checksum: sha1:09ecec7abaa50b08df3307c4b9f77027da5ed995 - pristine_git_object: 9fc51f4f844c783dc7841856a5ea3ed9d608f053 + last_write_checksum: sha1:2dcd72c16eabb4c72734a1795944a8722f3fc07b + pristine_git_object: 7067ed5b59e0b937e85b89ba21294ccb572e8025 src/mistralai/client/models/get_workflow_metrics_v1_workflows_workflow_name_metrics_getop.py: id: 449550c7f76a - last_write_checksum: sha1:93b1174df5a303444fe0d99c881ddec4cac6c788 - pristine_git_object: 1d9c8989416bf2090476f3ad839c1ad011e522b7 + last_write_checksum: sha1:5852562c132d5c82300356ea9bf16712d4ae0a7c + pristine_git_object: 641cb4fbb125926894851a6d27b81d5bcd4cd5e1 src/mistralai/client/models/get_workflow_registration_v1_workflows_registrations_workflow_registration_id_getop.py: id: a6b7d0f559ef - last_write_checksum: sha1:881422f47653ae2962f935b039a9c77d347c7b7f - pristine_git_object: fe7d639da434356114d8cd5829c0d3fffa776515 + last_write_checksum: sha1:ce20ba0cc2da0f64f89ea0ade967224f1d11ce92 + pristine_git_object: ea7471a083fea3208bc84ba230694e877aadb07b src/mistralai/client/models/get_workflow_registrations_v1_workflows_registrations_getop.py: id: 822f256b2372 - last_write_checksum: sha1:7d816703621bc0539d3e167b3e811175edf82bec - pristine_git_object: d8cc7f6e1ff24c85ad6a86bd87c6071d1741d461 + last_write_checksum: sha1:5dd2f9c779e3446fb2bcbcda9cecdb591bcd5b39 + pristine_git_object: 0dc8679c948f56530c775048d5dfc8d9cb24e8cb src/mistralai/client/models/get_workflow_v1_workflows_workflow_identifier_getop.py: id: 097af37374fd - last_write_checksum: sha1:962b823e10fb6cc838ecf2b02b0cc284252ee908 - pristine_git_object: 20d0b6dd4e74c9c39a8b95cb9f9ec590d146574f + last_write_checksum: sha1:7f43eebd39b9c3358d9e09580954bcbb875021e0 + pristine_git_object: 8ceb750c8eb9baa9f386c678e3e5b6c8ad1d0d48 src/mistralai/client/models/get_workflows_v1_workflows_getop.py: id: a128585aee76 - last_write_checksum: sha1:f61f450997f1971ee3e7ba821e1b571480bac005 - pristine_git_object: 586c64174fb36af889bf311ab067c0096fd2cb07 + last_write_checksum: sha1:c76d683020ede1a03fc81bb2b1a80bcdbc2c4506 + pristine_git_object: 5cc8d6c85d592ce75aa34b92db70378918dd9088 src/mistralai/client/models/getdeploymentsummariesresponse.py: id: 1a81c80026f1 - last_write_checksum: sha1:76592657617f33e39ef4f221c9a77615adcb9158 - pristine_git_object: 226369724b99894d2483c7ded4f512a29628d54b + last_write_checksum: sha1:d0ae02fd51520317f3ceda7f7daceb58fbc84c95 + pristine_git_object: 579d926e6fd88c9394758c073b9163ee6a2ad809 src/mistralai/client/models/getdeploymentsummariesresponsedeployment.py: id: bfffc470b273 - last_write_checksum: sha1:870fd6bc04dd46d6318195dc5528df1a8304afee - pristine_git_object: 4665b7164b3585751faee585bfc5ca0d9156eaae + last_write_checksum: sha1:e8bc5f49cf1f45710b0775191ae25b08c1a72518 + pristine_git_object: a45d7042b1a82ebf25ff8272b1389d158171b490 src/mistralai/client/models/getdeploymentsummariesresponsevespadeployment.py: id: 88b00f5b6d4d - last_write_checksum: sha1:0f3dd8e16b5cbe2b61c69a25aca5a8ada1a195fa - pristine_git_object: cdc060cadab9a1c6aa0b629b4e94e1a0169c10c6 + last_write_checksum: sha1:7834caf09ec37e9d2c8fbe6fabc0609e7c466da8 + pristine_git_object: dbd93c0cd5da84a62fad3e94a2af59dbea3b9294 src/mistralai/client/models/getdeploymentsummariesresponsevespaindex.py: id: c11eec53891a - last_write_checksum: sha1:1f39e6fc433604e71634f97328a4cc7583cc5581 - pristine_git_object: d190577392a3ce802e883385de41e1655766c2f6 + last_write_checksum: sha1:4baeda29845b86b80d7e5e7217fbecc8adc3f748 + pristine_git_object: 293aa556e153d15e239517070d0a49eca0c64d54 src/mistralai/client/models/getfileresponse.py: id: 81919086e371 - last_write_checksum: sha1:a116c2fdef65748b5015804fc0eb9860fd2bc3b2 - pristine_git_object: 37c29bbb41ab44aa6d42ea7e7f094d52a210a5a8 + last_write_checksum: sha1:d8df1e2e928f8037d963ec1b7dd789209bbb293a + pristine_git_object: ea11a37a97a28070703acb20d93ee2ab25608b66 src/mistralai/client/models/getlog.py: id: c9beb29863bc - last_write_checksum: sha1:9aa935de8e9b915abe58ef4df7b91e4795ab1f05 - pristine_git_object: 3c889062440e8f02ce46ff09917c11c712e19a50 + last_write_checksum: sha1:c41b3c298b4a566984ffee0aa81b97cc75c81096 + pristine_git_object: c38d89acc740a0347ce16792763979b6e7a11205 src/mistralai/client/models/getlogfieldoptions.py: id: cdb24e2ec44c - last_write_checksum: sha1:c74ff129fddf24b79169fea945de409dff2cf641 - pristine_git_object: 4f5bacd66a3a1ba2861b5aabc98e3387c3bca774 + last_write_checksum: sha1:148de09178fe2714b50a324aafe0223716b9af6d + pristine_git_object: e50db903f732cd3ba15b4752edabee5c995efb12 src/mistralai/client/models/getlogfields.py: id: e9f0f8c894f0 - last_write_checksum: sha1:4433885270d7f25dca166e587470de347e59504f - pristine_git_object: e82e2cbcaf6b2abf3babc44128b385911cf94702 + last_write_checksum: sha1:f4c8f91b7885ff61ac12374daab66c0d52d283c3 + pristine_git_object: 7a3810328849555d6474dd054510673fd973e225 src/mistralai/client/models/getlogs.py: id: e93e67a4d749 - last_write_checksum: sha1:1a7bbdfbfe84ec6fa74dc30385d05249483e68a3 - pristine_git_object: a6f91a87a723c9b738f3778b4e1a7a557ca2bfe3 + last_write_checksum: sha1:6f7a50ee015957cc7fb5a387a8e1740727258dc4 + pristine_git_object: f73b7fd9b1e3cf004063a6f3f82c35b2940625f7 src/mistralai/client/models/getsignedurlresponse.py: id: cee4e4197372 - last_write_checksum: sha1:ab9adbc06e7f02e791dc549ad1850ce1b1a250a7 - pristine_git_object: 4ba95894f2b89719fa58e7e397c28014dbd00316 + last_write_checksum: sha1:5618ddcde19331cd0bfba7b31b1d1fe6b61e133d + pristine_git_object: 5af0306c75258844654178a7d0f0420b0083798e src/mistralai/client/models/getspan.py: id: eebc129308d2 - last_write_checksum: sha1:36d1cbc51453f08b025656ae88656189798e96a7 - pristine_git_object: d8bd907633a3b9b4502276d67f26c81a58d78012 + last_write_checksum: sha1:49dcf111ff0af31d6aba24af9ac0ff1a667ac071 + pristine_git_object: a7d4330e92b2ddcf836eeccaeabde68435bd770f src/mistralai/client/models/getspanevaluation.py: id: 274e902cefd1 - last_write_checksum: sha1:e1832838ca7c9b5c3d948548e46f90b9a9e32387 - pristine_git_object: 44e63d6f07498ef12abe68151ba20b77ba893108 + last_write_checksum: sha1:7855f2437e115c1d8aaade23b2ccf6231bb83cbe + pristine_git_object: 0cd5baaf927ff6dd303d0c20f8ec0d51637fcba8 src/mistralai/client/models/getspanevaluationfieldoptions.py: id: 345fd459adff - last_write_checksum: sha1:136b066b65168fabb82177851fc299d7fdf23fb0 - pristine_git_object: 5e91348fdad25fbd715a87d336409cd60f20cba7 + last_write_checksum: sha1:011b20b6fec43ece6217db7e5e0a62bded972d21 + pristine_git_object: 635b102d8fcec9b3e07a67f9e0b8f5c9e6b27cb7 src/mistralai/client/models/getspanevaluationfields.py: id: a35c5328a90e - last_write_checksum: sha1:7c48cb1d45c92c2464ed95caf2ba133bd1a4aa05 - pristine_git_object: 06a117790d058f5be3649795e2c346370f0a6e88 + last_write_checksum: sha1:21a2837cfa62177cc8e3d6a3e3dd483be0d9e860 + pristine_git_object: 8fc538efdcd9c8c489a89a395670100102281dc2 src/mistralai/client/models/getspanevaluations.py: id: 91934f70cd68 - last_write_checksum: sha1:6031b6f39af715eac3a19c688ec13dd29df3492d - pristine_git_object: 742fdc0a08c93e858f767fa1f391fc218d533bb5 + last_write_checksum: sha1:5c80d0fb878271d66505cdafe99dde819c862d86 + pristine_git_object: 59f7b3a6cb974ec64e3b224e11ab2549b045c502 src/mistralai/client/models/getspanfieldoptions.py: id: 44b61b93e49c - last_write_checksum: sha1:7a37ba2709f4e5a2e25c663fbea4b6971d7d9a38 - pristine_git_object: ac7b91a611961a579810031fd385240d5e593adb + last_write_checksum: sha1:e8ffbc609c8ed128bb161bb6b9354a21c55d1447 + pristine_git_object: cd57f218971fe3b8a8243383619022d4cf92d2ca src/mistralai/client/models/getspanfields.py: id: 81804f477af7 - last_write_checksum: sha1:8b131af3aa2e47c9dd2e5fd1e67a74d69f0973dc - pristine_git_object: 09bd8171649b23331161b525eb787bea5a5d0b37 + last_write_checksum: sha1:a40e9f3a68d3ab49b472729e946e6631e36487df + pristine_git_object: 072380957fc50e3274934af6931d2dd89bcd8201 src/mistralai/client/models/getspans.py: id: c95cbe1b0843 - last_write_checksum: sha1:9b8d86a2bf87a3bdba93bdb65bed0820c9027369 - pristine_git_object: 5878cb5c3adfc719ef2d89b743f3068c932c363e + last_write_checksum: sha1:f9681bd7706bfa60748696fa1ef7a512cc213f5f + pristine_git_object: 1e3fc858844a8f579ee94d3666bcce72f025300d src/mistralai/client/models/gettrace.py: id: 3c7e1abbc64a - last_write_checksum: sha1:8076022da53ee339572c6676db06efef09a02a48 - pristine_git_object: 572d74406b3510dd0be4ba93922abcab85805d4e + last_write_checksum: sha1:1ed0434bbd9c47393eb8e237c98a667442365058 + pristine_git_object: a39240122577d437f57368dab6cd01fdbaa364ad src/mistralai/client/models/gettracefieldoptions.py: id: 9b0f5432d5ef - last_write_checksum: sha1:862ff4404eac75000714fffc7fada2474b6b89de - pristine_git_object: 1dd9e51c47b72bd8b5e1142c405a8f833a0b2798 + last_write_checksum: sha1:48d8402542b6bcdab7918bc985483bc9d4a415c5 + pristine_git_object: cddfecba1f1e573cfd962d5104d3faea0dcf8eac src/mistralai/client/models/gettracefields.py: id: 528937f57e92 - last_write_checksum: sha1:91bcfbc0a5873005b1f331431642abfe646e74f6 - pristine_git_object: 085641a06bd2aa47a13a939b8a6b3a02013688b7 + last_write_checksum: sha1:1f5a720ee8577d4d64eef6a7e45f8199e230d624 + pristine_git_object: 8529516207952ebb11008bdba47706f80ba0d422 src/mistralai/client/models/gettraces.py: id: d94016253ab3 - last_write_checksum: sha1:bd40e57299f57d33cc8c0dbf566e3ec631ebbe9d - pristine_git_object: 86d87ddd14d38aa488ae205fa3f8224a064b9ced + last_write_checksum: sha1:1178f3a7bb3880edd8d9a5f830f26f6f9e98a3d9 + pristine_git_object: 12350d28504a69583684143b7fb297710f830f71 src/mistralai/client/models/gitcommitauthor.py: id: d400cc33a7a2 - last_write_checksum: sha1:8054c4d4d1c8f79500380fcf914ff166b62c0184 - pristine_git_object: da0a0b76079ab59b828e2ae34d2ecfa28b9c5bbc + last_write_checksum: sha1:151220f02d6ee425e2109ac90ae002c593a0724f + pristine_git_object: 20d03cd8ac0210ca8de36361f9dcd51bc8dcd2aa src/mistralai/client/models/gitcommitmetadata.py: id: 74d6a74eca43 - last_write_checksum: sha1:3529a243753f0136b314fb525c78dc48a57ea9a7 - pristine_git_object: da5a5ead73d00d737b7b81c3d50750ae76947577 + last_write_checksum: sha1:1fbef2e5267d06497a3e2ce46616cd30529f45db + pristine_git_object: 049cb53039a48e57c7aea96a65572352fda27844 src/mistralai/client/models/globalheadervalue.py: id: 8f50c772664e - last_write_checksum: sha1:8088f2991302e3d930fb3cae74eb4a3c14b329fb - pristine_git_object: b28634694c309d30814b8786e7d5adca70b3cbe3 + last_write_checksum: sha1:ff907e0db4c39b784e01f9c7fdc4e3ed36c3330d + pristine_git_object: 4b1d075f76d12f3d9866d603a40c40903ead8bf5 src/mistralai/client/models/granularity.py: id: 5230c577800b - last_write_checksum: sha1:1cad36e5e3a6cd71a3e761bf22ecdcc80f1179a8 - pristine_git_object: 9dbac6325315b7190e9b38e1ef6a0ce07f6deb34 + last_write_checksum: sha1:55fc045ea124f84ddf0e9fbae9053b9d0ec6802a + pristine_git_object: 69cff11821dbb93b6f3c4878e825ace385d0279b + src/mistralai/client/models/grep_index_v1_rag_managed_indexes_index_name_grep_postop.py: + id: d390aef8c0ba + last_write_checksum: sha1:7dfab79e8c2392b01160779ae41b973f27aa23a8 + pristine_git_object: e7dcb73c5cd2b2c32546ac4f7a4b40aca70bb98c + src/mistralai/client/models/grepmode.py: + id: bede5edfeaba + last_write_checksum: sha1:06080147189b4672840cf1c3ee549dfcfac00b93 + pristine_git_object: 329b0dbc76a79d711e17aae0af2c91a215a7e0c7 + src/mistralai/client/models/greprequest.py: + id: 66b17a2cbd59 + last_write_checksum: sha1:a4e26186a0e3fd1a7ea72a48d41feefa8f130d8e + pristine_git_object: b43d2f0f51f205bae97b943536f81b6420096821 src/mistralai/client/models/guardrailconfig.py: id: c72b74412547 - last_write_checksum: sha1:1688b51dafa47d23ff048e88975b21f24932f6c0 - pristine_git_object: d152ec36741bb8302b0d4f72563e534ed7768cb6 + last_write_checksum: sha1:278391e2292ca28a5ba596c4b48d126dd5ad91d1 + pristine_git_object: 8f28a6fd4271b96c2feb28765aa19f86f8851bed src/mistralai/client/models/httpconnector.py: id: 29d326e2d741 - last_write_checksum: sha1:6869bb456430730a0d2e3aefab0ae9bfa9e4abe9 - pristine_git_object: 46db351d3159b2660f096cfda44b1f062f826ad2 + last_write_checksum: sha1:9409474677c1fafaac3bfad475a31703a7c08ab0 + pristine_git_object: e1e45762a56e16cfc73be001d7cfacbacd30aafb src/mistralai/client/models/httpstatus.py: id: 56faca222b54 - last_write_checksum: sha1:488060d5c72110bf8630ff4ac87956a28fddf13e - pristine_git_object: db35637a8d85c75736b69bb4f5d53dfff4eefa40 + last_write_checksum: sha1:98a58c5644f17d0b4d312b42ee3a3468852194bb + pristine_git_object: c496b7d33ce2c22242969e6c66c03a803a2f0b75 src/mistralai/client/models/imagecontent.py: id: 3abe7faee278 - last_write_checksum: sha1:c0057cab50e78c45069bab3cbec065ab3dbbb50c - pristine_git_object: e6363daa7442b2f0b48bb99ceab76bff08680550 + last_write_checksum: sha1:ed047b9f704d1d9c23d7aa9b0a7241016a3cfb9c + pristine_git_object: 2dcd959bbc2cda9ff98a5bbccf1c28c05cef295d src/mistralai/client/models/imagedetail.py: id: c1084b549abb - last_write_checksum: sha1:375db5c8fa87712dc37e46d0bf72283ae6cd6400 - pristine_git_object: 1982d357277a92fc7ebea3b99146116596d99c78 + last_write_checksum: sha1:efad2a726051533b7b689d086d0091095915f691 + pristine_git_object: 5e2038062dfaf1482a1dfe90fc45ba444adf3e8c src/mistralai/client/models/imagegenerationtool.py: id: e1532275faa0 - last_write_checksum: sha1:0fcb9fdeffe252c88497f02164f7e753bea40ff1 - pristine_git_object: 0dd4a4d2a4671bb310410eb17bb85032638d817c + last_write_checksum: sha1:d5c4ec999ac8bd80d8154f71f7db6bd3be9beaee + pristine_git_object: 473a5b2dd23f8e221d024027cb8695274172dcc9 src/mistralai/client/models/imageurl.py: id: e4bbf5881fbf - last_write_checksum: sha1:a3e5c91291a5fcc24bda8fc1c96a2608965edae5 - pristine_git_object: 32efa67ba4a33ac90c1a16c153ef480e35d1bb67 + last_write_checksum: sha1:0234b602d0b2710bd1eb649c7fcde3c4f3f95f64 + pristine_git_object: 55f8d1df3b622155e04b8bdc6612064825607fb8 src/mistralai/client/models/imageurlchunk.py: id: 746fde62f637 - last_write_checksum: sha1:84122edbb655e6fb252dc37abbb14cdd59d8a488 - pristine_git_object: 55a2023ef775f06d586a50ac98e129950ef55d5d + last_write_checksum: sha1:dac253ce9e006308dac95c46aa2185b1738b9735 + pristine_git_object: e78dae8d6e6c7fc714b493c3e54b381b1d916a34 src/mistralai/client/models/importdatasetfromdatasetrequest.py: id: 77aea4882ccb - last_write_checksum: sha1:89fe7ea38a0b073ec539c88dc6b0865f28caeb15 - pristine_git_object: ebf2a649f3b00f4472bd9db0c65cc1a53140cf49 + last_write_checksum: sha1:92b43a4ee0f8d736d74712d0a9245c245fb3a0b5 + pristine_git_object: d9bf0861bc2f77c1d870d85f8d1f6ccc0b0f0e2d src/mistralai/client/models/importdatasetfromfilerequest.py: id: b2882fa57029 - last_write_checksum: sha1:fb867b50ff6d9a8ab14ec32592c951f834854d32 - pristine_git_object: 9a4867765aab522a33f3846a9e2bf0162270c916 + last_write_checksum: sha1:dfa43dcd8ececba5079b6f9f1dee539560386021 + pristine_git_object: 97b126996ec8ff336a3238f5a99dbc3d9a503e10 src/mistralai/client/models/importdatasetfromplaygroundrequest.py: id: 8d809b14b144 - last_write_checksum: sha1:3c858d0475e826d072c96a84d868e97593a399a3 - pristine_git_object: f5bd720db16c37504e1993cc6e651712551d2612 + last_write_checksum: sha1:ba540fe973c1d984e757eda02339ba4eed8f80b7 + pristine_git_object: f83fcd70c177e78736eaaf5091f487ead5a5496b + src/mistralai/client/models/importdatasetfromspansrequest.py: + id: 977a46fb12f3 + last_write_checksum: sha1:96a878a10a1ca188619a23f0a6c83e0b14315d79 + pristine_git_object: 3599ae3faaee9071454cfd94a64e0e3ae0035dbc src/mistralai/client/models/in_.py: id: 9453cb02452b - last_write_checksum: sha1:0ecbdeff85a7a4de8442b9833eb781cad830ba1f - pristine_git_object: 8e73b70fd12dac5ba90cf67ce9ba31094943dd10 + last_write_checksum: sha1:939519298d8aa2fbb5b0a16360e2215c1d9d8ee6 + pristine_git_object: 9311a951078bdb0a08d85da7dd2cec17b4c8c7bd src/mistralai/client/models/inboundauthenticationtype.py: id: 0c9f48e0518f - last_write_checksum: sha1:d7ac3ef0ee83cc499506f0ef30bd39b1c91d8977 - pristine_git_object: 9e78a4995c5acdb63606577c10696ace66271b9b + last_write_checksum: sha1:4ae224acea5ee3ce138f62414ec73a95c6b90a26 + pristine_git_object: bd7acb1c941e70c5afee95b132284ad4b81eb13e src/mistralai/client/models/ingest_documents_v1_rag_managed_indexes_index_name_documents_postop.py: id: db04eecaa568 - last_write_checksum: sha1:b49bc7329ca3d4dca66f18462775ff99787a15e7 - pristine_git_object: 33fa5627fce6cad81e02b57a1ccd6ef8bceee4b8 + last_write_checksum: sha1:725842dc76e12a305affd02eb6a6160e1871fdea + pristine_git_object: 65b0c1ab73905d8338801703e41c4301634741db src/mistralai/client/models/ingestdocumentsrequest.py: id: f0a8c26e8135 - last_write_checksum: sha1:fba989e7e4b563d6e12ab29b106d64bea96ee300 - pristine_git_object: e4050ebb750cec5602a8069c94be7680031a1da7 + last_write_checksum: sha1:5657e25216444e7782c40fc89bc3445be6b9e43a + pristine_git_object: a794b865065de1f98fcdebe13215a8c8454eeaf5 src/mistralai/client/models/ingestdocumentsresponse.py: id: 5c489174fd66 - last_write_checksum: sha1:913fd5226c79bac67713a870bf77c49808ff3827 - pristine_git_object: 65b688357770c75358524bcd5405a65cb44155ab + last_write_checksum: sha1:b15608339a042d7060002715881edff659d64472 + pristine_git_object: 0268484f600a5d57e2ef9921d6e651ee8cdafcd2 src/mistralai/client/models/ingestionpipelineconfiguration.py: id: b4746c0f2c1c - last_write_checksum: sha1:f256b78196bde2b5bf39f15ed65b1daba784680a - pristine_git_object: 5289c66d7097548dc5d434f639eaefe2ceb7e504 + last_write_checksum: sha1:40818847a4ebd9f9b5711db9aa6af64f40c2a649 + pristine_git_object: 851463d8efc3aa67baf6e3bfb90314c2d1943d91 src/mistralai/client/models/ingestionpipelinetargetindexref.py: id: 1fd3655ff376 - last_write_checksum: sha1:b8b98e3166d039ec33d8152ac2d4dd04662b1047 - pristine_git_object: 3456be8b250093c11dd405ca6eec07265bd189a3 + last_write_checksum: sha1:d670076e15c9f1e8848113beda72858427797b5b + pristine_git_object: 0d35790113e8dca2dcf0b57e539dd2d70e47c381 src/mistralai/client/models/inputentries.py: id: 44727997dacb - last_write_checksum: sha1:9e2a776be59c5043ea4179a60ac082faf064cc3d - pristine_git_object: e2da5a80aea121d18e2232f302ad73f63b4fc050 + last_write_checksum: sha1:79691be9380b55ae2fc79da1fb92d125b35391f2 + pristine_git_object: 572b689f1714eacdcbef5ad067d325863999892e src/mistralai/client/models/inputs.py: id: 84a8007518c7 - last_write_checksum: sha1:d067587b5395529fbd638741f20b80edb2848e39 - pristine_git_object: 9ecd7f484ea306b91a9ebf038a0addd80ccd57c4 + last_write_checksum: sha1:34d653107c7b278494360be4a8aa41147f3878f7 + pristine_git_object: 2d9dd31c35461504a87e8b8cc676db10364f4836 src/mistralai/client/models/instructrequest.py: id: 6d3ad9f896c7 - last_write_checksum: sha1:b56a77442b50b50151adedaa5ec356dc96c56428 - pristine_git_object: e5f9cccf174d8e73c42e8ee4aa294b43e1ad6cf5 + last_write_checksum: sha1:5fabc65cccf9f17ffbd20cd176341b4d78b62a5c + pristine_git_object: 73d482d84d2c09e801c63fc8542e69212fe4a19c src/mistralai/client/models/intarrayfielddefinition.py: id: feec8e32e8af - last_write_checksum: sha1:3f129bfcc3de05f21820a068dc744e9de256f771 - pristine_git_object: 7dccd558d7ca02750dcab7d64cae7be67b39c656 + last_write_checksum: sha1:463152ce614670b33cd312f2ba3ea20bb7aece19 + pristine_git_object: f099f5e1562a3ee659c89ae0a1d69e277ed7aa57 src/mistralai/client/models/intfielddefinition.py: id: dac35ceb9af1 - last_write_checksum: sha1:63994e8ed66a91f5612ac3861afe534f46898c7e - pristine_git_object: f004bfdd4edd7832f57f1e7aed3ded2a433ddd4a + last_write_checksum: sha1:fe8436c451718ac0f8a87f47a10111c37ba4a372 + pristine_git_object: 8f1d21b9411676ec90913a213a36b60b2ef66fbe src/mistralai/client/models/jobs_api_routes_batch_cancel_batch_jobop.py: id: b56cb6c17c95 - last_write_checksum: sha1:21b5794f110c53691654d7195201f9a4b7793f21 - pristine_git_object: de2e63472ac53809cfeae200bd7d2f3dcbb70034 + last_write_checksum: sha1:e5e2c422bb211bb4af3e8c1a4b48e491d0fdf5a4 + pristine_git_object: 21a04f7313b3594a204395ca080b76e2a4958c63 src/mistralai/client/models/jobs_api_routes_batch_delete_batch_jobop.py: id: 8c43af108342 - last_write_checksum: sha1:06244690f3de161dc1ba5648070b0212cb2c38d7 - pristine_git_object: 9fc4a7e77cd756b47cdd1a0c4817cd458fd6a68a + last_write_checksum: sha1:93446074b730d6c94212c182adbfb9c1e64eada9 + pristine_git_object: ea857b23cbbffec24386efc98e24b08e19a8dcaa src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobop.py: id: 36b5a6b3ceee - last_write_checksum: sha1:449dc131e1514edb32107ae1c699544732b313fb - pristine_git_object: 683da4af5412e7da90a4af83864c40dc53a9ed77 + last_write_checksum: sha1:1e938486230316cec449993db3ae7254267e40db + pristine_git_object: 2804b0c175b1f420db624b4c647972a5eac75acc src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobsop.py: id: d8f0af99c94d - last_write_checksum: sha1:8bfca7b33217a0723245150f46a8e1af74bece86 - pristine_git_object: f0649f3af47bb5ddaa495e200e923d29711bd2ab + last_write_checksum: sha1:75201e09727ab94ceccca9d9684d5162dd945816 + pristine_git_object: 6d9fe59aca6b2053b30add4e3bd21415bd648883 src/mistralai/client/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py: id: 34f89d2af0ec - last_write_checksum: sha1:3d5242f757ee9be10963af9cd5d47824fc83c71a - pristine_git_object: 9fa99837dda7e9413d3a05822cd17107c5fae51d + last_write_checksum: sha1:2a7225666b02d42be0d3455a249a962948feadf9 + pristine_git_object: 4536b738442ec9710ddf67f2faf7d30b094d8cd5 src/mistralai/client/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py: id: 7cc1c80335a9 - last_write_checksum: sha1:f66c16423155066b844f8e89446d2acbb6e68157 - pristine_git_object: fd01fe6948613b0fffef9ac76cf1a0f9011ec5af + last_write_checksum: sha1:4270cb52e5aef807ec2d8a9ab1ca1065b0cf8a10 + pristine_git_object: e1be0ac00af889a38647b5f7e4f9d26ed09ee7c4 src/mistralai/client/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py: id: 6d9dc624aafd - last_write_checksum: sha1:fbacb171b9c75f1fe45406f542a958d10c15fae2 - pristine_git_object: 296070b426900305fe4596f03a3c9f081cdb2dcf + last_write_checksum: sha1:db8177741c78c04839dfec9b90b7dec9c997ec9c + pristine_git_object: e1b9cc00ab68010627626cf650e95b737a6a67eb src/mistralai/client/models/jsonfielddefinition.py: id: f48a545e6673 - last_write_checksum: sha1:80af5b1fea77f2db2f2e43952aa7d5b3c9e6478d - pristine_git_object: 2140b4f45a4c1c3afcae890bdbd4abf2106fd19a + last_write_checksum: sha1:a66e510c86925fafcbf1c0d3f3557946252a5c91 + pristine_git_object: 22ebbdb3a47d11957e15b39dfd3d392de434b0fd src/mistralai/client/models/jsonpatch.py: id: b7521bc9a558 - last_write_checksum: sha1:0f81a4adaa3fb28ba2620c9a89459b70f0ec3d86 - pristine_git_object: d67657f54dd315a9df71f1bf8a87c96dc3a25749 + last_write_checksum: sha1:3c7af6f50fc1501731825071f871e99188ba94fb + pristine_git_object: 4de15cec0b7156fc4e6e9870b0eb2dc53c657b3f src/mistralai/client/models/jsonpatchadd.py: id: fb2a1e58a6a5 - last_write_checksum: sha1:a323e406accd1b25f4e094a54647dd140aab43d5 - pristine_git_object: d4242f11b063f795b8d677abdd8c19ab0419a0b7 + last_write_checksum: sha1:744ae456191e0f0866aee5cf2b3a9421ca63347a + pristine_git_object: 4e2bfcdab13a42607d16c568554c4a8416f24110 src/mistralai/client/models/jsonpatchappend.py: id: 61801f21f4b0 - last_write_checksum: sha1:6418ac32a97e99eea86df63204f560a0926f17e7 - pristine_git_object: 185f7bb72350361dbf9817a9480824720f5ee339 + last_write_checksum: sha1:2f7af7cb963877afd455d788ebc54b3fdcb36e59 + pristine_git_object: 8ac78b6c7a16fb051a9965a42e7fdead5c4d049d src/mistralai/client/models/jsonpatchpayloadresponse.py: id: 1b39f46f529f - last_write_checksum: sha1:1d2a8b1039cef824f0e030804a72a0325c413a10 - pristine_git_object: a0301f9a7045f6b64a7d22b60be6e8ce5a2cbff3 + last_write_checksum: sha1:1366cffe027ddfd89c5c9c5b4a46f645190e9fea + pristine_git_object: cee628d480b405a3b08ef56bfb5581983b64bc57 src/mistralai/client/models/jsonpatchpayloadvalueresponse.py: id: 6cf0e3599e2c - last_write_checksum: sha1:46b19e3813ed9f20969ae14fbab56ea559507fc5 - pristine_git_object: d6ac1b6b02b55ebefe7f3298975679e7962473f1 + last_write_checksum: sha1:ae5b00911f24a3e4f5db4d22147649c96b61d7d0 + pristine_git_object: b79af6c843ffe1294056cf5bb7bdad1ef35c5a51 src/mistralai/client/models/jsonpatchremove.py: id: e472e5b752ec - last_write_checksum: sha1:2dec39f883b362968f8d55b9b7daef6fb40094e4 - pristine_git_object: 5bcedf879eae1921fd55bc76ba5b5532a2e9641f + last_write_checksum: sha1:ac7807ce84a39c9578ba8a4e5dd525db589a507c + pristine_git_object: 5e7533920736e34c1635fda0bddedd37084a517d src/mistralai/client/models/jsonpatchreplace.py: id: 816f9df2f3c9 - last_write_checksum: sha1:9448e1181ad7913305712966d0984ebad3a9dc4b - pristine_git_object: 3dd7aee65f0c4f0a2218762a9b9ea8cd571c406d + last_write_checksum: sha1:877aba781b00e07259f28042619a7132aecef2ec + pristine_git_object: f5d4a9428cb779b7655b4e9c82aeac512e651b7e src/mistralai/client/models/jsonpayloadresponse.py: id: ba3265f85453 - last_write_checksum: sha1:0c659a3bab8faea27b23bf827167601a968ce796 - pristine_git_object: 9de73d2c5162a15ab1dbd394a46d9e9fdaf8365c + last_write_checksum: sha1:aad4ec4f1a3cb1869a250b63964d106e599f0079 + pristine_git_object: 579423caff33f38fecc59c72785cd90b59804272 src/mistralai/client/models/jsonschema.py: id: e1fc1d8a434a - last_write_checksum: sha1:f6e3ddb37e55ff27b795389fce6d4f433e7d5639 - pristine_git_object: bc0bd6c41111937654fba20a16420b6867f7c92a + last_write_checksum: sha1:55f9114b84ad2d263fbf025e4b74366ad47af905 + pristine_git_object: bcd535a2af9bd00c6dafd7125610431348f69a4d src/mistralai/client/models/judge.py: id: d6adc687c2d9 - last_write_checksum: sha1:fec0539aab8eb11de3815317c1a54d3e86957ba0 - pristine_git_object: 036aabb710e1d96af1bf69d563032ab05567b909 + last_write_checksum: sha1:735a89209a9a4724b7b18c48afd97178490b7f9b + pristine_git_object: 234b4af19d80504943d98197bece07fe5cb6f305 src/mistralai/client/models/judge_conversation_v1_observability_judges_judge_id_live_judging_postop.py: id: a958f3e6b122 - last_write_checksum: sha1:21834ba5dc03705ebd02e5d449549cf1dcd2fd32 - pristine_git_object: 4f211dd3463eb2cbeffc67c22d17e43a083f9501 + last_write_checksum: sha1:76bb128732a95f55f0767f021d29906f089e82cc + pristine_git_object: 01ed30ad5ea11b2bac16c2353caf8d2c1fc77e47 src/mistralai/client/models/judge_dataset_record_v1_observability_dataset_records_dataset_record_id_live_judging_postop.py: id: 4749566fd16d - last_write_checksum: sha1:cc2201d706b884e41bd83333d4db37970cf7bcd5 - pristine_git_object: 4d54fa42aaad05d1deb44b16bd93a0eaa1948a1d + last_write_checksum: sha1:f5986be0c069f8e79fa0cf853b802dd3dd7f3aca + pristine_git_object: c3bcc617045930f3b1eaaf473a6f92829dc781f6 src/mistralai/client/models/judgeclassificationoutput.py: id: 683ae72d0efa - last_write_checksum: sha1:36cae71fa78777aad28bba3dacbfe931169fc5cc - pristine_git_object: aa799682d6a6cd360856525d174621a88e73f8bd + last_write_checksum: sha1:4155c5d3811090925e1aa19e659c8c6e7b8cc563 + pristine_git_object: ffe91383a62faa27a3895357adf0ec7ef6f3dc8e src/mistralai/client/models/judgeclassificationoutputoption.py: id: c238f17d786b - last_write_checksum: sha1:1adbac09caf15374b52b61f257d838db2e486690 - pristine_git_object: 64fad49fa2336b0cbaa69dac7493a18593021275 + last_write_checksum: sha1:ac46d69a64ad99013ceccdd80376ade82ee7edac + pristine_git_object: a197de76cdf634a0e59396c393ff115140877613 src/mistralai/client/models/judgeconversationrequest.py: id: b8bfdade89a2 - last_write_checksum: sha1:42873ec62a6e8f78beeeddc7c87b82b23fcb5532 - pristine_git_object: 2c93f7b7c2cb00f19eb3a7ce2cf3f5da76ba50af + last_write_checksum: sha1:325047c9b5fc23c262f8a256a624e163028d38fe + pristine_git_object: 2966b1abd96de2847ce654490a15ee64c1b45874 src/mistralai/client/models/judgedatasetrecordrequest.py: id: 9ad8915328dd - last_write_checksum: sha1:c37f9c158061e4d3c6c6eda2d7ee8a5d5e7f5afa - pristine_git_object: 11499067e594adae0510334e455b38b23b58ca20 + last_write_checksum: sha1:606991e1ff78a256c0c4d1219848ba70a1967502 + pristine_git_object: 4d95c4d72e0898bd9bbbf2dbe6969df0e45d7bb1 src/mistralai/client/models/judgedefinition.py: id: aeaee44c4839 - last_write_checksum: sha1:1c878005b0505377b13debca2d5aed29fb550953 - pristine_git_object: 6d50baffb028bd47bec09b314c29d4897963aa63 + last_write_checksum: sha1:2b710531d9d31def58df6782d929ba7606ba3195 + pristine_git_object: 586e4387da6d4c23d8935b47198e2ff3fda3162c src/mistralai/client/models/judgeoutput.py: id: 8c8099403e62 - last_write_checksum: sha1:7eee16a1cbff3978eca638e6d74ada983244d8ec - pristine_git_object: 2224a797049eb11cd05dde1376cab7fbdb779168 + last_write_checksum: sha1:fb27c41d7f65e31651a06b37b73f21b5992bb748 + pristine_git_object: 3d54d5a2b818b6ef3c3a8cde6c5141a81a049fc0 src/mistralai/client/models/judgeoutputtype.py: id: 3f07e1eb25f9 - last_write_checksum: sha1:35de2d9f5d03caa87d4a19cccf325a9fb67f543c - pristine_git_object: 4fa99498fb6a60e9d4d8358660eb0ecd57d34178 + last_write_checksum: sha1:bcd72ca489d7b680c71bf4bc92c30e10c7cb9847 + pristine_git_object: d9b614c6aa5d7113a73e1f2b25529cde921d4e8b src/mistralai/client/models/judgeregressionoutput.py: id: c61d451066dc - last_write_checksum: sha1:2dd3b0dc5c82a977bac095aa6c45c7067bcc187c - pristine_git_object: 9bb8f9c1283b3de89bbf8b859a79d27054ee6074 + last_write_checksum: sha1:2457f29b522f805ed8879519c2774af7dd1f6f07 + pristine_git_object: 185fe36b8c46a6f5c65cebc42f86b50450f93f02 src/mistralai/client/models/keywordarrayfielddefinition.py: id: 83bd65199124 - last_write_checksum: sha1:27d3086997d0c8ff0b850baf1c56b236e6cc3bdf - pristine_git_object: 305e505027c6d2537922fa3175b6ecf57bc69dc4 + last_write_checksum: sha1:d9c5706717c08a0b9fd452ba8ff81a321d932cd6 + pristine_git_object: 8fa5d91e8de54d539735c67a86f8dedb643032b9 src/mistralai/client/models/keywordfielddefinition.py: id: 8e7be2e1c4c1 - last_write_checksum: sha1:4f77c93efad74c4a816b84ef9108519f9e17d1d2 - pristine_git_object: 5661678147c0b2afd703f8c4a8f87febf3de6d30 + last_write_checksum: sha1:e41d66a9ed9660665fce6e73846f6aee4a6b07f0 + pristine_git_object: 9c1a2b29c5a3a4c40b1db545567c47d4e7f0daa5 src/mistralai/client/models/keywordretriever.py: id: 2512f4df7d0f - last_write_checksum: sha1:cfe3106f7b0f4f2199d0bf470179fa3a31edb699 - pristine_git_object: c3e0c73b8de22fee6f5eef74b171a8b577592afd + last_write_checksum: sha1:901267858b32a83f62f1042c5299ca3bebc9261d + pristine_git_object: 6b6711064f5bdf7beec24b7e5d550a486a91e8a9 src/mistralai/client/models/libraries_delete_v1op.py: id: b2e8bbd19baa - last_write_checksum: sha1:ba41496bc99040f7598659c5b037b955b7f6d385 - pristine_git_object: 893ab53b11672edd9cde175e68a80d89ff949cb6 + last_write_checksum: sha1:566db1febc40c73476af31a27201a208b64bc32a + pristine_git_object: fa447de067518abb355b958954ff9a3ee9b2cf6d src/mistralai/client/models/libraries_documents_delete_v1op.py: id: 81eb34382a3d - last_write_checksum: sha1:66d1c6ec5e2535b0db72a3beac65b25a1f2336d7 - pristine_git_object: 0495832efba33314f3cd28fe62759c6dac5ca706 + last_write_checksum: sha1:c7bd801e5f75d1716101721cd3e711be978cb7c5 + pristine_git_object: bc5ec6e5443b32d47e570c4f43c43827928a3e39 src/mistralai/client/models/libraries_documents_get_extracted_text_signed_url_v1op.py: id: a7417ebd6040 - last_write_checksum: sha1:030ca9fb7e10396e6b743ee644fe1a734e1df1f0 - pristine_git_object: 186baaed8346d106272fea2e4826587634b061bc + last_write_checksum: sha1:a298e22d9a68de87288419717b03273c1a26de6e + pristine_git_object: 24ed897d305cfccdc2b9717e214da901479cc70e src/mistralai/client/models/libraries_documents_get_signed_url_v1op.py: id: d4b7b47913ba - last_write_checksum: sha1:fdad7a6d3ae9a9c69009caf8207b284835675a9a - pristine_git_object: ebcf85d77ed6982d510ae95a6971e1d4b3ad56ca + last_write_checksum: sha1:0855bb39a09514fb5709bd3674eb5fcc618299f1 + pristine_git_object: 350c8e73992583b7890889c5ff252096a8df7fbd src/mistralai/client/models/libraries_documents_get_status_v1op.py: id: f314f73e909c - last_write_checksum: sha1:11d463eb328a1133658e8ff92340edc7f75923e4 - pristine_git_object: 1f4847874cdeff26caaf5fd16e0f8382834ecb2b + last_write_checksum: sha1:ca4679fbdc833b42e35b4c015ddf8434321d86eb + pristine_git_object: 92b077d3b5850985cac73ee880de7eab31a5b8fd src/mistralai/client/models/libraries_documents_get_text_content_v1op.py: id: 1ca4e0c41321 - last_write_checksum: sha1:b2fee3d9658ab1614f88ffcaf8bb19e6a7548ba6 - pristine_git_object: 3d2ad43d8cdc6336bb73c7911c7058115524fda4 + last_write_checksum: sha1:fdf45183d76efc3f920c856a3c3da6dda99294d5 + pristine_git_object: 5276792b7208a64cd5b8cdce68c7efc72c0db6f3 src/mistralai/client/models/libraries_documents_get_v1op.py: id: 26ff35f0c69d - last_write_checksum: sha1:e87e56e8fb9f7c11d61c805362db4755a81186b9 - pristine_git_object: 857dfbe60c57af8b0fa6655a049ed336d70fb941 + last_write_checksum: sha1:208b7ca22416295d27f51513e3fe58947e1549c7 + pristine_git_object: a67e687eaffebbee81654bbbb78ad00bcc28999c src/mistralai/client/models/libraries_documents_list_v1op.py: id: 756f26de3cbe - last_write_checksum: sha1:3c0fc8976932ac7c537a7a0183e87a6505a84336 - pristine_git_object: 57e2736b9994d071455b95bfe349c3bef60eac87 + last_write_checksum: sha1:e62473c323759ac040ce188fa60aa391905ccc39 + pristine_git_object: 60fc8c75d75df61bc57c75cd157e0ba271fb2179 src/mistralai/client/models/libraries_documents_patch_v1op.py: id: 31b2201bbfe2 - last_write_checksum: sha1:625739e50a05c7164436063994869e725ab48972 - pristine_git_object: 0ae4efaf7cc7a05f1150a266b8d10d52341ef32a + last_write_checksum: sha1:ad4b9dfcf32a75292aeebb929b76002a0afe96e7 + pristine_git_object: a28a61649d2438fb91e2a59a2d07c6a52f33f972 src/mistralai/client/models/libraries_documents_reprocess_v1op.py: id: dbbeb02fc336 - last_write_checksum: sha1:bd5013cb1581dd13642ce7edf1e701f5b0c967c4 - pristine_git_object: a2f9ba2a0465fb3a8eb3b9afbb41d813de348656 + last_write_checksum: sha1:516691f61c18e18b96738360a85acd34ba415ca0 + pristine_git_object: 8aee75522f7677e9f6fc49e2f8c5a75124db3dc7 src/mistralai/client/models/libraries_documents_update_v1op.py: id: 734ba6c19f5f - last_write_checksum: sha1:e12ca003680ff17523fe09438cd8f71d00ea081e - pristine_git_object: 7ad4231f72901b675d9af67c33364592c86be5ab + last_write_checksum: sha1:45b393c8891b85f1455fc37d76c7e205f5ea2b46 + pristine_git_object: 4460a1ccf952efbe04afaa437cf989bc3fe3ef24 src/mistralai/client/models/libraries_documents_upload_v1op.py: id: "744466971862" - last_write_checksum: sha1:9691ac41ecf986c9ccfad81423d367f96b10f4b7 - pristine_git_object: 388633d1c7e906803b711ef2bbf37656624515a9 + last_write_checksum: sha1:d6b085e01eac97f404a01e137413e159390c1382 + pristine_git_object: 18a5b780239f4f4aa0345c4d218e2f4959073eda src/mistralai/client/models/libraries_get_v1op.py: id: d493f39e7ebb - last_write_checksum: sha1:25b3c2c1040cd73ebd6b988b8b27708831affefd - pristine_git_object: 7a51d6053aa2cf2e6524a80487fe9549eec3dfa1 + last_write_checksum: sha1:d61166f6c399516d905c7376fabe56c102265747 + pristine_git_object: 83ae377d245e5c93a4a9118dd049a9096e9f3074 src/mistralai/client/models/libraries_list_v1op.py: id: 2d9b1b4deeb0 - last_write_checksum: sha1:f795b232901a21cc143a77f2d32818b039cae814 - pristine_git_object: 1d5a86cb9a0e161878ad7886c594a0477c02ee2e + last_write_checksum: sha1:b7bfad6c1d063da89b9b1c9f6efc5d1e5db8ecea + pristine_git_object: 851e326ff5687cefe4bda476768d3898735134b8 src/mistralai/client/models/libraries_patch_v1op.py: id: 2b189be3c57a - last_write_checksum: sha1:6df3bb4ff0c163061963bbf1db9a8c239bfbaa68 - pristine_git_object: 2fbaea6755cad1b0106320a9a058fb02c48edcc6 + last_write_checksum: sha1:d3cdced1067de19afc5343228286d9b397186839 + pristine_git_object: 23713b17116e5f7c8b3f8267c793c8c6205fa6f5 src/mistralai/client/models/libraries_share_create_v1op.py: id: feaacfd46dd3 - last_write_checksum: sha1:cdb7e60f1aceb2c7aa54fe2b9ba5dafc2bb70995 - pristine_git_object: 9751045c01e389ad5b77891b8a311dc0a9e04e09 + last_write_checksum: sha1:d49c6ef6f719907e607ae8e7baaff662036f4efd + pristine_git_object: bdbcbca9b4b8278843773a85a52c5a3e35f4708b src/mistralai/client/models/libraries_share_delete_v1op.py: id: 7f3a679ca384 - last_write_checksum: sha1:897857c11cf0c14a0a81ef122dec4395dc16c0ce - pristine_git_object: eca3f86a6135e702f8cb6412a5f215dac2335a8f + last_write_checksum: sha1:3ac568a5e09a6c74bc6779cd9c0bc3df36b24785 + pristine_git_object: 620527d50c15f5b14307e7735b429fe194469ed5 src/mistralai/client/models/libraries_share_list_v1op.py: id: 8f0af379bf1c - last_write_checksum: sha1:d27e0360c504576c315350fc226d371da455a598 - pristine_git_object: 895a259059283a17cc7558e3cc03022e2d4dd259 + last_write_checksum: sha1:3d764be7232233229dc79079101270ace179e65f + pristine_git_object: fd5d9d33ce4b757b369d191621a727f71b5d2e35 src/mistralai/client/models/libraries_update_v1op.py: id: 92c8d4132252 - last_write_checksum: sha1:a252f68e65cdb47e27d7059f256381daf2847344 - pristine_git_object: 54b0ab708c665ccb841b1c8d0f2748c390850506 + last_write_checksum: sha1:85166c00cf40b2d8de5af2e4c5e16697ce6d1dff + pristine_git_object: bc69710e538cf3de09b3e575babba19ce89f1040 src/mistralai/client/models/library.py: id: 028a34b08f9c - last_write_checksum: sha1:b15f423354d9f938b6f39cc8ab19095f3203d74f - pristine_git_object: 4ec8604c50da4154796b4267bb639cc4d377f6e6 + last_write_checksum: sha1:1db9d7db2cbb6cf185b5c1efc59a9805f5c1b6e9 + pristine_git_object: ee64c75284ed534e3aadab13e7069337bbeadc84 src/mistralai/client/models/list_assignable_service_account_roles_v1_service_accounts_assignable_roles_getop.py: id: f2feb8e34f68 - last_write_checksum: sha1:2aeb9ace0b70a6ed6fb85c5cd837734e505c0198 - pristine_git_object: 0b0c7c95823aacac5780bb819dc883e4cd75f28d + last_write_checksum: sha1:665057e68d11f3e7b4f2844f7b0e5e95d4c7c4c1 + pristine_git_object: 71c9d24c8fdd3cf92c654c84489be07b15e95aea src/mistralai/client/models/list_deployment_workers_v1_workflows_deployments_name_workers_getop.py: id: 6f9aeac1e00a - last_write_checksum: sha1:d7e819b3849b1735e22035d5ae7ac0d6b67ae0d0 - pristine_git_object: 8e499fe8a0f9a1a50f9f2bf0bfc530675ee7b9dc + last_write_checksum: sha1:96101e7489e8ddd60106ee82ea3fc2812ebb7260 + pristine_git_object: fe6cacacc7d4d64809ce5ef61fc7068706523710 src/mistralai/client/models/list_deployments_v1_workflows_deployments_getop.py: id: 0c6586ffcab0 - last_write_checksum: sha1:d2ea41de7d24933f032a95ebab7d2611cbadac06 - pristine_git_object: e2dde7b449646d0c4739114836fc807c08b6e7d7 + last_write_checksum: sha1:d252c715381c9f0fb071810efe7e51d39c057c2a + pristine_git_object: 68e4ea96b415b71fcb4ac6cbcddae2f9b76aba08 src/mistralai/client/models/list_indexes_v1_rag_managed_indexes_getop.py: id: ee93451dcb1d - last_write_checksum: sha1:a717efd3b83a330c6827a69ff28a899bc53f3c8d - pristine_git_object: 2650ffe6e9ea43c472492bd4fd1d4d42f0e61096 + last_write_checksum: sha1:d66169b5bed71675b2279af518ee44bdb997fbba + pristine_git_object: 56139419d55f5f9328cd7bacc6ddd93020b4a193 src/mistralai/client/models/list_models_v1_models_getop.py: id: 1843a7aa68e5 - last_write_checksum: sha1:018c32019aab6c4995285ace8abba54d88f41c0b - pristine_git_object: 1a42d9b0828a2e826948641a7b8be3e5d80e94db + last_write_checksum: sha1:264ab0fd7e051c57476db99a77ee7d7a83c2af2f + pristine_git_object: ed3eb2fc16143e414c9bbb01b372faa642f9d086 src/mistralai/client/models/list_pipeline_configs_v1_observability_pipeline_configs_getop.py: id: 3c9d91b81d59 - last_write_checksum: sha1:fc7441d52fdeb1ba75accebcaa810a931c4b105f - pristine_git_object: 0cf3469b6bd189d8bb837b7343c64b4e5a5752b3 + last_write_checksum: sha1:5c6520504a7b74ac4c3e02894d1e9b9a52719388 + pristine_git_object: aa39fa9cbb957384d00d4babe10975e53a00e2c0 + src/mistralai/client/models/list_pipelines_v1_observability_pipelines_getop.py: + id: 6ed3acb08e52 + last_write_checksum: sha1:6c8520d14a712c78a2219f9b2f0bf763b0a82195 + pristine_git_object: 249ac6364304719c32bfa149eb790bbfe05a063f src/mistralai/client/models/list_runs_v1_workflows_runs_getop.py: id: 2f1b225158c3 - last_write_checksum: sha1:a86d9cbc78d66b12a20dc982eaf9dc17244bfad7 - pristine_git_object: 48f50bd49c1338880f2bdea1b62e5caeca33fdb9 + last_write_checksum: sha1:564253a403f0caa0ddf05f247d355b0f9054db75 + pristine_git_object: a46b9123e4200004540dff6379fff13ccd648e69 src/mistralai/client/models/list_service_account_roles_v1_service_accounts_service_account_id_roles_getop.py: id: 60dd5924f302 - last_write_checksum: sha1:678111e97dfde85f1bb415b49dfdb50557fbeeff - pristine_git_object: 156ca2575e43895baeec39e2a463d8a239374019 + last_write_checksum: sha1:034e12a6b3e9b65b996e963bde8ed63748671525 + pristine_git_object: 3148f4c13db9327fa1032ae8e4127f114ab7f4a8 src/mistralai/client/models/list_service_accounts_v1_service_accounts_getop.py: id: 6d3ece77abbd - last_write_checksum: sha1:beca2a61f4c0e82c0a570d68194aa756594840cb - pristine_git_object: 08443599a711964f1f8b790a3b285c769673391c + last_write_checksum: sha1:2d55b61197af920c0eda1a7c39f356498019d346 + pristine_git_object: db35a10e509e69eaca1cfd27cb15a4ab28c82582 src/mistralai/client/models/list_voices_v1_audio_voices_getop.py: id: 6b3ce5be1294 - last_write_checksum: sha1:f11a5135ce79d1913db87f9db7d05b4266630b20 - pristine_git_object: 30161b334339ffb310506b8ab87c40990478b483 + last_write_checksum: sha1:3547a866b767bfec893fc926a971aefc8ff5442c + pristine_git_object: b2b6fb33806499ad9d9ed422da665841da87af3f src/mistralai/client/models/listassignableserviceaccountrolesresponse.py: id: 1f3cd1889897 - last_write_checksum: sha1:76e1b55f5181924ad75715fef6c82ab50ab9f20f - pristine_git_object: 80d9ff3f05726ea99622ce7eee4cfaf969a15a29 + last_write_checksum: sha1:36b08017ec7935b23289363c0f10e09bb986b724 + pristine_git_object: 6f68411eae61fd3fd7e63728a4c10fcb5585b281 src/mistralai/client/models/listbatchjobsresponse.py: id: 99d94c86a871 - last_write_checksum: sha1:01e5fd232c654b3c4a9d86c09f89cfef6f51805f - pristine_git_object: 77265322df4e5b13c7e2efaa9f7e3e2554387893 + last_write_checksum: sha1:dccad6aa792d6e775f1f18b61760a88d416bf7ee + pristine_git_object: 0c34c25bfe24a9785feb50e2aa6ad8d3c344ef7d src/mistralai/client/models/listdatasetimporttasksresponse.py: id: f635c1a3d02b - last_write_checksum: sha1:5df6977a3511d0f03c2a550d266a3ed6115d5a0e - pristine_git_object: 15bea396f3dfea85101efb4b8ef7fa19efbf8770 + last_write_checksum: sha1:27e9eb340e46e2e105ba32ac0a95311e0940a30d + pristine_git_object: 5839e52b9eabc1d974dca502df1fc3eb546c53f4 src/mistralai/client/models/listdatasetrecordsresponse.py: id: 13b97e8095c4 - last_write_checksum: sha1:02ed64f409f2d266685baaee0d81fc921a522303 - pristine_git_object: 2341577a0847bd02d2f458db3c47d9502dfbfd0d + last_write_checksum: sha1:3a0a1d6020bd467bfa987ca60afccf127d21c3e9 + pristine_git_object: 7abfa9ac8d79113e6317c31cf78c4977404ebb90 src/mistralai/client/models/listdatasetsresponse.py: id: e18de4849423 - last_write_checksum: sha1:746cbde66531f4ec9f526d28a3e4206016dc795b - pristine_git_object: a35e9a73e4e7c63fd5cbd85cb1c51c4804249254 + last_write_checksum: sha1:4428ee4aad8852326a7537817fb91dca2541a861 + pristine_git_object: cc5aeac7fcd1954f18672cb52326cf6c2eb16fbb src/mistralai/client/models/listdocumentsresponse.py: id: f593d8e66833 - last_write_checksum: sha1:0d842168856056ff681b2a1c36b87df8e0d96570 - pristine_git_object: c48b8c051ad0d1fb4aed8396697e57e782be5a40 + last_write_checksum: sha1:bc59d07fe464777233f43af2ed780d3057fb3efd + pristine_git_object: 35daaf7cd0d2ab1b2d7c5f62cac77d7680d98940 src/mistralai/client/models/listfilesresponse.py: id: 85d6d24c1a19 - last_write_checksum: sha1:c47c2d220c41e4b467c25dfe2e94546a5b452138 - pristine_git_object: 37787dae3bc4016988b1f1edfdfeac4b2d4b0000 + last_write_checksum: sha1:d12114070cc5778fb3752d3a9a699ec86a8e9f69 + pristine_git_object: ede90f5f9f55273b4206633032c8b77d696c73e3 src/mistralai/client/models/listjudgesresponse.py: id: db389a8abc34 - last_write_checksum: sha1:4ba57c7b7966b7eb81472d8ecc0b5ce726458360 - pristine_git_object: 0284cb99375d1205339a5de99a527c212ac2dfbd + last_write_checksum: sha1:5073679a859c59a8dd111cc57efc671a121b8041 + pristine_git_object: 5ecaea1ede7346aafae4ad63006cefb8e43e8bd0 src/mistralai/client/models/listlibrariesresponse.py: id: df556a618365 - last_write_checksum: sha1:7cc4c035b76fcf43410e26161b0fba9a9ea82b6e - pristine_git_object: dc3b3afc2fb383056a447fd6d7505301cc8de6a4 + last_write_checksum: sha1:159954d7ac001b2d935f440133832c442456b800 + pristine_git_object: 6be6f94ba288e92419dbf2ebf8bac9d26af47a5c src/mistralai/client/models/listmanagedindexesresponse.py: id: cb0ab4ccae1b - last_write_checksum: sha1:d6e073c104ce4f026e62a7f91f42732f4c3c8f85 - pristine_git_object: 8b5a9348b10aa28b79eed88c4c0c261f88589139 + last_write_checksum: sha1:d59af5e7710408fc2ea9dc2a217c235b3aa96145 + pristine_git_object: a6fd23da2a96d7b4da0c6225e137438b305ba9d5 src/mistralai/client/models/listorganizationsresponse.py: id: 521126214ce3 - last_write_checksum: sha1:1134cdb29bc2fd83c74ad578cc4a7261178c805c - pristine_git_object: 2c1f9682db9631dc842f05b4f4eb100bfa97758d + last_write_checksum: sha1:49d29e42654744c54e7dce1f9b44220ed9a6517e + pristine_git_object: 48d2be5fb7f50d8e3b57fd8db375870ff62a2be1 src/mistralai/client/models/listpromptsresponse.py: id: 45e30bdd1633 - last_write_checksum: sha1:899b3455c54802beb8df6004a4a0759426004678 - pristine_git_object: 702832f1a6d5b25516ebcd5ccf25861f07d98742 + last_write_checksum: sha1:b6f8bee86e5654e97a5c3e622f57f9e77064fdef + pristine_git_object: 5e02c0ff96835c1efc2a8434d6ba4c12138e68a9 src/mistralai/client/models/listpromptversionsresponse.py: id: d5efd40c8c73 - last_write_checksum: sha1:6f64b9fea96951d3ebfc095f7fe2222dda3f74dd - pristine_git_object: 90e9aaf83fef821575b73259b997dffd0d90af64 + last_write_checksum: sha1:212f35ba08a931d4bd146f86446b9b227f3b32ef + pristine_git_object: 2483f899203c9b6278f2618a24ab8f6e9226bafb src/mistralai/client/models/listserviceaccountrolesresponse.py: id: 8eec21306b3d - last_write_checksum: sha1:34aa8989952e2b48ede47ab67c76329cbd901eee - pristine_git_object: 1686fbd683ff83f66ec0090d43d8323fbcf36dc5 + last_write_checksum: sha1:b79064a95c5e2ae7ee9497a7aa8081f742d453af + pristine_git_object: a8d67dd03b50ce4382bef5217ce1f1e3e0962d4a src/mistralai/client/models/listserviceaccountsresponse.py: id: 76674c1e02eb - last_write_checksum: sha1:f44a75cd82589933ed253b32e69402b1c5a53286 - pristine_git_object: 26477575f39700d9e4e017e9f5d03168fcb56cfa + last_write_checksum: sha1:3e3dd777566c13c41e5d731fe0474bc58261dd23 + pristine_git_object: 887f0c52969ee98d19277f3f1b71372c131c6fd4 src/mistralai/client/models/listsharingresponse.py: id: 487c6addf089 - last_write_checksum: sha1:cebb9e6ab7db8c067a3403211765ebfffec0190a - pristine_git_object: f3e6dc8714311989d1e6c7275c8944e228f3f0c5 + last_write_checksum: sha1:00457b6098aeaf0ddab34e598de4e806872c4baa + pristine_git_object: 76f3e71ebe279c814ef160e9f3d7bc69ea58c932 src/mistralai/client/models/listskillsresponse.py: id: 8bb718493f49 - last_write_checksum: sha1:625d6ea3c740fff98c28afbb25ad7de58133cce1 - pristine_git_object: 90e2eefd69a4a86de88be258867dbcd7885a47f9 + last_write_checksum: sha1:6d48855a6cc1eef7f8a388cd655f6886766d3543 + pristine_git_object: 66e77c3a1bd7b8d11013052bd348bf46e52900d9 src/mistralai/client/models/listskillversionsresponse.py: id: 7d5c6bc92aab - last_write_checksum: sha1:e6ff60d8fc88037b411609920e816cd1830c6a57 - pristine_git_object: 8c501d40dadfeef8063464e9470e68ba30b5d398 + last_write_checksum: sha1:cb703b43a6f1014e5ff860e59ee77ba35857489a + pristine_git_object: 76224353d175696cc0c2921a3aa4012542f60499 src/mistralai/client/models/listsortdirection.py: id: d0c804031d6c - last_write_checksum: sha1:a7d04ae4ecb7e7d7211d15269ebc139d830204a7 - pristine_git_object: fd7e3e4011b59d5f0cf542dbd105de1b08581d6e + last_write_checksum: sha1:d92034b014b8c45eb1ce73d15904b21f0bf04e34 + pristine_git_object: 567b0d1db5d55d582a69ca56faba93180ffb8d87 src/mistralai/client/models/listsortfield.py: id: 3c1f2de4fc89 - last_write_checksum: sha1:1dc4a77cc863192712f0aae606983da6987e938a - pristine_git_object: 9b3019b234418146e868ed18876e6548afa3eee8 + last_write_checksum: sha1:5b6c4c707a96514309de9a36e6d615715cd1aaf5 + pristine_git_object: cf7738a4a00138abec3b0b806766bfd21f6097d7 src/mistralai/client/models/listworkfloweventresponse.py: id: 20a423148117 - last_write_checksum: sha1:bdf75230150022794f0268453c9f59952580c524 - pristine_git_object: be99ccea41922c73c7209fbc78393c7ae47e1a3e + last_write_checksum: sha1:8329ac94e2ff3c8df976f2e8d3777d613cda3f6e + pristine_git_object: cb5d9b069a2d1a7157377426454cd9d508493621 src/mistralai/client/models/listworkspacesresponse.py: id: 42d87f615991 - last_write_checksum: sha1:1abe400864959173bd325e7fa0426522ab0b15c2 - pristine_git_object: 7ad77640427851506f9265eaf69822a76e9eeb45 + last_write_checksum: sha1:521ecb0a85473d659d054a7bb4c76605fed1eb60 + pristine_git_object: fcc7de9ad6720698ab15c5b429567875620d0a2a src/mistralai/client/models/locationtype.py: id: 72a73946b20e - last_write_checksum: sha1:94cc8f7569401b43e03267e53d9634a3384980a5 - pristine_git_object: dd66eb0eeb54ccc575b9412c6e01a5507384dc15 + last_write_checksum: sha1:6076c74e7d67301de8be0c0b1dd3bcd90f630c9d + pristine_git_object: 7ddfa09fcfb14f0c215c23fc1c188f180cfb6199 src/mistralai/client/models/logicalexpression.py: id: 48d46c10b453 - last_write_checksum: sha1:4be5e5411b84d61ed53b72140e2914b94902995f - pristine_git_object: 1b87693c0db77be8767af91cc72e80d58a342dab + last_write_checksum: sha1:292d940b5326091eb573b7a8f31163295ab8e04b + pristine_git_object: c92c62bac8b12368fa0c4eab8bca061cb4453994 src/mistralai/client/models/logsrequest.py: id: 2972072d4ad2 - last_write_checksum: sha1:5aca3a318b1fddc96802455c3c0b53d2207b2539 - pristine_git_object: e52d471295e16a81ffcfb96c6758a315f22670b9 + last_write_checksum: sha1:15f31ef5b366d6b69f102f638857c6fd9537319f + pristine_git_object: f21fdd11c3d9a83ee189bc4e3ed3ef9d8741d457 src/mistralai/client/models/longarrayfielddefinition.py: id: 8c53343cd75b - last_write_checksum: sha1:adcdb72a5a59233749a2811b19cfaa69bab5270c - pristine_git_object: a9cc96839635a45325e366a8586a2f06b85d0e84 + last_write_checksum: sha1:703604f07d50c3cf5875c5d26373598cf415f17d + pristine_git_object: ab27d59d872912d70721ab524a6541e80627d9c2 src/mistralai/client/models/longfielddefinition.py: id: eceec516fcd6 - last_write_checksum: sha1:c9ad8d100aaf112a220bc5a562509a23e20c31e0 - pristine_git_object: 75a8b40155e31ca84fca300ddae49a1631b024ff + last_write_checksum: sha1:444c730b37c1c6364ff05ebcd227533d2f4a82c7 + pristine_git_object: 3e9119c313f44f726fadbdb06ae920cca435996d src/mistralai/client/models/manageddeploymentresponse.py: id: bc7d5ee5c606 - last_write_checksum: sha1:953e8882952dcef2ef3ea45a97f0cd5aa60343c1 - pristine_git_object: 6f053670957e2dca6ab559d4aa431c563f2fa05c + last_write_checksum: sha1:46f8af42193377e255e1cc5c494c86d89ce2a64b + pristine_git_object: e4d2da4cc6fb950bb96417bde94f0cebe5fc6c03 src/mistralai/client/models/managedindexconfig.py: id: 03d254f4ddac - last_write_checksum: sha1:82999d13b30d288cfb31e95c9aa64252310309c7 - pristine_git_object: c987efa0cfa7470aeef718b8aa72a3074631285f + last_write_checksum: sha1:6d37a6f37d275920ca0b19c028252d04308873ed + pristine_git_object: 52eef7e6f5ecd59f59bc3ad4fe96ec42dd0428d0 src/mistralai/client/models/managedindexfields.py: id: f475f14af2cf - last_write_checksum: sha1:a5f999ded43cd8882ddde305846791ef54cc4985 - pristine_git_object: fe06f81f313f52f7b7084d163e497068ddb8bc72 + last_write_checksum: sha1:bd9babe863497ce45d6fc5e1a0a30191001fa296 + pristine_git_object: 67896a934357088b805422a8935d39082768b003 src/mistralai/client/models/managedindexresponse.py: id: 7d6f0bf30868 - last_write_checksum: sha1:38ced9d8aabc63c58e93569308e003bd092519e1 - pristine_git_object: 11c745f2b74f967c03d1ec21675938927b21c7d2 + last_write_checksum: sha1:75b6dc974fd30ecb046726fd0835754764c9cdec + pristine_git_object: 9c184516ff3ff5a6fb8275def135d122331d1199 src/mistralai/client/models/managedindexstatus.py: id: 9ceb11b0dede - last_write_checksum: sha1:91e37287f555c688496baa89eeeab239a8c33aec - pristine_git_object: ea7378d646310f694df2b9ea086d758fe293fd13 + last_write_checksum: sha1:c219bdd4f89f7dd4f33eeaddbad77239828567d1 + pristine_git_object: 436cb5728ef0db88b169775d8fe7b05c6fed113c src/mistralai/client/models/mcpconnector.py: id: 94c7ad9e3ab2 - last_write_checksum: sha1:b90ae35e5f3ce69c6d4ba4d1dd86f22465e99ed1 - pristine_git_object: c007bbcc8d31ff7619ba6d731b21d4ea93b02955 + last_write_checksum: sha1:1c0bd7954278a50930a7d178598ae142383dcd21 + pristine_git_object: 455baad7c1b6e420a1b410dd7dc1fbd210c56eb8 src/mistralai/client/models/mcpprompt.py: id: eac4133413b2 - last_write_checksum: sha1:003b0a3bf0f7af4db962697e1604510710709983 - pristine_git_object: fd5fb0d87df899d59d59aa60b2d8becd8a76610b + last_write_checksum: sha1:634a08d1f0a8c114b2d350917e8c1b1b645c4515 + pristine_git_object: 486ae318e8cac772fabed9fd987812ca799d4045 src/mistralai/client/models/mcpresource.py: id: 4922063d1d29 - last_write_checksum: sha1:0544a1c3fd247ea67bbc7924700ce9255252dffe - pristine_git_object: 77df58571236b984cc69580f930ac646af44f8dd + last_write_checksum: sha1:c33791211167351c4fa8ffa98561b31366391bfc + pristine_git_object: 1b1d1567945be85522d3932aeb147b4ba190cc82 src/mistralai/client/models/mcpserverauthenticationrequirement.py: id: 688772457c1d - last_write_checksum: sha1:befc1fa9206fa19cd320977a89eba6d96ef7bf54 - pristine_git_object: 280315a719d6f5a8183db03b7235871437b467f9 + last_write_checksum: sha1:edae80fbf1ee216fc524bab6e1ef5c02a1ada51f + pristine_git_object: a573fe51f7ad01b893872787e99e0d422aa043a4 src/mistralai/client/models/mcpservercard.py: id: 3d8e787f97f3 - last_write_checksum: sha1:2b128e9f9d59c5305b4eb553b06805aab2ffd04b - pristine_git_object: 9ff2309cd00644c6f1772ffde240be4926ea5f5f + last_write_checksum: sha1:a9ff1d9a063b7a2411623f730164862f2b27535d + pristine_git_object: db7a45e9d2030c844e6b5023ee73be1df964109f src/mistralai/client/models/mcpservercardmeta.py: id: 0f095765c6aa - last_write_checksum: sha1:34c452143cdda5cfc07b165f6c00bc055c308eb6 - pristine_git_object: daf592f9dc9bece6cefc5a5d3cb2ca5b82bbecae + last_write_checksum: sha1:11405f8ccfe388500f1b14a975ef32a0cc0465d0 + pristine_git_object: 912eeea4314577495212cf4a1dce64092b287fc4 src/mistralai/client/models/mcpservercardtool.py: id: 9e4300b5c045 - last_write_checksum: sha1:08485fcff64c2959689558b20ba594a2536b4dfa - pristine_git_object: 44429c8384df69bfbbc0b88ac301174c7cadef54 + last_write_checksum: sha1:b5633809df72da1a293dbc726bb79cd44545f703 + pristine_git_object: 3751bbe917f32bb17ced01553fac81eba213853d src/mistralai/client/models/mcpservericon.py: id: a5b508a322d7 - last_write_checksum: sha1:0dd9bac0684864bf6264ddded7f27c8c88b804f5 - pristine_git_object: 293ab37505a1098241631dd83435a0e91d073551 + last_write_checksum: sha1:57f7cc7e115b67f0fe67475fc26fc37e89e27683 + pristine_git_object: 87198262c3b15f8887dbbb62db4190fe057fa7e6 src/mistralai/client/models/mcpserverremote.py: id: b20e4512dbe2 - last_write_checksum: sha1:93a620a8c955a788e554453a19bbbcdbfcc7f7d0 - pristine_git_object: 9099207c8e71c1b643641599e2a135a21ba4017a + last_write_checksum: sha1:c2f423074194c104153616843f2c8cd39c9a34d9 + pristine_git_object: 8a5d548beb064882847841e8a5876c16ab010fa2 src/mistralai/client/models/mcpserverremoteheader.py: id: adaf8d89cbcb - last_write_checksum: sha1:5bf69acdb3aedc19f151d898579d951129c252ca - pristine_git_object: efd1c1fd6c8e896c617ef73d06379a5cafd9aca9 + last_write_checksum: sha1:ceb252cd6511842f1eb38bb8ddc7a5d715c5f5cd + pristine_git_object: 68022b8b6080bc3a9e5b8bf6106dbfb2ede0fa8c src/mistralai/client/models/mcpserverrepository.py: id: 431ce897e113 - last_write_checksum: sha1:670c22c827a6ade10a46f69a21efa01b96cf1b25 - pristine_git_object: eb564992db641642325f55c68cce7355c393d58d + last_write_checksum: sha1:a35becfd96f4fa30b01cfc9e0f166bfe2acd2d86 + pristine_git_object: 440e014486fd408f9721ffeb7042597125c9f2f2 src/mistralai/client/models/mcptool.py: id: 5a696c8478cb - last_write_checksum: sha1:c4b180a023664313dea583377b79bf53f0f93262 - pristine_git_object: 908ff8ce20773a4ca1fd80e47a588acc9ba401af + last_write_checksum: sha1:b40dff70fd5d68fcc9613d8d630cac5232310e3e + pristine_git_object: ade245da550448d03de265a578d40b25c0ed3a83 src/mistralai/client/models/mcptoolmeta.py: id: 07cf1c0762c9 - last_write_checksum: sha1:01af35e36f16d4ab4318633b6d773550c8403108 - pristine_git_object: edbf39a9b4c066ea495471cf6ff21b08d8a390a6 + last_write_checksum: sha1:d89038066e6ceafbedc1f6bda949efa01aa3b824 + pristine_git_object: 325f676bfc2eccdfd12d6e19cd4fdb97bf9d46d6 src/mistralai/client/models/mcpuitoolmeta.py: id: 7c54fb6157a9 - last_write_checksum: sha1:a115ada5e6c22925919160a88a8358c16129bce2 - pristine_git_object: 287192a67a4fe1c22a209996db9b9e8df1a93359 + last_write_checksum: sha1:e56b1cc8b09a50ab5e64e9d6b750dacccf0813f7 + pristine_git_object: b2581d53ec5fcc18be748159c11ea40a5639b428 src/mistralai/client/models/messageentries.py: id: e13f9009902b - last_write_checksum: sha1:43aebdc9eaecc8341298dc6b281d0d57edf4e9e6 - pristine_git_object: a95098e01843fe3b4087319881967dc42c6e4fef + last_write_checksum: sha1:7c2503f4a1be5e5dde5640dd7413fed06aee09b4 + pristine_git_object: 9b1706dee5fbb5cae18674708a1571b187bf0576 src/mistralai/client/models/messageinputcontentchunks.py: id: 01025c12866a - last_write_checksum: sha1:9eab6d7734dcd4bf9da5222c1927f5f40ef45db0 - pristine_git_object: 63cf14e7fcbc7c3969220b4f07109473b246bf49 + last_write_checksum: sha1:740e82b72d5472f0cc967e745c07393e2df8ae38 + pristine_git_object: e90d8aa0317e553bfc0cceb4a356cf9994ecfb60 src/mistralai/client/models/messageinputentry.py: id: c0a4b5179095 - last_write_checksum: sha1:715be926eadfd33538ac4241becd803411126479 - pristine_git_object: be271e317c5de4c52c83fc1c1091eef696e48458 + last_write_checksum: sha1:c20e353bf3c35d367ad62bd581020be26b9ddd9a + pristine_git_object: fc8fe2d784345162091f2b6aa10008e809c2d6d8 src/mistralai/client/models/messageoutputcontentchunks.py: id: 2ed248515035 - last_write_checksum: sha1:df4ef4d17ce48df271ff2b8cab297ae305aa08ec - pristine_git_object: def7a4d27cd3d1479864a1d6af19e89bd57bff70 + last_write_checksum: sha1:f239151ae206f6e82ee3096d357ff33cf9a08138 + pristine_git_object: 136a7608e7e2a612d48271a7c257e2bb383584f3 src/mistralai/client/models/messageoutputentry.py: id: a07577d2268d - last_write_checksum: sha1:ceee2327568213ee455a42c07a5be6b64469b384 - pristine_git_object: fd683ad31afb5765535d87affc9ef2011c16d574 + last_write_checksum: sha1:c06b1ef737ab11ac4d17b6c1da5042c3ac40a82c + pristine_git_object: 3210d9acea57671f7b03a3060b796235ba5d9ce1 src/mistralai/client/models/messageoutputevent.py: id: a2bbf63615c6 - last_write_checksum: sha1:7081a6aa27f0893b5628f16871bb1ae5dc23f2be - pristine_git_object: 8f5ecd4363fe23e96127bc5ffdd534f7c500496b + last_write_checksum: sha1:ee794e7c0d7cb81108e3ecb35112e26ea26b69f7 + pristine_git_object: 513809176bb070434dfcb1b7cb8d3df5f61aa95e src/mistralai/client/models/messageresponse.py: id: 6b388bc155dd - last_write_checksum: sha1:14ce5842084a2086505dd80eaa6200638a278000 - pristine_git_object: c8fbdff77b3464b630b0cd18f25d9179c5ff9eca + last_write_checksum: sha1:668d73bde9650a7642fd71c61b7383cb9be8abf6 + pristine_git_object: 42fb7b7fcc14ec779408bbcbce2a2151ad7536f5 src/mistralai/client/models/messagetokens.py: id: e2a5171d27c5 - last_write_checksum: sha1:43a2e057d01c19060951f085a6582c3b2eb5a3df - pristine_git_object: a3864640a302f2b1f2ddac9c719689e5190e501b + last_write_checksum: sha1:af37f98ca55f6ba5373ed538e68f88e1e9f3e612 + pristine_git_object: 7326311b6d45c56cbc6c2c513e27826a3e2b943e src/mistralai/client/models/metricaggregation.py: id: d83c8202faad - last_write_checksum: sha1:40101cc7ab13ece5b0a01c3558ffde92cf769ea2 - pristine_git_object: 7a26fbbdb6bd0e61c87bd3bf59505d259ef19a48 + last_write_checksum: sha1:f3c44e39baf3addaa26b9c1fe1abb40e18bbd4a8 + pristine_git_object: d23ae3482cdc9e128fe459c4463fc46994bb725c src/mistralai/client/models/metricdefinition.py: id: 37663cc0cc75 - last_write_checksum: sha1:da6252f4b985e7a38d6baddeac2a927d3adee0f9 - pristine_git_object: e6c9504144c09878315a4134465c06d6e358fcd0 + last_write_checksum: sha1:d8b654ee4d25b3cf57869f1b16d3d44747bf30f2 + pristine_git_object: a10565d4f933c94bdf8b6e1c065f6813a728fbfe src/mistralai/client/models/mistralembeddingmodel.py: id: 455e90b5dcfa - last_write_checksum: sha1:36e2ca4206fcd45f6b157bcbc3cd705db430d067 - pristine_git_object: 24f7c64630613b375c42dcdd1f031d9911898e04 + last_write_checksum: sha1:32d4d001ca50693241e6f89decca43fd3d1b3df0 + pristine_git_object: 8a57f9e193b5168103d1c878de0624334719e31f src/mistralai/client/models/mistralpromptmode.py: id: 95abc4ec799a - last_write_checksum: sha1:a1417b987bb34daeb73ca4e015c085814e6c8ad2 - pristine_git_object: 9b91323e7545d636308064085ca16fc554eac904 + last_write_checksum: sha1:ed0b87853d373d830b6572cbdf99d64f167b1d48 + pristine_git_object: 7008fc055bd1031096b7a486a17bf9a5b7841a4c src/mistralai/client/models/modelcapabilities.py: id: 64d8a422ea29 - last_write_checksum: sha1:d90442f8c60f5a1b4142581197ad2cd0bbd24bb3 - pristine_git_object: 04e58ad325add88dd74bcf88b93c4ac91d96f62f + last_write_checksum: sha1:e7b6b14e3e7268d06e2a5b42a35ab350cc403790 + pristine_git_object: 81ab0ed025dd10999f6f23fba7580cbd2774189f src/mistralai/client/models/modelconversation.py: id: fea0a651f888 - last_write_checksum: sha1:46ed83726fd34517bf05bf6fc1204a0134c38a06 - pristine_git_object: 72ca957f0eb33dfdfad8fb8074f93b066868f074 + last_write_checksum: sha1:66eda65b4f4d60a5d6fe1a4198f0d6a8ecb5a529 + pristine_git_object: e878242c9e82aab7811f1c6e7d2e7df5c7e44964 src/mistralai/client/models/modellist.py: id: 00693c7eec60 - last_write_checksum: sha1:fedfe929f37d6d81248f8f2d6004454aaa35145f - pristine_git_object: a6020100124b5c6493cd1014bf576c439537502e + last_write_checksum: sha1:a1a8c702a5ead1858bb9391100c7373cb7d6c14d + pristine_git_object: d4236a3bd7ec46a271b12651335ae3b7a9dbeeeb src/mistralai/client/models/moderationdefinition.py: id: 4948723a9e9c - last_write_checksum: sha1:444b0eb781845e92c092f2eb07c02ca36c58a37d - pristine_git_object: c7499eff03d06fb6b1bbc2620433d29878984ade + last_write_checksum: sha1:63a053ec6d2a4fc291559652173ec3d74d652fcb + pristine_git_object: 6267c98ab69df3598ee60bdde6efc716c9b4e0cc src/mistralai/client/models/moderationllmaction.py: id: 7b18ccbd8ca9 - last_write_checksum: sha1:0067c773f68e8c9a6fa9e802b1d5a5b97efa7d5b - pristine_git_object: a2553f3041e129df165d49072a60fe31cd8b387b + last_write_checksum: sha1:3e8a883551c9a1eefa771857a549fdd1d16a5b7e + pristine_git_object: 01a6001d2f3d2c8bbbd46959d99267f20f040221 src/mistralai/client/models/moderationllmv1categorythresholds.py: id: 0c51d6766440 - last_write_checksum: sha1:3eca62d031d924bc504a3963911d8f0894c1b4c0 - pristine_git_object: 9a947d111113c748df99d7a01a4c899962425dc7 + last_write_checksum: sha1:a619262481abc6d15fa274c2b519a8e8bbdd6ecc + pristine_git_object: d3f859d84e81589d5f7b13aed903d5e8e8942b20 src/mistralai/client/models/moderationllmv1config.py: id: 483378b56394 - last_write_checksum: sha1:bb2f92e87172e9ada69b1746f2b64ab41b550397 - pristine_git_object: fe597a9b9654ccdb37b35b673698ac8015796e6f + last_write_checksum: sha1:8a4312b9035c828b4fa7a1ac3782e206cc15cdaf + pristine_git_object: 1b7efa8afa13c4e5bd5aa07dbd8921610ff73c73 src/mistralai/client/models/moderationllmv2categorythresholds.py: id: 4c2a8ff4d52b - last_write_checksum: sha1:1b3e0e76b7f1b70a77cb7b24965d83f88188f306 - pristine_git_object: 2ca952c5264bd1e19c149802b380c3d82ec09ed6 + last_write_checksum: sha1:54b57622f13cf64932a699b0855bcfeca32a0bca + pristine_git_object: 3244c9d9556a1068730ef3d05a3463952d1cb8ae src/mistralai/client/models/moderationllmv2config.py: id: bb511e7c628b - last_write_checksum: sha1:e77793718de35e58f2e6280126fc320b233cc365 - pristine_git_object: 5cd8b7ca1bd68540274db7a11286c200f4d57add + last_write_checksum: sha1:8c6f213e421ae3968c2d4cc1abc38c7751092d47 + pristine_git_object: fa52d11876c4b23a1da244769453c19674696f49 src/mistralai/client/models/moderationobject.py: id: 132faad0549a - last_write_checksum: sha1:5c551cc8657d3d9c3394638e6d336162563fc6ee - pristine_git_object: 66f6a84bf55703c7e4b46e4381e2b39a0b0eaaeb + last_write_checksum: sha1:2da99a8a23cc784b0a19b9ad84dc26dc387f5550 + pristine_git_object: 82008982da50ab32570032730056df066cea747d src/mistralai/client/models/moderationresponse.py: id: 06bab279cb31 - last_write_checksum: sha1:b9158e575276c1e0a510c129347b9a98c5a70567 - pristine_git_object: a8a8ec3d8d8a58deb3c1f8358c6dce5a9734f89c + last_write_checksum: sha1:d31313c2164ecbc5a5714435a52b6f0dda87b8fe + pristine_git_object: 288c8d82d87a9944ae6d7a417bb92e558c6dcc0f + src/mistralai/client/models/navigate_index_v1_rag_managed_indexes_index_name_navigate_postop.py: + id: c452c66e8904 + last_write_checksum: sha1:55152d2c43cb88f429508d46985de57abeb49553 + pristine_git_object: 8e3c13017201a7010d56fca6d51e30b7cbaa9f4a + src/mistralai/client/models/navigaterequest.py: + id: 6ee7d0d32246 + last_write_checksum: sha1:29fee1a49255b999fb8cb6df3d28c69b11cba02c + pristine_git_object: bcdd28480e6dc5ff7055f7f415e700b1c3a6a317 + src/mistralai/client/models/navigationchunkresponse.py: + id: 8221d07248b4 + last_write_checksum: sha1:77ea12d6599450433fa2bb5564da9663b0a59955 + pristine_git_object: b42d96b56dc4f242f971d8b83415d23eacbec33e + src/mistralai/client/models/navigationdirection.py: + id: 2f8dfb50d302 + last_write_checksum: sha1:e272792237061109c7896309c14e3baa17be1af9 + pristine_git_object: 812f8f4f02efb3f8060947573d1acd053e054014 + src/mistralai/client/models/navigationresponse.py: + id: 2924d4d13c14 + last_write_checksum: sha1:252a33150d00648df313fcee153d2a646892fa3b + pristine_git_object: 79e20a55ffe118b8879f6cab27d64e9aa47d30a2 src/mistralai/client/models/nearestneighbourretriever.py: id: 030fa248215c - last_write_checksum: sha1:edf8fab2bb8fa818da39ba577afaa9e65ae817ab - pristine_git_object: 7e3f416845d9943e46ebc22fcbfe2472d12c5804 + last_write_checksum: sha1:64b41fbdcfe6e655efe366a9e88d28dca3a9db29 + pristine_git_object: f0f93f65a9a9b79e5ae85b503268e36f273c9b43 src/mistralai/client/models/networkencodedinput.py: id: 6dc5321dbe77 - last_write_checksum: sha1:5a99ca47003b7bcfee48753dd4683a94eeee1fe1 - pristine_git_object: 70d9241431ae75d58435965be03089ab8419d32f + last_write_checksum: sha1:f6250869a8486d43bc97299d2ebf54865463bab2 + pristine_git_object: 6975f4a7e10553b92fca768e5d60854b1e8e7d20 src/mistralai/client/models/noneauthmethod.py: id: 28aad2d4ea72 - last_write_checksum: sha1:84abdf888f66a0e72bb3b0843b364602333cfa8d - pristine_git_object: f54eb68b91ffa5c9184e3805ddfb2d80d80e129d + last_write_checksum: sha1:a39f0a7d629fd51cd13d7bcce2ed9b43c7ba40e0 + pristine_git_object: 71e693b0fcda23a186a27fdcac73d6c8a57c6c32 src/mistralai/client/models/not_.py: id: c9e6d1e068c5 - last_write_checksum: sha1:d8b12706a70e6cd968c38d0d8d92f22d187d4ccc - pristine_git_object: ccbc9909c765670d78b8b724e5c091a6512f88ab + last_write_checksum: sha1:af48594b10e3dab1fe9914d4f7a857b1dd422424 + pristine_git_object: 3b02ecbdd141e42b2b5827a7deedbed57a0e8adc src/mistralai/client/models/oauth2authmethod.py: id: 32ceace54bd5 - last_write_checksum: sha1:cc015ae203acf65af60dd5646e20b92849999185 - pristine_git_object: 72db24eba1eb3c02bec77b9beec59647cfd213cf + last_write_checksum: sha1:09b477161b9681b22581698a7b4a4a74e68e7a5f + pristine_git_object: 72da2b89c8fd599bd082498bf7d1ee12c737c1e7 src/mistralai/client/models/oauth2authorizationcodeauthmethod.py: id: 087dcc1de885 - last_write_checksum: sha1:18b9695e8e593cc8a1c1c9b158616f227fe42cce - pristine_git_object: 2145eb47a677e1d19387ea967f5e8d12d3c38031 + last_write_checksum: sha1:3dadf4cd1e1ad256add3837e1cf21ecde328962d + pristine_git_object: 9d21a9ceeafb4a070373e1df0aa31f0d67214437 src/mistralai/client/models/oauth2clientcredentialsauthmethod.py: id: ea742dee6af8 - last_write_checksum: sha1:ec9c4f34b8b09108e133c7de01c05f7392fe8e9e - pristine_git_object: 23443010896c6efecbd76c12abe1de1730c578f7 + last_write_checksum: sha1:6bc10590dd772f49795c4e194c75f7e6456700ef + pristine_git_object: be97fa142b47ed57cf7b380cf7b88636c7079220 src/mistralai/client/models/oauth2clientcredentialsinput.py: id: ba98041a8764 - last_write_checksum: sha1:8f2726f7b7b03814836d6800f147c73ea24611dc - pristine_git_object: e41854b1a3eca8fc06cc7e3e2dfe387670e84f54 + last_write_checksum: sha1:fb23eeead94a47221e0f8eafe06d4cb3f6d2b74e + pristine_git_object: da740a791816685f7ab8b4d841fe2b3c6cbe826e src/mistralai/client/models/oauth2granttype.py: id: 8ef621bb4701 - last_write_checksum: sha1:959afe2b7afbbf467fb3a7861d9e659c4f573607 - pristine_git_object: df6ee871e8ee8b0b768c4b46ed3f84722c2a7eba + last_write_checksum: sha1:d8e0b7dfe7e50625eb2013e4b3952487c20101f8 + pristine_git_object: e4aeb0a9fa2711b3378825133124b318268b2315 src/mistralai/client/models/oauth2metadatasecrets.py: id: 20d0c8c24a9d - last_write_checksum: sha1:7af4b4e21406d00d988d11e703d5c2b1a63afb89 - pristine_git_object: d624d9e22e1d4d60b3fd7f521364bd68f05597a5 + last_write_checksum: sha1:f545ae3e3a2ef1cdd239780d773274c2fab3db90 + pristine_git_object: b35f720240912988e3279e3a2fe9a45d8a056d1b src/mistralai/client/models/oauth2tokenauth.py: id: 167c3b8a104e - last_write_checksum: sha1:146c4ce3a29c0bedcb575cf7fa32cb97aa375c5b - pristine_git_object: 76ebfd0de6c7457bcecb1aee026ea16ffa8a7cbd + last_write_checksum: sha1:7cf0139134dc8c25ba9d22516de1351c5ddfd696 + pristine_git_object: 1e91864607565b3d4dc49a5212d1c0f068ea354b src/mistralai/client/models/oauth2tokenendpointauthmethod.py: id: 353a58431125 - last_write_checksum: sha1:63b1ce608039045a19358fe505ec267a6c79062d - pristine_git_object: 97f50bcb3d012ac927d755e43c6139990364f17f + last_write_checksum: sha1:b73c9c3552c36fc3c10f54f909c21c51b30f0e53 + pristine_git_object: 9847d88306e83fdce4f0780d95c14fcad926a41a src/mistralai/client/models/oauthmetadatasource.py: id: eacda6ae7dda - last_write_checksum: sha1:11c3c6b2f858f05d0a4064e2bd7447c4c80da80a - pristine_git_object: 94bca3e2c1244634aad90278d4b63f736f3f5b0b + last_write_checksum: sha1:6c3e8c0433e131c373abca95432b3add3b087708 + pristine_git_object: 91c2360d5d2c02e4391590a61ea4f6b0af5e24ec src/mistralai/client/models/observabilityerrorcode.py: id: ae572b470a30 - last_write_checksum: sha1:4a96cbc824fa710df0a1306dae84c7c4d85ded95 - pristine_git_object: f9ec4fd2bc17b6e966b36e2ae02d858adc9a8f65 + last_write_checksum: sha1:4469724162e33c72c4d058358ffb0d76754f9f6f + pristine_git_object: 14f1f52db5f166724ba27c24633998edc5501eab src/mistralai/client/models/observabilityerrordetail.py: id: cb6e8a484a38 - last_write_checksum: sha1:3a7991f57573edee24780bc4b3907c8426aa3fa6 - pristine_git_object: f1535352af02c0d32c573f431b0440da4dab2fd6 + last_write_checksum: sha1:f77796b6fbcb1e7e7a87dc25dd52cf1f9474510c + pristine_git_object: a0928c2c16c09884d40127742d8261dc448f4f8c src/mistralai/client/models/ocrasidetextblock.py: id: 1960ecdcc21a - last_write_checksum: sha1:4f300686302cd8192a099aa3b26ece65229d1d39 - pristine_git_object: fed38e0f9dfb7c284346b90ba345d6f125a4a269 + last_write_checksum: sha1:d7e8c32e827cfc1454f80bdf7f7949bd502db377 + pristine_git_object: 90ba673d77e3ec1a7c99304b5d84e6c7f5fd3606 src/mistralai/client/models/ocrblockconfidencescores.py: id: 27e42b07192d - last_write_checksum: sha1:f10104bdaa588ac2a7ff90b8efc5f9ab9568e59b - pristine_git_object: 08a1fa03be43ea2728b9d3920935f6ab7633e2c1 + last_write_checksum: sha1:d9d9a1320913a4aeb7571757deec146ea69f8c2b + pristine_git_object: dc67cf4f2c13be0f332438918c2c07be16586e64 src/mistralai/client/models/ocrcaptionblock.py: id: 84933d3975dd - last_write_checksum: sha1:7d8a24a843e183820c0e428bd83477e3ec9a7b8d - pristine_git_object: 80086d4692c60d59690d7c27669ddae584bd6eaa + last_write_checksum: sha1:16b9cf09c3d323adad9aac0193ac99cc4000094a + pristine_git_object: eca4938b24ed29e6d24697675046c9fc36e09689 src/mistralai/client/models/ocrcodeblock.py: id: bacdc04c0c8d - last_write_checksum: sha1:d037aaf68b17356a8b3fcd060924b379fe12a27d - pristine_git_object: 1425cc337d15528f12665a956ad2ae4e52544844 + last_write_checksum: sha1:d697630b27f52e28db86bb42bca987cc5a30bf87 + pristine_git_object: 8a9e496df56df00fde3d76db168da3f099f5d8ba src/mistralai/client/models/ocrconfidencescore.py: id: 15b75862a7bd - last_write_checksum: sha1:daafce451f4ee4a0440db6f6444f10187a64fe67 - pristine_git_object: 7fab8c9b542b1419bc4844d9d91d62c4f76f19ad + last_write_checksum: sha1:5063d2e1d9a6a32a8762fcac810e5eb99d0d6640 + pristine_git_object: 279f31a7844518438d3cee4f292b1ff3219d4cea src/mistralai/client/models/ocrequationblock.py: id: e8856fb2a77f - last_write_checksum: sha1:f9ea73f0af6417e57ef9b3f0cccda666ff468442 - pristine_git_object: 11f9356bcf2c173530c50ec86200ae6fba2555ed + last_write_checksum: sha1:2888129a92b7950d0166a4db61f3e4fa40362f99 + pristine_git_object: 3dcc528d5fa0bac6536ab84817d6ea75e663d79a src/mistralai/client/models/ocrfooterblock.py: id: 9435c879d4c4 - last_write_checksum: sha1:a562f82cff2f7790079c621a72af997dc67a8794 - pristine_git_object: 8c8b0860d90d5db918b4674752d5341c8d1726f3 + last_write_checksum: sha1:ea439e207ebf3b892c8646d7a81a4299813bf361 + pristine_git_object: 7cd5144107637b88ab49c65ee1b7775a39005e41 src/mistralai/client/models/ocrheaderblock.py: id: 86d4b90e4056 - last_write_checksum: sha1:c32a96e636e145cbdf701558525629de5e4d25d5 - pristine_git_object: 5a7ce42a4870384ef0982b38e29769068dfb669b + last_write_checksum: sha1:9e2bf66b6a6e76ada372f18d74b07485adf3fafe + pristine_git_object: 0e99e605613a44ca18f5442735d354e917dce430 src/mistralai/client/models/ocrimageblock.py: id: 9700f3ab6b59 - last_write_checksum: sha1:a73b3c149c5a8f64533717e67e9ffd838d7d943c - pristine_git_object: b90cdbb7e9784f2805fc7fdb38723c5f95a6a9c8 + last_write_checksum: sha1:f8de5c1517a3c5c94aa07b8f22c7e716d5902248 + pristine_git_object: 25d30146b964c32b7df7593a2ea1ee8e6084b7bc src/mistralai/client/models/ocrimageobject.py: id: 685faeb41a80 - last_write_checksum: sha1:a848d782d09e7b899e4a801d8ea43505783c853f - pristine_git_object: 583cc38bf6046ff783ac2b5b2306fa42fa3c6fb5 + last_write_checksum: sha1:22999d9d4390289a5a73dfa9b8f528f1ac3df6b6 + pristine_git_object: 54ba8e5820f8fcc124cb2620683930dadb1a842b src/mistralai/client/models/ocrlistblock.py: id: 20bdae8ad688 - last_write_checksum: sha1:f085425f416a7a0e08271ea1ea73626bad784f91 - pristine_git_object: 2d6cffcffdd0a8264bcc5e3b1900ca57f98aea53 + last_write_checksum: sha1:c838670d4bf69958540be1f3a82568f4ef67167f + pristine_git_object: ad2e1bd521d187333f9391ddd87ad5c6276b7e1e src/mistralai/client/models/ocrpageconfidencescores.py: id: 7e4a07e4bdfd - last_write_checksum: sha1:05184cb1dc7d3aaca45b49a27028fee0802ab98c - pristine_git_object: 74e3b3750e69824954a1f710b9ad565130339f31 + last_write_checksum: sha1:d1cb531255ec8239e607c76a95d23a310d249cc8 + pristine_git_object: c5affa5966793bbd6e5c2d9e4dce56829c7cb431 src/mistralai/client/models/ocrpagedimensions.py: id: 02f763afbc9f - last_write_checksum: sha1:f572ed8992ba1ba4d53b705c4e8c94c85ae1290e - pristine_git_object: 847205c6c74a621dd2ee6d9eb18d1acba8395c50 + last_write_checksum: sha1:28e91a96916711bce831e7fa33a69f0e10298eed + pristine_git_object: f4fc11e0952f59b70c49e00d9f1890d9dd93a0df src/mistralai/client/models/ocrpageobject.py: id: 07a099f89487 - last_write_checksum: sha1:1e6999b5bf68f0913cddbf1dfcacee3c28042490 - pristine_git_object: 662326b0debf02aea468879c6097ce97ce4c7b85 + last_write_checksum: sha1:41fb62301b772c30d66b55606355291a754c219a + pristine_git_object: a69e21f4ea6a410e6f4e4b571e5a3f43d4ee1e85 src/mistralai/client/models/ocrreferencesblock.py: id: 24b57f5f1f99 - last_write_checksum: sha1:d14301b1857a2c1a6521c9ee41a497e8a9c781c7 - pristine_git_object: f59a6f871005d85d7c542e1bee6125266200c748 + last_write_checksum: sha1:620aaf0569e0e0ad192f22fd9568bb7494ca1d33 + pristine_git_object: 782318a5f7c6b534ed5050f0f61e84418a78ea62 src/mistralai/client/models/ocrrequest.py: id: 36f204c64074 - last_write_checksum: sha1:61d593f068f171083d4c3dab46457e8fc6adffca - pristine_git_object: 4a377f7969c904295538e1948dec790032c8f75e + last_write_checksum: sha1:76ede90d83e9c52fa6c91df086ec223bb4b47c93 + pristine_git_object: 4697faf73d9f95b74a5b764d7ece90e7b754ec75 src/mistralai/client/models/ocrresponse.py: id: 2fdfc881ca56 - last_write_checksum: sha1:8e496f6122ea0798df0d23f50ea3046a29f0f8db - pristine_git_object: ff4b96c30573a18c2e5665a6f3f10724f7a23f9a + last_write_checksum: sha1:8ec6cc9e9d5df7f22e2ed4da22ef722afc5c5951 + pristine_git_object: 86a930b25518f21c1da8475269b08adec035b860 src/mistralai/client/models/ocrsignatureblock.py: id: 2e2939942241 - last_write_checksum: sha1:6ec9b77bf73675e071e6b51604d11c607607bf92 - pristine_git_object: af0695d50699a937e9288997718d333723b51f00 + last_write_checksum: sha1:472f0be423e76edaad5c1ecf6df7416637cec1d8 + pristine_git_object: 4f6c9b990bf31655ab3dab6e087e648273ff0fb6 src/mistralai/client/models/ocrtableblock.py: id: dada7ebd13b0 - last_write_checksum: sha1:61e1d1e4f275a82ba434228dc5cef1634a6ac830 - pristine_git_object: 5831af82ecb6e52ea18763e97923e6dd250a3842 + last_write_checksum: sha1:4c5f13ffed4944cc2e3846bcfaee7ec19dbdee82 + pristine_git_object: 098b361063e88f8ecff1ee5fb57f8759f3af6939 src/mistralai/client/models/ocrtableobject.py: id: d74dd0d2ddac - last_write_checksum: sha1:fd0c1d3034011209de01a573952d1fd7f663504d - pristine_git_object: 1cb59527b9c1892c789b099f04b99cb1e7169c6c + last_write_checksum: sha1:4e4fbd94bdceb877cd4e5018c1cf09ae92aea750 + pristine_git_object: 28ede149de09521f9e4e6f8a655cc4060a7b0631 src/mistralai/client/models/ocrtextblock.py: id: d329f1be53f7 - last_write_checksum: sha1:237ebc15a022f13660d687491215ee1738a77625 - pristine_git_object: e3381740e99259139f437eeb2fd6d35041d231ef + last_write_checksum: sha1:f354cce3f61b9d80122494dc10df08c4c7c9e6b9 + pristine_git_object: fd39f4e78ffb5eb236f6c026ad6ac12e9a8211ad src/mistralai/client/models/ocrtitleblock.py: id: 1a397a673c85 - last_write_checksum: sha1:675725f06eae4091d781520e04d6e67263db93ef - pristine_git_object: bdb91c823e16c676c7fcb998cf1c418dd9d234f1 + last_write_checksum: sha1:e2a03f3d6d6cdf2808a7046ff595f7960f283b7b + pristine_git_object: 166ec660c7bee5a3b4700f06610a2ec84a6fdd54 src/mistralai/client/models/ocrusageinfo.py: id: 272b7e1785d5 - last_write_checksum: sha1:eb223a88b7e5175056197f64bb4bce2c88ccea19 - pristine_git_object: bfd748e0010e6acc404fdadfff40ee54ac52b9be + last_write_checksum: sha1:ac9b8a1745b5968cbb0e361b8f7e1fcababf9d91 + pristine_git_object: 880923b2cb7e9d534944ca2c2394ee97b6f1a405 src/mistralai/client/models/or_.py: id: decc65f6bf3b - last_write_checksum: sha1:5f58a8ec45f282031141ada3e5ae2f699e32650b - pristine_git_object: 152a27e1ab7020610b9de9df17ec0cd04cfbe621 + last_write_checksum: sha1:e4f09c27612be1dbd3a3ee88cfe1fb04eb21d4e3 + pristine_git_object: 98854a1316e9531209ee2c5dcdce829f7de18382 src/mistralai/client/models/orderbyclause.py: id: c7a6d0430f04 - last_write_checksum: sha1:688204473a550cc070ee7cd4bdf12670173beb60 - pristine_git_object: aa94f6ab6663bcfd8ffe7aa3bda1aee247dbec81 + last_write_checksum: sha1:cba275b0503375300f799eadbd8381f75dae06de + pristine_git_object: 3a1e3461c2fe7d9208ef480a23578b868611fca3 src/mistralai/client/models/otelfielddefinition.py: id: 4bf75d7f4f70 - last_write_checksum: sha1:c40c4b7a8c5791c63f59a8fb9c8e4899667da546 - pristine_git_object: f3062c0a8fb28b6ae28302f895e56f65704b9478 + last_write_checksum: sha1:828cdd9b59c6e9ee28b3554109c79ed7667c26ae + pristine_git_object: d629a4fd335452aae2208e5fa0e0d3ca8e1f0b83 src/mistralai/client/models/otlpdestination.py: id: 4f2c54390e28 - last_write_checksum: sha1:4e8f50675b2c67643116ddead0baec45897267a2 - pristine_git_object: f1c331fec39fc7c331f4abd7dc2b52672eb585af + last_write_checksum: sha1:e00cf20c560a88e6a6fa07c95c2c28b30309ee56 + pristine_git_object: d698537a22b00069b5d6988acb8b99dcafeb52c1 src/mistralai/client/models/outboundauthenticationtype.py: id: 705e7172ba40 - last_write_checksum: sha1:d6adf36591b12a6ae41962bf985a74fa54574410 - pristine_git_object: 0175ebbb004634588d857d5376c224ef056edf3a + last_write_checksum: sha1:94fe65c455aa3e63576d6022d3c9560adea3f409 + pristine_git_object: 49a259dcaefa95358e845d54d8b594405224bc98 src/mistralai/client/models/outputcontentchunks.py: id: 9ad9741f4975 - last_write_checksum: sha1:afb76f3af2952c2afab5397e348ddfd6dbb56c4f - pristine_git_object: 1a115fe8b4874a6bd86719d91332cd3db6d95b46 + last_write_checksum: sha1:47d74d212ebcb68ff75a547b3221f2aee3e07bfe + pristine_git_object: ad0c087e0dcbe302dd9c73d1ea03e109e9a66ef7 src/mistralai/client/models/paginatedconnectors.py: id: 17e125b1022c - last_write_checksum: sha1:b9daf0fd7f3241b03f91e9f7edcb792b91962592 - pristine_git_object: 291da1115294da17b7ca7babc8dc2d7ef672d709 + last_write_checksum: sha1:24304324efce2f0d12a41fc716728b97394de49c + pristine_git_object: 3cb87b3d4eb291aaa8c486a71e2d404be95e864f src/mistralai/client/models/paginatedresultdatasetimporttask.py: id: 8fd0a8bad4e7 - last_write_checksum: sha1:27afb85f9e813c8d9674bdac0892bda94d66659f - pristine_git_object: 4b9f48817baacc32672225b1c08642b4988f17f6 + last_write_checksum: sha1:381589865c2d19a3fcbbfd3bfd7e24a52f2954d6 + pristine_git_object: 3082abc1aa2179d23874479a7ce3538c4f9b9521 src/mistralai/client/models/paginatedresultdatasetpreview.py: id: bf20489474ce - last_write_checksum: sha1:57f86606669135792e8ed1bd7065028380e689ed - pristine_git_object: 81746f355996c52df14778f2d402932a59c983a3 + last_write_checksum: sha1:7b94bd6ab80ea6af1ddae96fa7775dd831415cc2 + pristine_git_object: 245a3d518757a48b62bb3f144c95befb3b5bf19b src/mistralai/client/models/paginatedresultdatasetrecord.py: id: 2556a91b48c4 - last_write_checksum: sha1:bd99e30e61b7487ef86acae66cdd44669b811355 - pristine_git_object: d9aa8c8e810767d749c8588fe801beba7cf77e65 + last_write_checksum: sha1:8234ab123dc2188379a4df0b627314b0138c51b7 + pristine_git_object: 4c736386cab954fb45fe48380cd38d9cc90b2f0a src/mistralai/client/models/paginatedresultjudgepreview.py: id: 4d5aab2705a0 - last_write_checksum: sha1:16667401828bb23b61f284c0ed934eeb78e1eaec - pristine_git_object: c61382f99c27190203d05aa304f8a9eecaebbdb6 + last_write_checksum: sha1:23937b3978b5533ff256d9367808d8f21d238b27 + pristine_git_object: bb26784a510803c1f592aef750acebe8ffd2e7a6 + src/mistralai/client/models/paginatedresultpipeline.py: + id: 609f0478584c + last_write_checksum: sha1:2346b9d55eaf319e2057de3b810e68a29962d19a + pristine_git_object: 7d9da80b523b9a9e097f9c2d6a3040a644d46bec src/mistralai/client/models/paginatedresultpipelineconfig.py: id: ffac23900246 - last_write_checksum: sha1:08a4203688afd81caa744972c2d13a60c4aafb0a - pristine_git_object: 20e4fef174703d99c0bfa079bf2307eec6144bde + last_write_checksum: sha1:05c58a144d1e2f88726084a74b40aca5cf28f6c6 + pristine_git_object: dd8ce5f30d0a98d44d2dbfb596343a230e30684a src/mistralai/client/models/paginationinfo.py: id: 48851e82d67e - last_write_checksum: sha1:166961e2c0f573ba0677ee803820bb944a8a5efb - pristine_git_object: 2b9dab6258249f7be87e1d4a73a2502e21fe1f0d + last_write_checksum: sha1:b17cc84c592706882d5819b1a706c9a206de9198 + pristine_git_object: 0252f4482f50b34a35f52911b4b57b6899751b42 src/mistralai/client/models/paginationresponse.py: id: d64678967bf0 - last_write_checksum: sha1:693e9b575e0da721b15363db1e381d19f8766efb - pristine_git_object: a60640aae96b54f7f8e7561029fda45a165007c4 + last_write_checksum: sha1:eac7ebba3a3bea245068532318ced2497154b04b + pristine_git_object: 0c7fcffaa590b434f6c97ba9e151c9cefece2f7a src/mistralai/client/models/partialscheduledefinition.py: id: ce1ded792ff5 - last_write_checksum: sha1:e4f50d9cb285dade8dc732547f03908e0b1a9834 - pristine_git_object: 1120dd141a1f7ddadcf0cbe578078496c9287236 + last_write_checksum: sha1:f9026c7b5a6486d9b3fcd59c8c1e7b8ad363c4f6 + pristine_git_object: fa9d104f14a5eaf6722f28ea4717e2a00f43dccc src/mistralai/client/models/pause_schedule_v1_workflows_schedules_schedule_id_pause_postop.py: id: "53799174e259" - last_write_checksum: sha1:0d12062b4884937e8100490414a29842da524c5f - pristine_git_object: 2a53eaecc95afba612552debcadb0d0dad63afb8 + last_write_checksum: sha1:7c294d3582a700a0e5c70f9ff4f3b30ebac4b7eb + pristine_git_object: 48cf0e249627fc0130d71bfdf578ab1aa83c99a6 + src/mistralai/client/models/pipeline.py: + id: 26f98f546224 + last_write_checksum: sha1:f78c4ebb49e97273b441955b51da0f3dde5efa9f + pristine_git_object: 11cb857d3c6ab966acad7036996ccab45138beba src/mistralai/client/models/pipelineconfig.py: id: 7696668e13a4 - last_write_checksum: sha1:30d62d3f5cc79548f7cb63d2bf853769b6c2e08c - pristine_git_object: de82e45a1a758c67720fe0e9d6e4118c8d31db5d + last_write_checksum: sha1:1ae19a600df132375bb6d803da344758c9df6f1b + pristine_git_object: 621f0b8148c8ed1672e689c6676944f7ae8617b9 src/mistralai/client/models/pipelineconfigdefinition.py: id: 4650cd1a8fff - last_write_checksum: sha1:2a29171c1d6408a5da6066f5e85d3fdfadb94aa5 - pristine_git_object: 6d4ce08fbb45acc0d93491e6e60e89bfd89d8beb + last_write_checksum: sha1:f01166627ed0743674a11069ee6dfd6b73662221 + pristine_git_object: beea83cf93983a20087bc06dc308d6a2f1de66af src/mistralai/client/models/pipelineconfigheader.py: id: 87378a2ccfe8 - last_write_checksum: sha1:8c697cb7c0a98233201aecea0d61e7b427b62d51 - pristine_git_object: 0ff859a4a808f5744d78982fa36055c6a9a606df + last_write_checksum: sha1:c1bb0e52ee91c5ca2d14348a6d562fb8b1d5629c + pristine_git_object: 94fca51bb1b1879727b2a40e7e922d4813049988 src/mistralai/client/models/pipelineconfigscope.py: id: 0dd00ad629e3 - last_write_checksum: sha1:4f75eaec409a876a2276a2d4c1644b298a22b741 - pristine_git_object: b670f6aec267b2b7d1395a48884356ba7fc66734 + last_write_checksum: sha1:fade9abea752e3e891ff13d6348f2d818948967e + pristine_git_object: a09b5a0c563e67e95cce2e67582452e3cf42300d src/mistralai/client/models/pipelineconfigselector.py: id: aada2e35bbf4 - last_write_checksum: sha1:62ed9af6cabe8778a322208b0b6869e08323bad3 - pristine_git_object: a9904826e14238af91b13ea3c40dbd01ecdfeec1 + last_write_checksum: sha1:2fd8b03966775cd89cbd93fec29ed1f0627aab46 + pristine_git_object: e3c3f4ae3ac6b492459b373d85afcfdb6c25bcc9 src/mistralai/client/models/pipelineconfigsresponse.py: id: 797a435def03 - last_write_checksum: sha1:10bc2eaa9f3d5395a12c73796a3d8ba7a4a16cb9 - pristine_git_object: cd9eeb9898830b8734cbbb79012da22c9d998dae + last_write_checksum: sha1:0389a3a4d93e45621bb71b8ee250fde9f58d3ac5 + pristine_git_object: 0bf379456c0a8b9b7b0224bce4556d4f882434df src/mistralai/client/models/pipelinekind.py: id: f4d24825fef3 - last_write_checksum: sha1:6117477d283231b59454b0b026edd154f9e2dc4f - pristine_git_object: 07c529523f7c997f57794dfe1b3bdfcc36a139fb + last_write_checksum: sha1:21a2cb6c15619fe42d5827b3050515b28d5e377f + pristine_git_object: 0a514eb98f634ebe7ec96625b0e79693335d2136 + src/mistralai/client/models/pipelinesresponse.py: + id: c29d9ce9b853 + last_write_checksum: sha1:a7f84b409ae082595577e499ea36e70f1e13eacc + pristine_git_object: 40ec3dc1275758c792690d876ab59aa8942d5fef ? src/mistralai/client/models/post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop.py : id: d396e018c804 - last_write_checksum: sha1:6b4a9b21f1443c40be7298058117d589a0ffd8b2 - pristine_git_object: aac48bd62ab8cd7d32caf4ae5fd190159e1c7580 + last_write_checksum: sha1:868aaeaf1f9784be2a7d43063892fa7021471f69 + pristine_git_object: e962f71226925b39efaf3664a4a69bc62d7ebf9b src/mistralai/client/models/post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop.py: id: 6e93e5363630 - last_write_checksum: sha1:e7c66567203632bddbd6d50b8f0bbd730180d4e7 - pristine_git_object: 17f90d48656e697e74195236c3a7b295d63c1a81 + last_write_checksum: sha1:68009c89d99423f1e9e4a7b7e16b96aef5720fe2 + pristine_git_object: bce82dfbcd850a2a6dbed0be00fb57f8b30b1d03 ? src/mistralai/client/models/post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop.py : id: 09334d96c26d - last_write_checksum: sha1:db69f60fa1e25cd24b958e997c8b4c635b2202ea - pristine_git_object: 7423375af779911d2842ff9736452fc19a385daf + last_write_checksum: sha1:afbcee5538ce1dadf10e889292a516fd19d46808 + pristine_git_object: 44961ec8bfaa17825c7e788169a69f691884640a + src/mistralai/client/models/post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop.py: + id: a362a57a5e98 + last_write_checksum: sha1:82b0d6abd8aef905e5f8d0ee52551bc62ea5576a + pristine_git_object: d95c6c30b91f7c349110942b180b0cb57afce9ac src/mistralai/client/models/prediction.py: id: 1cc842a069a5 - last_write_checksum: sha1:3ccc14b40fd70f3b4a5cdae3eebcc557b96aea8e - pristine_git_object: 614f481174e58eb7ba28cae5238b532d1d66ef9c + last_write_checksum: sha1:f58dedd4b3c69b35365de21aa2626b92a34ca2d2 + pristine_git_object: f73b9a7c1af195ef461b43a931e6b04f979997b4 + src/mistralai/client/models/principaltype.py: + id: beb42b23cde7 + last_write_checksum: sha1:dc19708fcfd458f9739ff697f05d2bb598198550 + pristine_git_object: de5e17c69604f06a191348ccdc753c4944991e9a src/mistralai/client/models/processingstatus.py: id: 28146eaecfcf - last_write_checksum: sha1:4c053b54f4e154e016b1592dfe1de70bfd3699c3 - pristine_git_object: 73308b4658b84ad4a064b3ce18fd96eaeccdd918 + last_write_checksum: sha1:612649a72b946049f7edd247941127a173dc5781 + pristine_git_object: b0faf22ef3df058ede1025deb7588725ea29664b src/mistralai/client/models/processstatus.py: id: "0205512146e6" - last_write_checksum: sha1:22ad3d5fc80fbf3f83db61512e7bc79295c5fc91 - pristine_git_object: 15bdce2056f2f642096fbbdb2ac32ce1e5b8c9cf + last_write_checksum: sha1:dbba64a2021ada83d3718888ce5a11432d22903a + pristine_git_object: b54291a16ebae271d6ff9ea2717559fff80bd17c src/mistralai/client/models/prompt.py: id: 488f0cfc226c - last_write_checksum: sha1:0a29c102c1aa7b28069b7720ed015a53958d5290 - pristine_git_object: 3679093e233777faee8db7b157d77c25eb4fb74c + last_write_checksum: sha1:594ea04b05e594a36a109329f50fcd7bbfc9b72b + pristine_git_object: 41605eda29c2cf596fbd992afa077d19f13db532 src/mistralai/client/models/promptargument.py: id: 52e5c885f761 - last_write_checksum: sha1:a71c2398080cb96acf20772e3c9436910c5a5b22 - pristine_git_object: 1f73b59f3e5cd74b8b87f70017c3b6704adaa1a2 + last_write_checksum: sha1:2bed76ef33296f26d74ce2d0a2967e0789d31dbc + pristine_git_object: 4e321254de069c3fb47761029d8a13d589dd0042 src/mistralai/client/models/promptdefinition.py: id: 17bc48088cdf - last_write_checksum: sha1:04fc7c132efbe39956046c8306e9f176704fc5ef - pristine_git_object: 4ea1cebbe7f6c77739c2e86cee07f315b0a54951 + last_write_checksum: sha1:c60938b8ebbd9ad5e5e7db6a6bba1b0ef07ee820 + pristine_git_object: 92d1681fef8ae4fd7bbacc9809712bfb7f100915 src/mistralai/client/models/prompts_create_versionop.py: id: ed1ab96e4d47 - last_write_checksum: sha1:8ad864e40c95fbad429918357bf7b776b32e3e5d - pristine_git_object: e27f4eb37de240afe3f4dedbde30fe664894754b + last_write_checksum: sha1:0a697c1e0e4cca0d990903f5008e4bf39f626679 + pristine_git_object: 3fa9fbfb0fa06929fbfe6b0b8d85e44219852ed8 src/mistralai/client/models/prompts_deleteop.py: id: 818345e7f5f0 - last_write_checksum: sha1:4ce1640147331d1db4c5d5d0f45115a7f777a774 - pristine_git_object: effbe5d64eb458a6260d0c1edb4e7de39c259140 + last_write_checksum: sha1:421d5323aa1c0124668dc00dfc29d357fe63f061 + pristine_git_object: 1f0b54fb4c7cdc8bc39af748366e34c29471ce79 src/mistralai/client/models/prompts_get_versionop.py: id: d5f2a0403cdd - last_write_checksum: sha1:bbbc3f5f2cadc86598b0c206485895dc3f8b65d8 - pristine_git_object: 2df2773e36064eb8e05444fa47ae78cdbc73c9d5 + last_write_checksum: sha1:35b4aa678b24fd4134e2e1620d91bc764cd43ef6 + pristine_git_object: edb8b91fd5757114aef65727fa627563fd64585f src/mistralai/client/models/prompts_getop.py: id: 3a39540b6332 - last_write_checksum: sha1:a2ec1d1a7797ee6e2c63dcf643653230f1ea9520 - pristine_git_object: 1fcefc5428194f05d0ed638f2e61c261e9c6078b + last_write_checksum: sha1:eeb201cd173b3897764e78eef8f1d98831fe4292 + pristine_git_object: 3e6654ec981fc1f6980a262e324e0dba248c43c0 src/mistralai/client/models/prompts_list_versionsop.py: id: 245ce159d0b5 - last_write_checksum: sha1:ca2748ef13869d076a877fb1fb856524d6df6848 - pristine_git_object: b09b7d175342be1b2e1477179ef94c943b332cd4 + last_write_checksum: sha1:f445c185b5a870ee9cf5fa92ed410b5086961fc8 + pristine_git_object: 33b322221938fcddff6c647d4a714d8a65c14fe6 src/mistralai/client/models/prompts_listop.py: id: 48f5a4a8009b - last_write_checksum: sha1:135072fe2504ba8025fe05f38ffd52811540666f - pristine_git_object: 2abd2daf144450555ef51c02de4cfa7f19b4c066 + last_write_checksum: sha1:7e4e292c649c969ea2ecd328bf5f01869638b446 + pristine_git_object: 38b026d2b44ef2bd44990b6cff5dac7104588d53 src/mistralai/client/models/prompts_update_version_metadataop.py: id: ca583af2c2fc - last_write_checksum: sha1:a6c5849d4d3ce5ecd0c1bfa670cd90caeffb1129 - pristine_git_object: 0e7861fdc026e0e975e9ff58be6c4e63bd918875 + last_write_checksum: sha1:5a91cc262301b86f5a73064e0ad1e92de6df3f62 + pristine_git_object: 09bbe57fcf626fb75217b3a19d0a21a99abf7dc0 src/mistralai/client/models/prompts_updateop.py: id: 45d598d57587 - last_write_checksum: sha1:f4b60360e70c1a656cce6c1ee1fa1c92dda954a1 - pristine_git_object: dc0792b80276a489cb2ece0b7e2a4b7852ece49c + last_write_checksum: sha1:b93a38e315b973f8628cdb48025d43808376d3f7 + pristine_git_object: d49908c82a0dfb776cbdba5c15d5e7f28cfa2a5b src/mistralai/client/models/promptscapability.py: id: 15c552f53adf - last_write_checksum: sha1:c10ebeb4958239272315cb603e6039182875419a - pristine_git_object: f4ddf63ed454b2c10120b958bda8e859e8909a83 + last_write_checksum: sha1:0b6719c0091cd4248d4dc834c0b407f1194e5b77 + pristine_git_object: 2efb5b2db1784d8d96ab32cf92010519e07173cc src/mistralai/client/models/prompttokensdetails.py: id: e6be33f2cd2d - last_write_checksum: sha1:797ed89aa96948d33841efc48119d3bff16de238 - pristine_git_object: fe158c3728fd755570bd3e0ab92ec2eb5568c9c7 + last_write_checksum: sha1:c2cd2bab5863224ea26f932b180e37b9992d2d74 + pristine_git_object: d9204fcdca4ec825f60e40e6de46bdd8162c9916 src/mistralai/client/models/promptvariable.py: id: c86c2b89e3ce - last_write_checksum: sha1:b88450c9673aeb73af77e844d1d72181ce0526c4 - pristine_git_object: ea5afa23d5ee29185707899b02b4e7fae7bf1671 + last_write_checksum: sha1:0efc25a3bc4aa3c103a79e606519873ec2440356 + pristine_git_object: 876161c37daea67b3240291799228f52eaf28958 src/mistralai/client/models/promptversion.py: id: b26cebd4ea99 - last_write_checksum: sha1:43ecff2f0579033d15660755c749c0ddbb04e85d - pristine_git_object: 2591f8862d1acd160c2674981d2881bf73714bd1 + last_write_checksum: sha1:33c6922fc9d55292b89978d3af64de8531b169c1 + pristine_git_object: 351b143bdb518dd4f7d69135bd72757b71a321ff src/mistralai/client/models/publicauthenticationmethod.py: id: 545ab7f24523 - last_write_checksum: sha1:eb9fd6b1e519efd1695e6c23c80b98a08c039caf - pristine_git_object: 7868f4efc1d30db8ba31ee918b2292dd3412472c + last_write_checksum: sha1:832e5f4783e03ea705a64950b3983542733906e1 + pristine_git_object: 6fbde91f8d36b24d0302077034e3e7d0a0af49bc src/mistralai/client/models/publicconnectionconfig.py: id: 03c2460e04ac - last_write_checksum: sha1:faea37686e78fd3cc8a74371a3004d59ca57f4e9 - pristine_git_object: 94fd670836c95c432fd71f1f7dfc16323b50ee24 + last_write_checksum: sha1:de0ddac33afacdafb16d80d69c686552fc79464d + pristine_git_object: 33b9528c4df6c7ae4f46ae7401389096ac72a649 src/mistralai/client/models/publicconnectorexecutiondata.py: id: 60d7f9e91ee6 - last_write_checksum: sha1:8113e3f1e90aeb27359ec47883e9355cd029d1bd - pristine_git_object: 9e6bbd582707bddce4c987bb8c6d57b73f461b56 + last_write_checksum: sha1:fde68f9fb5e94cd4ce417d55889b90901749cada + pristine_git_object: 537de2c22422c6a587f0f55618ecb91ebc9be569 src/mistralai/client/models/publicexecutionconnectionconfig.py: id: c905833ce251 - last_write_checksum: sha1:9c66d819f7af3bc35173efdbe80414cacd328b00 - pristine_git_object: c6a4cd145b8f7cd0cda121ccc44ed0adb0feb228 + last_write_checksum: sha1:f7ed9e21265b7df19d0db8061b4badb19ef04785 + pristine_git_object: 30b18d34c099d0c50c9a0e5a871e013d2fef682d src/mistralai/client/models/publicexecutionconnector.py: id: c2a70c48a9c6 - last_write_checksum: sha1:0354f7dc75e49efdcc18abc8d1491eae86441a15 - pristine_git_object: 0223968ff278e67cff58f3c694739c67b7fd160d + last_write_checksum: sha1:68384bdb3b7f122ff49e3d40bc59d67e9032de58 + pristine_git_object: cbc8ef943882775dee285f8c04e59a2adac202dc src/mistralai/client/models/publicexecutionenv.py: id: e0bc735fbadc - last_write_checksum: sha1:6cb66e7935e4a35148f9491324473cea33323814 - pristine_git_object: 69f08df6f751207b46b581ed70138e13ea48a6df + last_write_checksum: sha1:b7c61288a63c97537e16d018d2b38faa8724ba17 + pristine_git_object: 924e96ecfcb38c3c3e184351e206313cb78b5bf8 src/mistralai/client/models/publicresourcevisibility.py: id: a11aef93fd11 - last_write_checksum: sha1:1a6ae8466dfe91a32fae2305870dc716b5685e35 - pristine_git_object: 145f0188fb0d8c945bd45ad405703a73d2d8dbfe + last_write_checksum: sha1:aa519329b00c5b53789ee5d855b2cd6fe9b342d8 + pristine_git_object: a7beae9400673e840138793406d31b9624436747 src/mistralai/client/models/query_workflow_execution_v1_workflows_executions_execution_id_queries_postop.py: id: 73826dbd3f5b - last_write_checksum: sha1:5105618697e031bae45cf9f6d7c5227d9c08f155 - pristine_git_object: 5598c4b6f24b0c1a7cc24c6a71b7732aa18e89b2 + last_write_checksum: sha1:45ffc91a8c39c5112437791bc1509c2ccbb4241c + pristine_git_object: 98f2459fd042d1f8d0c49d9f0ab222fc9825bc68 src/mistralai/client/models/querydefinition.py: id: 9648273c8b7d - last_write_checksum: sha1:f76a8ac3af27ab1a8ceab6b6befb3af4b4ec919d - pristine_git_object: bc9b4f20c754f5e29b2193682376a044186a5a10 + last_write_checksum: sha1:ff2f4f5e70a8ee1e5031d7413046a7aa4baa7034 + pristine_git_object: ac08ff12d0ae029d639195ba185434caad9f8621 src/mistralai/client/models/queryinvocationbody.py: id: d78662a1a9bf - last_write_checksum: sha1:002769d41d021a34f2adfe0bc7383f02142aaf24 - pristine_git_object: 550e1d7b584213d84fa9fc367711f3af1f8f0d62 + last_write_checksum: sha1:e474544abb4cf0028d9fe61f6f8d7f31755e4ab3 + pristine_git_object: a8841bfe887255331b2f7de350db17e99548cdb3 src/mistralai/client/models/queryworkflowresponse.py: id: 30281fcedce6 - last_write_checksum: sha1:fbcc1e870c0a81ff165311519981bd179b4bffec - pristine_git_object: aed982d5bb0939985e3966bf54a5a1a43e9b634d + last_write_checksum: sha1:2a76812eb13c6067850a2af8a2e5e276928a3d96 + pristine_git_object: 8f3d7083d3b9472d6bc1c2534f1e139b166fca62 src/mistralai/client/models/range.py: id: 0e7d58f94da1 - last_write_checksum: sha1:8e75bdf98ba75a6f44295105019ec1a63e061b40 - pristine_git_object: 44326eff138efd7e6f2e24153f330a19d5573bc2 + last_write_checksum: sha1:051775c8b84b89a0d57a2678f23d71aac34bd447 + pristine_git_object: d14c3c60900b23a3cbd976bb90ef271c6378c06b + src/mistralai/client/models/read_index_v1_rag_managed_indexes_index_name_read_postop.py: + id: fa02d8c02b8c + last_write_checksum: sha1:1d431d6be06c84e39f0e231e18d217ccc9ac9ae9 + pristine_git_object: 8e3464d56250b586bdd8fe79a01c2ca4b3fec6d4 + src/mistralai/client/models/readrequest.py: + id: 8ef0ba975e25 + last_write_checksum: sha1:b74353dfa67c9c373adc473c5ffb9d31f819169b + pristine_git_object: d318e18465c8eaac9a61b2c75cd30c30749b0456 src/mistralai/client/models/realtimetranscriptionerror.py: id: 8c2267378f48 - last_write_checksum: sha1:8bfdc2564fc416b0e1a4cc2e2a3a5437b26cea85 - pristine_git_object: 8ea1d4259df73f29096dd469dc24f668a4af0066 + last_write_checksum: sha1:baf9963ef1a7c5ed3ca3958859237b3d6b309dbb + pristine_git_object: e9eeb12440cf5d28d657da627cc19db9635fe371 src/mistralai/client/models/realtimetranscriptionerrordetail.py: id: 5bd25cdf9c7a - last_write_checksum: sha1:a226b10718b1fe4a661311cbd98ea3b1d1ac4163 - pristine_git_object: cec1f6eabd44ceab4e58694a0862c9c90ea2f264 + last_write_checksum: sha1:471824f03586b63688de43608d6c756b8a156e11 + pristine_git_object: e1f48379854f6fbfb9c2c12dc1cbfd6cd09181c8 src/mistralai/client/models/realtimetranscriptioninputaudioappend.py: id: 8b03cde6e115 - last_write_checksum: sha1:292ec325423d102ac2ff89071dd814625359ee09 - pristine_git_object: 82ce59fccfe6347876f83a7bcfb78858915eca8c + last_write_checksum: sha1:c18420f207c50d8ef915b6377ba703701e5881a3 + pristine_git_object: d9d4a23292e1325212ebc17e4815376375538131 src/mistralai/client/models/realtimetranscriptioninputaudioend.py: id: c187ba1b551d - last_write_checksum: sha1:7edc5617574a354fd3eb67a16086b5cd0d52cfbb - pristine_git_object: 9b0a87099103480379794727fa12bf1face16c6b + last_write_checksum: sha1:f4241e78a6133980788f14422ae3b6a2f680cc35 + pristine_git_object: 37db0e2824dff7c64d4358177a4819ee5c3c78ba src/mistralai/client/models/realtimetranscriptioninputaudioflush.py: id: b27b600c310e - last_write_checksum: sha1:a7ad72a1bbae2f4f8c79aa277fd8beca6db2e1d2 - pristine_git_object: fe7286330722a27859c647d1c4f66f501e5fdd03 + last_write_checksum: sha1:548b232d705ea8766dd24c1c101c788350d9c234 + pristine_git_object: a54c9cce673ee679d04f971104d88608a9458728 src/mistralai/client/models/realtimetranscriptionsession.py: id: 02517fa5411a - last_write_checksum: sha1:3932d73a512a963ba7b8ed77ebaeb614785d7d1a - pristine_git_object: e23c07ec9df36495b4482a4fd9592867db2d0b3b + last_write_checksum: sha1:67f2753ccf276a2d74665d0e51fed5b43b8ba8c0 + pristine_git_object: c643e6d6d4f1e58065e04bc3732db339b6982cc9 src/mistralai/client/models/realtimetranscriptionsessioncreated.py: id: 4e3731f63a3c - last_write_checksum: sha1:daf7843f9d775a7c915e55f34213f3db2620044c - pristine_git_object: 88da8764f123cb42d6476c8f0cd60c9e7d2b07ae + last_write_checksum: sha1:b7ff1d2661decff41c89a3fa1e0b2fb4c28ed840 + pristine_git_object: 6d0057dd92ffe2a08673a0da3d4d11daeacfda2b src/mistralai/client/models/realtimetranscriptionsessionupdated.py: id: 686dc4f2450f - last_write_checksum: sha1:ec6e2ddb086b80138cbb1492b013ae0a6dd11b9e - pristine_git_object: 474b2fa70798bd0fea65232fa5f32eb33dce4c69 + last_write_checksum: sha1:1d5b658264ae61455f42348ef2a37804920775f0 + pristine_git_object: 07f0d7f59d0f6abcbf60ddb83e24a177dafa72aa src/mistralai/client/models/realtimetranscriptionsessionupdatemessage.py: id: 4e1b3fd7c5a3 - last_write_checksum: sha1:2edad8c5170e38fc0968569bcd0cf1c51321f80b - pristine_git_object: 4013d63818394f0f2eff84b72bba5234fb139378 + last_write_checksum: sha1:aa84656a2dde7d8a15de9ee79f1d372cccd54dc7 + pristine_git_object: 9bad75d26e529f6de14507bd48e4bddd2e70fd77 src/mistralai/client/models/realtimetranscriptionsessionupdatepayload.py: id: 7033fdb33ad4 - last_write_checksum: sha1:0221d1f4df2e6f7c8e42c366d439ec54023e0b1d - pristine_git_object: d4ce43f77c6dd2e6691b04402523bee6b9d21ba6 + last_write_checksum: sha1:0891e7f1352218b0f9f74b8e0700b1cbca7a69cb + pristine_git_object: fc3e6195b9c81c41b6fde47a6f5625e112f3269a src/mistralai/client/models/reasoningeffort.py: id: b930a0a20654 - last_write_checksum: sha1:5453546752369541d5ae4e96fb2d45bed91c3fd3 - pristine_git_object: 5683ffbda3fb0995949e3d9c3422601e36e9322d + last_write_checksum: sha1:178bfa8d2cd0d61c4da50794a0832c5d9bd3308d + pristine_git_object: bb1060c8f1d2fb789638d58d36933d668f09de77 src/mistralai/client/models/referencechunk.py: id: 921acd3a224a - last_write_checksum: sha1:4547701c01752a19e509f3edabfe6a5de0281454 - pristine_git_object: 0ed4a73708e2c63435c0733c06bb0653b96559f2 + last_write_checksum: sha1:4945a0fe2e85bb8004f4e9fb7c265d5958ec538f + pristine_git_object: 8182935367254c932302c365d073a10d796d95b1 src/mistralai/client/models/registerdeploymentrequestdeployment.py: id: 9dcec21cfd06 - last_write_checksum: sha1:93c98ffce299f1715f11be7f78b13e8fdf7cbe7d - pristine_git_object: 0874dee106acbe36e38bcba4016864094a6b67c2 + last_write_checksum: sha1:1d7fce23c4a710a64206649fe43c5174c0369f35 + pristine_git_object: 154e8d5e567eee2bc5d2691b117e33c315952423 src/mistralai/client/models/registerdeploymentrequestvespadeployment.py: id: 002c9695c4b0 - last_write_checksum: sha1:e1d4182daadc101887f049661a3437f0f4204d46 - pristine_git_object: 685df138a70b4d562808e3bbc2100bf8fffe8bde + last_write_checksum: sha1:3e6e685170797786cb4ebcdfc8dfca8cca94dc37 + pristine_git_object: f392f9248e95762fb903730d822d06b648a6b834 src/mistralai/client/models/registerdeploymentrequestvespafield.py: id: 4a62bce4e1d5 - last_write_checksum: sha1:95abf5270ac98883abe4ab9a6dd5b59bb8a80952 - pristine_git_object: a2a4d6b79604ff8c4af0e374afd3f33a8a0a8432 + last_write_checksum: sha1:7d0feceb1812d20c64e42781494f604b97da97ef + pristine_git_object: 697bca648907c8a73764564cb5d996d2e08893bc src/mistralai/client/models/registerdeploymentrequestvespaindex.py: id: 2fb0584f27cf - last_write_checksum: sha1:408fa9f42cc1c591fe9444a97b1dbb94cf0c589c - pristine_git_object: b8ea5946ac3ee6f04fb74d073225c24ed1356231 + last_write_checksum: sha1:98af93a179003325f079fde3cd2bed6b6a3e36b3 + pristine_git_object: 12676603f61953809175cf1d6dd4441aa66f05bf src/mistralai/client/models/registersearchindexresponseindex.py: id: e66c7b574b75 - last_write_checksum: sha1:7a8397ef0b393f59b61f9dacd2aac124f05fb169 - pristine_git_object: 35486c044b1b539541818a8c5fbe80b707415b4e + last_write_checksum: sha1:0f9535013d2b0f0c9fb34458f44635adec3f5924 + pristine_git_object: cd4bced7cc810eb30d6f80978b54e67d2e319721 src/mistralai/client/models/registrysharingscope.py: id: c1151df8930f - last_write_checksum: sha1:0bd5788e8cf7eb0b78bacfc37266be5c55cdf8e5 - pristine_git_object: f384bc59a0bd6c0a93df66594597e30e720457e3 + last_write_checksum: sha1:d4d8599ae87ab6c559e22712c8cf16ab016ae8b8 + pristine_git_object: e62d65e3c5b243e46c8382a92b8910ea6f374f93 src/mistralai/client/models/rejecteddocumentresponse.py: id: c5c97c7efa2e - last_write_checksum: sha1:413837f96e88864c8568e48951e28b7351cff7bd - pristine_git_object: b9263ee7d9b1753f70c875f43be8a3baaef2ddb7 + last_write_checksum: sha1:f21ef0741d73e270111cc29fd2d0f3407cb0acfd + pristine_git_object: 912510bd48eaa4ec3259aa5e159c2470acf1227b src/mistralai/client/models/requestedservicetier.py: id: 662ec7931b9e - last_write_checksum: sha1:dbc9059830f7ec1ca538860451093aa53521abba - pristine_git_object: 50bb94a6c53dc24dfddce884ea09609c3c3f7771 + last_write_checksum: sha1:056892b600a6b09d5e39ea67fd8629e50763be19 + pristine_git_object: dfe1b9eb95c08110c773e54402e211671c69a9b7 src/mistralai/client/models/requestsource.py: id: 3f2774d9e609 - last_write_checksum: sha1:1ce68530a46793968f1122d29df722f0a5c9d267 - pristine_git_object: fc4433cb4e657b06aa6a4c078094c2df342810e2 + last_write_checksum: sha1:31aae791bf737ad123fe189227d113838204ed42 + pristine_git_object: 7b0a35c44050b6fca868479e261805a77f33e230 src/mistralai/client/models/reset_workflow_v1_workflows_executions_execution_id_reset_postop.py: id: 3e9d229cd8ba - last_write_checksum: sha1:ef6d5e37d26d9488c657f0fc27e3e3fd4ec34e02 - pristine_git_object: eda20e536e92f38bf5ffc115da6d7c748c70a4fd + last_write_checksum: sha1:7618b3b97e2701c3a3451974d9b3cbc851f8581a + pristine_git_object: 35f5497d6dffd837e02e29d52406b7cd2e3fcf17 src/mistralai/client/models/resetinvocationbody.py: id: 3c0a985a5a77 - last_write_checksum: sha1:bef8afbe543404fdd79d1b40ea7611f4ac7de3e0 - pristine_git_object: 26c3389f988818090bc60e17ffb9a65ce992d33c + last_write_checksum: sha1:c0cda70b115d6bda2da0c586ebc68cffab33b34e + pristine_git_object: 9f23bf23463cf873832bf524db6704b75ae9284e src/mistralai/client/models/resourcelink.py: id: 4251cc3c7797 - last_write_checksum: sha1:fad9dd6a100450397ee358842a31804c3552ca06 - pristine_git_object: 890c5be1de611379c12d1525d596bc284e0e197d + last_write_checksum: sha1:88bdf1c9e06f29a4c24e96f62c94fcd6a504b0ca + pristine_git_object: b20ad61496abd6efb2cfbdf8b438f56422f776eb src/mistralai/client/models/resourcescapability.py: id: d109cd5fe17d - last_write_checksum: sha1:b7ebd5ed1b64ee944b0d8534ce1e1bffb3b545fd - pristine_git_object: 39bd1a0b7b48462199d1a7e3cc5351679a78295a + last_write_checksum: sha1:e9335c42a3f25d2b5bfdd034972e6cca9b3d8753 + pristine_git_object: f46371810ff3d79eb7f6b03649b7b7298ccaf4a8 src/mistralai/client/models/resourcevisibility.py: id: b5819dd5f981 - last_write_checksum: sha1:3c7e91baa8c8a0bb2ba55a6b7c14db04350278d7 - pristine_git_object: 56f91f154594a121c988497332e5b978cee4264c + last_write_checksum: sha1:bb49bf219beb72fc0eb325d63cfe8c0214c1ebe4 + pristine_git_object: 630a58b284c0ff0267073bcd6b73bf903858652d src/mistralai/client/models/responsedoneevent.py: id: cf8a686bf82c - last_write_checksum: sha1:598757cc2549972367c626143eb14864f40b4868 - pristine_git_object: 89a58bf77313bbddb0fe8d460374cdbe5d02cea6 + last_write_checksum: sha1:9aa705f127e015fb84fa56231f2c7e34227094a0 + pristine_git_object: 26128a32f1d92f69d6391ec4fc0c610173434a5a src/mistralai/client/models/responseerrorevent.py: id: b286d74e8724 - last_write_checksum: sha1:443a69babe18e95bcc4219423449e57b73bc6015 - pristine_git_object: 5326c4e8293d5bc7cd6572e4cf5511ae2bec97d7 + last_write_checksum: sha1:488fbce53939bfe651e1c33f103d629ac3c42419 + pristine_git_object: 8a0e0ef2eb1b4074bbb779dd7ce7a323b6f6bda3 src/mistralai/client/models/responseformat.py: id: 6ab8bc8d22c0 - last_write_checksum: sha1:8f0993a7f7eb6ef5264706320242ab0f0d939227 - pristine_git_object: 95141394226e21ab908efd7e3795c8132fc8fa38 + last_write_checksum: sha1:4683a7a4e3533feaac46ea65d9cdf038a263c61e + pristine_git_object: 2ebd50d7418b2c79c19493741fb0ad9395e32921 src/mistralai/client/models/responseformats.py: id: c4462a05fb08 - last_write_checksum: sha1:3cb82d44a4f9df5e9a3f51867be6eab1d439d87a - pristine_git_object: 21345778ad2d41a3746292e67fec628f9ec2a84d + last_write_checksum: sha1:863c7ec4c567d8f0c4e6305b47896424726e71be + pristine_git_object: b98cd0984a31bb9aaeaacb5c717776ac06819e8b src/mistralai/client/models/responsestartedevent.py: id: 24f54ee8b0f2 - last_write_checksum: sha1:bbe13695d5cde5f98635c01453057061d0167f99 - pristine_git_object: ca3750421f3dda97cd85a6783084a934ed4f0fd4 + last_write_checksum: sha1:20e5f34b3e10f5ddd56547a0ad7750b87f90464d + pristine_git_object: a8e5ac60cf49aa717338b96f929d82083a1e3a8a src/mistralai/client/models/restart_deployment_v1_workflows_deployments_name_restart_postop.py: id: a24431d44971 - last_write_checksum: sha1:29f842f60598d701dd3c2bb65df96cfc37543e97 - pristine_git_object: 42f8ce8585ca4ee39c124a80db7cade954528023 + last_write_checksum: sha1:633a4b28567e7205d75b841a8503f01a86ed3032 + pristine_git_object: c8b0503d9be85d69f95a2344b40ad4f9c36482f8 src/mistralai/client/models/resume_schedule_v1_workflows_schedules_schedule_id_resume_postop.py: id: 2daf20be73bb - last_write_checksum: sha1:4775b3a31c7dcdd5be1db4117044bfacb4698d51 - pristine_git_object: 101bef6a08df0fc4fb4c4db2f5675b58908863e0 + last_write_checksum: sha1:bc061bff05d7cbd20b24a60b674da6ce35c16ad3 + pristine_git_object: dd87a2d22b34d4cf84f635c198163d429cb8dcf0 src/mistralai/client/models/retrieve_model_v1_models_model_id_getop.py: id: 6fefa90ca351 - last_write_checksum: sha1:52775e73fb5c51d245362ce63672cec776e5b6bd - pristine_git_object: cd5955c1eadb8cd9d1f9ecc388c2cc17df11c885 + last_write_checksum: sha1:6727373da253fb3da395681c167264141771d9cd + pristine_git_object: eaaf010c5556472fa94983033984faec79fd2afa src/mistralai/client/models/roles.py: id: e41c04cf7422 - last_write_checksum: sha1:e953cc08f43a7a4b8f143830e5308eb26d44f8ac - pristine_git_object: ff36ebd72389228752297c1c9ec80deb7557430d + last_write_checksum: sha1:67cf30898ea50742c1271ea6d825abafaca630f1 + pristine_git_object: 42263b5d1c4317d7e991182f386ab83d797478f4 src/mistralai/client/models/rootscapability.py: id: f1514b6dd416 - last_write_checksum: sha1:55eaee162031944b1a3d334cd2084ca39261de9f - pristine_git_object: 37b25d65f2bff9c8018bce9f82f9e918fd6bca76 + last_write_checksum: sha1:89c3176d828c0c080070a0d620570aacef13bc6f + pristine_git_object: ff4ef8d9b1c1570533764e894904560a513187e7 + src/mistralai/client/models/rrfretriever.py: + id: 78dc5d3684c2 + last_write_checksum: sha1:a82124e6c0145454b3c85bfa063e0e74604a2a8b + pristine_git_object: 5b02081c009b0030cf171aaf3a51b54a22bccda3 src/mistralai/client/models/sampletype.py: id: a9309422fed7 - last_write_checksum: sha1:86a61340a647696f6c35a82d945509b1c85aa6f7 - pristine_git_object: dfec7cce1e22ab607b6a9e947fa940284426086d + last_write_checksum: sha1:1eb21a68c138e9a0d39b4dd14bcffc9e3ff0784f + pristine_git_object: e0727b028c790a62da67784965f825436dead4f8 src/mistralai/client/models/samplingcapability.py: id: 0a7af0cc3968 - last_write_checksum: sha1:dc1c3d442c31adb176fd0d12a5963c850594eb15 - pristine_git_object: 46aa3be5192d2e9ea8cd81c5f078fc90f0d522a6 + last_write_checksum: sha1:9fe73666094d2d3b6a998fdb1f6a21473c64f047 + pristine_git_object: 15fa8729eb8122065b968d6f670d43a75dfe7cb0 src/mistralai/client/models/scalarmetric.py: id: ae8eb1017da6 - last_write_checksum: sha1:c85c3825e8f60eac8776e912425ed4f43b387ad6 - pristine_git_object: b9c70a7712022ef4f2f0b9d2e2cdeb3399f79621 + last_write_checksum: sha1:2618c47619823b2f2360aff36e56ad852629b497 + pristine_git_object: 9a2b385bdaffc1830f9a053848a16cbf14a9dccc src/mistralai/client/models/schedulecalendar.py: id: 76d72d187023 - last_write_checksum: sha1:8f732c72e3b29748d8d913990fe95dadf6a14cc6 - pristine_git_object: 2cb179eb22e9ac10e820ed276187cd863fc7a440 + last_write_checksum: sha1:c4da6e5d8b2318924d43385e1adb4a718c58aee1 + pristine_git_object: 12bf73cfd67b9b1b784c2ba002558b7ceb366cfe src/mistralai/client/models/scheduledefinition.py: id: 6ea58a356f77 - last_write_checksum: sha1:4102a73a034dc19c4ea209104a5531ab4bba9b11 - pristine_git_object: 3c018552dc5b883cc92ced39d4646fc6f13a1da2 + last_write_checksum: sha1:d5ff27979b287098d270ae3ef1b2fee7c3dc3a79 + pristine_git_object: f24b28060ddccd977fad8fbb53ea79b7681dc481 src/mistralai/client/models/scheduledefinitionoutput.py: id: 69dc15b9a0d6 - last_write_checksum: sha1:a50e56e37d2219491ffd25e15755bc1db26f745c - pristine_git_object: ffde3920742930cd0e2a5ddd7ec0b5b8078de50d + last_write_checksum: sha1:f2047bf1d904ea16da4311b800f0eef17fbb0fb9 + pristine_git_object: 65d18d71018ad9721118d22a07f3375187dcf3b0 src/mistralai/client/models/schedulefutureexecution.py: id: 44bb85af3d44 - last_write_checksum: sha1:11be9c9a4c488c42aabaa8090b8032b2e699ac4b - pristine_git_object: 50f0491e7acfe4dc7c2a65e5c7f3eb2259f01076 + last_write_checksum: sha1:f0d2aca91e537b3c21363e86c60d44af097d2b67 + pristine_git_object: f58a9d95cdaadb89115a50e4a02d76ac749d8514 src/mistralai/client/models/scheduleinterval.py: id: 1d89c2043566 - last_write_checksum: sha1:8119be5607d6ccad371b83f93b22da6e08c21504 - pristine_git_object: c01cf8522f743b4b744f02603da7df15311de406 + last_write_checksum: sha1:9f5ea25dcae6c4756068c6fbc205a40b55363217 + pristine_git_object: 10abe39772b8652a69ee9dbbeadda4b482a5f20e src/mistralai/client/models/scheduleoverlappolicy.py: id: a729c26f9c43 - last_write_checksum: sha1:f39e47b552d05c3bd9534d1c061f811d47d71191 - pristine_git_object: 13db394715c184da98432af6a971393424bc5197 + last_write_checksum: sha1:e16e427b9e7791bf0bd7779478a0f3dff1b146df + pristine_git_object: 37e33e17979861755caa57d72bd711e24ec18fe1 src/mistralai/client/models/schedulepolicy.py: id: f326afe63958 - last_write_checksum: sha1:47f6665bb77b023658794ef1eac2013d92f3d349 - pristine_git_object: 9a507656a4da020ea5c7a2d22b81d912ead32022 + last_write_checksum: sha1:e910e5309e0d44c601484f59717311b24b0aa682 + pristine_git_object: 3c3bfe378e46cfadb0d6386d1d9c87399c2c1cae src/mistralai/client/models/schedulerange.py: id: f9d442a062b5 - last_write_checksum: sha1:763d3229958d166028203998b964abaf73d42a2c - pristine_git_object: e30eed16bde2b71981b7b15e9d88a044910c6c3b + last_write_checksum: sha1:2d4277da53c7aff30cc9a5253510325f952ab056 + pristine_git_object: d27c2862ba776ea3b1cdd24dbba1193c2f2d320b src/mistralai/client/models/schedulerecentexecution.py: id: 745d146d9413 - last_write_checksum: sha1:ffa517cc252189aab02c3dd0b342475e2aa2e5a5 - pristine_git_object: ad46a70d3b507aac0811d7250e5a11fb26d5b32b + last_write_checksum: sha1:7a83f773e8ffe138260347803f9fa2c2b19355f7 + pristine_git_object: 787592312a16cb7b222a12a05925532cfced577d src/mistralai/client/models/schemafielddatatype.py: id: c391391d0988 - last_write_checksum: sha1:2d5b487ad7bb23eb9d6c4be75798344b11385b79 - pristine_git_object: aaa334590265fe9c464e53dc5b26407ce31a97d7 + last_write_checksum: sha1:5a4688409bd510752b00ddc202d7c65e77eb6e14 + pristine_git_object: f2bd97282dce6efdde5e0cf3d75652187a54aad9 src/mistralai/client/models/schemafieldindex.py: id: 9501fc2b7fa1 - last_write_checksum: sha1:f584ca3fbf9fbba8dbdd174213455b8468eeec30 - pristine_git_object: e1ef8b12e094cd6dd207d0fd1f787e2a3838082d + last_write_checksum: sha1:579b7ace6ff20ae3253e7931094c93065a7873bb + pristine_git_object: 62b1d17e2bef9be0d5065afcf1acded032974d8d src/mistralai/client/models/schemafieldrankingtype.py: id: a21364283a70 - last_write_checksum: sha1:fe457fff5f014ceced101ba7ffb6d1cf6acea1a5 - pristine_git_object: fc9cf182dc2f88d5eabf780f36bb504e9aea3efc + last_write_checksum: sha1:014f29bbd5a3fa2a3a6f13cecf9c2c8564b178a8 + pristine_git_object: 9bde1b4f2e134a110bda8718e9054fdf51a39816 src/mistralai/client/models/schemafieldstorage.py: id: 6ec367e3cfe5 - last_write_checksum: sha1:4feaca3f1962448d05aceb1f585922835b0f1af0 - pristine_git_object: 544e1909c18879b3fc9c5231e338803ce959cf2e + last_write_checksum: sha1:ff5b04afcc4edaaa8baed301600002515e62b7f2 + pristine_git_object: 06d02c5b377e97a2e5fd19499ca68836afeb5a49 src/mistralai/client/models/search_index_v1_rag_managed_indexes_index_name_search_postop.py: id: b1be3d65993f - last_write_checksum: sha1:0bdb9c8d448cc0075d52ea53fa86a177582a1dec - pristine_git_object: eeeea08164e6d393e9e2aa7142cabf9b45b9dd7d + last_write_checksum: sha1:cd60d004ccd2d5feb4608a55ac661d487f4f6ee2 + pristine_git_object: e58de14bdd0678ab9f196b59382ea7dc5289def0 src/mistralai/client/models/search_latest_span_evaluations_v1_observability_spans_evaluations_search_latest_postop.py: id: 26821a9e16a7 - last_write_checksum: sha1:670cb56fbed3d0ab3cf90f091643657a80e2db2b - pristine_git_object: d88c434c92a59eb426eec1d9a3ad5d441306a9eb + last_write_checksum: sha1:de41a88bff51d164dd5c904036fefebf93b9c4c4 + pristine_git_object: 4adf59c03b18333d02c3bde2e57ba5081020d31a src/mistralai/client/models/search_logs_v1_observability_logs_search_postop.py: id: 601f46c3df14 - last_write_checksum: sha1:729f635f534eeab3c2731797554b4c11854c982a - pristine_git_object: fb63879dbc0f9cb61013c1003a858f01aae85f0c + last_write_checksum: sha1:16d77558da3da947372e2ab66386cbd4e0ed39ed + pristine_git_object: b13b94056101cc022b6c140032e1074726d4f68b src/mistralai/client/models/search_span_evaluations_v1_observability_spans_evaluations_search_postop.py: id: 13b5c72c2e76 - last_write_checksum: sha1:25d021e05a11e8ad71ceb17943cd3d43cd8e3342 - pristine_git_object: 8647b6302572a9bec14140ea0975b3913f37aa6c + last_write_checksum: sha1:3297f22187ceb723b44bf50a61f52cb4afb0c81e + pristine_git_object: a357f27ea4557afe7e9f0e174614041dc5248b7d src/mistralai/client/models/search_spans_v1_observability_spans_search_postop.py: id: 0d9b8600ae11 - last_write_checksum: sha1:db334dd101a3b501c29dde190d4a364c83b97a3c - pristine_git_object: 158475f17a3cfd65f48184e522242ca60d73bf63 + last_write_checksum: sha1:76caba295b50415a5ff8df187b05a0dbc33af9e6 + pristine_git_object: b52f80b1e085322976ac3b96cba3497cdbdbf44f src/mistralai/client/models/search_traces_v1_observability_traces_search_postop.py: id: b7758d63781e - last_write_checksum: sha1:f2a58f137a55c9bbc6ea3f1d7f5d790ab9022b2b - pristine_git_object: ad4d368fd60fbce97e4ba4ca5c9be4c317e4e5a9 + last_write_checksum: sha1:f6bed5f54c48fb7c5ae6820c50b52467973e80c9 + pristine_git_object: d91b4ad5b2ded2c572ff430909f11dd023d5dfb0 src/mistralai/client/models/searchchunkresponse.py: id: 29a1501856ee - last_write_checksum: sha1:6591206d6f8f588cfb44d0c6a84eccb625f2fc4a - pristine_git_object: 49574a43a54ba5ce2a1373a51bc8ea46c5a067f1 + last_write_checksum: sha1:0717e55cfa2530fd68d37dac9fe1e713372f5c1a + pristine_git_object: 6114ca9062466e6af3e9faeef729a00447c06ef2 src/mistralai/client/models/searchhitresponse.py: id: a290709c7eb9 - last_write_checksum: sha1:0e29afd2ce68c1ab4badce42131d7c8d501a2acd - pristine_git_object: 7ae8cd51d6184e9ba2281d2d4d8041523b81aba1 + last_write_checksum: sha1:ec0bc75f7d5d1c699a4c4812f7cc75be54ec5dcf + pristine_git_object: 93252d482f4c5605c88171e0d34c1773d421aeac src/mistralai/client/models/searchrequest.py: id: f2dafa00688b - last_write_checksum: sha1:af33021112f7ce96c4f8fb6ff3e1bb7996bc8d0a - pristine_git_object: d2bd190c04ec5642578eb7a2b5e032daa1c9554d + last_write_checksum: sha1:24c7924a9378fd8873ae18277c1f00fb6ca7c96e + pristine_git_object: 0e353edfd57fa34510c3ae9f7fbf04c0ff2c30d4 src/mistralai/client/models/searchresponse.py: id: 63e04ad2f0e5 - last_write_checksum: sha1:c03a8309a8118d87c4856cf254301058c2ebbdaa - pristine_git_object: 172a812d2fd5c499ff6c8ea89786c4f846659014 + last_write_checksum: sha1:89b137694bcf04ff936d65f57bba7a425ee0f265 + pristine_git_object: 9a0575362fde1894ff29440a1c85c4a92f89529e src/mistralai/client/models/security.py: id: c2ca0e2a36b7 - last_write_checksum: sha1:28496d4ff921e8c2186072aad170c65836a4b8f8 - pristine_git_object: 36b129533187283e4fdf53a67019b379b1e251fa + last_write_checksum: sha1:4a4220117687c88be8b083f9554cdb57f44c7cb3 + pristine_git_object: 1730fca1f2f13f4fe7748c52891948f29a03f7d7 src/mistralai/client/models/servercapabilities.py: id: 9e5832ea005a - last_write_checksum: sha1:88d632a3dc3e8fd328633278be15d0338f275559 - pristine_git_object: ccfbf932fc59fbd6289b78135114386a476e12e2 + last_write_checksum: sha1:897bc08e7456b96229a3da46bedbbc783fc855ae + pristine_git_object: 1de3321f1d41d8b8cf381f6daf3efbafc25e1b4e src/mistralai/client/models/serverlocale.py: id: 5b70fcb88050 - last_write_checksum: sha1:0e6898c0280308f4f17845826dbc110ff7e83f10 - pristine_git_object: 1b73a7494ee64f538c4374998a4e9de0825664e2 + last_write_checksum: sha1:8854fbef1c6faf769661c94c9d7b4585dea81c2b + pristine_git_object: b993496644648de7584a5376c651d79c2ec92dd7 src/mistralai/client/models/servertaskscapability.py: id: fff9567cb403 - last_write_checksum: sha1:48c88c31c5b7928c7be018155863c0576db1b4c5 - pristine_git_object: 7d2c2927401f5c3c2fdca2980c00c174c1e94741 + last_write_checksum: sha1:5d0fd31d5095096743a087ae609d353fd615ff59 + pristine_git_object: 382a6ea5969d836f676c62f32902c14001dfd010 src/mistralai/client/models/servertasksrequestscapability.py: id: 23cc8415f619 - last_write_checksum: sha1:a57769f03d442fc70e5f448ee65876d1a2fff093 - pristine_git_object: 2568507f11f1450dd4419e5dca7d38c9a6ebfcd9 + last_write_checksum: sha1:6b11d50ed2b105324f8f7933d8acb2b516371131 + pristine_git_object: 8b5a218583dd17e7d6e4aea786e5398198ccc736 src/mistralai/client/models/serviceaccount.py: id: 25a6eb98be17 - last_write_checksum: sha1:304db397981e87d5a757f20348f226dab2daa683 - pristine_git_object: 7f9ae37d1e8e1f5dceb001b73506464956d935cf + last_write_checksum: sha1:1bcd188eed894b49de041f576d9e156f743e7694 + pristine_git_object: 86f41fef005cd50809a5fe02f2ca78b490707bc7 src/mistralai/client/models/serviceaccountrole.py: id: dc3b4bcf5543 - last_write_checksum: sha1:d0d799c17e8c67e5d21286727456caf380c8ab46 - pristine_git_object: 8d5bb8ede1e193aaf1a90a538f72dfdb5e105fda + last_write_checksum: sha1:befaaa820fffe843cd36acd3129cffbcb0a11f04 + pristine_git_object: 0e58dfe1fe65bb137da230e2b80be0dfddd1385a src/mistralai/client/models/set_service_account_roles_v1_service_accounts_service_account_id_roles_putop.py: id: ab78888777bb - last_write_checksum: sha1:2904bf1b3f1ad6a0394a4163299a5d431769a4b4 - pristine_git_object: c0f979df6bc2edde3cac3e151e4e9e0ce312808b + last_write_checksum: sha1:2f0170ec5f742b11ce5af9f536075484f72f0409 + pristine_git_object: cb889f1a650f1bcbcddcac0cdc4f933e64998f7f src/mistralai/client/models/setserviceaccountrolesrequest.py: id: bcebdb912e75 - last_write_checksum: sha1:8f5c63ae2c2145843a46adb196d87e443879f154 - pristine_git_object: b35d807002a3497e897f4684ab61b148bf672d2c + last_write_checksum: sha1:556d0dbb308fbce2c52927ac1abd94acdc0f82e4 + pristine_git_object: d3cba8cad9594bef1e160af5e41fa53fd6a1e9b7 src/mistralai/client/models/shareenum.py: id: a0e2a7a16bf8 - last_write_checksum: sha1:15a84d57ceeb74cfb37275f714954e42d8e9b3ba - pristine_git_object: 08ffeb7e46fbbc28b7c93ef2aa4a49aff7c0d35e + last_write_checksum: sha1:0beaa4472ed607142b485c9e208441f9050746b9 + pristine_git_object: ca1b96245e81327aa830f07c0588dccdc1ee518e src/mistralai/client/models/sharerelation.py: id: 69421b933e61 - last_write_checksum: sha1:e50a4353d3e3e2b97f251c36d9a5920b6037accd - pristine_git_object: 2c4baeb893a72fc130a321f30eda8f67f661986b + last_write_checksum: sha1:e07514463e9a105c3cd0a6d204f9997d5715222a + pristine_git_object: 02eba1a923b3d9c68e8fad08e1a65c12e730e9cb src/mistralai/client/models/sharing.py: id: 324f5ac27249 - last_write_checksum: sha1:287adc1c670f242ce722c20bd182f6313fa2b372 - pristine_git_object: 4260f1751826195f574a6b84bfdbd4d55b0a617f + last_write_checksum: sha1:d1a4b4ce8cf45bd62b39d392ba45d676f8f7c529 + pristine_git_object: eb378eb716c1d51216ad84ba2d1c6f13233541f7 src/mistralai/client/models/sharingdelete.py: id: f5ecce372e06 - last_write_checksum: sha1:87b3c6e270147260b011eb3d705f84b0fbac1938 - pristine_git_object: 67399831d1f1ff7d7173ea5bf120b114caba6a06 + last_write_checksum: sha1:0a25c627749ad2b64ffb4cff12764e44bbd958a9 + pristine_git_object: 43535c22e73ed733b2bb7322e8db5a3e77796602 src/mistralai/client/models/sharingrequest.py: id: 2439b732dfae - last_write_checksum: sha1:7439e7d30b6cb676f1edfa86148e4b5e3a8065a6 - pristine_git_object: 94de31c1d2072adfc838e0684cb3573d93df6f8a + last_write_checksum: sha1:701a1718e0545f260319229606256c3c5881ef0e + pristine_git_object: 2be379421589db09d59f29ce125f9f7a9b74fdc0 src/mistralai/client/models/signal_workflow_execution_v1_workflows_executions_execution_id_signals_postop.py: id: 16c54f54e60f - last_write_checksum: sha1:57437b8a9d284f7e77459c319908ad0b8db33720 - pristine_git_object: c61ed019456f82a15c53944dcf0cf122edbdbc0e + last_write_checksum: sha1:f98336d76f7d898ba9f0fe9bd1a31d530325dd16 + pristine_git_object: eb17031ea73061bbf354d62076cf0f0aa6c9516f src/mistralai/client/models/signaldefinition.py: id: f1c1ac98a427 - last_write_checksum: sha1:d60f213a8d1783df73214a3117761ffdab92d564 - pristine_git_object: 434e12309e5e3232bc7ece9ec2351e75cf105d6e + last_write_checksum: sha1:443be196389d52ad786e993ab636cdc0044fdd39 + pristine_git_object: 90767839c4af9324eb16f2847624d5dba34fa038 src/mistralai/client/models/signalinvocationbody.py: id: 0fd96a7c058b - last_write_checksum: sha1:13c77816c7846edfe1fbf013c2864c20e9775c1b - pristine_git_object: 3b7a1ff1d590cf2a6b4df68016c56a01677808ba + last_write_checksum: sha1:6a0eb18ccf93f55cb4650a7787f0b80b28e1a556 + pristine_git_object: dc34f5ec632b85b51facbd1b4cc5f4b1a53c30f1 src/mistralai/client/models/signalworkflowresponse.py: id: e1844a7da20b - last_write_checksum: sha1:c891e5a904c040bcf2a5d46fe9851575890ae8d3 - pristine_git_object: 2d9ea356fb09d47e53274453476bd04eb6403e54 + last_write_checksum: sha1:0ded81167e664ee40631209ff7c2fe4502d574dc + pristine_git_object: 5deecdf3aecc24574e2a090bd7cc5e86ebde8056 src/mistralai/client/models/skill.py: id: 3f0496dc5b60 - last_write_checksum: sha1:b5d228d60d5c9fbdfaec9990f0f25a2843df88ff - pristine_git_object: 9adb46e952a0a726e0ecc33207cbaf8145117d53 + last_write_checksum: sha1:af0e4ea7c652e5e9539df721bcec838895182237 + pristine_git_object: 39800ab8066ac26816e5f144794777988dd4a465 src/mistralai/client/models/skillassetcontent.py: id: 0e26217feeb9 - last_write_checksum: sha1:4da274d2c1bd1cddd0480d42cfc7f9fff932bce1 - pristine_git_object: 88bdce9ede782beb3b5ee82ee1f46d7c67f02208 + last_write_checksum: sha1:ed9eafef4bfc950f057e6d49ad3a1d9cc7928838 + pristine_git_object: 3d1e9d497df630eed116cce68efbc6079f4078ab src/mistralai/client/models/skilldefinition.py: id: 246bcca78e10 - last_write_checksum: sha1:cd0222b8b6ee6459f923a7474183237e30c8c51d - pristine_git_object: fa6f5bb041c583a0fe7da64c2de77bba556df3dd + last_write_checksum: sha1:95aacbe08a3f3392695ee7c7deec865bdcdda733 + pristine_git_object: d03bb6a4353442ab32501dc3043d66d2161cfc18 src/mistralai/client/models/skills_create_versionop.py: id: 1e87cf43e50f - last_write_checksum: sha1:0b36ee4d67d4ad2c9fd79d2e1a1db1616175d909 - pristine_git_object: 04725eb072444d8b3eef87b9fa2b3d378a291183 + last_write_checksum: sha1:4315af204d0a8e6fdbdd02166f7f218695e1e02d + pristine_git_object: 052e0a60000ab77db49ff6c19c412dc2806f101e src/mistralai/client/models/skills_deleteop.py: id: 2d91d8419da1 - last_write_checksum: sha1:9e61e4089a1d24dfa317a564882ea540487f04c7 - pristine_git_object: 7b5e499991835945889ee1f5b5473f091692cdac + last_write_checksum: sha1:d2370d8a9d4f0b77b97657f1e21c01691af8f118 + pristine_git_object: 1e9a8e5a43241838d7140a911d783ff46ca42e7b src/mistralai/client/models/skills_get_versionop.py: id: d337e7fadaf1 - last_write_checksum: sha1:0ef4eb406760f1501051f0fabd41a8ea19a1e432 - pristine_git_object: f23cdfc791f2df1d628968ec2d83692ba7e0179f + last_write_checksum: sha1:de5012fbadf10b89866684d574e24889b2f07c82 + pristine_git_object: cfeb91ddab56d9c1fb4d9415d01bfa71202c5b7e src/mistralai/client/models/skills_getop.py: id: f1939bb21376 - last_write_checksum: sha1:199f8d3f91f21bc6e206bfc4b4f389f7c838274c - pristine_git_object: be95a977aec6379a43d126d418262e886c501e2d + last_write_checksum: sha1:f72cbef93497d9dabe02201e1c2ac98c26a80880 + pristine_git_object: 1d45e5921d11cd2c422ff30d77c79efadb3fce18 src/mistralai/client/models/skills_list_versionsop.py: id: 620d89bcbb10 - last_write_checksum: sha1:17cb169c44b063a54b808f1a46842cd9758d07eb - pristine_git_object: e60648a9026283f447d3328f323a9d3bfd93099c + last_write_checksum: sha1:0bd87bd7bb8805588b8f49fff7b9a3aa80001558 + pristine_git_object: b179e2daab6eea52b09bba496b24abb7146bf6ee src/mistralai/client/models/skills_listop.py: id: b3600a24a06d - last_write_checksum: sha1:8e88675ad7cab3116141c00d774ea077771c193a - pristine_git_object: f5a43bc5bfb42477d5317d2933deeef1445be5fe + last_write_checksum: sha1:de3f6374431dba15b4a0bb53c099f8920b27144b + pristine_git_object: 56f9ba3369e4fc80fe2eb1345fc73a68b2491ccd src/mistralai/client/models/skills_update_version_metadataop.py: id: ae5f5535c372 - last_write_checksum: sha1:50bd44142ff0414a0910325d0ce9db114f72d7d5 - pristine_git_object: 21eae47b6c8bca12b375cb3ba0e2547057fb2a05 + last_write_checksum: sha1:522202a8e73c56b792acf058c6c950c272a75e43 + pristine_git_object: 0fd0d94e7b006919cd7828ad0bb622b42904e865 src/mistralai/client/models/skills_updateop.py: id: 0a4f50bb358b - last_write_checksum: sha1:bd9888eba61aa4a76fff47015d68d3e812a34962 - pristine_git_object: e3f5c984f17abfff3d90bdef121722a1ad142f5a + last_write_checksum: sha1:adf6dd5adfe9a57e7da6e1b3092dbb57034952fe + pristine_git_object: fb42999768abb744c441a21214102768536afc0e src/mistralai/client/models/skillversion.py: id: 5b123200157e - last_write_checksum: sha1:943deed843b6533bf1381095bc2a82133a8d53a3 - pristine_git_object: 8042b8d720f004097cc98bbced993401006edc96 + last_write_checksum: sha1:624a9971cb59617ea0aa52d1188f942307d410d0 + pristine_git_object: 916d405ceec77ba230fe62d601efb0a0837166fa + src/mistralai/client/models/sortorder.py: + id: 10b144299c2f + last_write_checksum: sha1:d969325ce7bc3934368a939286d01e8a218dec1f + pristine_git_object: 2403b093da29206c7aaf382ef50def5bdc3112f3 src/mistralai/client/models/source.py: id: fcee60a4ea0d - last_write_checksum: sha1:4d4277d75f7ce001780a069898b38afa7c8addc0 - pristine_git_object: fcea403cdbad44299fb2178f07a63bb7e83dc033 + last_write_checksum: sha1:6f3ea355c62280e1fc6008da69ed0b987f53fd72 + pristine_git_object: 181b327ea73a9bcf9fb90f95633da71cee96e599 src/mistralai/client/models/sourcekind.py: id: 5205c9c977a1 - last_write_checksum: sha1:8a6003061b58a9f8c1d72bbeac9a49b121ba664f - pristine_git_object: deb1fa3159dbfa2a016d187289c3214a061d29ce + last_write_checksum: sha1:67351707ac02239429b3053f0842edff34e5e70d + pristine_git_object: 9f0f3d6589d075cfb4c33adfcc19dc2f819f4dd7 + src/mistralai/client/models/spandatasetmapping.py: + id: a6d07c423bd3 + last_write_checksum: sha1:27930e52055ae9e220a0ea8e9612f5aa84a107f1 + pristine_git_object: c7dd7abdb84546826d7c554616f9dd230d0aacd0 + src/mistralai/client/models/spandatasetmappingcontract.py: + id: 44425c212cc7 + last_write_checksum: sha1:d3244842a53316e9c9c3cdbc6292486857c17866 + pristine_git_object: a22977a64f5089d880c0f25d95b29123a3b143bf + src/mistralai/client/models/spandatasetsourcenamespace.py: + id: aef12a752deb + last_write_checksum: sha1:5f7660ab7c92ca11fdfb3ee53766bc45d0c0e3ed + pristine_git_object: 9adef6cbc7d39d6462504c5335e6409776cecd68 + src/mistralai/client/models/spandatasetsourcereference.py: + id: 857ec9b63765 + last_write_checksum: sha1:294d64127a2e22d9c876ec826c00a7ff4e16a371 + pristine_git_object: 605be553d77560deea02baa041593ac563211587 src/mistralai/client/models/spanevaluationsrequest.py: id: 89836411323a - last_write_checksum: sha1:e4d1c575877f3070fdf6967b1faed1f96890340a - pristine_git_object: 08f020c5ca5e1dc542e0bfa886f96315faf1a0f0 + last_write_checksum: sha1:91041748b64aec97b725c3d0314ebee088f84e61 + pristine_git_object: 5d1386a6c697781bfa7ecbf64a30bb815386720b src/mistralai/client/models/spansrequest.py: id: aca856aff5b4 - last_write_checksum: sha1:a08874681f1afeb1f3db1df01903d1e4a4555aec - pristine_git_object: 5f34709ba05304c005b081b8293426198706d3bd + last_write_checksum: sha1:c5c2f9c2457c0dc09b31b83ea368435336f302df + pristine_git_object: 0c219575fe50ba5f16a4ec6b54e78b36ab15c736 src/mistralai/client/models/speech_v1_audio_speech_postop.py: id: 7ab5c1250642 - last_write_checksum: sha1:df0d69df993dc2615822996db86ab643d5d745d4 - pristine_git_object: 3dbd044cd61251b99e0f08515b85b80dc2914c3b + last_write_checksum: sha1:075db8b716c155fc342f43e027e5e4144bc46e44 + pristine_git_object: ff0e0f8730ff7353fac16cf16c3355766ea370e6 src/mistralai/client/models/speechoutputformat.py: id: e6be9ec9e74c - last_write_checksum: sha1:5b31afa5927cbf56ee5b93fc7c32110c574c1701 - pristine_git_object: f564d2affd4a0b031cf44caf5242c8bbec9235e9 + last_write_checksum: sha1:1325711a9764f75c14528d9751cd1f398dda69a9 + pristine_git_object: 1a252290a5757247129200e84454579169133c1c src/mistralai/client/models/speechrequest.py: id: cf3bc148e629 - last_write_checksum: sha1:486e0ac7982b9bea0dbc8796b9538d7fe2e9aa65 - pristine_git_object: 3db35f6ff3f3c6ac5fc8be601880fd92490856e8 + last_write_checksum: sha1:679614862b0237278bfde90aaff7974203f87bc7 + pristine_git_object: a13bc10e73153c5b63f716f4660e8f4fedb36da0 src/mistralai/client/models/speechstreamaudiodelta.py: id: ac66815396b1 - last_write_checksum: sha1:eb3e66fbf2164686d20900761be40c7b90bfb82b - pristine_git_object: e3cc7053cb803b75019ac36a26efb953360af941 + last_write_checksum: sha1:16e1f34aac6092153552534f949c77ffb8efb198 + pristine_git_object: 7fdd1b5a52cbbeeea563cec24fc09d59a06e5ef4 src/mistralai/client/models/speechstreamdone.py: id: 2164b6526a81 - last_write_checksum: sha1:0ba5e06311e0256617a25384a2899c3f22463f54 - pristine_git_object: 2febda7b6f06d0ceed3db9d7bf81aaa29dc8afd5 + last_write_checksum: sha1:ff4611cb50b27b1dfed76434e6e849154a4659da + pristine_git_object: 5d29dd86cd0dfc592f6f51662ebf8d0f276e824f src/mistralai/client/models/speechstreameventtypes.py: id: b76eee4fdf6a - last_write_checksum: sha1:f1a2a3dd855c77b91a126d8919ffc6942906b4f5 - pristine_git_object: 723a571b58629aeeb3e1e0b7b5a65c378180c403 + last_write_checksum: sha1:b58401574b545377bd720689987ce1f4e0039781 + pristine_git_object: a2e7dcc594e2ab2fb56dec0a58bcd1fd08a2337c src/mistralai/client/models/ssetypes.py: id: 1733e4765106 - last_write_checksum: sha1:3c79fc7c43cd018fba4950ba013ed15899b82ebf - pristine_git_object: 0add960bc93f53df5ddda94892543a0857f32dd6 + last_write_checksum: sha1:8154966cda84ddd5225936ee47c87df1143ee1f1 + pristine_git_object: ac2722f1c18fe12d7a10fdc5c18cae0d76156f0d src/mistralai/client/models/start_deployment_v1_workflows_deployments_name_start_postop.py: id: a130112def7d - last_write_checksum: sha1:87a8ec5c2aaaff2a684b8bb7442a52a4d656553b - pristine_git_object: d4f9a29a0624791b06462d2f811cd8438ae7b64a + last_write_checksum: sha1:7315efd48a0cc8ef07fd7ad91588fa51eb795a5f + pristine_git_object: 6c58efaf305a0a010b84eee0a6af15326335c225 src/mistralai/client/models/stop_deployment_v1_workflows_deployments_name_stop_postop.py: id: c6e21688bc0c - last_write_checksum: sha1:f98fa1a24df02cb8358a9ff1aa8ab6039d505c8c - pristine_git_object: 0b82ba107b9f864ff64f2e41067e861394221e84 + last_write_checksum: sha1:cb779c23969d2119b903e49d1e903b7af3d7eaf1 + pristine_git_object: 4f783df116136c25809146a8bce170676510d748 src/mistralai/client/models/stream_deployment_logsop.py: id: 0d66b14b5200 - last_write_checksum: sha1:f651071fd9b03c32c475a58ce9ec9cf56f06bc81 - pristine_git_object: 4bf76da59bc93669243a57b9422f9244b16b0912 + last_write_checksum: sha1:c31bd093570c34edf6d8f32919945f0b774f4e6a + pristine_git_object: 58e13d6da47d67255d46c5bc3ab2159978b4848c src/mistralai/client/models/stream_v1_workflows_executions_execution_id_stream_getop.py: id: 793a9301522f - last_write_checksum: sha1:7a3c1f618afb8510a032e3f8255ed5f92ece6c86 - pristine_git_object: b87f630a583fe4564781914c85f63682912dbc14 + last_write_checksum: sha1:153e79aef063937d451a784a07a7d97c98094037 + pristine_git_object: 8bbf422bb8e7d97f31446ef8deaba2a904a2caad src/mistralai/client/models/stream_workflow_execution_logsop.py: id: 33528845f8f2 - last_write_checksum: sha1:6338be8a5d5d4b87c3bb948f0441e29f66f2f4da - pristine_git_object: 653d2a5bdc55737d113ef4384bcb73af087605dc + last_write_checksum: sha1:e693f572f09ebe48e2635fd194fe377dfea29b88 + pristine_git_object: 722a35245de2fbb98890faa54d5a200a68c534a1 src/mistralai/client/models/streamerror.py: id: 2632e221b587 - last_write_checksum: sha1:71eb9338eb4b1e747621027b67c45f37ca4042ad - pristine_git_object: 7ef83aca48de265e4b3f503ec96db1f9a6a2b2d7 + last_write_checksum: sha1:bfbc388a85e0b0309226d26a1aff9064c5753328 + pristine_git_object: a10a5651a012eb713bc6d9fa572d766b3eff5f6f src/mistralai/client/models/streameventssepayload.py: id: c6becbbd80bc - last_write_checksum: sha1:c54a8dc9c54e62937b61b52e2b5ce3ff3c422ce7 - pristine_git_object: 2c662a65bc6e419c3402e42755c0365cc30d9541 + last_write_checksum: sha1:5f2fa65e19723d5ba6e0fad6fe1d9a1aa93c012b + pristine_git_object: 74da7740e287464819e2db46f6561847122146fe src/mistralai/client/models/streameventworkflowcontext.py: id: 14c00c79de78 - last_write_checksum: sha1:ea0a2d8e68a44783e47dc532307c7a2b1f717805 - pristine_git_object: f24de860f5ad2ca115bac68b494caba4cd6ee800 + last_write_checksum: sha1:588aafd6943c86ae54694d606963fd4c254525c6 + pristine_git_object: d3e3a3e1234657a04e515cad737b5c1c6761be9a src/mistralai/client/models/systemmessage.py: id: 500ef6e85ba1 - last_write_checksum: sha1:a88de3fc70adab47943f867336659b3a1a6cdae0 - pristine_git_object: 2602cd2db03cd129b42b343f2dc79ce68106ac35 + last_write_checksum: sha1:ba231c2bd65d68209a2562e071c52e29a6eb82ca + pristine_git_object: a557a08618034a568757825fa006fddb0bc3c8f4 src/mistralai/client/models/systemmessagecontentchunks.py: id: 297e8905d5af - last_write_checksum: sha1:e5695ca0ebdb0f02f3a0c527015df154a0c52b7f - pristine_git_object: d480a219e935aaea91adc320de0003b562c0bbb5 + last_write_checksum: sha1:4581a28c592708bf51dbc75b28fe9f7bddde3c70 + pristine_git_object: 7a79737964b79e39b760ef833cce24e411f5aa90 src/mistralai/client/models/taskselicitationcapability.py: id: 19504f19f5f3 - last_write_checksum: sha1:2905488ab1c27912fda77ae08f649956ad8d442e - pristine_git_object: 768f36f1ac7497218c45f823de2662af399cd3db + last_write_checksum: sha1:749f65fdc86b284ae3498c43066cd0eea7eabdd6 + pristine_git_object: 33da3ed50333e8e8bb3338e7c6b35efe4d1ebe45 src/mistralai/client/models/taskssamplingcapability.py: id: fe3e6aaee007 - last_write_checksum: sha1:e6450ffcec733c2969b3de8873515fe74673576a - pristine_git_object: e051fd75ee3e87be6da8f51a30d0eee12b3b5814 + last_write_checksum: sha1:2e6bc3013a13d9460190afb39aa1bfd768ff0c7f + pristine_git_object: f4f62ab961f9b3c846011d127e473650b5d96e37 src/mistralai/client/models/taskstoolscapability.py: id: ac9448f661ce - last_write_checksum: sha1:e7dd4fcefdd9f89bc7d093d2ded222f0b9e45c99 - pristine_git_object: 88d799c114d3e64e8628c8be43d68934a1b68754 + last_write_checksum: sha1:387a05d3a24038aabbd854d83d66f160f8849be3 + pristine_git_object: 6bc320237ec466b210a532d822908aaf70ab1b8f + src/mistralai/client/models/telemetryspanreference.py: + id: fed9346ce15f + last_write_checksum: sha1:63011b16dd7e69ba7330d385d1a30c0fde0e1d65 + pristine_git_object: 4076d9ce495a781d48309a304bd06529411ace3a src/mistralai/client/models/tempogettraceresponse.py: id: 8bb3c013aa76 - last_write_checksum: sha1:ff35ba718f008554d79defc41dc02af5115c7ab0 - pristine_git_object: 8575b95430e10a9b8d7e1df0f0e131cda68bb685 + last_write_checksum: sha1:1e57bb234d804b9efea0f324ed42968581d209a9 + pristine_git_object: 3f8b93a122f7b283526fc18c068846908bb4a00c src/mistralai/client/models/tempotraceattribute.py: id: 7d0ec3402dc0 - last_write_checksum: sha1:dde2dc49a2e1e3c6340bfcf1533988974bf78e5f - pristine_git_object: bc2da3e0e08b45d80d30ab572f6896b292d0fef4 + last_write_checksum: sha1:1fda0f546e2c116f08fb59da43ae3bcb56733a0d + pristine_git_object: 5c09144e1aa77ccf2d63546da1afd65e1e4c8f25 src/mistralai/client/models/tempotraceattributearraycontainer.py: id: afca3b2e0b21 - last_write_checksum: sha1:b4f8414e509c84ca90f2d859f222a313b9948b39 - pristine_git_object: 082060373b99b74bfe6c29a30048758f3023bdcb + last_write_checksum: sha1:8877be45a7fedfe729abb9abf0d6a7fa1b75e53f + pristine_git_object: d246c672c16f4fd25dd2271610ef23b34e4a9bb7 src/mistralai/client/models/tempotraceattributearrayelement.py: id: 4f3b1d9264a3 - last_write_checksum: sha1:84294dee61c41e7ce2a225e403d178225de3975c - pristine_git_object: f506b40eee5968725a0e6da4f5716f508fc92e75 + last_write_checksum: sha1:51709f134c6a55b0634e90eb5dbb38c0aea65f1c + pristine_git_object: fe10fcc37ae689c1f2efe1fbd3f56240d54f693b src/mistralai/client/models/tempotraceattributearrayvalue.py: id: d75dd416f9e3 - last_write_checksum: sha1:47995b569301c6d8b7a6ca1ad8c04717f16d0868 - pristine_git_object: 95fe337ec35bc6fe4161837b7efe5ff3a59e7cf3 + last_write_checksum: sha1:f7b7a587e561514f3df2720f689ce521961cd1a3 + pristine_git_object: f7e1adcdc149267b7d9d1639f674bb5e60660b83 src/mistralai/client/models/tempotraceattributeboolvalue.py: id: c7c383a6c05f - last_write_checksum: sha1:a40945504a6845a3e43a80d5f901af9f5c5ee96b - pristine_git_object: 72fb79d022533d8a7af27c5d7e91258e7cf3a3b5 + last_write_checksum: sha1:e044761a520cde00b370111961ef58c281a493d8 + pristine_git_object: ec2453710db05986fafeca8148b17925d6f6867e src/mistralai/client/models/tempotraceattributedoublevalue.py: id: 30d063ab0023 - last_write_checksum: sha1:a808a5220435ce87bac6a50948283e00dca7588b - pristine_git_object: b64dd452ba6edde894173f0c37a915324b6eff3e + last_write_checksum: sha1:8ccc571536d326955abcb89eb0376ebb6841b7a1 + pristine_git_object: 6fad2a527718cac673816ab0d25878830bd91eec src/mistralai/client/models/tempotraceattributeintvalue.py: id: c4659ad7a2a5 - last_write_checksum: sha1:471273678346f841dd718fce1899a6ae8ad7cd1d - pristine_git_object: 6ffe7efe56d3b050b0ecd3db8f6d24d2d37b4854 + last_write_checksum: sha1:2159279182c55befaf1f800d57f61ad3cac634fc + pristine_git_object: fb9b7ae6fdd7e6db8751642170ac1c5221831f3e src/mistralai/client/models/tempotraceattributestringvalue.py: id: 2dcdd05a5115 - last_write_checksum: sha1:67aea0de94db0eb1127f22f0eeafe28bb8a125be - pristine_git_object: f4dea6395300960e835d56aa47d4ead96536c9af + last_write_checksum: sha1:713a6703be4281bbdbb0d31be4d1197bb1de85f0 + pristine_git_object: 001e760111a414fe803c8225b615fb6aa7f0ff5a src/mistralai/client/models/tempotracebatch.py: id: 969acd9d6220 - last_write_checksum: sha1:8e865d710af9d3a7627423163857a7bf19e7f60e - pristine_git_object: 7f50804747fd972ba45bf70bf621d92031e2ef0b + last_write_checksum: sha1:639e454a10f49b58ee8c2e88c80b91f155eb8942 + pristine_git_object: d615e9d98b7bf2eafbc732e526d04e1b12bfa148 src/mistralai/client/models/tempotraceevent.py: id: 98dd1b838524 - last_write_checksum: sha1:c0153772618cf57c4c3f7830519ca7e7310fc5af - pristine_git_object: bda2115aac42c4b0b195143abe2ed9d610053db4 + last_write_checksum: sha1:11ed8e35576771764532568339d49bacb3828666 + pristine_git_object: 74af8277184de8cd5b0bfa00bee071b68e267771 src/mistralai/client/models/tempotraceresource.py: id: cc8a7ff3feea - last_write_checksum: sha1:3fb070d82116606740a3b6433b97b65ac80ffd79 - pristine_git_object: 42c4d56ade5183234c30a88ba3cac010bdd6ee50 + last_write_checksum: sha1:27e4331a1f9afa2262566c642e46d9055da2f9fc + pristine_git_object: 0157eb83c8d836578ae840093e49a03a4e61d887 src/mistralai/client/models/tempotracescope.py: id: a2da1a3b8198 - last_write_checksum: sha1:ea6ee30b2e080440e72fa9a4eb3c592d2bf52fe9 - pristine_git_object: 3e302f81252b0628eb0046777825e8bde71ea98d + last_write_checksum: sha1:de7f9ac8cb686b908dbd2514059a5fa9be1ed24c + pristine_git_object: f372185c599667a495566c6865fd77052bf68363 src/mistralai/client/models/tempotracescopekind.py: id: 40c697c1e617 - last_write_checksum: sha1:b0298aaf269df98bba2bae72e8d47ada6aaa2433 - pristine_git_object: a26d5c38c5dbf1605baaa96bb29ec3d1c3ca6c29 + last_write_checksum: sha1:f7c24ce79e78893e3ee89317af4ac30d4fe4228b + pristine_git_object: a50d2b669cbf780dbe680505f3397e99e3dff823 src/mistralai/client/models/tempotracescopespan.py: id: cb248e9c0a00 - last_write_checksum: sha1:7f3742ddf7d4baf8e91182d920206ae3e505c4ee - pristine_git_object: 362f3c9974a8183cbe5f59a42f164f6f2d1d5542 + last_write_checksum: sha1:975711207316d10f03358bae09c7d1f9f5bee917 + pristine_git_object: 409f8845a6ede0339a19a95167298296fbf539a5 src/mistralai/client/models/tempotracespan.py: id: f36568c83a96 - last_write_checksum: sha1:a533d06b305ca4076ff40faaa9ce5546cec50537 - pristine_git_object: 51b181ba48d4040e0c48c41960b9076b57f95e4b + last_write_checksum: sha1:8e84a9c41aeefc0dbdab3fad09469f64f6e012cf + pristine_git_object: e17d00a362e532e7606d6adb584a31a0f16c812c src/mistralai/client/models/terminate_workflow_execution_v1_workflows_executions_execution_id_terminate_postop.py: id: 458eee7d2603 - last_write_checksum: sha1:51c88c99243e964d8b044a1e25a78dff85145e7c - pristine_git_object: 771c165035c62d9963b6b9c71a00e8e948ac6661 + last_write_checksum: sha1:088e6118cb2d134c41b8221e09a3a0532f32b1b4 + pristine_git_object: cb6dd26a0c3a33c2aaff2e60519723869159485e src/mistralai/client/models/textarrayfielddefinition.py: id: 25707b65773e - last_write_checksum: sha1:e5adf531b4468fadc888130edb3a01c41acd39be - pristine_git_object: 414a4256ff59a8f1ebb3070f4771a85ac819bdb1 + last_write_checksum: sha1:8fb2a7fa47644f4fd68e63152535c28e86781932 + pristine_git_object: 2abef0f3288e388b97cb8647b24e96b3abc4580e src/mistralai/client/models/textchunk.py: id: 9c96fb86a9ab - last_write_checksum: sha1:40fa1ea5dcbca9f4c534b58f7cb65bbaa5084521 - pristine_git_object: bae970f3cb1f7cfec74cd38b3f1f1b5171943e99 + last_write_checksum: sha1:22dfa10b0a52d7d0c109fd42b0b5723f9cc69501 + pristine_git_object: 1c9c020b8007870a102b72aca689fb8635d21600 src/mistralai/client/models/textcontent.py: id: 60805b9f7050 - last_write_checksum: sha1:072d40013e047296f98a8be455b30546c8ce0874 - pristine_git_object: 03de48d36befc3f89fb55a9d12c0a78e1ef8d8bd + last_write_checksum: sha1:860887350467f2fe5236672973be5feccaf2fbfc + pristine_git_object: f70bf8c79e1a07edda9d1c9275279311cab5ae03 src/mistralai/client/models/textfielddefinition.py: id: 7d3d5b0eeff3 - last_write_checksum: sha1:de79da2a5242dd6dcc8d4e90e404d61b0c897b29 - pristine_git_object: c3ec68e66f196ce9957bf1d29d017ef2e6f0c8f1 + last_write_checksum: sha1:8015b99187036574be52ab9ff8f1279ee45587d4 + pristine_git_object: 53eb4c8bb7995d2d2b92756e3689b0bd25c2b298 src/mistralai/client/models/textresourcecontents.py: id: 58fe427f427f - last_write_checksum: sha1:7d9dd5965f048f07338c19d79147b09f41e1f96f - pristine_git_object: c3f26a65734775d166a1f5d27cab50933e1a4597 + last_write_checksum: sha1:3d50a5ea7922126c3826a8d065233fee38f2835e + pristine_git_object: c753192b93c3ee271ca1492036a8e76a7ad36b63 src/mistralai/client/models/thinkchunk.py: id: 294bfce193a4 - last_write_checksum: sha1:d4cb78e98c29689beb2634a8c9d23fd360849ca5 - pristine_git_object: d2af3da69462a2ad410bf9108861e1122ecdb7a9 + last_write_checksum: sha1:34158eb8547da68b1bd535e29a63c4c1b50423e8 + pristine_git_object: 772339d5ce77f5201bbb438fa275939bdd33dca6 src/mistralai/client/models/timedimension.py: id: 9bb5104c991f - last_write_checksum: sha1:a214d64e848f4a51e5ad34c39bceb3ccb05032ec - pristine_git_object: ca582175d7346044a4eb2e6b0eef1bed3f9747e5 + last_write_checksum: sha1:0a8db2fc93afd73dbe629287c8ddc19df038b604 + pristine_git_object: 95bb56d453e614661e52657c4ed7913557174888 src/mistralai/client/models/timeseriesmetric.py: id: 7f91751795ac - last_write_checksum: sha1:e7871d8fa64b59e8448f0ae3be46f02c4d02eac8 - pristine_git_object: a0eb0c9ca86791401aeb1df0d851b3a42be1bef7 + last_write_checksum: sha1:68d20e06c689b9ebaf15922de640ecfe90dab4ea + pristine_git_object: 9bcc2ba090c0705016f4091ed085f390e820ce81 src/mistralai/client/models/timestamparrayfielddefinition.py: id: 38014ae56ea8 - last_write_checksum: sha1:195c6a80efb69e0305b7f1a1e0942f0961517977 - pristine_git_object: 5252a7f54140813fd90f2e607d1b683232cc894d + last_write_checksum: sha1:ac3c9d25bb652f3aba1c7e62ecd47ea5a1bab7a7 + pristine_git_object: 533e325e2f8cc62c738941eeb5b9cbfcfa8e8e11 src/mistralai/client/models/timestampfielddefinition.py: id: f5fc4d7dc878 - last_write_checksum: sha1:2172eb0c131e989eaa2f3496cf592fee47155ec1 - pristine_git_object: 4d51036aecd33c2cbb97aa7bce3175445e63daa1 + last_write_checksum: sha1:de62187eafd35fb3faafb49f6b858f4d445b148a + pristine_git_object: 045dbb4c38e92394ce8bf2eb57629916a759b7ff src/mistralai/client/models/timestampgranularity.py: id: 68ddf8d702ea - last_write_checksum: sha1:64e7b198a75f026590e26758112651d31984076f - pristine_git_object: 8d3773752444db865c0e2629ad9eed66eb7f2bc6 + last_write_checksum: sha1:68ea11a4e27f23b2fcc976d0a8eeb95f6f28ba85 + pristine_git_object: 5bda890f500228ba0c3dc234edf09906b88cb522 src/mistralai/client/models/tool.py: id: 48b4f6f50fe9 - last_write_checksum: sha1:fc8c9c2047da519d49cf8d88c1cfb3fc871d47db - pristine_git_object: 08342b5a8fd00e93dabd291fe890a830f4ec7497 + last_write_checksum: sha1:dc94803766d01ecec06d987033bbffc07ca5e628 + pristine_git_object: f2095109dfb3ac82d3eb30bf4263957234f99a39 src/mistralai/client/models/toolannotations.py: id: 2ae257a35b01 - last_write_checksum: sha1:6f7c174966fc9a9fee5de7c8dfa4dbf2064c10e4 - pristine_git_object: b2e9b94808b96b859d29c42aa0d5ca994761a395 + last_write_checksum: sha1:de31e0bdae477de934237045187d1eeaca3cf4e5 + pristine_git_object: c0266c5affb6b5712fc19cccdf385b1fcea46493 src/mistralai/client/models/toolcall.py: id: fb34a1a3f3c2 - last_write_checksum: sha1:207b380037ae318a25e755ae1b45b1fc2b514d41 - pristine_git_object: 82ca4c2bdccfa590dbddd5dfa4f47e2f42c40a87 + last_write_checksum: sha1:7a8f9ae4c6851a2f570610d27f9dbc857853bafb + pristine_git_object: 4412ae1428fdeceb64004812b6f4226efda54bdc src/mistralai/client/models/toolcallconfirmation.py: id: f2e953cfb4fe - last_write_checksum: sha1:554a2e073917ffb479efe5887c0b59a2f4967c6e - pristine_git_object: fd6eca50a7ec2f4cca2ae20958717881660e0ac5 + last_write_checksum: sha1:ce7164720f698c6bb17fb80353ca4fd16251df87 + pristine_git_object: fda3da8ee9f44701c5c6782d18b2f72007abf71d src/mistralai/client/models/toolchoice.py: id: 14f7e4cc35b6 - last_write_checksum: sha1:f1ef374d931d83e94b1b77c3b6cd38ffe667583a - pristine_git_object: 11e4a3b1ec41218fb5281e6d4b845b9798627be5 + last_write_checksum: sha1:3b1d77462b91cd5be60622ce8a48ff89c87ffd28 + pristine_git_object: aa76525f7a8568c990b2e45d26348f908911ccf6 src/mistralai/client/models/toolchoiceenum.py: id: c7798801f860 - last_write_checksum: sha1:5388b2a6fad842f8e4ae79e6257b4d14c122a6ff - pristine_git_object: d66c3d07058eb87bcc3eec10de99a616b5f6638a + last_write_checksum: sha1:d958ef93b303539226fdab0fd46c8ea21d24cea2 + pristine_git_object: ba8195b80c649adeb743f15b6900c6386a83f7b9 src/mistralai/client/models/toolconfiguration.py: id: faec24b75066 - last_write_checksum: sha1:caa6c41ccb0825034bb9cab4e3fcd1a2547b66a9 - pristine_git_object: eb3d14e5517a60c1fbac1b1feb7d5daadd877a90 + last_write_checksum: sha1:921c52d8b17ef6a9cdffc0b22a3c74f2a4214fef + pristine_git_object: f90e358b9966432504dd9d05776c9c7141931005 src/mistralai/client/models/toolexecution.py: id: 69fcb691327a - last_write_checksum: sha1:85bcd4a5d30aab54425bccec9c2374137fad6736 - pristine_git_object: 9c55e7bb9db0be106d30b9bf37153aaf8d7b61ff + last_write_checksum: sha1:b43dd3e9ebf03e3183c531ab7340de3201099ab5 + pristine_git_object: 8d73eb2c40b77c6fdda5ebb980831e3f3212b987 src/mistralai/client/models/toolexecutionconfiguration.py: id: 1c9369616b21 - last_write_checksum: sha1:b802788ceb7246914638b2b26f5b053d33913306 - pristine_git_object: ce65ad31408abe1b8bbaa042b176b8555dbf8480 + last_write_checksum: sha1:9d1af97f1107a239cc401d8eaadf33b967be7083 + pristine_git_object: b8210b33f8bc950c2e59a678f742c0f3a4bea514 src/mistralai/client/models/toolexecutiondeltaevent.py: id: df8f17cf3e07 - last_write_checksum: sha1:77da4c0bca920d4ea77a64faa039fb3c07df46ed - pristine_git_object: c2e4095072f7efc6854f0f666fc5d7d0efcfc30c + last_write_checksum: sha1:e726800430d2c6df1fbe91de5b55698b0236ce0a + pristine_git_object: df60d710d66b5dcd1fef55d6b1ebeb4218f58bee src/mistralai/client/models/toolexecutiondoneevent.py: id: 514fdee7d99f - last_write_checksum: sha1:b58fd690c6f3a0e2eeca2433f454f4b21a77c3e3 - pristine_git_object: ec3b691835bb0c76e0c5b7d825ca7a4867831302 + last_write_checksum: sha1:4cb7ed1143e6dcf2888c82e4f216ae44915b9c37 + pristine_git_object: f8e468553e4f7d77ac9e30d72f5f7f1fdc52f9ef src/mistralai/client/models/toolexecutionentry.py: id: 76db69eebe41 - last_write_checksum: sha1:d8167692473b2d2b01eb59a9bf83dcbb5ee3d93e - pristine_git_object: 226adce185a755d18a046803884b9194d3c42188 + last_write_checksum: sha1:7b630b874425795fce4519000cad9a76d23235c0 + pristine_git_object: 709f4c91394bce3cce131e61f28428cacd2f3a16 src/mistralai/client/models/toolexecutionstartedevent.py: id: 40fadb8e49a1 - last_write_checksum: sha1:e419d7f40dcb9450710952a0be173830d09cabf4 - pristine_git_object: a4af27b854e7a0d2ce0a04f2e986c865bfaaf179 + last_write_checksum: sha1:35edb8d8a8964cffb71ce85d1e3855957513c0a4 + pristine_git_object: 3b686f8045bae8cd73a2407e683bcc7e5cb69510 src/mistralai/client/models/toolfilechunk.py: id: 26c8aadf416a - last_write_checksum: sha1:a79863e37d5cf2d6b52fabea259ce401ed0c4697 - pristine_git_object: 1d9e6118a393cbdf9b4c0d2b47b367b9381beee9 + last_write_checksum: sha1:636f0c5570149bd01f3a7da6f2ff9046a579bccc + pristine_git_object: 1c2f3a8978b68f013b38164ee1902070fb392564 src/mistralai/client/models/toolmessage.py: id: 15f1af161031 - last_write_checksum: sha1:9557c9f6b7be4b6ac94d3316eb605e42aa8dc03c - pristine_git_object: 0dc9e92f5dd27ff93d6de62a6879699ace4300a8 + last_write_checksum: sha1:216b258e1a2b23ea35ca0b935337625bca43e954 + pristine_git_object: c5f1311eea3827b91326a6b220fcd839cdb47ee2 src/mistralai/client/models/toolproperties.py: id: 3a33561f76fc - last_write_checksum: sha1:b2059b8c5d6a619f4e637b2395a54a281178282b - pristine_git_object: d3bf9789b77b305a669833ba873fb70231c4c690 + last_write_checksum: sha1:d0f093dbde6e65fadfe0fef76c71184dfd389505 + pristine_git_object: c1003229e0aeb8ee67ced43b3cfa277e53e09417 src/mistralai/client/models/toolreferencechunk.py: id: 822e9f3e70de - last_write_checksum: sha1:2e489c4b2360741a3e4a20710361511a0d9158ea - pristine_git_object: 391724edbb7eea3d3acd1a4b3302045970cb5e31 + last_write_checksum: sha1:fb1af77d8734ad61f41e19543e91e7f9808dc64e + pristine_git_object: bbb091b1bfe0d66a839a992d8be6b321511e566d src/mistralai/client/models/toolscapability.py: id: 2feda23ea584 - last_write_checksum: sha1:56c273d54611752761b1e70f209001a6f9559347 - pristine_git_object: 94e5ddc80669d5c06c713c6e422d59a01009dd2f + last_write_checksum: sha1:ec4a63128e4e2f53f9c724693350d678c920d89c + pristine_git_object: 0b4be45c0250d9c2444c1e17eb1b9246d3be1513 src/mistralai/client/models/tooltype.py: id: cbe8c44aee50 - last_write_checksum: sha1:53949106f192944a13a8fcbeb37b3d08478b7bbc - pristine_git_object: 1a7781fc2c1001002785d512ed7909ce91a9129f + last_write_checksum: sha1:a4375b6b4220d5da5f26f35ee705a473fc63a549 + pristine_git_object: 7592612fabf6e48a49fbea4a1f7a7468bb223ef8 src/mistralai/client/models/tooltypes.py: id: 86c3b54272fd - last_write_checksum: sha1:e90c15c1e645a5f207af0c7ac728cb0a521c6706 - pristine_git_object: e601c1967c42ef8d0c2eea98bc5c0ca722cde066 + last_write_checksum: sha1:94cd31b4a170bde0983bc48e8c1148693c3d67e0 + pristine_git_object: abb26c258280a889d784e662b45ed486fc648817 src/mistralai/client/models/tracesrequest.py: id: df80914625df - last_write_checksum: sha1:26f12ccd773c5ce0776fa6787ade821b6f70910a - pristine_git_object: ac646efbbae15a75879507eb12a720b2a3c263ea + last_write_checksum: sha1:aa468490c08e0d5c4237e826b3f620b47e00f3d8 + pristine_git_object: 299451498372de15f4670a273b8e78b8d9cf9484 src/mistralai/client/models/transcriptionresponse.py: id: 60896dbc6345 - last_write_checksum: sha1:c858aa031b871a7d0890b96c98aae07ce9d1d9d3 - pristine_git_object: c512a3453c16c329307e094a5758c223db1d7be9 + last_write_checksum: sha1:71754525c4786dede4f7e531d2411b2b21d34e3c + pristine_git_object: 1489c49d8720c88a4dc5935643f2825249fcbdca src/mistralai/client/models/transcriptionsegmentchunk.py: id: d1e6f3bdc74b - last_write_checksum: sha1:504f3c3e2d99711352d8e4cf9233e55e74d96490 - pristine_git_object: 260e73f8f9c6243ffdaf5a5e174a238c459f7eb1 + last_write_checksum: sha1:bbae26925cf92996e016ef6bb24d6129e1d65c4a + pristine_git_object: 8e593016eac5d5af2b9185d9985a5b87293725aa src/mistralai/client/models/transcriptionstreamdone.py: id: 066a9158ed09 - last_write_checksum: sha1:6c3db3298e520c56131f2f42841530013fa2aed1 - pristine_git_object: 89357277ef90b00e5b8e86d924dc35d288f07948 + last_write_checksum: sha1:7d92cad9f58d697372d7cbff46f69d47a7bd19a5 + pristine_git_object: 907294199b240dccac4834a13ce608bb6c59a74d src/mistralai/client/models/transcriptionstreamevents.py: id: b50b3d74f16f - last_write_checksum: sha1:68f82eea8a0bcf1b8b65cedf9e276f34121d398b - pristine_git_object: 073fd99aebf6f90027a45c8ee4daa7ffeb8ee34e + last_write_checksum: sha1:6fe4517a1e098c29dd8fdfcdd8e03ae2152acf0c + pristine_git_object: 4df0f982159a2ee3695729e468c0005ba814d1b9 src/mistralai/client/models/transcriptionstreameventtypes.py: id: 6f71f6fbf4c5 - last_write_checksum: sha1:1d568460b1521f17dd5e551632ae4d7883a98dd3 - pristine_git_object: c74bbb7483cc3981ee3638c80c15924f3e1c20c4 + last_write_checksum: sha1:d7671637063c19222c20b8334abf92abe3d30517 + pristine_git_object: cb6b288980f6e833d6486d9fe475a566760caa1f src/mistralai/client/models/transcriptionstreamlanguage.py: id: e94333e4bc27 - last_write_checksum: sha1:d1ee93b09ca377bc29845924d53db3ccf250269d - pristine_git_object: b6c6190684eccdc3fe6ce4bc7b86f5ee6490a197 + last_write_checksum: sha1:92b03df7667a97bf60367d156eec955039c891aa + pristine_git_object: a981c04fbe6d93d03f6e8b40c59eae224966bd97 src/mistralai/client/models/transcriptionstreamsegmentdelta.py: id: c0a882ce57e5 - last_write_checksum: sha1:8d03a5021a99e1a01a843a11c85039257644f6ff - pristine_git_object: 0bdf01e0b0df285d03bfb6c7f6d326ae40548919 + last_write_checksum: sha1:f70b9f986ddfa33e851b7d9a66b44439ce1d0637 + pristine_git_object: 12755a6e591a5ebf3bdaeb950e88ceab218e99b2 src/mistralai/client/models/transcriptionstreamtextdelta.py: id: 6086dc081147 - last_write_checksum: sha1:968b4bc32731be6c63be3fd90eb26f4357f891a3 - pristine_git_object: 42f0ffb7f16bee4f68f9db9807aa4ec3d9ae5176 + last_write_checksum: sha1:a57dccf7ca910be675797e5c12c4279b72740263 + pristine_git_object: 8cf56d99b4236879fb8e1d4b0b77583810d56b41 src/mistralai/client/models/trigger_schedule_v1_workflows_schedules_schedule_id_trigger_postop.py: id: 99d0d53968f6 - last_write_checksum: sha1:be4d3deab761e55d4bca88c631a1a02b3c2e7d60 - pristine_git_object: 46a68a00836dce74cc8555b9986ad9822b180b3b + last_write_checksum: sha1:ecbb947a46b643bedb3d618393f6b08d8399771f + pristine_git_object: aac1614577a3a706fbfe2c1d628c8296e07dc10c src/mistralai/client/models/turbinemeta.py: id: 084d588caa1e - last_write_checksum: sha1:4a0ffc6cecc9ad674ab4eab0b3bb017682beddc2 - pristine_git_object: 5084c05f7090f46e35bb63e6fd70c495df3c2044 + last_write_checksum: sha1:8105437dbce3e18968d55ff0c777f226edb00f7e + pristine_git_object: 0b5eef1a2fe1803bf33ff9fecb7f1415d288320c src/mistralai/client/models/turbinetoollocale.py: id: 2699936a7546 - last_write_checksum: sha1:9fa6910a64b464068a660b3d5bf5e09109da283b - pristine_git_object: 42682ee15e542672c190e1b82e713539a6c9b22e + last_write_checksum: sha1:99acececbf2aabf7dcb08347ba2b9cbfe2998a45 + pristine_git_object: fc09d9e102dfd106ab7086f7c67e0b1647ff7da3 src/mistralai/client/models/turbinetoolmeta.py: id: cdb07c3837f7 - last_write_checksum: sha1:c2339efbf6dac10bf5e3f42491fa971982d4a998 - pristine_git_object: bcd4d5f2da000bcc4af9c41bf7e92efdaf99b039 + last_write_checksum: sha1:c6b6e7bc1c77f9570faa4a07e5717e905c2b2603 + pristine_git_object: 61ce8cc4bcc88f8bda4964c02055ccb6e0964f78 src/mistralai/client/models/unarchive_workflow_v1_workflows_workflow_identifier_unarchive_putop.py: id: 9df426343c2c - last_write_checksum: sha1:12d529f6703695653004ac5692f13daab13bf060 - pristine_git_object: 3dc55512ab45c4b7617dd0cf2e464a3f53921c8b + last_write_checksum: sha1:0910779e5755b77e6d2ff78f469416ec4ba2e3b5 + pristine_git_object: 31aa9657d6f785141de4ec307c77bcdcff557b50 src/mistralai/client/models/unarchivemodelresponse.py: id: 22e2ccbb0c80 - last_write_checksum: sha1:8ebdd49f2bef3c5934395808bf71701b46e512be - pristine_git_object: 5cab4c2ef093236cacdc2a9e24b27c1a6c643ee9 + last_write_checksum: sha1:86b8d211e31f746245c49803288159ea6eb04371 + pristine_git_object: bbfeadcadb934b156dfebbe105ca7c5ecc0ea7db + src/mistralai/client/models/unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop.py: + id: 7bca8ab027ef + last_write_checksum: sha1:8f8b15d88fcbb93368025cd67fc044b95a26b54d + pristine_git_object: 7123a9ccafd1ffd4d03afd51691efba02b025f0a src/mistralai/client/models/unregister_deployment_v1_rag_deployments_deployment_id_deleteop.py: id: f26a43e68fa6 - last_write_checksum: sha1:ee07c0856bca53e115a24b0c9b72fdede27bd59e - pristine_git_object: ddb670d801f9d167f2a77a5fa4c5ef3b26600cdb + last_write_checksum: sha1:c6a09d5cf0ac17360dabc70f9599a2c063abdc11 + pristine_git_object: 4a33c7f273b4ff85aa19e8816ddbb53a9224c88c src/mistralai/client/models/unschedule_workflow_v1_workflows_schedules_schedule_id_deleteop.py: id: 114f67717003 - last_write_checksum: sha1:f80651b63d89ef19a070c1ae7901b021914a0ddd - pristine_git_object: eac992d5936dd5dc935623babfa22177f0e0adb7 + last_write_checksum: sha1:6b6ed1621d228d94cad32d2ac27f093c4489747a + pristine_git_object: fa472adf7259565dee725572e0945a7e4cee3eef src/mistralai/client/models/update_dataset_record_payload_v1_observability_dataset_records_dataset_record_id_payload_putop.py: id: fa5d55a9d6cf - last_write_checksum: sha1:5cf094a6617b1900745deece2e34edfb1b040905 - pristine_git_object: d5a2bd9dabc6b10c0cfd5ac1aa6ff56b3abf803c + last_write_checksum: sha1:a583bfe2a5445c2b3d88c07dfbfdd9001ac5ed27 + pristine_git_object: 14a4d7182b136076b31ecfb620d5212474f83d5a ? src/mistralai/client/models/update_dataset_record_properties_v1_observability_dataset_records_dataset_record_id_properties_putop.py : id: b0af26e00bfa - last_write_checksum: sha1:5cd8dc574dd7e063fc725ab97185ffce58345087 - pristine_git_object: b828aa80dd6c0293ac783802470fbec1a01560ce + last_write_checksum: sha1:0a9c86da60aa3e68d68a97a869b5d93211ef43b3 + pristine_git_object: b573790d538c71b456265fecadfeeddad9fd8fbc src/mistralai/client/models/update_dataset_v1_observability_datasets_dataset_id_patchop.py: id: 7bb459765cba - last_write_checksum: sha1:56ae41144cef62f4c6384994f30dbaede3d30925 - pristine_git_object: 5a44056454e368ae54485532875e72750fe82e27 + last_write_checksum: sha1:7db7a2b917fcef1ba8d1a4b0b30aab045c042759 + pristine_git_object: c0e5a3d40062ee9615f3438bf0e007c370174fd2 src/mistralai/client/models/update_deployment_v1_workflows_deployments_name_patchop.py: id: 10af4960601c - last_write_checksum: sha1:b70a27d253ed1629513363c3966b01a1581cae70 - pristine_git_object: e8662c69beb80afe34aa534191c7962b7e4f96bf + last_write_checksum: sha1:48d4a857bbe3181bed481e00b904f43a923fb268 + pristine_git_object: 83479f1e212b4c9b8bb23583ba28ff4597d13fa5 src/mistralai/client/models/update_index_metrics_v1_rag_deployments_deployment_id_metrics_putop.py: id: 6c5dcb958c34 - last_write_checksum: sha1:a8fef960a0c55500a04a888deeb0c280c66729af - pristine_git_object: db99fabfbf562a817028ab0134dc59dfb1253495 + last_write_checksum: sha1:76a5930bfb707d2788fd2eddf3ce1eaed816f137 + pristine_git_object: 499ed3703dd5ef6d986a047284224e28d0d6663f src/mistralai/client/models/update_index_v1_rag_managed_indexes_index_name_putop.py: id: c685b10e9d2b - last_write_checksum: sha1:31da3997c5c05d12cd9f69095d94dbd1c8039be4 - pristine_git_object: 35e92f08fda52f1dfcf72d132be2ffc8421790f3 + last_write_checksum: sha1:ef7559beda9e0aa9762dd46e45a9ae8e9ee101d7 + pristine_git_object: 7244ccb61d887c13eb65d38cf69063e08cf7f7e0 src/mistralai/client/models/update_judge_v1_observability_judges_judge_id_putop.py: id: a1bace5342e6 - last_write_checksum: sha1:2fd7c698f8fe16e5df54e49c7aba85e247d3f19b - pristine_git_object: 41c3a36574b60207207535a6930ae094c23a8fff + last_write_checksum: sha1:122977758c266273a62bd82346480d2221a134ba + pristine_git_object: 3da59f3534d143de77eb3376b22b1d8e0abb25a3 src/mistralai/client/models/update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop.py: id: c9c533cb8143 - last_write_checksum: sha1:f6f06076f34105f46ff71508cb8ae9e4f62ac11c - pristine_git_object: bb11c652c9705725a8ed7b04367fdbe5891b9a10 + last_write_checksum: sha1:5e44df8bc218aa41c82f2e001cd43ec1d0177886 + pristine_git_object: 2de5ac01c6ffca1ab04258853829d4d9f2595411 + src/mistralai/client/models/update_pipeline_v1_observability_pipelines_pipeline_id_putop.py: + id: 4855ed933db5 + last_write_checksum: sha1:0a7f4889e1fa8b930e6cf8eb4434fa73feb1f899 + pristine_git_object: f3207a4ba731cb6421346239e7ce8b8f8d73d754 src/mistralai/client/models/update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop.py: id: 2a14ebf4ef57 - last_write_checksum: sha1:dc63747af5ef650f6d5f5a99e447bebc41450e46 - pristine_git_object: 6b7d24d465d34289f97aeb83dc036501883c9c7e + last_write_checksum: sha1:1113ac2165012bfa0ed41977b4e51e05f260cb72 + pristine_git_object: c3fe2279b9dec19ee35f902cf93586fea40f6b0b src/mistralai/client/models/update_schedule_v1_workflows_schedules_schedule_id_patchop.py: id: 6aaa918af7f4 - last_write_checksum: sha1:7bb83c6f98e4314061724c7793e979a47b3f5af7 - pristine_git_object: 5e3a1be42867c2ca00f4c5103ac318dcd5909e44 + last_write_checksum: sha1:a7390cdc224cbf03dbe89d87e72b216bcf5f40e8 + pristine_git_object: 27a184e6371d9f024af4e74b45dbeef1e4d02eaf src/mistralai/client/models/update_service_account_v1_service_accounts_service_account_id_patchop.py: id: 0dbfe1841df1 - last_write_checksum: sha1:c864d4ac6471fb4104461f8f283f0469855ddb9e - pristine_git_object: 67c944621f25ae9e9341808ab68d99858c402871 + last_write_checksum: sha1:7640a3c56dafbd562f3c5c3104ca7b4f370b8a60 + pristine_git_object: 5e21d48122c593346658df4915c878166eae5db8 src/mistralai/client/models/update_voice_v1_audio_voices_voice_id_patchop.py: id: 399da05bd75e - last_write_checksum: sha1:aca7b6539571a8111e8f1abb7f90dde1e461d4bc - pristine_git_object: a11b626a9b4ec3b1761bb383dda2cead843ee634 + last_write_checksum: sha1:a2f4c70afb3b6be29373129c58e62c4d048a93bb + pristine_git_object: 513dc84b9c5c23a146a475f4da810904d14a8ca9 src/mistralai/client/models/update_workflow_execution_v1_workflows_executions_execution_id_updates_postop.py: id: 5799cc4ab66e - last_write_checksum: sha1:ce9516f04804a7aa692ce5525e0c094bfc8167c9 - pristine_git_object: 30ff2baef59c3acdcd3b9e3dda3fd15d01490338 + last_write_checksum: sha1:c11c2ce7cf82afa2ab072aae7bcdc1a203adb9dd + pristine_git_object: ecf1d0be242f83841bb5a20c0c4caf83591d0362 src/mistralai/client/models/update_workflow_v1_workflows_workflow_identifier_putop.py: id: c537bd5a9dd1 - last_write_checksum: sha1:2475d631b74ec49cf8420227151e13083a6ffdb0 - pristine_git_object: 9ee9b6d2db84a56c401c91e9484cea378ecc38dd + last_write_checksum: sha1:c7540a668690fb91743d224681006ed2e5494e49 + pristine_git_object: 428af3c0f624a87ea96629698cf29dee0055e554 src/mistralai/client/models/updateagentrequest.py: id: 914b4b2be67a - last_write_checksum: sha1:db80a8f0b630acf98be5c27caa7bb448a4e58237 - pristine_git_object: 7bb9686b9b542c47ac25fb6780017b5739829b1e + last_write_checksum: sha1:997e06ad4f73cc13a55efe9c621ff360ec990e3c + pristine_git_object: e95121cde98f3b04f2df401ded6830e257611079 src/mistralai/client/models/updatedatasetrecordpayloadrequest.py: id: bd45f357a538 - last_write_checksum: sha1:7f72103f1260ad87527f664f8de70ca2b3da3a6a - pristine_git_object: d938eb1593428a630c305dfc77055742af199153 + last_write_checksum: sha1:d793193d7ce05b8b15af82aff4738c3d355ea682 + pristine_git_object: d554991ebd122362c3825ddd112c19adcc4ec71b src/mistralai/client/models/updatedatasetrecordpropertiesrequest.py: id: c457ead40a69 - last_write_checksum: sha1:ef265db7817eb0f59ee182e327482918aefbf36c - pristine_git_object: ccba4a5c71aa8717c4fcb1af61f4f10c17b84ebd + last_write_checksum: sha1:bfb1fbfa3fd721be2749deaebf34d316b0851e91 + pristine_git_object: fae76d5e5a5838f04f4e84fd5d46ccf9a8f10b95 src/mistralai/client/models/updatedatasetrequest.py: id: bbb067caa23f - last_write_checksum: sha1:4ae8e1ea4a6a9ec5ed559bef8fe21d11af2b0ed3 - pristine_git_object: ddbaad1237d2056476c4fe7f8a6caba06a65f744 + last_write_checksum: sha1:cc34fb3419e938d639250eda4b7b3ae791f4788d + pristine_git_object: 6333a69ffa54a9fa66cc9dcf8532373d936a4efc src/mistralai/client/models/updatedefinition.py: id: 143f97683a02 - last_write_checksum: sha1:932dbdf03be9a321795c14142ddf3729c1e0f111 - pristine_git_object: e878c8764774e4420a85145196cfb93c32d108fa + last_write_checksum: sha1:51d8c950917e5f6992a971be739e7fd4eacbd081 + pristine_git_object: fb55453e414dee17c6fdf129f649f103589159ae src/mistralai/client/models/updatedeploymentrequest.py: id: f13927d84169 - last_write_checksum: sha1:fc7ffccac4d4a19d30d6ad592f5193fbc2432f7b - pristine_git_object: b93518fd7546bd6e0450d62c2bdea76859004b80 + last_write_checksum: sha1:c2cbeb0deb88481a32e3754626b182b4ea6d7434 + pristine_git_object: 853aa9b947485441e7cf561eee26f8c351dfd527 src/mistralai/client/models/updatedocumentrequest.py: id: a8cfda07d337 - last_write_checksum: sha1:f282948c29e5ef5bdb598e02923a44c0c4215e7a - pristine_git_object: 07c6f5e36119b84fab821967d0b054572fd9d45c + last_write_checksum: sha1:7fbf82e9c21b33ab0e7668421ee5d065b264877f + pristine_git_object: a85590425a55b32535dc98fa1a467b9a95086143 src/mistralai/client/models/updatehttpconnectorrequest.py: id: 5dc2b6730c49 - last_write_checksum: sha1:62b96507915c5f6536b0c723168911b4f0b9c3a5 - pristine_git_object: bb7099d510ca18109538bae81cb14deba5e7f2d1 + last_write_checksum: sha1:bb033ed5818680f5ff4c2148dd851d86a06c8ddd + pristine_git_object: 20ebf19648145bbb7d22a5ff72296de4e8f4d89d src/mistralai/client/models/updateinvocationbody.py: id: b8558eff0be0 - last_write_checksum: sha1:ea486ca10c1165b9f3dd40c005cc98bc6b0e937f - pristine_git_object: a300bd20073a2ddfc9b3bd4844aae9f3915e2f9c + last_write_checksum: sha1:2be94847fe55c2f0b25a9fd7327437f546e5ed0b + pristine_git_object: 8f55578527e2bfa0182dfc3f635d97b881f5787c src/mistralai/client/models/updatejudgerequest.py: id: f6ad6fb901a0 - last_write_checksum: sha1:0cc5d951aa36d1ba6cf82020d9ade4ac85bc3a94 - pristine_git_object: 04c86ab65599b96478f9b6a0cfa6ce3af1a489bb + last_write_checksum: sha1:bac8923cf3c803878dcea0dec581f77f3f46baed + pristine_git_object: 1d02c4ff3a8c0df623d41504901eeabd8348a39a src/mistralai/client/models/updatelibraryrequest.py: id: 51bc63885337 - last_write_checksum: sha1:aebbb99655ad350295e5eea6943947eb8960e742 - pristine_git_object: 64af28c596d42f349ccd94daa7aae422a77e031e + last_write_checksum: sha1:a2702af72bc2a684b2042dc2092faf030f4cede1 + pristine_git_object: 5d8da385aee32a18c8d98d73e8f45dfbf7d032b5 src/mistralai/client/models/updatemanagedindexrequest.py: id: a6a3d781827d - last_write_checksum: sha1:d7d8e57281aed70a5f05410563dc63bac2df155d - pristine_git_object: 14d5ef5c389519488b66fb36f1820716e1d42070 + last_write_checksum: sha1:08919d1698a2f43208e4d932d117f51256f3c023 + pristine_git_object: 675e6be342fb97e78ca92e2ffa733968857dcb0d src/mistralai/client/models/updatemetricsrequestdeploymentmetricsoffline.py: id: 7e7972591620 - last_write_checksum: sha1:fafdef022ffaca33032af5dd98c21a7cacfd3f45 - pristine_git_object: 506e6799ecee3b20f30ab07aecdc206654067d57 + last_write_checksum: sha1:e5c60ae77ee8aac1aefaf81692ddc83c37e6f2e3 + pristine_git_object: c4d2447e6a615465d7b0602207c58e9ef5f200a0 src/mistralai/client/models/updatemetricsrequestdeploymentmetricsonline.py: id: 56bb6df51918 - last_write_checksum: sha1:de40d49d80f4fa4007498f1a698c5deae2c2a72e - pristine_git_object: 960389669b4b8e284cd20d2b16e4108b8c560021 + last_write_checksum: sha1:055a462310064615a02f50327d861757dbf1338f + pristine_git_object: c099f60d985998c50e419d349b0d3ea811c12533 src/mistralai/client/models/updatemetricsrequestindexmetrics.py: id: 070491b02fb5 - last_write_checksum: sha1:e3130ad1221e2adf9efdf90da4b1456020e77c6c - pristine_git_object: 607e90f8f2c76c5af6c7608e1156a6beae0cefa6 + last_write_checksum: sha1:a780e819e4c36163fc85f5d0efae46225dbd0ce5 + pristine_git_object: f0c34210a61e2b3f6a3c758164176e4338000f6f src/mistralai/client/models/updatemodelrequest.py: id: fe649967751e - last_write_checksum: sha1:b5ce56ef430768ee806b45d9c2e4c405764a1ef5 - pristine_git_object: 0179ba140d7d598a4a363ddfab67197e56857964 + last_write_checksum: sha1:8d4375309ea7a2bb5cecfed0ea229226608b5469 + pristine_git_object: 1cce099feaa0111812d68ad27b3ece040d51c168 src/mistralai/client/models/updatepipelineconfigrequest.py: id: b8b6ad05d8ba - last_write_checksum: sha1:0624b97392a2624639f012036d032e3836c54728 - pristine_git_object: 04bc15993f2a72340ea88314f652e459f299ee84 + last_write_checksum: sha1:ff026c3f8725fa21277b13484aa2371d58477720 + pristine_git_object: 5fc62fa33c495064084d02ec00ec61d221368ac4 + src/mistralai/client/models/updatepipelinerequest.py: + id: e47da38e2c2c + last_write_checksum: sha1:09759c76ffd138a7e3ce6777436d2d39e808a6f6 + pristine_git_object: b7ee4bddf38d1165280900dac1f42d5c2dc98c24 src/mistralai/client/models/updateruninfo.py: id: 4330bdaa00b9 - last_write_checksum: sha1:57f94ec7b05a21ab4849deffaf32078b01161567 - pristine_git_object: 91038d1d8f39b650ebd347afca60dc21c144856d + last_write_checksum: sha1:be38b9f04bcd120298ea9f54f69f915528951368 + pristine_git_object: 8094cc7503cc3e7b4314b6cabc6eda5f7c68dd28 src/mistralai/client/models/updateserviceaccountrequest.py: id: ff1cbdac8e18 - last_write_checksum: sha1:801d0684110b877389e6ac7edda0b2274c746841 - pristine_git_object: 666c6cbf6e7a5e329d3f7275e233b32bb009f1e8 + last_write_checksum: sha1:44c9b5bef06ee3dc8d3657d3c6b4090440a23ed4 + pristine_git_object: daaa63daaaa15565879396e2d364583b987f23e4 src/mistralai/client/models/updateworkflowresponse.py: id: f5dcf717a0a1 - last_write_checksum: sha1:f0da842336a6aef26bab3fab2f0c742deda2653e - pristine_git_object: 699bef98d0eddd6d7b4e776c3aaa2896174bc223 + last_write_checksum: sha1:ccfe42f5798009f559d33f2fb217e5388a6edd17 + pristine_git_object: 909daef03c97c02b68e93266d74542bf3a7147b8 src/mistralai/client/models/usageinfo.py: id: 54adb9a3af16 - last_write_checksum: sha1:e38396ca2f63eb783cce6d2ce9af7ab90fd87f8c - pristine_git_object: 5b09dafad3cde3da2fd96b8dbece0386641f8a44 + last_write_checksum: sha1:a4a4fcf6064ad55e9495258241e495a0a50f1c46 + pristine_git_object: e8978e8522246ca127853f907968f290635783a3 src/mistralai/client/models/usageinfo_dollar_defs.py: id: d543506af998 - last_write_checksum: sha1:dafbaf51ce3997baf25141bdef8b34a92b48ed31 - pristine_git_object: 20686bff2118fc96adf50a0b775d719d68310041 + last_write_checksum: sha1:79b2cdf708c61b623780e3bef926022b61da0763 + pristine_git_object: 25ffc4e40bd84e0ace846975a6c0140bb3ee3e24 src/mistralai/client/models/useridentity.py: id: 8b1effdfe1ba - last_write_checksum: sha1:7ad7c16feb0b452585a4a30f8f7a7b56deafaf8c - pristine_git_object: 7da7bff3c3097deb53d81a42b5beb8421646b4df + last_write_checksum: sha1:2b131fbb269cce463f9758cd2a97025aff0aef26 + pristine_git_object: c706546ef6062e5cb3ecfae144f1971ebfe06f8b src/mistralai/client/models/useridentityapikey.py: id: 163a67bef05a - last_write_checksum: sha1:0eecf2dd2bd8309636939772ad2cec267db58d2a - pristine_git_object: 2cdbc0f898d737ee6aa3cff757507ab20c16c106 + last_write_checksum: sha1:6d2c9cc2b93479b8381f2fe6952a09d36c5e9afc + pristine_git_object: 98a6955b3316d00cca68b1cbc633e086ac2cdc60 src/mistralai/client/models/useridentityorganization.py: id: 646f6c60c670 - last_write_checksum: sha1:a516840d9c6d9019b8003c90d82ff5fb7d7d455b - pristine_git_object: a62208214eaa3449cce609422c0bb15c6c9a6a19 + last_write_checksum: sha1:83c607cc0c3553e7512b49ceaef30bbce95b47a3 + pristine_git_object: 28122e1e6d0e23007010e6bb872f36a4fc798d88 src/mistralai/client/models/useridentityworkspace.py: id: b0f8ef23c566 - last_write_checksum: sha1:75eb66cfe9f9c36912862b3bd6c20f11b14e5083 - pristine_git_object: 8bd8561c5d051fa47d80cbdd9ab580d5d303b065 + last_write_checksum: sha1:31d8768157ffdb660240a2cd720eec5f73d6c3e8 + pristine_git_object: 83c8ab1ba13468e9ef962261ed5effec4e2ab735 src/mistralai/client/models/usermessage.py: id: cb583483acf4 - last_write_checksum: sha1:b97161e1abd159d5a0c5757cac2a97bd6a5f1ef0 - pristine_git_object: 7b4b55630022708db7a53476dc7111416594df46 + last_write_checksum: sha1:78627c8c542297bfc63d10045e0a765610c92652 + pristine_git_object: 74cd5b83e1ceb93c73235486bb09d97bd65ce03f src/mistralai/client/models/userorganization.py: id: 14366f8fb1a5 - last_write_checksum: sha1:304d80cc79479391f804ae4d992a0342b7c93891 - pristine_git_object: 4dbae055c54f656c22377e7b5b6164ee98993b83 + last_write_checksum: sha1:7b075ce525b801961965d194b3fd59dd2d0c103b + pristine_git_object: bb047d51a947629f2cc79869120490bd8226511a src/mistralai/client/models/users_api_get_identityop.py: id: c2f2ad3f3d91 - last_write_checksum: sha1:998604d802f33911f2bd18f059901aee60172617 - pristine_git_object: f15cb2ee4a034b559f6097559e328bab8364aab8 + last_write_checksum: sha1:66f776572c034c825c8e205f23e42ea48ee432f3 + pristine_git_object: 0fbb6e2de9e39eead12c4bbb8fd312ec9a97f1c4 src/mistralai/client/models/users_api_list_organizationsop.py: id: ee2d958ab1cb - last_write_checksum: sha1:1b3a4506a921dbe5fa915e17760b53654a1ce413 - pristine_git_object: 46ad22a75d862fcc6bf551c5a98e351d9326902c + last_write_checksum: sha1:2059324fd85413cf59bc536aa536f20156b37ce6 + pristine_git_object: 208009959e8221cde5aadd4c7c46d5333c0fff25 src/mistralai/client/models/users_api_list_workspacesop.py: id: 71c247d21aeb - last_write_checksum: sha1:0ffaeb8907e9afaf16ba9d2d9cb07244f729ffbb - pristine_git_object: acee8b8b21ca9151c2ef941b250d265e49b04a9e + last_write_checksum: sha1:e8ceb5b5b4e16d82f8be441069a9e30aff105592 + pristine_git_object: ab994d63efd81dc5835e60da3f4b8dd8b1ac585e src/mistralai/client/models/userworkspace.py: id: 66ffd9d93482 - last_write_checksum: sha1:24010a85e7c902cfab659b1e0513fe309ceea5ad - pristine_git_object: b48b7b853449f98b290bbc007eaa33584dc1a1d4 + last_write_checksum: sha1:7457923fe58b667e9a4afd79b10d19dae249506b + pristine_git_object: 7b0104553bb65ed7e14ed671a9d233e59a1e3b75 src/mistralai/client/models/validationerror.py: id: 15df3c7368ab - last_write_checksum: sha1:4acbbd9e47cf9b351336d552488d617270d37758 - pristine_git_object: 5fe796db923badd9fb85dc4080a30496ed2b419b + last_write_checksum: sha1:b7757a1016015c9c0c1a030838540acbcadc08b0 + pristine_git_object: 6ad4d1b53be52191a4d7df63b595d3da7ec30c91 src/mistralai/client/models/vectordtype.py: id: 9c4cc53092b9 - last_write_checksum: sha1:07acf6fa02c3c1b9655ac84210a6569744c91fa0 - pristine_git_object: ad1b4e2dc34e1e3c000684aa783ff3382d1b5e40 + last_write_checksum: sha1:371e05454f99b9e84a0809301229b11f1dda4b93 + pristine_git_object: 8e4c8432d29649cd850afd9dbb5cc35486a15e2e src/mistralai/client/models/voicecreaterequest.py: id: 9a1752117dec - last_write_checksum: sha1:10df54cddb9d940c53cecc591dd959c491b7a59f - pristine_git_object: b76c60253618b634dc93960ced3feb08e4c1a098 + last_write_checksum: sha1:5a5668163a0907553772615aa458ac1b44c321fb + pristine_git_object: c9bf384babc320fd8ab52bd6302811cc6f2890c5 + src/mistralai/client/models/voicegender.py: + id: bd01f8fe635e + last_write_checksum: sha1:0f128cf6a50f32adb311bfcdab78be1c5a3919d6 + pristine_git_object: 2a78480e73c602e2bf008cc57d58553ac18018e6 + src/mistralai/client/models/voicelistpage.py: + id: b6ca7542d9b4 + last_write_checksum: sha1:69f2173378ba01d2c4c2d3e72c99b542c85662e0 + pristine_git_object: 03c3bd33957855c0f48ecd4bf376af2467d074ab src/mistralai/client/models/voicelistresponse.py: id: df4b1182d193 - last_write_checksum: sha1:c451d4d0534f4d857f16efde78a7027ae6ca84eb - pristine_git_object: eda768f53f2b6273ccae254ba25adf1c157d068a + last_write_checksum: sha1:a003826c99bed32f97d1ca3b5c506750346ff7e5 + pristine_git_object: 2ccbccf9c029daa5c403690e1408cdd6f5f72007 src/mistralai/client/models/voiceresponse.py: id: 24138e419fae - last_write_checksum: sha1:3eeff293a00326a02428e5a5ae1be54054404e1a - pristine_git_object: 5b76a72f863dc854bbabd7dd1842cc9a14dc1466 + last_write_checksum: sha1:d7aa37d1874b356361af1ea7be3e66475e6c9443 + pristine_git_object: 06444cc9879468ef66d4e5c2b2921de4017c723c src/mistralai/client/models/voiceupdaterequest.py: id: 798f8ff225de - last_write_checksum: sha1:dcb792d3375d7aa18cd6e7944b4ef7fc46f17e4a - pristine_git_object: cff906db45f5909393da5353557b4aef7519fba9 + last_write_checksum: sha1:33d4d4289ad382b642ac18ddf85867ad94c239ad + pristine_git_object: 9f82465e5e7f7d9877c6cd7c78d374b3ba02b2c6 src/mistralai/client/models/websearchpremiumtool.py: id: bfe88af887e3 - last_write_checksum: sha1:bdb724b386fe512c2b6db6bd2931ea71c796dbc9 - pristine_git_object: 5c929e94c20159cf394a9f95ef990a926643f0ea + last_write_checksum: sha1:cd2bcc57cacd5062c1f5c10f1c7e0e88bcd7be82 + pristine_git_object: 6d51e7ab8b565029248b76755b4a8a1ed425f2a2 src/mistralai/client/models/websearchtool.py: id: 26b0903423e5 - last_write_checksum: sha1:e486f50095cc7540ce828fff7571c6aa6748bf2f - pristine_git_object: f82b6ec1c89cae83ea21d9bae12a1984679262ae + last_write_checksum: sha1:0dc71acbf781d667965b52db60ef2e872521c42a + pristine_git_object: 5254d1719f37e154a10b9a312edbe0b4ca045380 src/mistralai/client/models/workflow.py: id: 1548cd73984e - last_write_checksum: sha1:72486159cb2975256d76a89ee614eec0f792d12e - pristine_git_object: 4c614b2f6da7cad37bfa202e2509855c47c16890 + last_write_checksum: sha1:6d05a1927fc994d1df1305bb6c25c361ede42cc2 + pristine_git_object: ad551d0261fc9e738d8f853f13405f57c5433b2f src/mistralai/client/models/workflowarchiveresponse.py: id: 64c479b7f9da - last_write_checksum: sha1:7e14d02314fcc8dab22a6a908f89122491449151 - pristine_git_object: 18eeccf267343acdff7cb10db729d38e167ab5a5 + last_write_checksum: sha1:9a0a2c9d76e8e30b0646624bdcc88cde4d47bb5b + pristine_git_object: 74571c808c5fdfbcea5b6388f79cd4dc3755d918 src/mistralai/client/models/workflowbasicdefinition.py: id: 34623036478d - last_write_checksum: sha1:ade5e16ba587fd78c1008d1b144ba563c351a672 - pristine_git_object: 780abfb009bec58414829b7b8c3a8be01ebbd5bb + last_write_checksum: sha1:a68c723e408c28151e45c6a5fa8a1e1675e434db + pristine_git_object: 8a2e854fd6736f493624305272b956ea11a2c992 src/mistralai/client/models/workflowbulkarchiverequest.py: id: 0e0bf7feeede - last_write_checksum: sha1:4d1c8a767f73778f6f2efb1e4d7992df62f872f5 - pristine_git_object: fb2089192ca567a095b48f56f429df288ac750dd + last_write_checksum: sha1:108184a7a8ac4a93fc0d626cb9430ec25f14caad + pristine_git_object: b887be801f786ecea34258246813bec6a73f4273 src/mistralai/client/models/workflowbulkarchiveresponse.py: id: 132f69064b86 - last_write_checksum: sha1:bdb96ed85fd2579c0a41407f9a4795f38e63dedc - pristine_git_object: 506724b3fec8383ef7b7cd8dc7b16e01380e0b78 + last_write_checksum: sha1:6c0fa5fca51c2e60947c8efd4f510f6f49bd11a4 + pristine_git_object: 6d7dbb6f4c1e814ad9f6cad0bcff704895cb01d1 src/mistralai/client/models/workflowbulkerror.py: id: 61b9b62c7fd6 - last_write_checksum: sha1:dd0bed42db7b7ba32c06c3609163681073ee3bb9 - pristine_git_object: 076c938a5223fa19e4929afbb4e2784f3a678745 + last_write_checksum: sha1:3317efe7a16826cb98315d1a011598dccb1f9848 + pristine_git_object: 8819776f47b37b40b0a44ad1d6e21310c92b49bf src/mistralai/client/models/workflowbulkunarchiverequest.py: id: b04414883bed - last_write_checksum: sha1:3219afc9903f4f9b7c4eb7e426a74a24ff990c0d - pristine_git_object: 6ffecd91dd3271d311370a6fb07f3539f55eb267 + last_write_checksum: sha1:061248fc935474f54f6918370c8c7736af3e18e6 + pristine_git_object: bef953073ba96bd5350341950e003a799b515b13 src/mistralai/client/models/workflowbulkunarchiveresponse.py: id: 34554c6df2e3 - last_write_checksum: sha1:dc1d73453a4e59deef573a211ccb7e69c5e55cb8 - pristine_git_object: f2ab37272302e036bfdc4e11bd4d76096b4f2c90 + last_write_checksum: sha1:28b36d679609e13a610cb5a09e27229ae5a844aa + pristine_git_object: 40e6431e48f9261f2c9a93e7071d0158fb850370 src/mistralai/client/models/workflowcodedefinition.py: id: 36fd5b898ddd - last_write_checksum: sha1:1277353a1e3816228a9cc9491b3c1bb53533aabc - pristine_git_object: 1f3009bf8305bc05c579c0d5582dfe1bcbe48762 + last_write_checksum: sha1:ff76c42c2e4dbbaa44e4b55c32b10c8e73ca88fa + pristine_git_object: 1ec4e54a75b270b9b22d8fe2838314592b2cba2f src/mistralai/client/models/workfloweventtype.py: id: b4aeeb03b57a - last_write_checksum: sha1:451a78dadc17941f397d73ff83c14d552f7150d7 - pristine_git_object: 8c386b01b02e61266dd43f53c003571d5f3adcc8 + last_write_checksum: sha1:487334d953be2e39b830079ced15f47eb693372b + pristine_git_object: 4f891f477e9f5d98838fd1957a162671cb461587 src/mistralai/client/models/workflowexecutioncanceledattributes.py: id: c0802a5de5e5 - last_write_checksum: sha1:84c630c5b90e4033aed700cd704222bc7da22175 - pristine_git_object: 69327cdc76953afa23a072280799794d1f28b550 + last_write_checksum: sha1:e078c81f8b7bc6138c17775e4b431938a991c41e + pristine_git_object: 478fc0dacbbce90d7e62763b91b341112a42fc26 src/mistralai/client/models/workflowexecutioncanceledresponse.py: id: bcc392d67222 - last_write_checksum: sha1:987152725b574da90963b14b752ca1b5448ace10 - pristine_git_object: fd57d6cb1692bc820296d11356a3cb05f57bd1fe + last_write_checksum: sha1:30aa04f3ad508fbdaa37b8aa15b3bdb5aa80ca3f + pristine_git_object: 35f522490027fabdc95dfd3c69e527740b2a64d7 src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py: id: f831331b0eb1 - last_write_checksum: sha1:fe75a5bf7025aec3bdc5b3058646161a9e2269b6 - pristine_git_object: f35e3007ced8ba34d5d1ce6a169c4d7eb7b0705b + last_write_checksum: sha1:c225aedd1a40bf753173682f151e3d28b0166367 + pristine_git_object: bc90400e707dbbf7f3cb299fd797d76f88ba7a5f src/mistralai/client/models/workflowexecutioncompletedresponse.py: id: a1bec20dfb0e - last_write_checksum: sha1:e2fdbce719adc8650ba291f6302104a8bfe917a3 - pristine_git_object: 8dc4616ebfdfba05744e251718c1a04f174a4225 + last_write_checksum: sha1:c30c2ba30a36093e20567d94ce336ef82657dfaf + pristine_git_object: de3cb1ff81993ca7a79a1b29cb0ceb87f1fe1916 src/mistralai/client/models/workflowexecutioncontinuedasnewattributesresponse.py: id: 2dd61dcd7b48 - last_write_checksum: sha1:05d7ec612f2674ee265f54c5233e1b79de8ebdae - pristine_git_object: 2ddbf0af4a9b8584f7c1efb6c883a1f9b524295e + last_write_checksum: sha1:ea26b0687a4b64b75e63bb7666145ff3a5f8a00d + pristine_git_object: dac7b1dea34d781429b5c03b4da5701cae77175f src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py: id: be26cd87dcb3 - last_write_checksum: sha1:4b07e282dbcd1678995be4cde35d6a541713bd68 - pristine_git_object: 3c2e5588fe96c73f25cb24681514840b13b3cbd9 + last_write_checksum: sha1:6d9c3a4b0e253ad584732225afdf82e43c42ab4e + pristine_git_object: 0c0e1e13deeeccc0b791b15514a2dd793780f84d src/mistralai/client/models/workflowexecutionfailedattributes.py: id: dbb7fb36a4fd - last_write_checksum: sha1:1953870e1392465773d2be2e9477c7c66f8e997c - pristine_git_object: 440b6c7a3b75555e5f267341ed00ab8743462457 + last_write_checksum: sha1:97baa945cfca2edb4f176b90d314f59b4fa85d18 + pristine_git_object: 45737252a63b0424bb4636a6c299cfcf1bb69d41 src/mistralai/client/models/workflowexecutionfailedresponse.py: id: a0836009f9de - last_write_checksum: sha1:69281cb37238b57574cce99897519cef46b27eb4 - pristine_git_object: d0480238a7d85496b119a7a1521f9bf4082e4f8a + last_write_checksum: sha1:66133fb365828b3723fb9c02c91c98fdacced7bd + pristine_git_object: 3db69a3a2164bbb46adb0314ddad15779d808b89 src/mistralai/client/models/workflowexecutionlistresponse.py: id: c2b2e1ab4821 - last_write_checksum: sha1:0993e22cc42af96754b46ce7e880b4beb28988dc - pristine_git_object: b992bc8e6656b14122bad4996fa2137363a3afca + last_write_checksum: sha1:238987c5ee3c013e2949fb2ab3dac6837018392a + pristine_git_object: fa21a2b9825623a7b976dea3b6828bcd901e68e3 src/mistralai/client/models/workflowexecutionprogresstraceevent.py: id: 6ea7078aaca3 - last_write_checksum: sha1:5af64f5a2d76bde2a1a51e3b543db894c2045a44 - pristine_git_object: ffebdb82a1a80d1d086b919da9b33e2f090388c4 + last_write_checksum: sha1:130b1bb064fd31e900ba81d2bddb3a99b9c1c9ab + pristine_git_object: f22a4ae9d696e4372a4d6d4d626e56f891e80ecb src/mistralai/client/models/workflowexecutionrequest.py: id: 806340497ed4 - last_write_checksum: sha1:4d036d0467bee2746118db5da320317bdc51f792 - pristine_git_object: a7b3381f3abce924ae8c9f925b6c300acea97596 + last_write_checksum: sha1:8c0caf1b03515248fb9c663e436051253aef3bb6 + pristine_git_object: 6e086a95dbf54c74c7347d23e852b4ee4479d723 src/mistralai/client/models/workflowexecutionresponse.py: id: 758786637be5 - last_write_checksum: sha1:34720a209e6bcd945582faa771b946f8109b4c03 - pristine_git_object: 4ac13c7e81f4ce7fc935fbd5816fe2fc31cab5a8 + last_write_checksum: sha1:252f33d18b988d2bf2e7ec8d7623462fc6aa90dd + pristine_git_object: f43338992411c82892f8c0bde03432763b0ad96b src/mistralai/client/models/workflowexecutionstartedattributesresponse.py: id: d2276919a895 - last_write_checksum: sha1:0e8495b532aeb8da0bd013adcdf4a3666851f566 - pristine_git_object: 728cc954416424abe989ee8027d66333ad2c4798 + last_write_checksum: sha1:e367b22caedc3c268c5f8bc98e141abd14f5534e + pristine_git_object: 24d4cad185bc76d606ee5a8910f3ffae09e16f24 src/mistralai/client/models/workflowexecutionstartedresponse.py: id: e1a597c911ea - last_write_checksum: sha1:4b3404dc7ab6b54e4947bc290dbd8d8ac9e1b552 - pristine_git_object: 87ec36224bf66ec7890c82fde80a126f4892a0b2 + last_write_checksum: sha1:1d83ca0aa5ab55ba63f2ec8065166ee78aacb731 + pristine_git_object: f8b7122af6faa2283bc405ba4432b72e00ec80b2 src/mistralai/client/models/workflowexecutionstatus.py: id: 56a16810d5de - last_write_checksum: sha1:71560f9e7a0222734e176a362d3188e703dfbbe2 - pristine_git_object: 611f3aa1ad149e30b577e5949be1e948c979d833 + last_write_checksum: sha1:12a3cd92b257976ee6dcbc36bb3448e535b1538e + pristine_git_object: 251ecc7c35180814627eb35a08d484feee19fbd9 src/mistralai/client/models/workflowexecutionsyncresponse.py: id: ef77c54a11b5 - last_write_checksum: sha1:e89046ec323523aae1ef4fb9be7e19328ff84f01 - pristine_git_object: 6ed0f038c27085bbb8896b570dcc3302db137b90 + last_write_checksum: sha1:39fc5ddc8586c08f3d7a82bf0b64a6d15171a89e + pristine_git_object: 81c2e28cf40e7f8c4712d4f0c1a4a8f634c03bc0 src/mistralai/client/models/workflowexecutiontraceevent.py: id: 584e0a98082a - last_write_checksum: sha1:5de35701fd0bd92ec997603d1a6cb30c7597dd17 - pristine_git_object: f74cd5ab6aeadf662e90a46b394621a631602372 + last_write_checksum: sha1:05889ba3c5280c311d42218c1d48669057ea80e6 + pristine_git_object: e32732d0f85866c27368eb69977988d1c229db38 src/mistralai/client/models/workflowexecutiontraceeventsresponse.py: id: 94d92762ccb7 - last_write_checksum: sha1:d8c168c9a3428f9f248159405654fda341be306b - pristine_git_object: 3dc90c60cef4c753b23af6bf1366c7589c2c2cb9 + last_write_checksum: sha1:8eed3c1105a7afa94dc47bbafa0f30ffce21dc2e + pristine_git_object: a531cfa4f3707b9d125a6b566b1b2fadf69699c1 src/mistralai/client/models/workflowexecutiontraceotelresponse.py: id: 7531bf461dc2 - last_write_checksum: sha1:b6d35ffeb5d3bd518270d15ae44ddcc29dffdbea - pristine_git_object: 84cef42525eb6d2a67836360841ee0ce046a7cb7 + last_write_checksum: sha1:45d42a8bb996ffcd13182a42452dcfb9810dd5fc + pristine_git_object: 46dafd734e1fef7901851ccbe3e28b195a9e3e25 src/mistralai/client/models/workflowexecutiontracesummaryattributesvalues.py: id: 5e3448a39a40 - last_write_checksum: sha1:a59ae1b987558f478518c86f93713e174e5e8d19 - pristine_git_object: 1957662cace4c7ca9b7b892b749922a436ca92f0 + last_write_checksum: sha1:7295f56f7bdec42c4a1400294fb4f1ce4dc80986 + pristine_git_object: b9db80ef50e0ed414582bd63475b231d85c914ac src/mistralai/client/models/workflowexecutiontracesummaryresponse.py: id: 2ea199810f5f - last_write_checksum: sha1:db5fe398a7aedc81110114701c634f0ee5f48dd1 - pristine_git_object: 46676720e2d932d93c404773dead2773ac09ad35 + last_write_checksum: sha1:2b93aa81ab9503a6bda811680434cf2c48a23ed5 + pristine_git_object: 08d4821656be2565406961760c8a2f386bc30c68 src/mistralai/client/models/workflowexecutiontracesummaryspan.py: id: 750353cbd052 - last_write_checksum: sha1:ba4f7ecc22fdd36aa3c11af5c1e434bb974d5786 - pristine_git_object: e80db90fe890726c75f711ea2b52b3008ef949ca + last_write_checksum: sha1:c875a29d013ac044128703e465d10bd71420b560 + pristine_git_object: 0b881fe937f9ada96ac5cfee5786301fe15ce7c6 src/mistralai/client/models/workflowexecutionwithoutresultresponse.py: id: dd70ba8def79 - last_write_checksum: sha1:ff1ece0a70cfc120d0611f745148adc5d6fb9ac6 - pristine_git_object: 110c3174b21c2cc0d37bf0c6485488307dbaf1b9 + last_write_checksum: sha1:1d45f9a6e0282fdcf92c652e87c2c017cc496782 + pristine_git_object: e34bb42ad48b83851e79fbc6077e145f5bb2b6e1 src/mistralai/client/models/workflowgetresponse.py: id: 230f55a36ebf - last_write_checksum: sha1:935cfce50db82d85ac0e246736c8939bfb015da0 - pristine_git_object: ef1391c9367ed9adf371131c86045246fcee676d + last_write_checksum: sha1:d76b0728ddd73156c890b7997c3f19fa9cdfa8a6 + pristine_git_object: 43be71820d4c244da9a7033c4db8d119a27b0b62 src/mistralai/client/models/workflowlistresponse.py: id: b255b05e7395 - last_write_checksum: sha1:194172c7c5140f090aa259608cd2d9ab8fd9cdf9 - pristine_git_object: a6497e825ed2dbdffde6072dc8e708e327c77129 + last_write_checksum: sha1:296c38a6c19a764d1b20cf13a1dea9020b93ae56 + pristine_git_object: e0841ef2469bb0f99429a02ad0862a31407d724f src/mistralai/client/models/workflowmetadata.py: id: 0435707d6944 - last_write_checksum: sha1:141a99ae47e987fdfd9bc01c72170c9ad22fb412 - pristine_git_object: 597525395aac5d0704b45e09d8552366773a0b92 + last_write_checksum: sha1:ca78c6a8bc3a972604bad6170c0c3a3c28230db9 + pristine_git_object: 46000786e58192c13b647c7128909c80e9b95bdd src/mistralai/client/models/workflowmetrics.py: id: 471fb1e10716 - last_write_checksum: sha1:0835e03836dc9f9bc0eeb953eb0fc42e25445183 - pristine_git_object: d80bb3db6cbc69404e22007a78bbef209c03c658 + last_write_checksum: sha1:5dda45989f6470dbebbfc5df3383a0c84c90db63 + pristine_git_object: 0dd500396fbdf73330fd0a5fe27a2265445389eb src/mistralai/client/models/workflowregistration.py: id: 2b937728c88b - last_write_checksum: sha1:f3c4b6a72b456a864d87f2a878d750f6962803a5 - pristine_git_object: 61df9d852e3625507b4cf2bc5833f15e2b61eae3 + last_write_checksum: sha1:63f30d43cd8315bfd1286f976e7f7da388ed6eaf + pristine_git_object: 73787fc58f5676db843edfb2a85a4b622f6a1252 src/mistralai/client/models/workflowregistrationgetresponse.py: id: f063656f22ae - last_write_checksum: sha1:cc7b4d3b71ea8bb8ae452c6fd3e4acc710a18321 - pristine_git_object: 3105856d933d7fad615fa786f2c29a0d5705ac1a + last_write_checksum: sha1:6bba78742c621ae28cb86d718cb2746bcfe716cb + pristine_git_object: eb4d7c174c72c90094ad58725cdcce3841ba717d src/mistralai/client/models/workflowregistrationlistresponse.py: id: 3752e5b776db - last_write_checksum: sha1:ae185c4823954b7a7c8a43fbf4fd441ed02b3bd9 - pristine_git_object: e66f219b28849d7a49af7c764389e0d1d1ee7f37 + last_write_checksum: sha1:afb7882804c54ef2ea8359cee75b5c7977dfa02d + pristine_git_object: 3a143df12b1cd3e76ace40b8948719ab4ec824f3 src/mistralai/client/models/workflowregistrationwithworkerstatus.py: id: 23b661b9496f - last_write_checksum: sha1:7d9880e7111e739234a918ae2ffdc9f8eeda5d41 - pristine_git_object: 0b43a2e9bcb1664b77010f1398222a35186461f7 + last_write_checksum: sha1:c3d8c5fd489d8dce44d038eb6b78b9ce8b95a6d1 + pristine_git_object: cd1a6ea6789584c4f83f635cc130c4817fee34c3 src/mistralai/client/models/workflowschedulelistresponse.py: id: e5247c5183bb - last_write_checksum: sha1:10d416a4157ccfd9f60479ea0cd8e4daaaa49cc3 - pristine_git_object: 21341ecad5cb574436d8d2e8beab695f3e637eb0 + last_write_checksum: sha1:383d5a0cfe8b7cb60a74908545614ab5af98a456 + pristine_git_object: 2ce4a7900dfa08ef26e6f8180bacde2a6a966609 src/mistralai/client/models/workflowschedulepauserequest.py: id: da7b9a522bcb - last_write_checksum: sha1:079663a44a62694c48dd839ef1d3b4cd6fb7429b - pristine_git_object: a27f2e90c23222d27566a5ca49575b195f41aa41 + last_write_checksum: sha1:22788ab96c57461d0fbb8af1ba3314474516080d + pristine_git_object: d3fc672f644a733904c9b1d798779e351286e80b src/mistralai/client/models/workflowschedulerequest.py: id: 2d8256704c6b - last_write_checksum: sha1:bac5dd140544747ebcd15a21da1df52303adaa17 - pristine_git_object: 2ded66b981775a0d60d04ca568bdc497373d2c04 + last_write_checksum: sha1:94bdeca4d3273d130429930dcc7ee571622a602a + pristine_git_object: c6226e92a0b59c97f97664e8c34ecc985a936019 src/mistralai/client/models/workflowscheduleresponse.py: id: c77172c4a9f6 - last_write_checksum: sha1:dd347319557279367f8ccde9158dec6c4586f528 - pristine_git_object: d74ba1dae81bccffa812df2a64babad0a61af787 + last_write_checksum: sha1:7504909a9218ee13654cc4f504ac8d6223413063 + pristine_git_object: 088c628e0ec1f42d554e24a8754bca4a17a0f6bf src/mistralai/client/models/workflowscheduletriggerrequest.py: id: 794505d95b73 - last_write_checksum: sha1:65ab9e154d0ad3dda0dfcc00a3d2a4d8e87f5649 - pristine_git_object: 38e3cc67c325ce70f8f8cc38fe16fa7d10bf09e3 + last_write_checksum: sha1:bbfbd32697746b240b375fc374fa396c601f5aa8 + pristine_git_object: 46e422b8f452e0cae826f715a0e640a0d999a5b6 src/mistralai/client/models/workflowscheduleupdaterequest.py: id: 72ca0f5e6c08 - last_write_checksum: sha1:ad25f903339edb6d9d018ba280a39789b81ffb28 - pristine_git_object: b43dc96f32704b4821936189a3f6a8bdcbd77799 + last_write_checksum: sha1:ea8eca1bab3ff506578f03d31b3e287af05641a4 + pristine_git_object: 9ba413a5fa578b57f1289c9b68737878484fc332 src/mistralai/client/models/workflowstreamerror.py: id: deb3c58716b9 - last_write_checksum: sha1:11ecea6e29d5f57ea84aba35adacf8c2a16e5453 - pristine_git_object: 94e5b89c10b4ffdbbdaf4bd3c8305e3174c63651 + last_write_checksum: sha1:0a82d3c2e07124b83c7f7bff1dc8f96165b3d973 + pristine_git_object: bb2125ebd596b95ba6059fbfe11f44ab6816f38d src/mistralai/client/models/workflowsworkerspecupdate.py: id: 97b61c6693ee - last_write_checksum: sha1:9267981941793f31a8c35f48bf15b378273de0ac - pristine_git_object: ae689484ba1c12dba44956a79cf35fb124514720 + last_write_checksum: sha1:ac5fafd2653486a8ff2022bc544d34d67437c2d5 + pristine_git_object: 95df520bc49f18f8d077717aea2087983540f2a9 src/mistralai/client/models/workflowtaskfailedattributes.py: id: c4c09c4d5ea7 - last_write_checksum: sha1:b1faee3ed43b88829ca68f5cd642f24d8f1fe9f5 - pristine_git_object: 49444347a46acf8f24c17a0f2b87c961c79efaca + last_write_checksum: sha1:d3b625e82829db536aa7ea79dbc19510a45a5016 + pristine_git_object: fbdf8bc1ec414ac55853fb7c74f9f673fd787f18 src/mistralai/client/models/workflowtaskfailedresponse.py: id: a02b01867b7f - last_write_checksum: sha1:9f84728e9381c872041545bbeb740b5a8c68dc01 - pristine_git_object: c44dcf110d553cc9678b8ece9c87bada88df4c8e + last_write_checksum: sha1:cbc8c73ef9a5ff08bc14deff0c756291a4b25620 + pristine_git_object: d2e85b3b6d022751e028cccd06aad7af4dc6b23b src/mistralai/client/models/workflowtasktimedoutattributes.py: id: 43369570cb96 - last_write_checksum: sha1:dd30ece2ca4bd84318494f4f49ca63446677f6d4 - pristine_git_object: 1824990e1e9bf911e0dc422743268a97091576a7 + last_write_checksum: sha1:e9d8f4d037f8ee22504f391846222299b46763d7 + pristine_git_object: 593f412122878271bf4dde7d5de81eb31a67e53d src/mistralai/client/models/workflowtasktimedoutresponse.py: id: 8b7540c47083 - last_write_checksum: sha1:dfa1345911462fee55bde79c15ed70d2947b0721 - pristine_git_object: 1aac6d70efeb69f32462d39d64a327f2f201d315 + last_write_checksum: sha1:767ae7772ee20be76c7349dfd2243fda68752f2b + pristine_git_object: 5fc45dcb9c02b8c29d0a6987ceeed5918c050a99 src/mistralai/client/models/workflowtype.py: id: 01f37d193b17 - last_write_checksum: sha1:ec2cf5f7adb51eca3b7bbfc7cef89d4da473b11f - pristine_git_object: 67858c88fc20add975c7b7d6ae46a5f19a220ad8 + last_write_checksum: sha1:420e62a683a59c4fb620aa785034d249c997de6d + pristine_git_object: aafc52439d9e0e93c9ed3f75f60d890713d9cb72 src/mistralai/client/models/workflowunarchiveresponse.py: id: 30bdd050feac - last_write_checksum: sha1:b2cdd8c427160afb82a0137b3da1e8d6da0b6d0e - pristine_git_object: 16717856cc8c70d912af14920b4264b89f0ffc5c + last_write_checksum: sha1:dbeed6ba3768814c91f04696e353f1fbd0f427cf + pristine_git_object: 2cb95b7c47fb57b24580a77537e00bcee825c957 src/mistralai/client/models/workflowupdaterequest.py: id: 8f3878d3c7c7 - last_write_checksum: sha1:e4919c1533680a2890506002ac23dac46f53c2f5 - pristine_git_object: 747c47741760724cc87d16a45aac58bccf498524 + last_write_checksum: sha1:3447c36acd361977f1ad761559100bb1acd2dfc8 + pristine_git_object: a511ef9d39efe641114b14136179ddbb79b3b580 src/mistralai/client/models/workflowupdateresponse.py: id: 0ae165cc7a82 - last_write_checksum: sha1:21b4509ca190bc1abf18b318ae502faf24408184 - pristine_git_object: 3336e448baf9f21cf5bfd1369e6268ea3a7d5e24 + last_write_checksum: sha1:690d47dab3edcee0a5e5ec63e9f05e26ddadcaea + pristine_git_object: dc3501110623daae2231e54cea1d714cf865a835 src/mistralai/client/models/workflowwithworkerstatus.py: id: e1055203af7d - last_write_checksum: sha1:8eb55733f39dd7ae9652964ec8e3130654336617 - pristine_git_object: cb8f97ef33643200070a256e2aed4f38eec91ebd + last_write_checksum: sha1:a867fdbd01aef3caadc05844b4adad5e3536e079 + pristine_git_object: 144c886014836a10ab903b5c2471e1698153ee96 src/mistralai/client/models_.py: id: 1d277958a843 - last_write_checksum: sha1:37e195ab411ea2d196004e422eef2c3f93bbcb02 - pristine_git_object: 4e4a4321166378ee8ea5d8f3ec6fb944a7ecc7d7 + last_write_checksum: sha1:f6dcfa6454de44ad8ffc4e1ea526f6af3a7532fe + pristine_git_object: 1e6587302c18b2a86f6ffcfa13138bf3eb89156c src/mistralai/client/observability.py: id: 453a1d06d130 - last_write_checksum: sha1:882b9f725191f1a4aed8b87e9e509e25b0b46592 - pristine_git_object: 32f0eca08d43ea552eae0dcc95e1eba84ac6a163 + last_write_checksum: sha1:adc2fa75740dafb10f11d19dd72abd8d2a1be22e + pristine_git_object: e93c6b5c1981ca363a033287acaf79b3169642c8 src/mistralai/client/ocr.py: id: 2f804a12fc62 - last_write_checksum: sha1:8f106696975398b4da4701d843c5122119878b93 - pristine_git_object: f149d6b53667c67aa087f322d1ec02b22c226d82 + last_write_checksum: sha1:5f5e9d9fc99b7b8154149e4e0d938facd442b33a + pristine_git_object: c9f6d7f76cffd1c9a3b4e1f167ed05791b78f13e src/mistralai/client/py.typed: id: d95cd1565e33 last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 src/mistralai/client/rag.py: id: 2c2b641de1b6 - last_write_checksum: sha1:f63e15e18aa025ae713660c33ea33f06e7eaa4ef - pristine_git_object: 6a20dc2cbf88c8159518426cca9edb5c6b1de684 + last_write_checksum: sha1:ff5b63ae8ae922a4cd088d15f57da1e54b9858ea + pristine_git_object: eb3346f17cf29f80998d3344f5c94fea20898377 src/mistralai/client/realtime.py: id: 9d55a65b4bc9 - last_write_checksum: sha1:ecd753170c02b868c8274458375e8219dfb7566d - pristine_git_object: 98c90d345c9d8782ef7d200cbeb18d8a74366bbb + last_write_checksum: sha1:93ccfb66a4ab357f88e6b01a8f3517eb566d7f13 + pristine_git_object: 519d5d5ba7dbb39be2e68acc9891b0d36dee5fd0 src/mistralai/client/records.py: id: 10f90c990bd8 - last_write_checksum: sha1:93eecf328a0f399d5ab28bcd141a3fe38e72c7ba - pristine_git_object: 03e5279f733c6463101439896eb73c2a39fb63cc + last_write_checksum: sha1:097b209f72555cccd4f362c6765626c169d7f782 + pristine_git_object: aad772f6440eed1c520a53276d0936848e5c6a76 src/mistralai/client/runs.py: id: 4297d58aeb21 - last_write_checksum: sha1:56a416c0dad3c081b884010381b0ac74fef531c2 - pristine_git_object: 84742115feef48af1887c91ba08a209ccc2e1722 + last_write_checksum: sha1:380c88fe68b5c7259a3acfbd4cc590e39ea701af + pristine_git_object: c65d5d7c6200a88b6072f4172a5f6a5ae5b3b3d8 src/mistralai/client/schedules.py: id: d3b4fe452390 - last_write_checksum: sha1:3a4f3f89d0f46730e35f935b897c0f799f5b405b - pristine_git_object: 7a5bbc4afb9fe0cd59de2da14099489132d95cff + last_write_checksum: sha1:51fa9f8828bfb1e06bf72a0fc403b9ee9e226be8 + pristine_git_object: d162c754cf8d8a5ffb6afc4510dad6c243d9c3c9 src/mistralai/client/sdk.py: id: 48edbcb38d7e - last_write_checksum: sha1:bb48556821cf7deacdc3272d23e0753965239c9e - pristine_git_object: a5ff2a8517cc3b96b4400e616c0665298a2edb64 + last_write_checksum: sha1:6372600d8a80971c1d8a474659dc7b3254c8c6bf + pristine_git_object: 01d27d12020ef478e07e5ca0c413d48ae925f96e src/mistralai/client/sdkconfiguration.py: id: b7dd68a0235e - last_write_checksum: sha1:db990e218c174af83f0ba770da7e4f8da4e54157 - pristine_git_object: 999e271724b5a7ccf309db60d71eae845011b3f8 + last_write_checksum: sha1:48e972ef8320f040615c204729cecbbabb28e1b0 + pristine_git_object: d91c93e74a31a5231fbd647ae84e52b6c98e5ec9 src/mistralai/client/search_indexes.py: id: c5a0a7df993a - last_write_checksum: sha1:084abdbb4801f68d6f410588aaebd5a6a69b270e - pristine_git_object: 92c35aff10c46cb91c31b4eb6ddfaf0c84571c55 + last_write_checksum: sha1:5f38fab20b6160a286587ec55012e80af3715de9 + pristine_git_object: 678d56b573d1c7892149c4f83bac4a9bf2078472 src/mistralai/client/service_accounts.py: id: d4210b455fcf - last_write_checksum: sha1:b88e29ce7ae97058a95c1350a680f8912694e145 - pristine_git_object: 078bea881de7575acf5517b1e1016d895ca17573 + last_write_checksum: sha1:25d8a9c4769cf316095092aeda2280df6d3a7efd + pristine_git_object: d0289caaba2fd470fdb6357f0dadd0bd67746223 src/mistralai/client/sessions.py: id: 6387fd8f7623 - last_write_checksum: sha1:66acbb15217d254c5ca767168afeefe6bb60a27f - pristine_git_object: f879ce6a95ff1a04b643ed2ae5c24788af36ebfd + last_write_checksum: sha1:e5d98f9367780e9c6febb3ee6f484b5d9001a5bc + pristine_git_object: 6570e7e28214abc03415beac9e18b648bd11f772 src/mistralai/client/skills.py: id: d00f9eb877ec - last_write_checksum: sha1:67971449e8bed0715a41984311179bf6cd61d296 - pristine_git_object: c5e3df58db7542f3b3dc85b1d5f465cb37b15884 + last_write_checksum: sha1:bba7a08e25707c8a2d3362d713e0f0865fa3c000 + pristine_git_object: 8765d9befa939c6e7d2f83e08bb3c2d71a4e36e9 src/mistralai/client/spans.py: id: 408477ccb9d4 - last_write_checksum: sha1:276b12448ffc826e726c4ead49e8c9e33031b592 - pristine_git_object: 9a21ebf25f41f26da1748d0ae36ef64ce63e8ed2 + last_write_checksum: sha1:109da9167b8808a62b52eb56a034eec6a717f35d + pristine_git_object: 59cead7d80d71ebfabd9715b398556fa89249569 src/mistralai/client/speech.py: id: 5c1f1109aa5e - last_write_checksum: sha1:9e4b770c0d8a12eabc3b5c4d91419aae97b76cc9 - pristine_git_object: 148c913c6702950c9ee90f4c96d4788d5cb8b995 + last_write_checksum: sha1:aeed141c97c6b58cb5f6a1408e81fc5cb05b60fc + pristine_git_object: d8b678ffa7674ce57f9313ae92a27c74137f1a10 src/mistralai/client/traces.py: id: 8af61cbcf718 - last_write_checksum: sha1:173ad38924bbc3b3648fae87ffaf8f5f3d200d48 - pristine_git_object: eb7e83be17bd0503c644b346dc8d9a790252f4b0 + last_write_checksum: sha1:1ab83d6cc92ad235c6b791e40ec919c710cfc981 + pristine_git_object: 23d91ff199c109b9dbba9d2d29ecde2bdabaef75 src/mistralai/client/transcriptions.py: id: 75b45780c978 - last_write_checksum: sha1:f4e6a653e1c9377e79370341c9c6a553b283b07d - pristine_git_object: 6c1c60b1562eb70e760f5b81250cd2fff809b9eb + last_write_checksum: sha1:4bc98d102fe71ef0336ced062683fde4224ed5e9 + pristine_git_object: e68fa7d2ac18f39c2928d0664393c3a0304a5b20 src/mistralai/client/types/__init__.py: id: 000b943f821c - last_write_checksum: sha1:5b1e9e41d7b8b75e128cdfd1eeed7d6d47fca324 - pristine_git_object: 0e0f807f2f3032b7a143f36606e05cc10ca121ff + last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9 + pristine_git_object: faa268137bc01c9d08cfadc4797017db48747a96 src/mistralai/client/types/base64fileinput.py: id: 09fc58c1c116 - last_write_checksum: sha1:89813bcd561907f3942462a00e9294fdc0c7f311 - pristine_git_object: 27bed6a2af91328b83a213a631512639b15fab37 + last_write_checksum: sha1:1522687ae3398374c35710cad993a6e82b5ab99d + pristine_git_object: 862566fe2b1db830276b390e136e65090e5963d2 src/mistralai/client/types/basemodel.py: id: 7ec465a1d3ff - last_write_checksum: sha1:b62a9d42d79a238399e04efbf5c02215c707efde - pristine_git_object: 4e889aa0ffbb4402e416a40fa6259334cb0a3c5c + last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584 + pristine_git_object: a9a640a1a7048736383f96c67c6290c86bf536ee src/mistralai/client/users.py: id: 81be4772253e - last_write_checksum: sha1:cb1580f117b059db7148c6bf5ed479dbaa0c0b9a - pristine_git_object: 1e76424ca39e0241441fb26686180d2bb49de08a + last_write_checksum: sha1:aaf10df08d0df268cbbbbc5be4a5d61cc76e9f2a + pristine_git_object: 7a8e0388eee4609f9e060d557f7b55813a6b2a27 src/mistralai/client/utils/__init__.py: id: b69505f4b269 - last_write_checksum: sha1:3de977b67124d7d729f2f634629bd868776b4c48 - pristine_git_object: cf432d8064a8bbcce2487e66a8d129771471eaea + last_write_checksum: sha1:7bab4464f8e01656349d991d21d1e093b012b7bc + pristine_git_object: 6120a33eec9f6fd7801cc7621f9380f08f503a75 src/mistralai/client/utils/annotations.py: id: 1ffdedfc66a2 - last_write_checksum: sha1:f86ba37de752e63076f25d53f9c54fce98d2a0bd - pristine_git_object: 4b60ab8e730e7093a064b6869c4a712b96e4aad8 + last_write_checksum: sha1:a4824ad65f730303e4e1e3ec1febf87b4eb46dbc + pristine_git_object: 12e0aa4f1151bb52474cc02e88397329b90703f6 src/mistralai/client/utils/datetimes.py: id: c40066d868c9 - last_write_checksum: sha1:36cdebe9fbe7dd29f55ab512de999d021f63d580 - pristine_git_object: 4338ad43545414eb18d67eb6fe124cf1f659c228 + last_write_checksum: sha1:fa47d54c549ff9b95496ce91930fadfb04a36be9 + pristine_git_object: adad24762cf452d137abe94fda0fd26224cef593 src/mistralai/client/utils/dynamic_imports.py: id: ac9918d925c0 - last_write_checksum: sha1:93d3eac90a47a039e7a652ae120bec66be6c681a - pristine_git_object: 969f2fc71178ed2114640c8f0831f4f3acb25af8 + last_write_checksum: sha1:a1940c63feb8eddfd8026de53384baf5056d5dcc + pristine_git_object: 673edf82a97d0fea7295625d3e092ea369a36b79 src/mistralai/client/utils/enums.py: id: a0735873b5ac - last_write_checksum: sha1:fe05b6a21360b0eff1fc246e9a3ee01758521262 - pristine_git_object: d897495f053459106144501c67f2215251d52a27 + last_write_checksum: sha1:bc8c3c1285ae09ba8a094ee5c3d9c7f41fa1284d + pristine_git_object: 3324e1bc2668c54c4d5f5a1a845675319757a828 src/mistralai/client/utils/eventstreaming.py: id: 3263d7502030 - last_write_checksum: sha1:8d26787680e41d9e87153054cef4c01eb283ae46 - pristine_git_object: 2dc7289824188cf20b2570f39e3480bf3558187c + last_write_checksum: sha1:050358a6a2e0b60a38a468ac8b6dda6f50e575ce + pristine_git_object: 07fdb309e83902dba525b5de06e90f26358ed8d8 src/mistralai/client/utils/forms.py: id: 58842e905fce - last_write_checksum: sha1:c83035741d8a135aadb48bf687eecbdfdc02a1ba - pristine_git_object: c021ebd919ab1ff52ddb421eb73e13815b06dda5 + last_write_checksum: sha1:dcf527960992b8baef3b21937c7e6c4e652630c0 + pristine_git_object: 193f264960f3014c81d41543b9023c14c44c12e6 src/mistralai/client/utils/headers.py: id: 9066de2ead8b - last_write_checksum: sha1:bcd2f47b96bfaa54b3590c557a9267142d446be6 - pristine_git_object: 6491187230b5f11c7ff13396891ac69099a73a79 + last_write_checksum: sha1:95c6f681c381fbe2394354d1dc5279ac28f211c3 + pristine_git_object: be6bacd51ab5f0e8d568c6869c294d20415651cd src/mistralai/client/utils/logger.py: id: 745023607a1f - last_write_checksum: sha1:2582e0cb889b6293c12ce9671aba6281d46bad44 - pristine_git_object: 3edad8307ea0ef38e857596a3ec11023a4af287f + last_write_checksum: sha1:82daf8328557b59d6c6f94a321121034f96a6716 + pristine_git_object: 5bad616b3ab07c2ef8946c8ca333908aeb20e483 src/mistralai/client/utils/metadata.py: id: d49d535ae52c - last_write_checksum: sha1:aa5a42fb2fc9dd6469532a633648e8f1a8dad9bf - pristine_git_object: 3850a6ffb6c990a784b1692cefc81de3d67f611a + last_write_checksum: sha1:e703e5cbb5255144aacf86898d1420529afaaff8 + pristine_git_object: 5abddd588837ac297050ca3b543627faadb350a9 src/mistralai/client/utils/queryparams.py: id: bb77d4664844 - last_write_checksum: sha1:d02ce5b2dcc26edb7c937d75b98b70c22a5af189 - pristine_git_object: 0b78c548233f32afa2aafe0040ebb120b51532e8 + last_write_checksum: sha1:b94c3f314fd3da0d1d215afc2731f48748e2aa59 + pristine_git_object: c04e0db82b68eca041f2cb2614d748fbac80fd41 src/mistralai/client/utils/requestbodies.py: id: 946cfcd26ee4 - last_write_checksum: sha1:f9934a2a15f84a17958b889113bd19037f15c634 - pristine_git_object: 22270e218371d5216b47156c08dd8480f6218a93 + last_write_checksum: sha1:e1fef575283b7fe7fe2ad392dbbb3fb105309124 + pristine_git_object: 591415af8e64baa410627b507d2740afb5387d13 src/mistralai/client/utils/retries.py: id: 5f1a5b90423c - last_write_checksum: sha1:238894fa9803c5140e98ce297c9a6a0cb3714e21 - pristine_git_object: 49ec48c0059bb00e3212aaa9be4679ebe45a3382 + last_write_checksum: sha1:00cfd4e42fbfeac434724fc65130e6abc470fb81 + pristine_git_object: 2ba7ebdc04117216cf2ed907e02a95469d1c1161 src/mistralai/client/utils/security.py: id: 1acb7c006265 - last_write_checksum: sha1:9f176b3d22a80f5be7f22e1879ec33a3773cf765 - pristine_git_object: 77a4449d0b54ac5c43fa150ef38ed0406c5dff66 + last_write_checksum: sha1:204ed530c48b04ed7150f38ff35f505c27ca1d33 + pristine_git_object: 67c18570af818ddbbd0132f8904699a632fe9cc5 src/mistralai/client/utils/serializers.py: id: 53c57c7f29a8 - last_write_checksum: sha1:9f17fc2aebe75f170a41cbaf2e12fb515985bafc - pristine_git_object: f7dfd497e5f3d43ac836aa8b1e1d5deb21043d80 + last_write_checksum: sha1:9a6a4d748f609fb65970d34c4a078ff81d2eaba1 + pristine_git_object: a68f09c77d9284fc374a1c23ccd9dcf467d2c27e src/mistralai/client/utils/unions.py: id: d23713342634 - last_write_checksum: sha1:c272eb6a6bc54bff5a654b9dadb90b7b4067746e - pristine_git_object: f7cf5f3f8171aafa0eee7bc41f1530ec4adaf088 + last_write_checksum: sha1:cd6201e6f43c51545a32f5bd4ac9f508e1ba0c29 + pristine_git_object: 2434640235f9607bd894361dcba872ceb5b26533 src/mistralai/client/utils/unmarshal_json_response.py: id: b13585fc5626 - last_write_checksum: sha1:372a01f5abf034ddbe5d4a3fc68e9e397f86085a - pristine_git_object: 624433c4dd42c9fb1bfae363becc76c62e390e14 + last_write_checksum: sha1:64e2f35b1b765eb9108dd7efe671a034fa1cdeb5 + pristine_git_object: 0002e115ab95ef5d5c823c2291e5e2f84a2b9752 src/mistralai/client/utils/url.py: id: 3c6496c17510 - last_write_checksum: sha1:c64be472d29cf229f2b91102808dcb741371c227 - pristine_git_object: 27a6a3a05287ff8a4e24e379ae5d20280c2caf30 + last_write_checksum: sha1:6479961baa90432ca25626f8e40a7bbc32e73b41 + pristine_git_object: c78ccbae426ce6d385709d97ce0b1c2813ea2418 src/mistralai/client/utils/values.py: id: bb6ade7a7f82 - last_write_checksum: sha1:02912cab2f37381d0bc7562f65637e4e3dfbd53c - pristine_git_object: 61c1c15df7ff2f7cd69aa530402b654a91aa5e5c + last_write_checksum: sha1:32e077f9a5ea902f94a50e1f635e943dd44f82e9 + pristine_git_object: 2bba1465bded520b0acc8c51d6ec77d3b601d338 src/mistralai/client/voices.py: id: ab76b1377d79 - last_write_checksum: sha1:20aa7e106fb93f924314e7df6eb502239d3ffb00 - pristine_git_object: 0e2bef6bb4af0870b68aae734dd6052b08698c86 + last_write_checksum: sha1:4970d68076c248b9ae566e819c8371fb350e3110 + pristine_git_object: 3e526c3072b65dd1c502d5602aad555b751c7c11 src/mistralai/client/workflows.py: id: e2a0381191f6 - last_write_checksum: sha1:db78cf249c9e35ac80ca6ba787355b7c4dab3b18 - pristine_git_object: 2d1bd94bbdb1b3d122c04ca5a6beefbebea2f079 + last_write_checksum: sha1:88dbc75143b0a5624d23f0fff42c2d569e1e34e5 + pristine_git_object: 642f59509a2cfad64d0c781ea2a68ea72a5c5f39 src/mistralai/client/workflows_events.py: id: 6d4f674ce8ef - last_write_checksum: sha1:004b5aee7ef194e9038fd735931eb53732c7055d - pristine_git_object: 298824491b92d5a15d06104852173ad8e589cdd9 + last_write_checksum: sha1:132dcc7cb1c790a1d61c4cd4a38c6c1fa7bd5ac0 + pristine_git_object: 91e6cad8b4a1e05b4f36b8b7185dba30ac327973 examples: list_models_v1_models_get: speakeasy-default-list-models-v1-models-get: @@ -12127,7 +12430,7 @@ examples: application/json: {"name": "", "spec": {"github_url": "https://ugly-parade.com"}, "hardened": false} responses: "202": - application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://unwieldy-jump.net/", "type": "workflows_worker", "backend_spec": {"type": "kubernetes"}, "commit_sha": "", "entrypoint": "", "working_dir": null}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2025-09-24T17:27:41.536Z", "updated_at": "2024-07-04T17:27:19.277Z", "stopped": false, "is_hardened": false} + application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://unwieldy-jump.net/", "type": "workflows_worker", "backend_spec": {"type": "kubernetes"}}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2025-09-24T17:27:41.536Z", "updated_at": "2024-07-04T17:27:19.277Z", "stopped": false, "is_hardened": false} "422": application/json: {} update_deployment_v1_workflows_deployments__name__patch: @@ -12139,7 +12442,7 @@ examples: application/json: {} responses: "202": - application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://unfit-muscat.biz/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}, "commit_sha": "", "entrypoint": "", "working_dir": ""}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2025-02-15T12:00:55.455Z", "updated_at": "2026-11-10T22:32:25.133Z", "stopped": false, "is_hardened": false} + application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://unfit-muscat.biz/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2025-02-15T12:00:55.455Z", "updated_at": "2026-11-10T22:32:25.133Z", "stopped": false, "is_hardened": false} "422": application/json: {} delete_deployment_v1_workflows_deployments__name__delete: @@ -12149,7 +12452,7 @@ examples: name: "" responses: "202": - application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://severe-cassava.name/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}, "commit_sha": "", "entrypoint": "", "working_dir": ""}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2024-05-23T14:42:18.653Z", "updated_at": "2025-10-24T15:30:01.048Z", "stopped": false, "is_hardened": false} + application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://severe-cassava.name/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2024-05-23T14:42:18.653Z", "updated_at": "2025-10-24T15:30:01.048Z", "stopped": false, "is_hardened": false} "422": application/json: {} stop_deployment_v1_workflows_deployments__name__stop_post: @@ -12159,7 +12462,7 @@ examples: name: "" responses: "202": - application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://ignorant-appliance.net", "type": "workflows_worker", "backend_spec": {"type": "kubernetes"}, "commit_sha": "", "entrypoint": null, "working_dir": ""}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2026-07-02T12:54:12.841Z", "updated_at": "2024-08-09T21:26:19.568Z", "stopped": false, "is_hardened": false} + application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://ignorant-appliance.net", "type": "workflows_worker", "backend_spec": {"type": "kubernetes"}}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2026-07-02T12:54:12.841Z", "updated_at": "2024-08-09T21:26:19.568Z", "stopped": false, "is_hardened": false} "422": application/json: {} start_deployment_v1_workflows_deployments__name__start_post: @@ -12169,7 +12472,7 @@ examples: name: "" responses: "202": - application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://shameless-tuber.com/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}, "commit_sha": "", "entrypoint": "", "working_dir": ""}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2025-10-30T23:24:19.705Z", "updated_at": "2025-06-08T01:56:17.729Z", "stopped": false, "is_hardened": false} + application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://shameless-tuber.com/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2025-10-30T23:24:19.705Z", "updated_at": "2025-06-08T01:56:17.729Z", "stopped": false, "is_hardened": false} "422": application/json: {} restart_deployment_v1_workflows_deployments__name__restart_post: @@ -12179,7 +12482,7 @@ examples: name: "" responses: "202": - application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://short-discourse.com/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}, "commit_sha": "", "entrypoint": "", "working_dir": null}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2024-08-30T12:44:59.345Z", "updated_at": "2025-12-19T17:44:51.948Z", "stopped": false, "is_hardened": false} + application/json: {"service_id": "", "name": "", "spec": {"github_url": "https://short-discourse.com/", "type": "workflows_worker", "backend_spec": {"type": "koyeb"}}, "resources": {}, "status": {"available_replicas": 0, "ready_replicas": 0}, "created_at": "2024-08-30T12:44:59.345Z", "updated_at": "2025-12-19T17:44:51.948Z", "stopped": false, "is_hardened": false} "422": application/json: {} connector_unshare_v1: @@ -12390,10 +12693,10 @@ examples: create_pipeline_config_v1_observability_pipeline_configs_post: speakeasy-default-create-pipeline-config-v1-observability-pipeline-configs-post: requestBody: - application/json: {"name": "", "pipeline_kind": "judge", "selectors": [], "definitions": [{"model": "mistral-moderation-latest"}], "enabled": true} + application/json: {"name": "", "pipeline_kind": "judge", "selectors": [], "definition": {"slug": ""}, "enabled": true} responses: "201": - application/json: {"id": "6cc11952-6b4c-41cc-8072-ddc26292bc64", "created_at": "2024-01-11T09:56:56.568Z", "updated_at": "2026-09-05T02:04:56.846Z", "deleted_at": "2026-07-18T20:16:28.467Z", "scope": "workspace", "workspace_id": "81eadee8-002c-4662-bc14-61ca4165262e", "name": "", "pipeline_kind": "judge", "selectors": [{"source_kind": "log"}], "enabled": true, "definitions": [{"slug": ""}]} + application/json: {"id": "6cc11952-6b4c-41cc-8072-ddc26292bc64", "created_at": "2024-01-11T09:56:56.568Z", "updated_at": "2026-09-05T02:04:56.846Z", "deleted_at": "2026-07-18T20:16:28.467Z", "scope": "workspace", "workspace_id": "81eadee8-002c-4662-bc14-61ca4165262e", "name": "", "pipeline_kind": "judge", "selectors": [{"source_kind": "log"}], "enabled": true, "definition": {"model": "mistral-moderation-latest"}} "400": application/json: {"detail": {"message": "", "error_code": "AUTH_FORBIDDEN_WORKSPACE_NOT_FOUND"}} list_pipeline_configs_v1_observability_pipeline_configs_get: @@ -12414,7 +12717,7 @@ examples: pipeline_config_id: "939fdf7d-2edf-45ca-bb75-a47326da1799" responses: "200": - application/json: {"id": "5131e7a8-d0cb-48ee-b06b-e35a4f83d993", "created_at": "2024-07-08T20:57:49.429Z", "updated_at": "2025-01-18T11:58:57.582Z", "deleted_at": "2024-08-31T11:16:35.340Z", "scope": "workspace", "workspace_id": "ddefc067-e1de-41e9-871e-476def59f605", "name": "", "pipeline_kind": "export", "selectors": [], "enabled": true, "definitions": [{"target_attributes": ["", ""], "patterns": [{"name": "", "regex": "", "category": "", "confidence": ""}]}]} + application/json: {"id": "5131e7a8-d0cb-48ee-b06b-e35a4f83d993", "created_at": "2024-07-08T20:57:49.429Z", "updated_at": "2025-01-18T11:58:57.582Z", "deleted_at": "2024-08-31T11:16:35.340Z", "scope": "workspace", "workspace_id": "ddefc067-e1de-41e9-871e-476def59f605", "name": "", "pipeline_kind": "export", "selectors": [], "enabled": true, "definition": {"slug": ""}} "400": application/json: {"detail": {"message": "", "error_code": "EVALUATION_RECORD_NOT_FOUND"}} update_pipeline_config_v1_observability_pipeline_configs__pipeline_config_id__put: @@ -12423,10 +12726,10 @@ examples: path: pipeline_config_id: "4ee75abd-cccd-4232-9858-0c535465bfd5" requestBody: - application/json: {"name": "", "pipeline_kind": "detection", "selectors": [], "definitions": [], "enabled": true} + application/json: {"name": "", "pipeline_kind": "detection", "selectors": [], "definition": {"target_attributes": [""], "patterns": [{"name": "", "regex": "", "category": "", "confidence": ""}]}, "enabled": true} responses: "200": - application/json: {"id": "54472de9-ad70-4f85-a3c3-1eb3a4e0772e", "created_at": "2024-08-23T05:53:44.588Z", "updated_at": "2026-04-22T22:28:40.230Z", "deleted_at": "2026-06-26T16:41:38.607Z", "scope": "workspace", "workspace_id": "93f714c8-653b-462c-a83b-561b0b408942", "name": "", "pipeline_kind": "moderation", "selectors": [], "enabled": false, "definitions": []} + application/json: {"id": "54472de9-ad70-4f85-a3c3-1eb3a4e0772e", "created_at": "2024-08-23T05:53:44.588Z", "updated_at": "2026-04-22T22:28:40.230Z", "deleted_at": "2026-06-26T16:41:38.607Z", "scope": "workspace", "workspace_id": "93f714c8-653b-462c-a83b-561b0b408942", "name": "", "pipeline_kind": "moderation", "selectors": [], "enabled": false, "definition": {"model": "mistral-moderation-latest"}} "400": application/json: {"detail": {"message": "", "error_code": null}} delete_pipeline_config_v1_observability_pipeline_configs__pipeline_config_id__delete: @@ -12517,7 +12820,7 @@ examples: application/json: {"name": "", "config": {"embedding": {"type": "custom", "name": "", "dimensions": 543021}}} responses: "202": - application/json: {"id": "b46a65b4-aa22-4c77-aea9-0bed8572a223", "name": "", "status": "provisioning", "schema": {}, "config": {"embedding": {"type": "custom", "name": "", "dimensions": 543021}}} + application/json: {"id": "b46a65b4-aa22-4c77-aea9-0bed8572a223", "name": "", "creator_id": "", "status": "provisioning", "schema": {}, "config": {"embedding": {"type": "custom", "name": "", "dimensions": 543021}}} "422": application/json: {} list_indexes_v1_rag_managed_indexes_get: @@ -12537,7 +12840,7 @@ examples: index_name: "" responses: "200": - application/json: {"id": "b1e4fc65-2947-49b3-8830-3d3eea60c07c", "name": "", "status": "provisioning", "schema": {}, "config": {"embedding": {"type": "custom", "name": "", "dimensions": 136483}}} + application/json: {"id": "b1e4fc65-2947-49b3-8830-3d3eea60c07c", "name": "", "creator_id": "", "status": "provisioning", "schema": {}, "config": {"embedding": {"type": "custom", "name": "", "dimensions": 136483}}} "422": application/json: {} update_index_v1_rag_managed_indexes__index_name__put: @@ -12549,7 +12852,7 @@ examples: application/json: {"schema": {}} responses: "202": - application/json: {"id": "c5a70473-e1c2-49d9-b200-6afb6edf1d34", "name": "", "status": "ready", "schema": {}, "config": {"embedding": {"type": "custom", "name": "", "dimensions": 626062}}} + application/json: {"id": "c5a70473-e1c2-49d9-b200-6afb6edf1d34", "name": "", "creator_id": "", "status": "ready", "schema": {}, "config": {"embedding": {"type": "custom", "name": "", "dimensions": 626062}}} delete_index_v1_rag_managed_indexes__index_name__delete: speakeasy-default-delete-index-v1-rag-managed-indexes-index-name-delete: parameters: @@ -12596,8 +12899,155 @@ examples: application/json: {"hits": [{"chunk": {"id": "", "source_id": "", "locator": "", "start_offset": 914998, "end_offset": 479974, "chunk_type": "", "content": ""}, "score": 2167.84, "index_name": ""}]} "422": application/json: {} + post_dataset_records_from_spans_v1_observability_datasets__dataset_id__imports_from_spans_post: + speakeasy-default-post-dataset-records-from-spans-v1-observability-datasets-dataset-id-imports-from-spans-post: + parameters: + path: + dataset_id: "fd9efcfd-d8a6-4c7b-82cb-b2f9bde2b4bf" + requestBody: + application/json: {"span_references": [{"trace_id": "", "span_id": ""}], "mapping_contract": {"version": 1, "mappings": [{"target_field": "", "source_field": {"namespace": "span_attributes", "key": ""}}]}} + responses: + "202": + application/json: {"id": "7ba4d964-6ddb-4855-b691-e0cce34ce1bb", "created_at": "2026-02-07T06:24:38.677Z", "updated_at": "2026-02-12T04:58:14.987Z", "deleted_at": "2026-04-18T10:34:30.265Z", "creator_id": "850ced69-e9a0-47e0-a40d-238e00cf397a", "dataset_id": "af2a9e93-c8c0-4ab5-8b07-2526395f670f", "workspace_id": "a2cfcf52-34c5-4132-b40a-7d015dd2ceff", "status": "TIMED_OUT"} + "400": + application/json: {"detail": {"message": "", "error_code": "DATASET_TASK_NOT_FOUND"}} + create_pipeline_v1_observability_pipelines_post: + speakeasy-default-create-pipeline-v1-observability-pipelines-post: + requestBody: + application/json: {"name": "", "selectors": [], "definitions": [{"slug": ""}], "enabled": true} + responses: + "201": + application/json: {"id": "c81c0a40-0a2c-4989-b011-fc34659d1247", "created_at": "2025-11-26T06:32:44.963Z", "updated_at": "2024-07-15T03:00:11.664Z", "workspace_id": "62a597d9-1216-4c35-a87a-f9df6b6373ba", "name": "", "slug": "", "description": "whup circa as unlawful", "selectors": [{"source_kind": "metric"}], "enabled": false, "creator_id": "250a31b3-bf91-4809-a8a9-9ebfcc85afb1", "pipeline_configs": []} + "400": + application/json: {"detail": {"message": "", "error_code": "SCORER_NOT_FOUND"}} + list_pipelines_v1_observability_pipelines_get: + speakeasy-default-list-pipelines-v1-observability-pipelines-get: + parameters: + query: + page_size: 50 + page: 1 + responses: + "200": + application/json: {"pipelines": {"count": 262645}} + "400": + application/json: {"detail": {"message": "", "error_code": null}} + get_pipeline_v1_observability_pipelines__pipeline_id__get: + speakeasy-default-get-pipeline-v1-observability-pipelines-pipeline-id-get: + parameters: + path: + pipeline_id: "aafed470-377a-4e11-85ec-e5de5b40c79f" + responses: + "200": + application/json: {"id": "b7600feb-20fd-4d51-a9eb-312dfb9743c2", "created_at": "2026-06-16T18:21:01.639Z", "updated_at": "2026-05-14T08:19:14.314Z", "workspace_id": "0c697550-4a7d-4155-ab84-86f750f16b59", "name": "", "slug": "", "description": "whether characterization satirise quart under amongst across yawningly aside", "selectors": [], "enabled": false, "creator_id": "64d365a6-93bc-4573-894b-2cb601b8204e", "pipeline_configs": []} + "400": + application/json: {"detail": {"message": "", "error_code": null}} + update_pipeline_v1_observability_pipelines__pipeline_id__put: + speakeasy-default-update-pipeline-v1-observability-pipelines-pipeline-id-put: + parameters: + path: + pipeline_id: "2c18966b-8d2d-41fb-a02c-9a9bf9df2919" + requestBody: + application/json: {"name": "", "selectors": [{"source_kind": "log"}], "definitions": [], "enabled": true} + responses: + "200": + application/json: {"id": "8158c835-0f52-4f37-81ea-34dcabc427fe", "created_at": "2025-03-27T06:42:02.980Z", "updated_at": "2026-04-25T11:18:51.427Z", "workspace_id": "1bb4db83-ca1e-4ec8-8ce1-35b7a0e3b73d", "name": "", "slug": "", "description": "oof once appliance fooey vibraphone teammate whereas kindly barring whoever", "selectors": [], "enabled": true, "creator_id": "150d7d2a-3944-4f56-a00d-31456b7572da", "pipeline_configs": [{"id": "53ddc603-0af9-4653-8fd8-748a718f6e3d", "created_at": "2026-09-14T08:30:49.632Z", "updated_at": "2025-07-12T10:22:59.203Z", "deleted_at": "2024-07-28T00:55:20.161Z", "scope": "workspace", "workspace_id": "65e6d72f-08c9-4a95-a9f1-85fa6c4202d7", "name": "", "pipeline_kind": "export", "selectors": [], "enabled": true, "definition": {"model": "mistral-moderation-latest"}}]} + "400": + application/json: {"detail": {"message": "", "error_code": "DATABASE_TIMEOUT"}} + delete_pipeline_v1_observability_pipelines__pipeline_id__delete: + speakeasy-default-delete-pipeline-v1-observability-pipelines-pipeline-id-delete: + parameters: + path: + pipeline_id: "eb888b07-60a4-490b-9515-f6b32ee11ccf" + responses: + "400": + application/json: {"detail": {"message": "", "error_code": "AGENT_NOT_FOUND"}} + aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_post: + speakeasy-default-aggregate-span-evaluations-v1-observability-spans-evaluations-aggregate-post: + requestBody: + application/json: {"metric": {"measure": "", "aggregation": "max"}, "limit": 1000} + responses: + "200": + application/json: {"data": [{"metric_name": ""}], "meta": {"from_timestamp": "2025-05-07T02:39:44.056Z", "to_timestamp": "2024-03-29T16:41:19.968Z"}} + "400": + application/json: {"detail": {"message": "", "error_code": "DATASET_TASK_NOT_FOUND"}} + connector_delete_credentials: + speakeasy-default-connector-delete-credentials: + parameters: + path: + credentials_name: "" + connector_id_or_name: "" + consumer_scope: "user" + responses: + "200": + application/json: {"message": ""} + "422": + application/json: {} + navigate_index_v1_rag_managed_indexes__index_name__navigate_post: + speakeasy-default-navigate-index-v1-rag-managed-indexes-index-name-navigate-post: + parameters: + path: + index_name: "" + requestBody: + application/json: {"source_id": "", "start_offset": 506558, "end_offset": 410700, "direction": "previous", "top_k": 1, "content_type": "content"} + responses: + "200": + application/json: {"chunks": [{"id": "", "source_id": "", "locator": "", "start_offset": 921395, "end_offset": null, "chunk_type": "", "content": ""}]} + "422": + application/json: {} + read_index_v1_rag_managed_indexes__index_name__read_post: + speakeasy-default-read-index-v1-rag-managed-indexes-index-name-read-post: + parameters: + path: + index_name: "" + requestBody: + application/json: {"source_id": "", "top_k": 20, "content_type": "content"} + responses: + "200": + application/json: {"chunks": []} + "422": + application/json: {} + grep_index_v1_rag_managed_indexes__index_name__grep_post: + speakeasy-default-grep-index-v1-rag-managed-indexes-index-name-grep-post: + parameters: + path: + index_name: "" + requestBody: + application/json: {"source_id": "", "pattern": "", "top_k": 5, "content_type": "content"} + responses: + "200": + application/json: {"chunks": []} + "422": + application/json: {} + get_chunk_index_v1_rag_managed_indexes__index_name__chunks__chunk_id__get: + speakeasy-default-get-chunk-index-v1-rag-managed-indexes-index-name-chunks-chunk-id-get: + parameters: + path: + index_name: "" + chunk_id: "" + responses: + "200": + application/json: {"chunks": [{"id": "", "source_id": "", "locator": "", "start_offset": 176597, "end_offset": 619778, "chunk_type": "", "content": ""}]} + "422": + application/json: {} + audio_v2_voices_list: + speakeasy-default-audio-v2-voices-list: + parameters: + query: + page_size: 10 + type: "all" + responses: + "200": + application/json: {"data": [{"name": "", "retention_notice": 30, "id": "1c4d7fdb-5560-47c5-afd9-08fae439c797", "created_at": "2025-07-31T06:58:06.901Z", "user_id": "", "type": "preset"}]} + "422": + application/json: {} + unharden_deployment_v1_workflows_deployments__deployment_id__unharden_post: + speakeasy-default-unharden-deployment-v1-workflows-deployments-deployment-id-unharden-post: + parameters: + path: + deployment_id: "f88c4734-ec6d-4ded-bc49-47a41d4be24b" examplesVersion: 1.0.2 generatedTests: {} +releaseNotes: "## Python SDK Changes:\n* `mistral.beta.observability.evaluations.create_pipeline_config()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response` **Changed**\n * `error.detail.error_code` **Changed**\n* `mistral.workflows.deployments.restart_deployment()`: `response` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.start_deployment()`: `response` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.stop_deployment()`: `response` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.get_deployment()`: `response.managed` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.delete_deployment()`: `response` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.update_deployment()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.create_deployment()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n* `mistral.workflows.deployments.list_deployments()`: \n * `request.owner` **Added**\n * `response.deployments[].managed` **Changed** (Breaking ⚠️)\n* `mistral.agents.complete()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response.choices[].message.content.union(Array)[].union(thinking).thinking[].union(ToolReferenceChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.chat.complete()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response.choices[].message.content.union(Array)[].union(thinking).thinking[].union(ToolReferenceChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.connectors.get()`: `request.fetch_customer_data` **Removed** (Breaking ⚠️)\n* `mistral.beta.connectors.list_tools()`: `request.page` **Removed** (Breaking ⚠️)\n* `mistral.beta.connectors.list()`: `request.query_filters` **Changed** (Breaking ⚠️)\n* `mistral.beta.observability.evaluations.update_pipeline_config()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response` **Changed**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.judges.fetch()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.traces.get_trace_fields()`: \n * `response.field_definitions[].source_attribute_key` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.service_accounts.list()`: `request` **Changed**\n* `mistral.beta.conversations.start()`: \n * `request.inputs.union(Array)[].union(MessageInputEntry).content.union(Array)[].union(ThinkChunk).thinking[].union(ToolReferenceChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n * `response.outputs[].union(MessageOutputEntry).content.union(Array)[].union(ToolFileChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.conversations.append()`: \n * `request.inputs.union(Array)[].union(ToolExecutionEntry).name.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n * `response.outputs[].union(MessageOutputEntry).content.union(Array)[].union(ToolFileChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.conversations.get_history()`: `response.entries[].union(ToolExecutionEntry).name.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.conversations.get_messages()`: `response.messages[].union(MessageInputEntry).content.union(Array)[].union(ToolFileChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.conversations.restart()`: \n * `request.inputs.union(Array)[].union(ToolExecutionEntry).name.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n * `response.outputs[].union(MessageOutputEntry).content.union(Array)[].union(ToolFileChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.observability.judges.create()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.judges.list()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.import_from_spans()`: **Added**\n* `mistral.beta.observability.judges.delete()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.judges.update()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.judges.judge_conversation()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.create()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.list()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.fetch()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.delete()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.update()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.list_records()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.create_record()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.import_from_file()`: \n * `response.result` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.import_from_playground()`: \n * `response.result` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.import_from_dataset_records()`: \n * `response.result` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.export_to_jsonl()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.fetch_task()`: \n * `response.result` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.list_tasks()`: \n * `response.tasks.results[].result` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.records.fetch()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.records.delete()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.records.bulk_delete()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.records.judge()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.records.update_payload()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.datasets.records.update_properties()`: `error.detail.error_code` **Changed**\n* `mistral.beta.connectors.delete_workspace_credentials()`: **Removed** (Breaking ⚠️)\n* `mistral.beta.observability.evaluations.list_pipeline_configs()`: \n * `response.pipeline_configs.results[]` **Changed**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.evaluations.get_pipeline_config()`: \n * `response` **Changed**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.connectors.delete_organization_credentials()`: **Removed** (Breaking ⚠️)\n* `mistral.beta.observability.evaluations.delete_pipeline_config()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.logs.search()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.logs.list()`: \n * `response.field_definitions[].source_attribute_key` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.logs.fetch_options()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.traces.search()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.traces.aggregate()`: `error.detail.error_code` **Changed**\n* `mistral.beta.connectors.delete_user_credentials()`: **Removed** (Breaking ⚠️)\n* `mistral.beta.observability.traces.get_trace_by_id()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.traces.get_trace_spans()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.traces.fetch_options()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.traces.get_span_by_id()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.search_spans()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.aggregate()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.search_span_evaluations()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.search_latest_span_evaluations()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.list_span_fields()`: \n * `response.field_definitions[].source_attribute_key` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.list_span_eval_fields()`: \n * `response.field_definitions[].source_attribute_key` **Added**\n * `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.fetch_span_field_options()`: `error.detail.error_code` **Changed**\n* `mistral.beta.observability.spans.fetch_span_eval_field_options()`: `error.detail.error_code` **Changed**\n* `mistral.beta.connectors.create()`: \n * `request.union(mcp).auth_data.client_scopes` **Added**\n* `mistral.workflows.deployments.unharden_deployment()`: **Added**\n* `mistral.beta.connectors.call_tool()`: **Deprecated**\n* `mistral.audio.voices.search()`: **Added**\n* `mistral.beta.rag.managed_indexes.get_chunk()`: **Added**\n* `mistral.beta.connectors.update()`: \n * `request_body.union(mcp).auth_methods[].union(union (0)).union(oauth2).union(authorization_code).auth_data.client_scopes` **Added**\n* `mistral.beta.rag.managed_indexes.create()`: `response.creator_id` **Added**\n* `mistral.beta.rag.managed_indexes.list()`: \n * `request` **Changed**\n * `response.data[].creator_id` **Added**\n* `mistral.beta.rag.managed_indexes.get()`: `response.creator_id` **Added**\n* `mistral.beta.rag.managed_indexes.update()`: `response.creator_id` **Added**\n* `mistral.beta.rag.managed_indexes.search()`: `request.retriever` **Changed**\n* `mistral.beta.users.get_identity()`: `request.security` **Changed**\n* `mistral.beta.users.list_organizations()`: `request.security` **Changed**\n* `mistral.beta.users.list_workspaces()`: `request.security` **Changed**\n* `mistral.beta.rag.managed_indexes.grep()`: **Added**\n* `mistral.fim.complete()`: `response.choices[].message.content.union(Array)[].union(thinking).thinking[].union(ToolReferenceChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.beta.rag.managed_indexes.read()`: **Added**\n* `mistral.classifiers.moderate_chat()`: \n * `request.inputs.union(Array<>)[].union(system).content.union(Array)[].union(thinking).thinking[].union(ToolReferenceChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.classifiers.classify_chat()`: \n * `request.input.union(InstructRequest).messages[].union(user).content.union(Array)[].union(thinking).thinking[].union(ToolReferenceChunk).tool.union(BuiltInConnectors).enum(mistral_mcp)` **Added**\n* `mistral.workflows.events.get_workflow_events()`: `response.events[]` **Changed**\n* `mistral.beta.rag.managed_indexes.navigate()`: **Added**\n* `mistral.beta.connectors.delete_credentials()`: **Added**\n* `mistral.beta.observability.spans.aggregate_span_evaluations()`: **Added**\n* `mistral.beta.observability.evaluations.delete_pipeline()`: **Added**\n* `mistral.beta.observability.evaluations.update_pipeline()`: **Added**\n* `mistral.beta.observability.evaluations.get_pipeline()`: **Added**\n* `mistral.beta.observability.evaluations.list_pipelines()`: **Added**\n* `mistral.beta.observability.evaluations.create_pipeline()`: **Added**\n* `mistral.workflows.deployments.get_deployment_logs()`: `request.log_type` **Added**\n* `mistral.events.get_workflow_events()`: `response.events[]` **Changed**\n" generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 53a0ba1f6..07c602d7b 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -26,13 +26,13 @@ generation: requestBodyFieldName: "" versioningStrategy: automatic persistentEdits: - enabled: "true" + enabled: "false" tests: generateTests: true generateNewTests: false skipResponseBodyAssertions: false python: - version: 2.10.1 + version: 3.0.0 additionalDependencies: dev: pytest: ^8.2.2 @@ -70,7 +70,7 @@ python: flatteningOrder: parameters-first forwardCompatibleEnumsByDefault: true forwardCompatibleUnionsByDefault: tagged-only - httpClientLibrary: httpx + httpClientLibrary: httpx2 imports: option: openapi paths: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 440e624f1..e8e9a72a7 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -16,8 +16,8 @@ sources: - speakeasy-mistralai-gcp-sdk-26292830187-1 mistral-openapi: sourceNamespace: mistral-openapi - sourceRevisionDigest: sha256:ad1adbc7f2f353506f09eca50c0b4e8b7fb67e957c5a10255fdc13d39326a8b7 - sourceBlobDigest: sha256:48bb84a33d45aae9398fe68d784075714aee477a0db99cd13b064bab7957dd44 + sourceRevisionDigest: sha256:5c136a8e459fca0edf36b519df7d0656c349368e5d8d7783bf0fa9fed34f38b3 + sourceBlobDigest: sha256:cd1f89be90a7f5c6d27326308ce3d905f47830c99abe7f1fea69dc6647e1a320 tags: - latest - 1.0.0 @@ -39,10 +39,10 @@ targets: mistralai-sdk: source: mistral-openapi sourceNamespace: mistral-openapi - sourceRevisionDigest: sha256:ad1adbc7f2f353506f09eca50c0b4e8b7fb67e957c5a10255fdc13d39326a8b7 - sourceBlobDigest: sha256:48bb84a33d45aae9398fe68d784075714aee477a0db99cd13b064bab7957dd44 - codeSamplesNamespace: mistral-openapi-code-samples - codeSamplesRevisionDigest: sha256:16a44c72d8d7bbecf2b558d34615ffb4a639ab0cd29ecfe94500fc7786d69438 + sourceRevisionDigest: sha256:5c136a8e459fca0edf36b519df7d0656c349368e5d8d7783bf0fa9fed34f38b3 + sourceBlobDigest: sha256:cd1f89be90a7f5c6d27326308ce3d905f47830c99abe7f1fea69dc6647e1a320 + codeSamplesNamespace: mistral-openapi-python-code-samples + codeSamplesRevisionDigest: sha256:3c3e420f5d5c47961f3273528d7f7d733d5a994f148e7f7fe4536fa712be4232 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.796.4 @@ -56,6 +56,8 @@ workflow: mistral-openapi: inputs: - location: ../openapi/specs/v2/main-sdk.yaml + overlays: + - location: .speakeasy/connector-id-or-name-overlay.yaml registry: location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi targets: @@ -89,5 +91,5 @@ workflow: token: $pypi_token codeSamples: registry: - location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-code-samples + location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-python-code-samples blocking: false diff --git a/MIGRATION.md b/MIGRATION.md index bf25c4f64..099839d1a 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,3 +1,85 @@ +# Migration Guide: v2.x to v3.x + +Imports, core method names (`chat.complete`, `embeddings.create`, `files.upload`, ...) and the Python minimum (`>=3.10`) are unchanged. The breaking changes are the HTTP transport and a handful of beta and workflow APIs. + +## HTTPX2 and MCP 2.2 + +The SDK depends on `httpx2` instead of `httpx`, and the `agents` extra on `mcp>=2.2,<3`. This also applies to `MistralAzure` and `MistralGCP`. + +- A custom HTTP client must be the HTTPX2 equivalent: + + ```python + import httpx2 + from mistralai.client import Mistral + + client = Mistral( + api_key="...", + client=httpx2.Client(timeout=60), + async_client=httpx2.AsyncClient(timeout=60), + ) + ``` + +- Raw requests and responses exposed on results and errors are `httpx2` types; catch `httpx2` exceptions instead of `httpx` ones. +- `mistral.beta.connectors.http_client()` returns an `httpx2.AsyncClient`. +- MCP results use MCP 2.2 field names, e.g. `structured_content` instead of `structuredContent`. + +## Chat and Agents Completions + +`chat.complete`, `chat.stream`, `agents.complete` and `agents.stream` no longer accept the `web_search`, `web_search_premium` and `code_interpreter` tools. Use them through the Conversations API (`beta.conversations`) or an agent created with `beta.agents.create`, where `WebSearchTool`, `WebSearchPremiumTool` and `CodeInterpreterTool` remain available. + +## Connectors (beta) + +The three credential deletions are one method with a scope: + +| v2 | v3 | +|---|---| +| `beta.connectors.delete_user_credentials(...)` | `beta.connectors.delete_credentials(..., consumer_scope="user")` | +| `beta.connectors.delete_workspace_credentials(...)` | `beta.connectors.delete_credentials(..., consumer_scope="workspace")` | +| `beta.connectors.delete_organization_credentials(...)` | `beta.connectors.delete_credentials(..., consumer_scope="organization")` | + +The `ConnectorDelete{User,Workspace,Organization}CredentialsV1Request` models are replaced by `ConnectorDeleteCredentialsRequest`. + +- `beta.connectors.get()`: `fetch_customer_data` removed. +- `beta.connectors.list_tools()`: `page` removed; all tools are returned in one response. +- `beta.connectors.list()`: `query_filters.active` removed. + +## Observability Pipeline Configs (beta) + +A pipeline config holds a single definition: + +| v2 | v3 | +|---|---| +| `create_pipeline_config(..., definitions=[d])` | `create_pipeline_config(..., definition=d)` | +| `update_pipeline_config(..., definitions=[d])` | `update_pipeline_config(..., definition=d)` | +| `config.definitions[0]` | `config.definition` | + +`PipelineConfig.definitions` is still returned, as `[definition]`, but is now optional. + +## Workflow Deployments + +- The `koyeb` backend is now Mistral Cloud: `DeploymentKoyebBackendSpec` is replaced by `DeploymentMistralCloudBackendSpec` (`type="mistral_cloud"`). Requests accept only this backend; the Kubernetes backend can no longer be set. +- `DeploymentResourceConfig` and `DeploymentResourceConfigUpdate` keep only `replicas`; `cpu_request`, `cpu_limit`, `memory_request` and `memory_limit` are removed. +- `entrypoint` and `working_dir` are removed from `DeploymentWorkerSpecInput` and `WorkflowsWorkerSpecUpdate`, and together with `commit_sha` from `DeploymentWorkerSpecResponse`. +- `UnknownDeploymentWorkerSpecResponseBackendSpec` is renamed `UnknownBackendSpec`. + +## Users (beta) + +`beta.users.get_identity()`, `list_organizations()` and `list_workspaces()` accept either an API key or a bearer token, so both fields of their security models are optional. Set one of them; passing neither is rejected with a 401: + +```python +import os +from mistralai.client import Mistral, models + +with Mistral() as mistral: + res = mistral.beta.users.get_identity( + security=models.UsersAPIGetIdentitySecurity( + dashboard_user_context_auth=os.environ["MISTRAL_API_KEY"], + ) + ) +``` + +--- + # Migration Guide: v1.x to v2.x ## Import Changes diff --git a/README-PYPI.md b/README-PYPI.md index 9cf67c47a..2e1bcb066 100644 --- a/README-PYPI.md +++ b/README-PYPI.md @@ -19,6 +19,17 @@ $ echo 'export MISTRAL_API_KEY=[your_key_here]' >> ~/.zshenv $ source ~/.zshenv ``` +### Service-account token + +Workloads with a mounted service-account token can set `MISTRAL_SA_TOKEN_PATH` instead. The file is re-read on every request, so rotation is picked up. Credentials resolve in this order: + +1. an `Authorization` header passed per request via `http_headers` +2. `Mistral(api_key=...)`, which also accepts a callable +3. the token at `MISTRAL_SA_TOKEN_PATH` +4. `MISTRAL_API_KEY` + +An unreadable or empty token file raises `ServiceAccountTokenError`. + ## Summary @@ -480,12 +491,13 @@ print(res.choices[0].message.content) ### [Audio.Voices](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md) -* [~~list~~](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#list) - List all voices :warning: **Deprecated** +* [~~list~~](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#list) - List all voices :warning: **Deprecated** Use [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#search) instead. * [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#create) - Create a new voice * [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#delete) - Delete a custom voice * [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#update) - Update voice metadata * [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#get) - Get voice details * [get_sample_audio](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#get_sample_audio) - Get voice sample audio +* [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#search) - List voices, cursor-paginated ### [Batch.Jobs](https://github.com/mistralai/client-python/blob/main/docs/sdks/jobs/README.md) @@ -521,7 +533,7 @@ print(res.choices[0].message.content) * [unshare_from_organization](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#unshare_from_organization) - Unshare a connector from the current organization. * [activate_for_consumer](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#activate_for_consumer) - Activate a connector for the given consumer (organization, workspace, user). * [deactivate_for_consumer](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#deactivate_for_consumer) - Deactivate a connector for the current consumer (at organization, workspace or user level). -* [call_tool](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#call_tool) - Call Connector Tool +* [~~call_tool~~](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#call_tool) - Call Connector Tool :warning: **Deprecated** * [list_tools](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_tools) - List tools for a connector. * [get_authentication_methods](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector. * [list_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_organization_credentials) - List organization credentials for a connector. @@ -530,9 +542,7 @@ print(res.choices[0].message.content) * [delete_all_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_all_user_credentials) - Delete all user credentials for a connector. * [create_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_credentials) - Create consumer credentials for a connector. * [update_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#update_credentials) - Create or update consumer credentials for a connector. -* [delete_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_organization_credentials) - Delete organization credentials for a connector. -* [delete_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_workspace_credentials) - Delete workspace credentials for a connector. -* [delete_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_user_credentials) - Delete user credentials for a connector. +* [delete_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_credentials) - Delete credentials for a consumer. * [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get) - Get a connector. * [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#update) - Update a connector. * [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete) - Delete a connector. @@ -591,6 +601,7 @@ print(res.choices[0].message.content) * [create_record](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#create_record) - Add a record to the dataset * [import_from_file](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#import_from_file) - Populate the dataset with records from an uploaded file * [import_from_playground](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#import_from_playground) - Populate the dataset with records from playground conversations +* [import_from_spans](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#import_from_spans) - Populate the dataset with records mapped from telemetry spans * [import_from_dataset_records](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#import_from_dataset_records) - Populate the dataset with records from another dataset * [export_to_jsonl](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#export_to_jsonl) - Export to the Files API and retrieve presigned URL to download the resulting JSONL file * [fetch_task](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#fetch_task) - Get status of a dataset import task @@ -612,6 +623,11 @@ print(res.choices[0].message.content) * [get_pipeline_config](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#get_pipeline_config) - Get a worker pipeline configuration * [update_pipeline_config](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#update_pipeline_config) - Replace a worker pipeline configuration * [delete_pipeline_config](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#delete_pipeline_config) - Delete a worker pipeline configuration +* [create_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#create_pipeline) - Create a pipeline +* [list_pipelines](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#list_pipelines) - List pipelines +* [get_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#get_pipeline) - Get a pipeline +* [update_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#update_pipeline) - Update a pipeline +* [delete_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#delete_pipeline) - Delete a pipeline ### [Beta.Observability.Judges](https://github.com/mistralai/client-python/blob/main/docs/sdks/judges/README.md) @@ -632,6 +648,7 @@ print(res.choices[0].message.content) * [search_spans](https://github.com/mistralai/client-python/blob/main/docs/sdks/spans/README.md#search_spans) - Search spans * [aggregate](https://github.com/mistralai/client-python/blob/main/docs/sdks/spans/README.md#aggregate) - Aggregate spans +* [aggregate_span_evaluations](https://github.com/mistralai/client-python/blob/main/docs/sdks/spans/README.md#aggregate_span_evaluations) - Aggregate span evaluations * [search_span_evaluations](https://github.com/mistralai/client-python/blob/main/docs/sdks/spans/README.md#search_span_evaluations) - Search span evaluations * [search_latest_span_evaluations](https://github.com/mistralai/client-python/blob/main/docs/sdks/spans/README.md#search_latest_span_evaluations) - Search latest span evaluations * [list_span_fields](https://github.com/mistralai/client-python/blob/main/docs/sdks/spans/README.md#list_span_fields) - Get span field definitions @@ -677,6 +694,10 @@ print(res.choices[0].message.content) * [ingest_documents](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#ingest_documents) - Ingest documents into a managed index * [delete_documents](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#delete_documents) - Delete documents from a managed index * [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#search) - Search a managed index +* [navigate](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#navigate) - Navigate to adjacent chunks +* [read](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#read) - Read chunks within a span +* [grep](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#grep) - Grep for a pattern within a source +* [get_chunk](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#get_chunk) - Get a single chunk by id ### [Beta.Rag.SearchIndexes](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md) @@ -782,6 +803,7 @@ print(res.choices[0].message.content) #### [Workflows.Deployments](https://github.com/mistralai/client-python/blob/main/docs/sdks/deployments/README.md) +* [unharden_deployment](https://github.com/mistralai/client-python/blob/main/docs/sdks/deployments/README.md#unharden_deployment) - Unharden Deployment * [list_deployments](https://github.com/mistralai/client-python/blob/main/docs/sdks/deployments/README.md#list_deployments) - List Deployments * [create_deployment](https://github.com/mistralai/client-python/blob/main/docs/sdks/deployments/README.md#create_deployment) - Create Deployment * [update_deployment](https://github.com/mistralai/client-python/blob/main/docs/sdks/deployments/README.md#update_deployment) - Update Deployment @@ -1054,8 +1076,8 @@ with Mistral( **Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**: -* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 162 of 253 methods.* -* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 253 methods.* +* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 165 of 264 methods.* +* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 55 of 264 methods.* * [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute. @@ -1123,14 +1145,14 @@ with Mistral( ## Custom HTTP Client -The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. +The Python SDK makes API calls using the [httpx2](https://httpx2.pydantic.dev/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocol's ensuring that the client has the necessary methods to make API calls. This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly. For example, you could specify a header for every request that this sdk makes as follows: ```python from mistralai.client import Mistral -import httpx +import httpx2 as httpx http_client = httpx.Client(headers={"x-custom-header": "someValue"}) s = Mistral(client=http_client) @@ -1140,7 +1162,7 @@ or you could wrap the client with your own custom logic: ```python from mistralai.client import Mistral from mistralai.client.httpclient import AsyncHttpClient -import httpx +import httpx2 as httpx class CustomClient(AsyncHttpClient): client: AsyncHttpClient @@ -1199,20 +1221,9 @@ class CustomClient(AsyncHttpClient): s = Mistral(async_client=CustomClient(httpx.AsyncClient())) ``` -### httpx2 (Pydantic's httpx fork) - -[httpx2](https://httpx2.pydantic.dev/) is Pydantic's maintained fork of `httpx`. To run this SDK on httpx2, call `alias_httpx()` at your program's entry point, before importing the SDK, so every `import httpx` — including the ones inside the SDK — resolves to `httpx2`: -```python -import httpx2 - -httpx2.alias_httpx() +### httpx2 -from mistralai.client import Mistral - -s = Mistral() -``` - -An SDK can also be generated against httpx2 directly, so it depends on the fork instead of `httpx`, by setting `python.httpClientLibrary: httpx2` in `gen.yaml`. +This SDK is generated against [httpx2](https://httpx2.pydantic.dev/), Pydantic's maintained fork of `httpx`. The fork keeps the same public API, so everything above applies unchanged - `httpx2.Client` and `httpx2.AsyncClient` are what the SDK expects. @@ -1250,13 +1261,12 @@ with Mistral( Some operations in this SDK require the security scheme to be specified at the request level. For example: ```python from mistralai.client import Mistral, models -import os with Mistral() as mistral: res = mistral.beta.users.get_identity(security=models.UsersAPIGetIdentitySecurity( - dashboard_user_context_auth=os.getenv("MISTRAL_DASHBOARD_USER_CONTEXT_AUTH", ""), + )) # Handle response diff --git a/README.md b/README.md index 8bd920658..f46245b5b 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,17 @@ $ echo 'export MISTRAL_API_KEY=[your_key_here]' >> ~/.zshenv $ source ~/.zshenv ``` +### Service-account token + +Workloads with a mounted service-account token can set `MISTRAL_SA_TOKEN_PATH` instead. The file is re-read on every request, so rotation is picked up. Credentials resolve in this order: + +1. an `Authorization` header passed per request via `http_headers` +2. `Mistral(api_key=...)`, which also accepts a callable +3. the token at `MISTRAL_SA_TOKEN_PATH` +4. `MISTRAL_API_KEY` + +An unreadable or empty token file raises `ServiceAccountTokenError`. + ## Summary @@ -480,12 +491,13 @@ print(res.choices[0].message.content) ### [Audio.Voices](docs/sdks/voices/README.md) -* [~~list~~](docs/sdks/voices/README.md#list) - List all voices :warning: **Deprecated** +* [~~list~~](docs/sdks/voices/README.md#list) - List all voices :warning: **Deprecated** Use [search](docs/sdks/voices/README.md#search) instead. * [create](docs/sdks/voices/README.md#create) - Create a new voice * [delete](docs/sdks/voices/README.md#delete) - Delete a custom voice * [update](docs/sdks/voices/README.md#update) - Update voice metadata * [get](docs/sdks/voices/README.md#get) - Get voice details * [get_sample_audio](docs/sdks/voices/README.md#get_sample_audio) - Get voice sample audio +* [search](docs/sdks/voices/README.md#search) - List voices, cursor-paginated ### [Batch.Jobs](docs/sdks/jobs/README.md) @@ -521,7 +533,7 @@ print(res.choices[0].message.content) * [unshare_from_organization](docs/sdks/connectors/README.md#unshare_from_organization) - Unshare a connector from the current organization. * [activate_for_consumer](docs/sdks/connectors/README.md#activate_for_consumer) - Activate a connector for the given consumer (organization, workspace, user). * [deactivate_for_consumer](docs/sdks/connectors/README.md#deactivate_for_consumer) - Deactivate a connector for the current consumer (at organization, workspace or user level). -* [call_tool](docs/sdks/connectors/README.md#call_tool) - Call Connector Tool +* [~~call_tool~~](docs/sdks/connectors/README.md#call_tool) - Call Connector Tool :warning: **Deprecated** * [list_tools](docs/sdks/connectors/README.md#list_tools) - List tools for a connector. * [get_authentication_methods](docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector. * [list_organization_credentials](docs/sdks/connectors/README.md#list_organization_credentials) - List organization credentials for a connector. @@ -530,9 +542,7 @@ print(res.choices[0].message.content) * [delete_all_user_credentials](docs/sdks/connectors/README.md#delete_all_user_credentials) - Delete all user credentials for a connector. * [create_credentials](docs/sdks/connectors/README.md#create_credentials) - Create consumer credentials for a connector. * [update_credentials](docs/sdks/connectors/README.md#update_credentials) - Create or update consumer credentials for a connector. -* [delete_organization_credentials](docs/sdks/connectors/README.md#delete_organization_credentials) - Delete organization credentials for a connector. -* [delete_workspace_credentials](docs/sdks/connectors/README.md#delete_workspace_credentials) - Delete workspace credentials for a connector. -* [delete_user_credentials](docs/sdks/connectors/README.md#delete_user_credentials) - Delete user credentials for a connector. +* [delete_credentials](docs/sdks/connectors/README.md#delete_credentials) - Delete credentials for a consumer. * [get](docs/sdks/connectors/README.md#get) - Get a connector. * [update](docs/sdks/connectors/README.md#update) - Update a connector. * [delete](docs/sdks/connectors/README.md#delete) - Delete a connector. @@ -591,6 +601,7 @@ print(res.choices[0].message.content) * [create_record](docs/sdks/datasets/README.md#create_record) - Add a record to the dataset * [import_from_file](docs/sdks/datasets/README.md#import_from_file) - Populate the dataset with records from an uploaded file * [import_from_playground](docs/sdks/datasets/README.md#import_from_playground) - Populate the dataset with records from playground conversations +* [import_from_spans](docs/sdks/datasets/README.md#import_from_spans) - Populate the dataset with records mapped from telemetry spans * [import_from_dataset_records](docs/sdks/datasets/README.md#import_from_dataset_records) - Populate the dataset with records from another dataset * [export_to_jsonl](docs/sdks/datasets/README.md#export_to_jsonl) - Export to the Files API and retrieve presigned URL to download the resulting JSONL file * [fetch_task](docs/sdks/datasets/README.md#fetch_task) - Get status of a dataset import task @@ -612,6 +623,11 @@ print(res.choices[0].message.content) * [get_pipeline_config](docs/sdks/evaluations/README.md#get_pipeline_config) - Get a worker pipeline configuration * [update_pipeline_config](docs/sdks/evaluations/README.md#update_pipeline_config) - Replace a worker pipeline configuration * [delete_pipeline_config](docs/sdks/evaluations/README.md#delete_pipeline_config) - Delete a worker pipeline configuration +* [create_pipeline](docs/sdks/evaluations/README.md#create_pipeline) - Create a pipeline +* [list_pipelines](docs/sdks/evaluations/README.md#list_pipelines) - List pipelines +* [get_pipeline](docs/sdks/evaluations/README.md#get_pipeline) - Get a pipeline +* [update_pipeline](docs/sdks/evaluations/README.md#update_pipeline) - Update a pipeline +* [delete_pipeline](docs/sdks/evaluations/README.md#delete_pipeline) - Delete a pipeline ### [Beta.Observability.Judges](docs/sdks/judges/README.md) @@ -632,6 +648,7 @@ print(res.choices[0].message.content) * [search_spans](docs/sdks/spans/README.md#search_spans) - Search spans * [aggregate](docs/sdks/spans/README.md#aggregate) - Aggregate spans +* [aggregate_span_evaluations](docs/sdks/spans/README.md#aggregate_span_evaluations) - Aggregate span evaluations * [search_span_evaluations](docs/sdks/spans/README.md#search_span_evaluations) - Search span evaluations * [search_latest_span_evaluations](docs/sdks/spans/README.md#search_latest_span_evaluations) - Search latest span evaluations * [list_span_fields](docs/sdks/spans/README.md#list_span_fields) - Get span field definitions @@ -677,6 +694,10 @@ print(res.choices[0].message.content) * [ingest_documents](docs/sdks/managedindexes/README.md#ingest_documents) - Ingest documents into a managed index * [delete_documents](docs/sdks/managedindexes/README.md#delete_documents) - Delete documents from a managed index * [search](docs/sdks/managedindexes/README.md#search) - Search a managed index +* [navigate](docs/sdks/managedindexes/README.md#navigate) - Navigate to adjacent chunks +* [read](docs/sdks/managedindexes/README.md#read) - Read chunks within a span +* [grep](docs/sdks/managedindexes/README.md#grep) - Grep for a pattern within a source +* [get_chunk](docs/sdks/managedindexes/README.md#get_chunk) - Get a single chunk by id ### [Beta.Rag.SearchIndexes](docs/sdks/searchindexes/README.md) @@ -782,6 +803,7 @@ print(res.choices[0].message.content) #### [Workflows.Deployments](docs/sdks/deployments/README.md) +* [unharden_deployment](docs/sdks/deployments/README.md#unharden_deployment) - Unharden Deployment * [list_deployments](docs/sdks/deployments/README.md#list_deployments) - List Deployments * [create_deployment](docs/sdks/deployments/README.md#create_deployment) - Create Deployment * [update_deployment](docs/sdks/deployments/README.md#update_deployment) - Update Deployment @@ -1054,8 +1076,8 @@ with Mistral( **Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**: -* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 162 of 253 methods.* -* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 253 methods.* +* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 165 of 264 methods.* +* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 55 of 264 methods.* * [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute. @@ -1123,14 +1145,14 @@ with Mistral( ## Custom HTTP Client -The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. +The Python SDK makes API calls using the [httpx2](https://httpx2.pydantic.dev/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocol's ensuring that the client has the necessary methods to make API calls. This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly. For example, you could specify a header for every request that this sdk makes as follows: ```python from mistralai.client import Mistral -import httpx +import httpx2 as httpx http_client = httpx.Client(headers={"x-custom-header": "someValue"}) s = Mistral(client=http_client) @@ -1140,7 +1162,7 @@ or you could wrap the client with your own custom logic: ```python from mistralai.client import Mistral from mistralai.client.httpclient import AsyncHttpClient -import httpx +import httpx2 as httpx class CustomClient(AsyncHttpClient): client: AsyncHttpClient @@ -1199,20 +1221,9 @@ class CustomClient(AsyncHttpClient): s = Mistral(async_client=CustomClient(httpx.AsyncClient())) ``` -### httpx2 (Pydantic's httpx fork) - -[httpx2](https://httpx2.pydantic.dev/) is Pydantic's maintained fork of `httpx`. To run this SDK on httpx2, call `alias_httpx()` at your program's entry point, before importing the SDK, so every `import httpx` — including the ones inside the SDK — resolves to `httpx2`: -```python -import httpx2 - -httpx2.alias_httpx() +### httpx2 -from mistralai.client import Mistral - -s = Mistral() -``` - -An SDK can also be generated against httpx2 directly, so it depends on the fork instead of `httpx`, by setting `python.httpClientLibrary: httpx2` in `gen.yaml`. +This SDK is generated against [httpx2](https://httpx2.pydantic.dev/), Pydantic's maintained fork of `httpx`. The fork keeps the same public API, so everything above applies unchanged - `httpx2.Client` and `httpx2.AsyncClient` are what the SDK expects. @@ -1250,13 +1261,12 @@ with Mistral( Some operations in this SDK require the security scheme to be specified at the request level. For example: ```python from mistralai.client import Mistral, models -import os with Mistral() as mistral: res = mistral.beta.users.get_identity(security=models.UsersAPIGetIdentitySecurity( - dashboard_user_context_auth=os.getenv("MISTRAL_DASHBOARD_USER_CONTEXT_AUTH", ""), + )) # Handle response diff --git a/RELEASES.md b/RELEASES.md index 11baa56a0..0a9454c4d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -967,3 +967,197 @@ Based on: **Relaxed (non-breaking)** - `ListServiceAccountsV1ServiceAccountsGetRequest.workspace_id` is now optional. + +## 2026-09-28 17:51:54 +### Generated SDK baseline differences +The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog. + +
+Generated surface details + +#### Stable compatibility changes +Removed from the stable API surface (24): +- `DeploymentKoyebBackendSpec` +- `UnknownDeploymentWorkerSpecResponseBackendSpec` +- `DeploymentKoyebBackendSpec.build_directory` +- `DeploymentKoyebBackendSpec.dockerfile_path` +- `DeploymentKoyebBackendSpec.type` +- `DeploymentResourceConfig.cpu_limit` +- `DeploymentResourceConfig.cpu_request` +- `DeploymentResourceConfig.memory_limit` +- `DeploymentResourceConfig.memory_request` +- `DeploymentResourceConfigUpdate.cpu_limit` +- `DeploymentResourceConfigUpdate.cpu_request` +- `DeploymentResourceConfigUpdate.memory_limit` +- `DeploymentResourceConfigUpdate.memory_request` +- `DeploymentWorkerSpecInput.entrypoint` +- `DeploymentWorkerSpecInput.working_dir` +- `DeploymentWorkerSpecResponse.commit_sha` +- `DeploymentWorkerSpecResponse.entrypoint` +- `DeploymentWorkerSpecResponse.working_dir` +- `UnknownDeploymentWorkerSpecResponseBackendSpec.is_unknown` +- `UnknownDeploymentWorkerSpecResponseBackendSpec.raw` +- `UnknownDeploymentWorkerSpecResponseBackendSpec.type` +- `WorkflowsWorkerSpecUpdate.entrypoint` +- `WorkflowsWorkerSpecUpdate.working_dir` +- `DeploymentKoyebBackendSpec.serialize_model` +#### Stable type changes +Changed types or signatures on the stable surface (143): +- `ActivityTaskCompletedResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskCompletedResponse.continued_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskCompletedResponse.first_execution_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskCompletedResponse.schedule_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskCompletedResponseTypedDict.chain_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskCompletedResponseTypedDict.continued_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskCompletedResponseTypedDict.first_execution_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskCompletedResponseTypedDict.schedule_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskFailedResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskFailedResponse.continued_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskFailedResponse.first_execution_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskFailedResponse.schedule_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskFailedResponseTypedDict.chain_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskFailedResponseTypedDict.continued_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskFailedResponseTypedDict.first_execution_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskFailedResponseTypedDict.schedule_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskRetryingResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskRetryingResponse.continued_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskRetryingResponse.first_execution_run_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskRetryingResponse.schedule_id: Nullable[str] -> OptionalNullable[str]` +- `ActivityTaskRetryingResponseTypedDict.chain_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskRetryingResponseTypedDict.continued_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskRetryingResponseTypedDict.first_execution_run_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskRetryingResponseTypedDict.schedule_id: Nullable[str] -> NotRequired[Nullable[str]]` +- `ActivityTaskStartedResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]` +- ...and 118 more +#### Beta surface changes +Removed from the beta surface (20): +- `ConnectorDeleteOrganizationCredentialsV1Request` +- `ConnectorDeleteUserCredentialsV1Request` +- `ConnectorDeleteWorkspaceCredentialsV1Request` +- `ConnectorDeleteOrganizationCredentialsV1Request.connector_id_or_name` +- `ConnectorDeleteOrganizationCredentialsV1Request.credentials_name` +- `ConnectorDeleteUserCredentialsV1Request.connector_id_or_name` +- `ConnectorDeleteUserCredentialsV1Request.credentials_name` +- `ConnectorDeleteWorkspaceCredentialsV1Request.connector_id_or_name` +- `ConnectorDeleteWorkspaceCredentialsV1Request.credentials_name` +- `ConnectorGetV1Request.fetch_customer_data` +- `ConnectorListToolsV1Request.page` +- `ConnectorsQueryFilters.active` +- `CreatePipelineConfigRequest.definitions` +- `UpdatePipelineConfigRequest.definitions` +- `Connectors.delete_organization_credentials` +- `Connectors.delete_organization_credentials_async` +- `Connectors.delete_user_credentials` +- `Connectors.delete_user_credentials_async` +- `Connectors.delete_workspace_credentials` +- `Connectors.delete_workspace_credentials_async` + +Changed types or signatures in beta (10): +- `PipelineConfig.definitions: List[PipelineConfigDefinition] -> Optional[List[PipelineConfigDefinition]]` +- `PipelineConfigTypedDict.definitions: List[PipelineConfigDefinitionTypedDict] -> NotRequired[List[PipelineConfigDefinitionTypedDict]]` +- `SearchRequest.retriever: Retriever -> SearchRequestRetriever` +- `SearchRequestTypedDict.retriever: RetrieverTypedDict -> SearchRequestRetrieverTypedDict` +- `UsersAPIGetIdentitySecurity.dashboard_user_context_auth: Annotated[str, FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))] -> Annotated[Optional[str], FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))]` +- `UsersAPIGetIdentitySecurityTypedDict.dashboard_user_context_auth: str -> NotRequired[str]` +- `UsersAPIListOrganizationsSecurity.dashboard_user_context_auth: Annotated[str, FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))] -> Annotated[Optional[str], FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))]` +- `UsersAPIListOrganizationsSecurityTypedDict.dashboard_user_context_auth: str -> NotRequired[str]` +- `UsersAPIListWorkspacesSecurity.dashboard_user_context_auth: Annotated[str, FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))] -> Annotated[Optional[str], FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))]` +- `UsersAPIListWorkspacesSecurityTypedDict.dashboard_user_context_auth: str -> NotRequired[str]` + +Now required on an existing beta model (4): +- `CreatePipelineConfigRequest.definition` +- `ManagedIndexResponse.creator_id` +- `PipelineConfig.definition` +- `UpdatePipelineConfigRequest.definition` +
+ +### API changes +#### Highlights + +- The SDK uses HTTPX2 instead of HTTPX, and the `mcp` and `agents` extras MCP 2.2. A client passed as `client=` or `async_client=` must be an `httpx2` client, and raw requests, responses and transport errors are `httpx2` types. See [MIGRATION.md](MIGRATION.md) for every breaking change in this release. +- Chat and agents completions no longer accept the `code_interpreter`, `web_search` and `web_search_premium` tools; use them through the Conversations API or an agent. +- Workflow deployments: the `koyeb` backend is now `mistral_cloud` (`DeploymentKoyebBackendSpec` is replaced by `DeploymentMistralCloudBackendSpec`), the Kubernetes backend can no longer be set, the CPU/memory, `entrypoint`, `working_dir` and `commit_sha` fields are removed, and `UnknownDeploymentWorkerSpecResponseBackendSpec` is renamed `UnknownBackendSpec`. +- New: `Mistral()` authenticates from a service-account token at `MISTRAL_SA_TOKEN_PATH`; `beta.connectors.mcp_client()` and `beta.connectors.http_client()` call connectors directly through the Connectors Gateway, whose own failures raise `ConnectorsGatewayError`. + +#### Breaking changes + +- Removed fields `cpu_limit`, `cpu_request`, `memory_limit`, and `memory_request` from response `resources` across workflows deployments (6 operations). +- Changed field `type` across workflows deployments (6 operations). +- Removed fields `commit_sha`, `entrypoint`, and `working_dir` from response `spec` across workflows deployments (6 operations). +- Removed fields `cpu_limit`, `cpu_request`, `memory_limit`, and `memory_request` from request `resources` in `sdk.workflows.deployments.update_deployment()` and `sdk.workflows.deployments.create_deployment()`. +- Changed field `backend_spec` in `sdk.workflows.deployments.update_deployment()` and `sdk.workflows.deployments.create_deployment()`. +- Removed fields `entrypoint` and `working_dir` from request `spec` in `sdk.workflows.deployments.update_deployment()` and `sdk.workflows.deployments.create_deployment()`. +- Removed fields `cpu_limit`, `cpu_request`, `memory_limit`, and `memory_request` from response `managed.resources` in `sdk.workflows.deployments.get_deployment()`. +- Changed field `type` in `sdk.workflows.deployments.get_deployment()`. +- Removed fields `commit_sha`, `entrypoint`, and `working_dir` from response `managed.spec` in `sdk.workflows.deployments.get_deployment()`. +- Removed fields `cpu_limit`, `cpu_request`, `memory_limit`, and `memory_request` from response `deployments[].managed.resources` in `sdk.workflows.deployments.list_deployments()`. +- Changed field `type` in `sdk.workflows.deployments.list_deployments()`. +- Removed fields `commit_sha`, `entrypoint`, and `working_dir` from response `deployments[].managed.spec` in `sdk.workflows.deployments.list_deployments()`. +- Removed variants `code_interpreter`, `web_search`, and `web_search_premium` from request `tools[]` in `sdk.chat.complete()`, `sdk.chat.stream()`, `sdk.agents.complete()`, and `sdk.agents.stream()`. + +#### Beta API changes + +- `sdk.beta.connectors`: removed `delete_workspace_credentials()`, `delete_organization_credentials()`, and `delete_user_credentials()`; added `delete_credentials()`. +- Removed field `fetch_customer_data` from request in `sdk.beta.connectors.get()`. +- Added required field `definition` to request in `sdk.beta.observability.evaluations.create_pipeline_config()` and `sdk.beta.observability.evaluations.update_pipeline_config()`. +- Removed field `definitions` from request in `sdk.beta.observability.evaluations.create_pipeline_config()` and `sdk.beta.observability.evaluations.update_pipeline_config()`. +- Removed field `page` from request in `sdk.beta.connectors.list_tools()`. +- Removed field `active` from request `query_filters` in `sdk.beta.connectors.list()`. + +#### Added operations + +Stable: + +- `sdk.workflows.deployments.unharden_deployment()` +- `sdk.audio.voices.search()` + +Beta: + +- `sdk.beta.observability.evaluations.list_pipelines()` +- `sdk.beta.observability.datasets.import_from_spans()` +- `sdk.beta.rag.managed_indexes.get_chunk()` +- `sdk.beta.rag.managed_indexes.grep()` +- `sdk.beta.rag.managed_indexes.read()` +- `sdk.beta.rag.managed_indexes.navigate()` +- `sdk.beta.observability.spans.aggregate_span_evaluations()` +- `sdk.beta.observability.evaluations.delete_pipeline()` +- `sdk.beta.observability.evaluations.update_pipeline()` +- `sdk.beta.observability.evaluations.get_pipeline()` +- `sdk.beta.observability.evaluations.create_pipeline()` + +#### Deprecated operations + +Beta: + +- `sdk.beta.connectors.call_tool()` + +#### Schema changes + +- Added response field `definition` in `sdk.beta.observability.evaluations.create_pipeline_config()`, `sdk.beta.observability.evaluations.update_pipeline_config()`, `sdk.beta.observability.evaluations.list_pipeline_configs()`, and `sdk.beta.observability.evaluations.get_pipeline_config()`. +- Changed response field `definitions` in `sdk.beta.observability.evaluations.create_pipeline_config()`, `sdk.beta.observability.evaluations.update_pipeline_config()`, `sdk.beta.observability.evaluations.list_pipeline_configs()`, and `sdk.beta.observability.evaluations.get_pipeline_config()`. +- Added enum values `PIPELINE_ALREADY_EXISTS` and `PIPELINE_NOT_FOUND` across beta observability evaluations, beta observability traces, beta observability judges, beta observability datasets, beta observability datasets records, beta observability spans, beta observability logs (48 operations). +- Added response fields `runtime_credential_id`, `runtime_principal_type`, and `secrets` across workflows deployments (8 operations). +- Added request field `owner` in `sdk.workflows.deployments.list_deployments()`. +- Added request enum value `mistral_mcp` across chat, agents, beta conversations, classifiers (7 operations). +- Added response enum value `mistral_mcp` across chat, agents, beta conversations, FIM (8 operations). +- Added response field `source_attribute_key` in `sdk.beta.observability.traces.get_trace_fields()`, `sdk.beta.observability.logs.list()`, `sdk.beta.observability.spans.list_span_fields()`, and `sdk.beta.observability.spans.list_span_eval_fields()`. +- Added request fields `order` and `q` in `sdk.beta.service_accounts.list()`. +- Added response field `result` across beta observability datasets (5 operations). +- Added request field `client_scopes` in `sdk.beta.connectors.create()` and `sdk.beta.connectors.update()`. +- Added request fields `creator_id`, `name`, and `status` in `sdk.beta.rag.managed_indexes.list()`. +- Added response field `creator_id` in `sdk.beta.rag.managed_indexes.list()`, `sdk.beta.rag.managed_indexes.create()`, `sdk.beta.rag.managed_indexes.get()`, and `sdk.beta.rag.managed_indexes.update()`. +- Added request field `max_candidates` in `sdk.beta.rag.managed_indexes.search()`. +- Added request variant `rrf` in `sdk.beta.rag.managed_indexes.search()`. +- Added request field `bearer_user_context_auth` in `sdk.beta.users.get_identity()`, `sdk.beta.users.list_organizations()`, and `sdk.beta.users.list_workspaces()`. +- Changed request field `dashboard_user_context_auth` in `sdk.beta.users.get_identity()`, `sdk.beta.users.list_organizations()`, and `sdk.beta.users.list_workspaces()`. +- Changed response fields `chain_run_id`, `continued_run_id`, `first_execution_run_id`, and `schedule_id` in `sdk.workflows.events.get_workflow_events()` and `sdk.events.get_workflow_events()`. +- Added request field `log_type` in `sdk.workflows.deployments.get_deployment_logs()`. + +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v3.0.0] . +### Releases +- [PyPI v3.0.0] https://pypi.org/project/mistralai/3.0.0 - . diff --git a/USAGE.md b/USAGE.md index bb01b1604..9d32240a6 100644 --- a/USAGE.md +++ b/USAGE.md @@ -26,7 +26,7 @@ with Mistral( print(res) ``` -
+
The same SDK client can also be used to make asynchronous requests by importing asyncio. @@ -80,7 +80,7 @@ with Mistral( print(res) ``` -
+
The same SDK client can also be used to make asynchronous requests by importing asyncio. @@ -134,7 +134,7 @@ with Mistral( print(res) ``` -
+
The same SDK client can also be used to make asynchronous requests by importing asyncio. @@ -167,7 +167,7 @@ asyncio.run(main()) ### Create Embedding Request -This example shows how to create an embedding request. +This example shows how to create embedding request. ```python # Synchronous Example @@ -188,7 +188,7 @@ with Mistral( print(res) ``` -
+
The same SDK client can also be used to make asynchronous requests by importing asyncio. diff --git a/docs/models/activitytaskcompletedresponse.md b/docs/models/activitytaskcompletedresponse.md index 3b457416c..4b92b46d7 100644 --- a/docs/models/activitytaskcompletedresponse.md +++ b/docs/models/activitytaskcompletedresponse.md @@ -13,10 +13,10 @@ Contains timing information about the successful execution. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/activitytaskfailedresponse.md b/docs/models/activitytaskfailedresponse.md index d32ae8fdf..43c1c89cb 100644 --- a/docs/models/activitytaskfailedresponse.md +++ b/docs/models/activitytaskfailedresponse.md @@ -13,10 +13,10 @@ This is a terminal event indicating the activity could not complete successfully | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/activitytaskretryingresponse.md b/docs/models/activitytaskretryingresponse.md index bde2a072b..2a61ce4ab 100644 --- a/docs/models/activitytaskretryingresponse.md +++ b/docs/models/activitytaskretryingresponse.md @@ -13,10 +13,10 @@ Contains information about the failed attempt and the error that occurred. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/activitytaskstartedresponse.md b/docs/models/activitytaskstartedresponse.md index ca0206333..07dd761ba 100644 --- a/docs/models/activitytaskstartedresponse.md +++ b/docs/models/activitytaskstartedresponse.md @@ -14,10 +14,10 @@ Subsequent retry attempts emit ACTIVITY_TASK_RETRYING instead. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/agentscompletionrequesttool.md b/docs/models/agentscompletionrequesttool.md index c20358664..71e35c17b 100644 --- a/docs/models/agentscompletionrequesttool.md +++ b/docs/models/agentscompletionrequesttool.md @@ -9,24 +9,6 @@ value: models.Tool = /* values here */ ``` -### `models.WebSearchTool` - -```python -value: models.WebSearchTool = /* values here */ -``` - -### `models.WebSearchPremiumTool` - -```python -value: models.WebSearchPremiumTool = /* values here */ -``` - -### `models.CodeInterpreterTool` - -```python -value: models.CodeInterpreterTool = /* values here */ -``` - ### `models.ImageGenerationTool` ```python diff --git a/docs/models/agentscompletionstreamrequesttool.md b/docs/models/agentscompletionstreamrequesttool.md index 6a11b0420..2170f32cf 100644 --- a/docs/models/agentscompletionstreamrequesttool.md +++ b/docs/models/agentscompletionstreamrequesttool.md @@ -9,24 +9,6 @@ value: models.Tool = /* values here */ ``` -### `models.WebSearchTool` - -```python -value: models.WebSearchTool = /* values here */ -``` - -### `models.WebSearchPremiumTool` - -```python -value: models.WebSearchPremiumTool = /* values here */ -``` - -### `models.CodeInterpreterTool` - -```python -value: models.CodeInterpreterTool = /* values here */ -``` - ### `models.ImageGenerationTool` ```python diff --git a/docs/models/aggregatespanevaluationsv1observabilityspansevaluationsaggregatepostrequest.md b/docs/models/aggregatespanevaluationsv1observabilityspansevaluationsaggregatepostrequest.md new file mode 100644 index 000000000..4e1149480 --- /dev/null +++ b/docs/models/aggregatespanevaluationsv1observabilityspansevaluationsaggregatepostrequest.md @@ -0,0 +1,10 @@ +# AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `from_` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `to` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `aggregation_request` | [models.AggregationRequest](../models/aggregationrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/audiov2voiceslistrequest.md b/docs/models/audiov2voiceslistrequest.md new file mode 100644 index 000000000..a6b275532 --- /dev/null +++ b/docs/models/audiov2voiceslistrequest.md @@ -0,0 +1,13 @@ +# AudioV2VoicesListRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of voices to return | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor returned as next_page_token by the previous page | +| `type` | [Optional[models.AudioV2VoicesListType]](../models/audiov2voiceslisttype.md) | :heavy_minus_sign: | Filter the voices between customs and presets | +| `gender` | List[[models.VoiceGender](../models/voicegender.md)] | :heavy_minus_sign: | Keep voices matching any of these genders | +| `language` | List[*str*] | :heavy_minus_sign: | Keep voices supporting any of these languages | +| `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Case-insensitive match on voice name | \ No newline at end of file diff --git a/docs/models/audiov2voiceslistresponse.md b/docs/models/audiov2voiceslistresponse.md new file mode 100644 index 000000000..8295e46dd --- /dev/null +++ b/docs/models/audiov2voiceslistresponse.md @@ -0,0 +1,8 @@ +# AudioV2VoicesListResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `result` | [models.VoiceListPage](../models/voicelistpage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/audiov2voiceslisttype.md b/docs/models/audiov2voiceslisttype.md new file mode 100644 index 000000000..bebd95dc8 --- /dev/null +++ b/docs/models/audiov2voiceslisttype.md @@ -0,0 +1,17 @@ +# AudioV2VoicesListType + +Filter the voices between customs and presets + +## Example Usage + +```python +from mistralai.client.models import AudioV2VoicesListType +value: AudioV2VoicesListType = "all" +``` + + +## Values + +- `"all"` +- `"custom"` +- `"preset"` diff --git a/docs/models/authdata.md b/docs/models/authdata.md index 66b945d41..8ff6b486c 100644 --- a/docs/models/authdata.md +++ b/docs/models/authdata.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | | ----------------------- | ----------------------- | ----------------------- | ----------------------- | | `client_id` | *str* | :heavy_check_mark: | N/A | -| `client_secret` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `client_secret` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `client_scopes` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/backendspec.md b/docs/models/backendspec.md new file mode 100644 index 000000000..e5e0e4818 --- /dev/null +++ b/docs/models/backendspec.md @@ -0,0 +1,25 @@ +# BackendSpec + +Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes. + + +## Supported Types + +### `models.DeploymentMistralCloudBackendSpec` + +```python +value: models.DeploymentMistralCloudBackendSpec = /* values here */ +``` + +### `models.DeploymentK8sBackendSpec` + +```python +value: models.DeploymentK8sBackendSpec = /* values here */ +``` + +### `models.DeploymentMistralCloudBackendSpec` + +```python +value: models.DeploymentMistralCloudBackendSpec = /* values here */ +``` + diff --git a/docs/models/builtinconnectors.md b/docs/models/builtinconnectors.md index 11dfd48a8..45ba222b0 100644 --- a/docs/models/builtinconnectors.md +++ b/docs/models/builtinconnectors.md @@ -19,3 +19,4 @@ This is an open enum. Unrecognized values will not fail type checks. - `"code_interpreter"` - `"image_generation"` - `"document_library"` +- `"mistral_mcp"` diff --git a/docs/models/chatcompletionrequest.md b/docs/models/chatcompletionrequest.md index e61ade721..f2635c41c 100644 --- a/docs/models/chatcompletionrequest.md +++ b/docs/models/chatcompletionrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](https://docs.mistral.ai/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](https://docs.mistral.ai/models) for model descriptions. | mistral-large-latest | +| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions. | mistral-large-latest | | `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value. | | | `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both. | | | `max_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length. | | diff --git a/docs/models/chatcompletionrequesttool.md b/docs/models/chatcompletionrequesttool.md index 572d12ca0..52d493554 100644 --- a/docs/models/chatcompletionrequesttool.md +++ b/docs/models/chatcompletionrequesttool.md @@ -9,24 +9,6 @@ value: models.Tool = /* values here */ ``` -### `models.WebSearchTool` - -```python -value: models.WebSearchTool = /* values here */ -``` - -### `models.WebSearchPremiumTool` - -```python -value: models.WebSearchPremiumTool = /* values here */ -``` - -### `models.CodeInterpreterTool` - -```python -value: models.CodeInterpreterTool = /* values here */ -``` - ### `models.ImageGenerationTool` ```python diff --git a/docs/models/chatcompletionstreamrequest.md b/docs/models/chatcompletionstreamrequest.md index 76866aca6..49acc5001 100644 --- a/docs/models/chatcompletionstreamrequest.md +++ b/docs/models/chatcompletionstreamrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](https://docs.mistral.ai/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](https://docs.mistral.ai/models) for model descriptions. | mistral-large-latest | +| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions. | mistral-large-latest | | `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value. | | | `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both. | | | `max_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length. | | diff --git a/docs/models/chatcompletionstreamrequesttool.md b/docs/models/chatcompletionstreamrequesttool.md index 48998fcbb..446b7712a 100644 --- a/docs/models/chatcompletionstreamrequesttool.md +++ b/docs/models/chatcompletionstreamrequesttool.md @@ -9,24 +9,6 @@ value: models.Tool = /* values here */ ``` -### `models.WebSearchTool` - -```python -value: models.WebSearchTool = /* values here */ -``` - -### `models.WebSearchPremiumTool` - -```python -value: models.WebSearchPremiumTool = /* values here */ -``` - -### `models.CodeInterpreterTool` - -```python -value: models.CodeInterpreterTool = /* values here */ -``` - ### `models.ImageGenerationTool` ```python diff --git a/docs/models/connectordeletecredentialsconsumerscope.md b/docs/models/connectordeletecredentialsconsumerscope.md new file mode 100644 index 000000000..116362f6b --- /dev/null +++ b/docs/models/connectordeletecredentialsconsumerscope.md @@ -0,0 +1,15 @@ +# ConnectorDeleteCredentialsConsumerScope + +## Example Usage + +```python +from mistralai.client.models import ConnectorDeleteCredentialsConsumerScope +value: ConnectorDeleteCredentialsConsumerScope = "user" +``` + + +## Values + +- `"user"` +- `"workspace"` +- `"organization"` diff --git a/docs/models/connectordeletecredentialsrequest.md b/docs/models/connectordeletecredentialsrequest.md new file mode 100644 index 000000000..fc6d069dc --- /dev/null +++ b/docs/models/connectordeletecredentialsrequest.md @@ -0,0 +1,10 @@ +# ConnectorDeleteCredentialsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `credentials_name` | *str* | :heavy_check_mark: | N/A | +| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | +| `consumer_scope` | [models.ConnectorDeleteCredentialsConsumerScope](../models/connectordeletecredentialsconsumerscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/connectordeleteorganizationcredentialsv1request.md b/docs/models/connectordeleteorganizationcredentialsv1request.md deleted file mode 100644 index eaf4d00cc..000000000 --- a/docs/models/connectordeleteorganizationcredentialsv1request.md +++ /dev/null @@ -1,9 +0,0 @@ -# ConnectorDeleteOrganizationCredentialsV1Request - - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `credentials_name` | *str* | :heavy_check_mark: | N/A | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/connectordeleteusercredentialsv1request.md b/docs/models/connectordeleteusercredentialsv1request.md deleted file mode 100644 index fd52cf921..000000000 --- a/docs/models/connectordeleteusercredentialsv1request.md +++ /dev/null @@ -1,9 +0,0 @@ -# ConnectorDeleteUserCredentialsV1Request - - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `credentials_name` | *str* | :heavy_check_mark: | N/A | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/connectordeleteworkspacecredentialsv1request.md b/docs/models/connectordeleteworkspacecredentialsv1request.md deleted file mode 100644 index 3bc3d7c9e..000000000 --- a/docs/models/connectordeleteworkspacecredentialsv1request.md +++ /dev/null @@ -1,9 +0,0 @@ -# ConnectorDeleteWorkspaceCredentialsV1Request - - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `credentials_name` | *str* | :heavy_check_mark: | N/A | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/connectorgetv1request.md b/docs/models/connectorgetv1request.md index 124ab1e51..4047bca3c 100644 --- a/docs/models/connectorgetv1request.md +++ b/docs/models/connectorgetv1request.md @@ -3,8 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `fetch_user_data` | *Optional[bool]* | :heavy_minus_sign: | Fetch the user-level data associated with the connector (e.g. connection credentials). | -| `fetch_customer_data` | *Optional[bool]* | :heavy_minus_sign: | Fetch the customer data associated with the connector (e.g. customer secrets / config). | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | +| `fetch_user_data` | *Optional[bool]* | :heavy_minus_sign: | Fetch the user-level data associated with the connector (e.g. connection credentials). | \ No newline at end of file diff --git a/docs/models/connectorlisttoolsv1request.md b/docs/models/connectorlisttoolsv1request.md index a71039f47..2b4c17781 100644 --- a/docs/models/connectorlisttoolsv1request.md +++ b/docs/models/connectorlisttoolsv1request.md @@ -6,7 +6,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `page` | *Optional[int]* | :heavy_minus_sign: | N/A | | `page_size` | *Optional[int]* | :heavy_minus_sign: | N/A | | `refresh` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `pretty` | *Optional[bool]* | :heavy_minus_sign: | Return a simplified payload with only name, description, annotations, and a compact inputSchema. | diff --git a/docs/models/connectorsqueryfilters.md b/docs/models/connectorsqueryfilters.md index b4ffb97ba..06997e2e1 100644 --- a/docs/models/connectorsqueryfilters.md +++ b/docs/models/connectorsqueryfilters.md @@ -5,5 +5,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `active` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter for active connectors for a given user, workspace and organization. | | `supports_mcp` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter connectors by whether they expose an MCP-compatible tool interface. | \ No newline at end of file diff --git a/docs/models/createpipelineconfigrequest.md b/docs/models/createpipelineconfigrequest.md index 0914d2646..cf46da1a8 100644 --- a/docs/models/createpipelineconfigrequest.md +++ b/docs/models/createpipelineconfigrequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `name` | *str* | :heavy_check_mark: | N/A | -| `pipeline_kind` | [models.PipelineKind](../models/pipelinekind.md) | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | -| `definitions` | List[[models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md)] | :heavy_check_mark: | N/A | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `pipeline_kind` | [models.PipelineKind](../models/pipelinekind.md) | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definition` | [models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md) | :heavy_check_mark: | N/A | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createpipelinerequest.md b/docs/models/createpipelinerequest.md new file mode 100644 index 000000000..b1981c44c --- /dev/null +++ b/docs/models/createpipelinerequest.md @@ -0,0 +1,12 @@ +# CreatePipelineRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definitions` | List[[models.JudgeDefinition](../models/judgedefinition.md)] | :heavy_check_mark: | N/A | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/customtaskcanceledresponse.md b/docs/models/customtaskcanceledresponse.md index 85d7bca4f..858fee9c1 100644 --- a/docs/models/customtaskcanceledresponse.md +++ b/docs/models/customtaskcanceledresponse.md @@ -13,10 +13,10 @@ Indicates the task was explicitly stopped before completion. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/customtaskcompletedresponse.md b/docs/models/customtaskcompletedresponse.md index e3383dde8..491e2b170 100644 --- a/docs/models/customtaskcompletedresponse.md +++ b/docs/models/customtaskcompletedresponse.md @@ -13,10 +13,10 @@ Contains the final result of the task execution. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/customtaskfailedresponse.md b/docs/models/customtaskfailedresponse.md index 3f4c18a4e..ffab0cf2f 100644 --- a/docs/models/customtaskfailedresponse.md +++ b/docs/models/customtaskfailedresponse.md @@ -13,10 +13,10 @@ Contains details about the failure for debugging and error handling. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/customtaskinprogressresponse.md b/docs/models/customtaskinprogressresponse.md index 15a4cf8bc..566edbab0 100644 --- a/docs/models/customtaskinprogressresponse.md +++ b/docs/models/customtaskinprogressresponse.md @@ -14,10 +14,10 @@ enabling real-time progress tracking for long-running tasks. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/customtaskstartedresponse.md b/docs/models/customtaskstartedresponse.md index 4130f72df..7fdd2e54d 100644 --- a/docs/models/customtaskstartedresponse.md +++ b/docs/models/customtaskstartedresponse.md @@ -14,10 +14,10 @@ such as LLM calls, API requests, or data processing steps. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/customtasktimedoutresponse.md b/docs/models/customtasktimedoutresponse.md index 1d206b021..24ec13fbd 100644 --- a/docs/models/customtasktimedoutresponse.md +++ b/docs/models/customtasktimedoutresponse.md @@ -13,10 +13,10 @@ Indicates the task did not complete within its configured time limit. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/datasetimportresult.md b/docs/models/datasetimportresult.md new file mode 100644 index 000000000..6368a87df --- /dev/null +++ b/docs/models/datasetimportresult.md @@ -0,0 +1,12 @@ +# DatasetImportResult + +Source-agnostic counts for a completed dataset import. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `requested_record_count` | *int* | :heavy_check_mark: | N/A | +| `imported_record_count` | *int* | :heavy_check_mark: | N/A | +| `skipped_record_count` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/datasetimporttask.md b/docs/models/datasetimporttask.md index 21e6130fc..370d7ed5a 100644 --- a/docs/models/datasetimporttask.md +++ b/docs/models/datasetimporttask.md @@ -3,15 +3,16 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | -| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | -| `creator_id` | *str* | :heavy_check_mark: | N/A | -| `dataset_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | -| `status` | [models.BaseTaskStatus](../models/basetaskstatus.md) | :heavy_check_mark: | N/A | -| `progress` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `creator_id` | *str* | :heavy_check_mark: | N/A | +| `dataset_id` | *str* | :heavy_check_mark: | N/A | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `status` | [models.BaseTaskStatus](../models/basetaskstatus.md) | :heavy_check_mark: | N/A | +| `progress` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `result` | [OptionalNullable[models.DatasetImportResult]](../models/datasetimportresult.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/deletepipelinev1observabilitypipelinespipelineiddeleterequest.md b/docs/models/deletepipelinev1observabilitypipelinespipelineiddeleterequest.md new file mode 100644 index 000000000..242f1beb2 --- /dev/null +++ b/docs/models/deletepipelinev1observabilitypipelinespipelineiddeleterequest.md @@ -0,0 +1,8 @@ +# DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `pipeline_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/deploymentkoyebbackendspec.md b/docs/models/deploymentkoyebbackendspec.md deleted file mode 100644 index 24284389c..000000000 --- a/docs/models/deploymentkoyebbackendspec.md +++ /dev/null @@ -1,12 +0,0 @@ -# DeploymentKoyebBackendSpec - -Worker configuration for the Koyeb backend. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | *Literal["koyeb"]* | :heavy_check_mark: | N/A | -| `build_directory` | *OptionalNullable[str]* | :heavy_minus_sign: | Docker build context, as a path in the repo. Defaults to the repo root. | -| `dockerfile_path` | *OptionalNullable[str]* | :heavy_minus_sign: | Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'. | \ No newline at end of file diff --git a/docs/models/deploymentlogtype.md b/docs/models/deploymentlogtype.md new file mode 100644 index 000000000..33659f120 --- /dev/null +++ b/docs/models/deploymentlogtype.md @@ -0,0 +1,19 @@ +# DeploymentLogType + +Which log stream a deployment's logs come from. + +`runtime` is what the workers themselves emit. `build` only exists for managed +deployments: it is the image build pipeline's output, which no worker reports. + +## Example Usage + +```python +from mistralai.client.models import DeploymentLogType +value: DeploymentLogType = "build" +``` + + +## Values + +- `"build"` +- `"runtime"` diff --git a/docs/models/deploymentmistralcloudbackendspec.md b/docs/models/deploymentmistralcloudbackendspec.md new file mode 100644 index 000000000..b637eff98 --- /dev/null +++ b/docs/models/deploymentmistralcloudbackendspec.md @@ -0,0 +1,13 @@ +# DeploymentMistralCloudBackendSpec + +Worker configuration for the Mistral Cloud backend. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [Optional[models.DeploymentMistralCloudBackendSpecType]](../models/deploymentmistralcloudbackendspectype.md) | :heavy_minus_sign: | N/A | +| `build_directory` | *OptionalNullable[str]* | :heavy_minus_sign: | Docker build context, as a path in the repo. Defaults to the repo root. | +| `dockerfile_path` | *OptionalNullable[str]* | :heavy_minus_sign: | Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'. | +| `secrets` | List[[models.DeploymentSecretBinding](../models/deploymentsecretbinding.md)] | :heavy_minus_sign: | Secrets to bind to the worker, as 'secret:workspace:' references. Each is available during build and run: as a Dockerfile build arg (declare a matching 'ARG') and as an env var. On update, the field carries the complete set: send the full list to rebind, an empty list to unbind all, omit it to leave the bindings unchanged. | \ No newline at end of file diff --git a/docs/models/deploymentmistralcloudbackendspectype.md b/docs/models/deploymentmistralcloudbackendspectype.md new file mode 100644 index 000000000..55b6b01d7 --- /dev/null +++ b/docs/models/deploymentmistralcloudbackendspectype.md @@ -0,0 +1,18 @@ +# DeploymentMistralCloudBackendSpecType + +## Example Usage + +```python +from mistralai.client.models import DeploymentMistralCloudBackendSpecType + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: DeploymentMistralCloudBackendSpecType = "mistral_cloud" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"mistral_cloud"` +- `"koyeb"` diff --git a/docs/models/deploymentresourceconfig.md b/docs/models/deploymentresourceconfig.md index 92261a14a..149f94603 100644 --- a/docs/models/deploymentresourceconfig.md +++ b/docs/models/deploymentresourceconfig.md @@ -5,8 +5,4 @@ | Field | Type | Required | Description | | ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `replicas` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `cpu_request` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `cpu_limit` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `memory_request` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `memory_limit` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `replicas` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/deploymentresourceconfigupdate.md b/docs/models/deploymentresourceconfigupdate.md index e11a82754..51d6cb433 100644 --- a/docs/models/deploymentresourceconfigupdate.md +++ b/docs/models/deploymentresourceconfigupdate.md @@ -5,8 +5,4 @@ | Field | Type | Required | Description | | ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `replicas` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `cpu_request` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `cpu_limit` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `memory_request` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `memory_limit` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `replicas` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/deploymentsecretbinding.md b/docs/models/deploymentsecretbinding.md new file mode 100644 index 000000000..f30250fdc --- /dev/null +++ b/docs/models/deploymentsecretbinding.md @@ -0,0 +1,11 @@ +# DeploymentSecretBinding + +Binds one env var to one platform secret; the value is resolved at boot, never stored. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `env_var_name` | *str* | :heavy_check_mark: | Environment variable the worker process reads; the secret's name lives in 'reference'. | +| `reference` | *str* | :heavy_check_mark: | Secret reference as 'secret:workspace:'. Resolved at boot by the runtime-init container; the value never reaches the control plane. | \ No newline at end of file diff --git a/docs/models/deploymentworkerspecinput.md b/docs/models/deploymentworkerspecinput.md index fafa70522..616e9aa17 100644 --- a/docs/models/deploymentworkerspecinput.md +++ b/docs/models/deploymentworkerspecinput.md @@ -3,10 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `github_url` | *str* | :heavy_check_mark: | N/A | -| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `backend_spec` | [OptionalNullable[models.DeploymentWorkerSpecInputBackendSpec]](../models/deploymentworkerspecinputbackendspec.md) | :heavy_minus_sign: | Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'. | -| ~~`entrypoint`~~ | *OptionalNullable[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422. | -| ~~`working_dir`~~ | *OptionalNullable[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `github_url` | *str* | :heavy_check_mark: | N/A | +| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `backend_spec` | [OptionalNullable[models.DeploymentMistralCloudBackendSpec]](../models/deploymentmistralcloudbackendspec.md) | :heavy_minus_sign: | Backend-specific configuration for the Mistral Cloud backend. | \ No newline at end of file diff --git a/docs/models/deploymentworkerspecinputbackendspec.md b/docs/models/deploymentworkerspecinputbackendspec.md deleted file mode 100644 index 18a02a702..000000000 --- a/docs/models/deploymentworkerspecinputbackendspec.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeploymentWorkerSpecInputBackendSpec - - -## Supported Types - -### `models.DeploymentKoyebBackendSpec` - -```python -value: models.DeploymentKoyebBackendSpec = /* values here */ -``` - -### `models.DeploymentK8sBackendSpec` - -```python -value: models.DeploymentK8sBackendSpec = /* values here */ -``` - diff --git a/docs/models/deploymentworkerspecresponse.md b/docs/models/deploymentworkerspecresponse.md index 35e93f975..8c857ee32 100644 --- a/docs/models/deploymentworkerspecresponse.md +++ b/docs/models/deploymentworkerspecresponse.md @@ -3,14 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `github_url` | *str* | :heavy_check_mark: | N/A | -| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `backend_spec` | [models.DeploymentWorkerSpecResponseBackendSpec](../models/deploymentworkerspecresponsebackendspec.md) | :heavy_check_mark: | Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'. | -| `restarted_at` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `commit` | [OptionalNullable[models.GitCommitMetadata]](../models/gitcommitmetadata.md) | :heavy_minus_sign: | N/A | -| ~~`commit_sha`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | -| ~~`entrypoint`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | -| ~~`working_dir`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `github_url` | *str* | :heavy_check_mark: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `backend_spec` | [models.BackendSpec](../models/backendspec.md) | :heavy_check_mark: | Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes. | +| `restarted_at` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `commit` | [OptionalNullable[models.GitCommitMetadata]](../models/gitcommitmetadata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/deploymentworkerspecresponsebackendspec.md b/docs/models/deploymentworkerspecresponsebackendspec.md deleted file mode 100644 index 4d83e87a3..000000000 --- a/docs/models/deploymentworkerspecresponsebackendspec.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeploymentWorkerSpecResponseBackendSpec - -Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'. - - -## Supported Types - -### `models.DeploymentKoyebBackendSpec` - -```python -value: models.DeploymentKoyebBackendSpec = /* values here */ -``` - -### `models.DeploymentK8sBackendSpec` - -```python -value: models.DeploymentK8sBackendSpec = /* values here */ -``` - diff --git a/docs/models/getchunkindexv1ragmanagedindexesindexnamechunkschunkidgetrequest.md b/docs/models/getchunkindexv1ragmanagedindexesindexnamechunkschunkidgetrequest.md new file mode 100644 index 000000000..a12c4ca0b --- /dev/null +++ b/docs/models/getchunkindexv1ragmanagedindexesindexnamechunkschunkidgetrequest.md @@ -0,0 +1,9 @@ +# GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `chunk_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentlogsrequest.md b/docs/models/getdeploymentlogsrequest.md index 330290c72..7dfd6b054 100644 --- a/docs/models/getdeploymentlogsrequest.md +++ b/docs/models/getdeploymentlogsrequest.md @@ -3,13 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `name` | *str* | :heavy_check_mark: | N/A | -| `worker_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by worker name | -| `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by workflow name | -| `after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs at or after this timestamp | -| `before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs before this timestamp | -| `order` | [Optional[models.GetDeploymentLogsOrder]](../models/getdeploymentlogsorder.md) | :heavy_minus_sign: | First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set. | -| `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Pagination cursor from a previous response's `next_cursor`; carries the window and order | -| `limit` | *Optional[int]* | :heavy_minus_sign: | Maximum number of logs to return | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `log_type` | [Optional[models.DeploymentLogType]](../models/deploymentlogtype.md) | :heavy_minus_sign: | Which stream to read. 'runtime' is the workers' own logs; 'build' reads the image build output and requires a managed deployment. | +| `worker_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by worker name | +| `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by workflow name | +| `after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs at or after this timestamp | +| `before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs before this timestamp | +| `order` | [Optional[models.GetDeploymentLogsOrder]](../models/getdeploymentlogsorder.md) | :heavy_minus_sign: | First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set. | +| `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Pagination cursor from a previous response's `next_cursor`; carries the window and order | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Maximum number of logs to return | \ No newline at end of file diff --git a/docs/models/getpipelinev1observabilitypipelinespipelineidgetrequest.md b/docs/models/getpipelinev1observabilitypipelinespipelineidgetrequest.md new file mode 100644 index 000000000..de11d3da8 --- /dev/null +++ b/docs/models/getpipelinev1observabilitypipelinespipelineidgetrequest.md @@ -0,0 +1,8 @@ +# GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `pipeline_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/grepindexv1ragmanagedindexesindexnamegreppostrequest.md b/docs/models/grepindexv1ragmanagedindexesindexnamegreppostrequest.md new file mode 100644 index 000000000..033050722 --- /dev/null +++ b/docs/models/grepindexv1ragmanagedindexesindexnamegreppostrequest.md @@ -0,0 +1,9 @@ +# GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `grep_request` | [models.GrepRequest](../models/greprequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/grepmode.md b/docs/models/grepmode.md new file mode 100644 index 000000000..f6a4e94c1 --- /dev/null +++ b/docs/models/grepmode.md @@ -0,0 +1,14 @@ +# GrepMode + +## Example Usage + +```python +from mistralai.client.models import GrepMode +value: GrepMode = "phrase" +``` + + +## Values + +- `"phrase"` +- `"term"` diff --git a/docs/models/greprequest.md b/docs/models/greprequest.md new file mode 100644 index 000000000..87cb5c51e --- /dev/null +++ b/docs/models/greprequest.md @@ -0,0 +1,12 @@ +# GrepRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `pattern` | *str* | :heavy_check_mark: | N/A | +| `mode` | [Optional[models.GrepMode]](../models/grepmode.md) | :heavy_minus_sign: | N/A | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/importdatasetfromspansrequest.md b/docs/models/importdatasetfromspansrequest.md new file mode 100644 index 000000000..1dbc28f5d --- /dev/null +++ b/docs/models/importdatasetfromspansrequest.md @@ -0,0 +1,9 @@ +# ImportDatasetFromSpansRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `span_references` | List[[models.TelemetrySpanReference](../models/telemetryspanreference.md)] | :heavy_check_mark: | Spans to attempt to import; unavailable references are skipped, and trace and span IDs are attached as record properties automatically. | +| `mapping_contract` | [models.SpanDatasetMappingContract](../models/spandatasetmappingcontract.md) | :heavy_check_mark: | Mapping rules applied independently to every requested telemetry span.

Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array
source omits the target key. JSON object and array strings become structured values;
scalar-looking and malformed JSON strings remain strings. | \ No newline at end of file diff --git a/docs/models/keywordretriever.md b/docs/models/keywordretriever.md index 36eeb6d4a..37ae2b6c0 100644 --- a/docs/models/keywordretriever.md +++ b/docs/models/keywordretriever.md @@ -1,6 +1,6 @@ # KeywordRetriever -Retrieve document chunks with similar keywrods to the given query. +Retrieve document chunks with similar keywords to the given query. ## Fields diff --git a/docs/models/listdeploymentsv1workflowsdeploymentsgetrequest.md b/docs/models/listdeploymentsv1workflowsdeploymentsgetrequest.md index 7eb76ad77..23b27aac8 100644 --- a/docs/models/listdeploymentsv1workflowsdeploymentsgetrequest.md +++ b/docs/models/listdeploymentsv1workflowsdeploymentsgetrequest.md @@ -9,6 +9,7 @@ | `is_hardened` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter deployments by hardened status | | `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `created_by` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter deployments by creator's user id | +| `owner` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter deployments by owner's user id | | `location_types` | List[[models.LocationType](../models/locationtype.md)] | :heavy_minus_sign: | Filter deployments with at least one worker on any of these location types (OR) | | `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter deployments by name or ID prefix | | `order_by` | [OptionalNullable[models.ListDeploymentsV1WorkflowsDeploymentsGetOrderBy]](../models/listdeploymentsv1workflowsdeploymentsgetorderby.md) | :heavy_minus_sign: | Field to sort by. When omitted, active and managed deployments are grouped first, then sorted by created_at. When set, results are sorted purely by the specified field with no grouping. | diff --git a/docs/models/listindexesv1ragmanagedindexesgetrequest.md b/docs/models/listindexesv1ragmanagedindexesgetrequest.md index 1c737d5aa..a99444daf 100644 --- a/docs/models/listindexesv1ragmanagedindexesgetrequest.md +++ b/docs/models/listindexesv1ragmanagedindexesgetrequest.md @@ -3,7 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `page_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of indexes to return | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor returned as next_page_token by the previous page | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of indexes to return | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor returned as next_page_token by the previous page | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | Case-insensitive substring to match against index names | +| `status` | [OptionalNullable[models.ManagedIndexStatus]](../models/managedindexstatus.md) | :heavy_minus_sign: | Status to match | +| `creator_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Creator ID to match | \ No newline at end of file diff --git a/docs/models/listlibrariesresponse.md b/docs/models/listlibrariesresponse.md index 4b47ae0e7..4916aabb3 100644 --- a/docs/models/listlibrariesresponse.md +++ b/docs/models/listlibrariesresponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ~~`pagination`~~ | [OptionalNullable[models.PaginationInfo]](../models/paginationinfo.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: offset pagination metadata. Only populated for callers using the deprecated `page` parameter; omitted when `page_token` is used. While RBAC filtering is being rolled out `total_items` is a rough estimate (candidate count before per-library checks). Use `next_page_token` instead — this field will be removed once offset paging is retired. | -| `data` | List[[models.Library](../models/library.md)] | :heavy_check_mark: | N/A | -| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Opaque continuation token for the next page. Pass it back as `page_token` to fetch the next page. Null when there are no more results. Prefer this over the deprecated offset `page` parameter. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ~~`pagination`~~ | [OptionalNullable[models.PaginationInfo]](../models/paginationinfo.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: offset pagination metadata. Only returned for requests using the deprecated `page` parameter; omitted when `page_token` is used. Use `next_page_token` instead — this field will be removed once offset paging is retired. | +| `data` | List[[models.Library](../models/library.md)] | :heavy_check_mark: | N/A | +| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Opaque continuation token for the next page. Pass it back as `page_token` to fetch the next page. Null when there are no more results. Prefer this over the deprecated offset `page` parameter. | \ No newline at end of file diff --git a/docs/models/listpipelinesv1observabilitypipelinesgetrequest.md b/docs/models/listpipelinesv1observabilitypipelinesgetrequest.md new file mode 100644 index 000000000..c18fb6630 --- /dev/null +++ b/docs/models/listpipelinesv1observabilitypipelinesgetrequest.md @@ -0,0 +1,11 @@ +# ListPipelinesV1ObservabilityPipelinesGetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `page` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `q` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/listrunsv1workflowsrunsgetrequest.md b/docs/models/listrunsv1workflowsrunsgetrequest.md index 8238bdc5b..d954d3952 100644 --- a/docs/models/listrunsv1workflowsrunsgetrequest.md +++ b/docs/models/listrunsv1workflowsrunsgetrequest.md @@ -3,22 +3,22 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `workflow_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by workflow name or id | -| `root_execution_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by root execution id; returns the whole execution tree (the root and all its descendant sub-workflows). | -| `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Search by workflow name, display name, or ID | -| `status` | [OptionalNullable[models.ListRunsV1WorkflowsRunsGetStatus]](../models/listrunsv1workflowsrunsgetstatus.md) | :heavy_minus_sign: | Filter by workflow status | -| `deployment_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by deployment name | -| `sort_by` | [OptionalNullable[models.SortBy]](../models/sortby.md) | :heavy_minus_sign: | Field to sort by | -| `order` | [Optional[models.ListRunsV1WorkflowsRunsGetOrder]](../models/listrunsv1workflowsrunsgetorder.md) | :heavy_minus_sign: | Sort direction | -| `start_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time >= value | -| `start_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time <= value | -| `end_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time >= value. Running executions (no end_time) are excluded; use the status filter to include them. | -| `end_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time <= value. Running executions (no end_time) are excluded; use the status filter to include them. | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by user id. Use 'current' to filter by the authenticated user | -| `workflow_tags` | List[*str*] | :heavy_minus_sign: | Filter to runs of workflows tagged with all listed tags (AND). | -| `include_internal` | *Optional[bool]* | :heavy_minus_sign: | Include runs of internal/technical workflows (e.g. parallel-execution) | -| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of items per page | -| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Token for the next page of results | -| `search_key` | List[*str*] | :heavy_minus_sign: | Filter executions by search key as repeated 'key:value' entries. Each entry matches an exact key and a similar value; multiple entries are AND'd together (max 3). | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `workflow_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by workflow name or id | +| `root_execution_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by root execution id; returns the whole execution tree (the root and all its descendant sub-workflows). | +| `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Search by workflow name, display name, or ID | +| `status` | [OptionalNullable[models.ListRunsV1WorkflowsRunsGetStatus]](../models/listrunsv1workflowsrunsgetstatus.md) | :heavy_minus_sign: | Filter by workflow status | +| `deployment_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by deployment name | +| `sort_by` | [OptionalNullable[models.SortBy]](../models/sortby.md) | :heavy_minus_sign: | Field to sort by | +| `order` | [Optional[models.ListRunsV1WorkflowsRunsGetOrder]](../models/listrunsv1workflowsrunsgetorder.md) | :heavy_minus_sign: | Sort direction | +| `start_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time >= value | +| `start_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time <= value | +| `end_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time >= value. Running executions (no end_time) are excluded; use the status filter to include them. | +| `end_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time <= value. Running executions (no end_time) are excluded; use the status filter to include them. | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by user id. Use 'current' to filter by the authenticated user | +| `workflow_tags` | List[*str*] | :heavy_minus_sign: | Filter to runs of workflows tagged with all listed tags (AND). | +| `include_internal` | *Optional[bool]* | :heavy_minus_sign: | Include runs of internal/technical workflows (e.g. parallel-execution) | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of items per page | +| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Token for the next page of results | +| `search_key` | List[*str*] | :heavy_minus_sign: | Filter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null. | \ No newline at end of file diff --git a/docs/models/listserviceaccountsv1serviceaccountsgetrequest.md b/docs/models/listserviceaccountsv1serviceaccountsgetrequest.md index db108d184..dff896e29 100644 --- a/docs/models/listserviceaccountsv1serviceaccountsgetrequest.md +++ b/docs/models/listserviceaccountsv1serviceaccountsgetrequest.md @@ -3,9 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `workspace_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `offset` | *int* | :heavy_check_mark: | N/A | -| `limit` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `workspace_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `q` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `order` | [Optional[models.SortOrder]](../models/sortorder.md) | :heavy_minus_sign: | Direction to sort a service-account listing by creation time. | +| `offset` | *int* | :heavy_check_mark: | N/A | +| `limit` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/manageddeploymentresponse.md b/docs/models/manageddeploymentresponse.md index be39058e6..450f2f391 100644 --- a/docs/models/manageddeploymentresponse.md +++ b/docs/models/manageddeploymentresponse.md @@ -18,4 +18,6 @@ | `updated_by` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `deployed_by` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `deployed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | -| `is_hardened` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `is_hardened` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `runtime_credential_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `runtime_principal_type` | [OptionalNullable[models.PrincipalType]](../models/principaltype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/managedindexresponse.md b/docs/models/managedindexresponse.md index d7a126658..c0a8b8013 100644 --- a/docs/models/managedindexresponse.md +++ b/docs/models/managedindexresponse.md @@ -9,6 +9,7 @@ Wire representation of a managed index (decoupled from the domain model). | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | `id` | *str* | :heavy_check_mark: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | +| `creator_id` | *str* | :heavy_check_mark: | N/A | | `status` | [models.ManagedIndexStatus](../models/managedindexstatus.md) | :heavy_check_mark: | Lifecycle of an index. Derived, not stored -- see ``managed_index_from_row``. | | `status_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `schema_` | [models.ManagedIndexFields](../models/managedindexfields.md) | :heavy_check_mark: | N/A | diff --git a/docs/models/navigateindexv1ragmanagedindexesindexnamenavigatepostrequest.md b/docs/models/navigateindexv1ragmanagedindexesindexnamenavigatepostrequest.md new file mode 100644 index 000000000..fe54e7dde --- /dev/null +++ b/docs/models/navigateindexv1ragmanagedindexesindexnamenavigatepostrequest.md @@ -0,0 +1,9 @@ +# NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `navigate_request` | [models.NavigateRequest](../models/navigaterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/navigaterequest.md b/docs/models/navigaterequest.md new file mode 100644 index 000000000..5b99a467d --- /dev/null +++ b/docs/models/navigaterequest.md @@ -0,0 +1,13 @@ +# NavigateRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `start_offset` | *int* | :heavy_check_mark: | N/A | +| `end_offset` | *int* | :heavy_check_mark: | N/A | +| `direction` | [models.NavigationDirection](../models/navigationdirection.md) | :heavy_check_mark: | N/A | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/navigationchunkresponse.md b/docs/models/navigationchunkresponse.md new file mode 100644 index 000000000..793af7cc8 --- /dev/null +++ b/docs/models/navigationchunkresponse.md @@ -0,0 +1,19 @@ +# NavigationChunkResponse + +Wire chunk for navigation: same atom fields as search, no rank fields. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `locator` | *str* | :heavy_check_mark: | N/A | +| `start_offset` | *Nullable[int]* | :heavy_check_mark: | N/A | +| `end_offset` | *Nullable[int]* | :heavy_check_mark: | N/A | +| `chunk_type` | *str* | :heavy_check_mark: | N/A | +| `parent_ref` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `content` | *str* | :heavy_check_mark: | N/A | +| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/navigationdirection.md b/docs/models/navigationdirection.md new file mode 100644 index 000000000..397bc828d --- /dev/null +++ b/docs/models/navigationdirection.md @@ -0,0 +1,14 @@ +# NavigationDirection + +## Example Usage + +```python +from mistralai.client.models import NavigationDirection +value: NavigationDirection = "next" +``` + + +## Values + +- `"next"` +- `"previous"` diff --git a/docs/models/navigationresponse.md b/docs/models/navigationresponse.md new file mode 100644 index 000000000..32a3b4f18 --- /dev/null +++ b/docs/models/navigationresponse.md @@ -0,0 +1,10 @@ +# NavigationResponse + +Unranked chunk list in reading order (ascending start_offset). + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `chunks` | List[[models.NavigationChunkResponse](../models/navigationchunkresponse.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/nearestneighbourretriever.md b/docs/models/nearestneighbourretriever.md index df41d5f80..47c7c8018 100644 --- a/docs/models/nearestneighbourretriever.md +++ b/docs/models/nearestneighbourretriever.md @@ -12,4 +12,5 @@ Retrieve document chunks whose embeddings are closest to the query's. | `query` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `query_embedding` | List[*float*] | :heavy_minus_sign: | N/A | | `field` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `filter_` | [OptionalNullable[models.NearestNeighbourRetrieverFilter]](../models/nearestneighbourretrieverfilter.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `filter_` | [OptionalNullable[models.NearestNeighbourRetrieverFilter]](../models/nearestneighbourretrieverfilter.md) | :heavy_minus_sign: | N/A | +| `max_candidates` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/observabilityerrorcode.md b/docs/models/observabilityerrorcode.md index 5ad41a679..678d38861 100644 --- a/docs/models/observabilityerrorcode.md +++ b/docs/models/observabilityerrorcode.md @@ -54,6 +54,8 @@ This is an open enum. Unrecognized values will not fail type checks. - `"PROJECT_NAME_ALREADY_EXISTS"` - `"PIPELINE_CONFIG_NOT_FOUND"` - `"PIPELINE_CONFIG_ALREADY_EXISTS"` +- `"PIPELINE_NOT_FOUND"` +- `"PIPELINE_ALREADY_EXISTS"` - `"SCORER_NOT_FOUND"` - `"SCORER_ALREADY_EXISTS"` - `"SCORER_CONFIG_KIND_MISMATCH"` diff --git a/docs/models/otelfielddefinition.md b/docs/models/otelfielddefinition.md index 5ae1345b3..291cc84f9 100644 --- a/docs/models/otelfielddefinition.md +++ b/docs/models/otelfielddefinition.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `name` | *str* | :heavy_check_mark: | N/A | -| `label` | *str* | :heavy_check_mark: | N/A | -| `type` | [models.OtelFieldDefinitionType](../models/otelfielddefinitiontype.md) | :heavy_check_mark: | N/A | -| `group` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `supported_operators` | List[[models.SupportedOperator](../models/supportedoperator.md)] | :heavy_check_mark: | N/A | -| `supported_aggregations` | List[[models.MetricAggregation](../models/metricaggregation.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `name` | *str* | :heavy_check_mark: | N/A | +| `label` | *str* | :heavy_check_mark: | N/A | +| `type` | [models.OtelFieldDefinitionType](../models/otelfielddefinitiontype.md) | :heavy_check_mark: | N/A | +| `group` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `source_attribute_key` | *OptionalNullable[str]* | :heavy_minus_sign: | Raw OpenTelemetry attribute key this field is projected from, whether a span attribute (e.g. `gen_ai.request.model` for `request_model`) or a resource attribute (e.g. `service.name` for `service_name`). None when the field is a native OTLP field (like `span_name` or `trace_id`) or a nested attribute map (like `span_attributes`). | +| `supported_operators` | List[[models.SupportedOperator](../models/supportedoperator.md)] | :heavy_check_mark: | N/A | +| `supported_aggregations` | List[[models.MetricAggregation](../models/metricaggregation.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/paginatedresultpipeline.md b/docs/models/paginatedresultpipeline.md new file mode 100644 index 000000000..26d820be5 --- /dev/null +++ b/docs/models/paginatedresultpipeline.md @@ -0,0 +1,11 @@ +# PaginatedResultPipeline + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `results` | List[[models.Pipeline](../models/pipeline.md)] | :heavy_minus_sign: | N/A | +| `count` | *int* | :heavy_check_mark: | N/A | +| `next` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `previous` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/pipeline.md b/docs/models/pipeline.md new file mode 100644 index 000000000..41a30f223 --- /dev/null +++ b/docs/models/pipeline.md @@ -0,0 +1,20 @@ +# Pipeline + +Pipeline response schema. Pipelines are hard-deleted — no deleted_at field. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `slug` | *str* | :heavy_check_mark: | N/A | +| `description` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `enabled` | *bool* | :heavy_check_mark: | N/A | +| `creator_id` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `pipeline_configs` | List[[models.PipelineConfig](../models/pipelineconfig.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/pipelineconfig.md b/docs/models/pipelineconfig.md index 3c092f574..f02bd185e 100644 --- a/docs/models/pipelineconfig.md +++ b/docs/models/pipelineconfig.md @@ -12,8 +12,9 @@ | `scope` | [models.PipelineConfigScope](../models/pipelineconfigscope.md) | :heavy_check_mark: | N/A | | `workspace_id` | *str* | :heavy_check_mark: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `pipeline_kind` | [models.PipelineKind](../models/pipelinekind.md) | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | | `enabled` | *bool* | :heavy_check_mark: | N/A | -| `definitions` | List[[models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| `definition` | [models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md) | :heavy_check_mark: | N/A | +| `definitions` | List[[models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/pipelinesresponse.md b/docs/models/pipelinesresponse.md new file mode 100644 index 000000000..3388b230b --- /dev/null +++ b/docs/models/pipelinesresponse.md @@ -0,0 +1,8 @@ +# PipelinesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `pipelines` | [models.PaginatedResultPipeline](../models/paginatedresultpipeline.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/postdatasetrecordsfromspansv1observabilitydatasetsdatasetidimportsfromspanspostrequest.md b/docs/models/postdatasetrecordsfromspansv1observabilitydatasetsdatasetidimportsfromspanspostrequest.md new file mode 100644 index 000000000..503a5bb71 --- /dev/null +++ b/docs/models/postdatasetrecordsfromspansv1observabilitydatasetsdatasetidimportsfromspanspostrequest.md @@ -0,0 +1,9 @@ +# PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `dataset_id` | *str* | :heavy_check_mark: | N/A | +| `import_dataset_from_spans_request` | [models.ImportDatasetFromSpansRequest](../models/importdatasetfromspansrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/principaltype.md b/docs/models/principaltype.md new file mode 100644 index 000000000..9edf6a182 --- /dev/null +++ b/docs/models/principaltype.md @@ -0,0 +1,19 @@ +# PrincipalType + +## Example Usage + +```python +from mistralai.client.models import PrincipalType + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: PrincipalType = "api_key" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"api_key"` +- `"service_account"` +- `"user"` diff --git a/docs/models/readindexv1ragmanagedindexesindexnamereadpostrequest.md b/docs/models/readindexv1ragmanagedindexesindexnamereadpostrequest.md new file mode 100644 index 000000000..93d3a4493 --- /dev/null +++ b/docs/models/readindexv1ragmanagedindexesindexnamereadpostrequest.md @@ -0,0 +1,9 @@ +# ReadIndexV1RagManagedIndexesIndexNameReadPostRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `read_request` | [models.ReadRequest](../models/readrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/readrequest.md b/docs/models/readrequest.md new file mode 100644 index 000000000..657af9de9 --- /dev/null +++ b/docs/models/readrequest.md @@ -0,0 +1,12 @@ +# ReadRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `start_offset` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `end_offset` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/rrfretriever.md b/docs/models/rrfretriever.md new file mode 100644 index 000000000..30f1c21b2 --- /dev/null +++ b/docs/models/rrfretriever.md @@ -0,0 +1,15 @@ +# RRFRetriever + +Fuse child retriever rankings via reciprocal rank fusion. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `type` | *Literal["rrf"]* | :heavy_check_mark: | N/A | +| `retrievers` | List[[models.RRFRetrieverRetriever](../models/rrfretrieverretriever.md)] | :heavy_check_mark: | N/A | +| `weights` | List[*float*] | :heavy_minus_sign: | N/A | +| `rank_constant` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `filter_` | [OptionalNullable[models.RRFRetrieverFilter]](../models/rrfretrieverfilter.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/rrfretrieverfilter.md b/docs/models/rrfretrieverfilter.md new file mode 100644 index 000000000..c7fa02af0 --- /dev/null +++ b/docs/models/rrfretrieverfilter.md @@ -0,0 +1,41 @@ +# RRFRetrieverFilter + + +## Supported Types + +### `models.And` + +```python +value: models.And = /* values here */ +``` + +### `models.Equal` + +```python +value: models.Equal = /* values here */ +``` + +### `models.In` + +```python +value: models.In = /* values here */ +``` + +### `models.Not` + +```python +value: models.Not = /* values here */ +``` + +### `models.Or` + +```python +value: models.Or = /* values here */ +``` + +### `models.Range` + +```python +value: models.Range = /* values here */ +``` + diff --git a/docs/models/retriever.md b/docs/models/rrfretrieverretriever.md similarity index 90% rename from docs/models/retriever.md rename to docs/models/rrfretrieverretriever.md index d5d94a925..16145cf4e 100644 --- a/docs/models/retriever.md +++ b/docs/models/rrfretrieverretriever.md @@ -1,4 +1,4 @@ -# Retriever +# RRFRetrieverRetriever ## Supported Types diff --git a/docs/models/searchrequest.md b/docs/models/searchrequest.md index ecf205805..6b4d32e9d 100644 --- a/docs/models/searchrequest.md +++ b/docs/models/searchrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `retriever` | [models.Retriever](../models/retriever.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `retriever` | [models.SearchRequestRetriever](../models/searchrequestretriever.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/searchrequestretriever.md b/docs/models/searchrequestretriever.md new file mode 100644 index 000000000..047e99abc --- /dev/null +++ b/docs/models/searchrequestretriever.md @@ -0,0 +1,23 @@ +# SearchRequestRetriever + + +## Supported Types + +### `models.KeywordRetriever` + +```python +value: models.KeywordRetriever = /* values here */ +``` + +### `models.NearestNeighbourRetriever` + +```python +value: models.NearestNeighbourRetriever = /* values here */ +``` + +### `models.RRFRetriever` + +```python +value: models.RRFRetriever = /* values here */ +``` + diff --git a/docs/models/sortorder.md b/docs/models/sortorder.md new file mode 100644 index 000000000..0e472dbf4 --- /dev/null +++ b/docs/models/sortorder.md @@ -0,0 +1,16 @@ +# SortOrder + +Direction to sort a service-account listing by creation time. + +## Example Usage + +```python +from mistralai.client.models import SortOrder +value: SortOrder = "asc" +``` + + +## Values + +- `"asc"` +- `"desc"` diff --git a/docs/models/spandatasetmapping.md b/docs/models/spandatasetmapping.md new file mode 100644 index 000000000..3482f35ae --- /dev/null +++ b/docs/models/spandatasetmapping.md @@ -0,0 +1,9 @@ +# SpanDatasetMapping + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `target_field` | *str* | :heavy_check_mark: | Literal top-level key to create in the dataset record payload. | +| `source_field` | [models.SpanDatasetSourceReference](../models/spandatasetsourcereference.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/spandatasetmappingcontract.md b/docs/models/spandatasetmappingcontract.md new file mode 100644 index 000000000..5ffe3b358 --- /dev/null +++ b/docs/models/spandatasetmappingcontract.md @@ -0,0 +1,15 @@ +# SpanDatasetMappingContract + +Mapping rules applied independently to every requested telemetry span. + +Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array +source omits the target key. JSON object and array strings become structured values; +scalar-looking and malformed JSON strings remain strings. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `version` | *Literal[1]* | :heavy_check_mark: | N/A | +| `mappings` | List[[models.SpanDatasetMapping](../models/spandatasetmapping.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/spandatasetsourcenamespace.md b/docs/models/spandatasetsourcenamespace.md new file mode 100644 index 000000000..0af6fb8bd --- /dev/null +++ b/docs/models/spandatasetsourcenamespace.md @@ -0,0 +1,16 @@ +# SpanDatasetSourceNamespace + +Attribute maps that may supply dataset payload values. + +## Example Usage + +```python +from mistralai.client.models import SpanDatasetSourceNamespace +value: SpanDatasetSourceNamespace = "span_attributes" +``` + + +## Values + +- `"span_attributes"` +- `"resource_attributes"` diff --git a/docs/models/spandatasetsourcereference.md b/docs/models/spandatasetsourcereference.md new file mode 100644 index 000000000..bdded12da --- /dev/null +++ b/docs/models/spandatasetsourcereference.md @@ -0,0 +1,9 @@ +# SpanDatasetSourceReference + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `namespace` | [models.SpanDatasetSourceNamespace](../models/spandatasetsourcenamespace.md) | :heavy_check_mark: | Attribute maps that may supply dataset payload values. | +| `key` | *str* | :heavy_check_mark: | Literal attribute dictionary key; dots do not denote a nested path. | \ No newline at end of file diff --git a/docs/models/telemetryspanreference.md b/docs/models/telemetryspanreference.md new file mode 100644 index 000000000..5c1567366 --- /dev/null +++ b/docs/models/telemetryspanreference.md @@ -0,0 +1,11 @@ +# TelemetrySpanReference + +Immutable provenance used to identify a telemetry span. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `trace_id` | *str* | :heavy_check_mark: | N/A | +| `span_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/unhardendeploymentv1workflowsdeploymentsdeploymentidunhardenpostrequest.md b/docs/models/unhardendeploymentv1workflowsdeploymentsdeploymentidunhardenpostrequest.md new file mode 100644 index 000000000..d9afa1e29 --- /dev/null +++ b/docs/models/unhardendeploymentv1workflowsdeploymentsdeploymentidunhardenpostrequest.md @@ -0,0 +1,9 @@ +# UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `deployment_id` | *str* | :heavy_check_mark: | N/A | +| `workspace_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Workspace ID to scope the request to. Defaults to the caller's context. | \ No newline at end of file diff --git a/docs/models/updatepipelineconfigrequest.md b/docs/models/updatepipelineconfigrequest.md index c319b089d..7d0b1ba95 100644 --- a/docs/models/updatepipelineconfigrequest.md +++ b/docs/models/updatepipelineconfigrequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `name` | *str* | :heavy_check_mark: | N/A | -| `pipeline_kind` | [models.PipelineKind](../models/pipelinekind.md) | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | -| `definitions` | List[[models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md)] | :heavy_check_mark: | N/A | -| `enabled` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `pipeline_kind` | [models.PipelineKind](../models/pipelinekind.md) | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definition` | [models.PipelineConfigDefinition](../models/pipelineconfigdefinition.md) | :heavy_check_mark: | N/A | +| `enabled` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatepipelinerequest.md b/docs/models/updatepipelinerequest.md new file mode 100644 index 000000000..edcafcc27 --- /dev/null +++ b/docs/models/updatepipelinerequest.md @@ -0,0 +1,12 @@ +# UpdatePipelineRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definitions` | List[[models.JudgeDefinition](../models/judgedefinition.md)] | :heavy_check_mark: | N/A | +| `enabled` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatepipelinev1observabilitypipelinespipelineidputrequest.md b/docs/models/updatepipelinev1observabilitypipelinespipelineidputrequest.md new file mode 100644 index 000000000..81b72fa4a --- /dev/null +++ b/docs/models/updatepipelinev1observabilitypipelinespipelineidputrequest.md @@ -0,0 +1,9 @@ +# UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `pipeline_id` | *str* | :heavy_check_mark: | N/A | +| `update_pipeline_request` | [models.UpdatePipelineRequest](../models/updatepipelinerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usageinfodollardefs.md b/docs/models/usageinfodollardefs.md index 8e405fc0b..8f1f228d2 100644 --- a/docs/models/usageinfodollardefs.md +++ b/docs/models/usageinfodollardefs.md @@ -12,5 +12,6 @@ | `request_count` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | | `prompt_tokens_details` | [OptionalNullable[models.PromptTokensDetails]](../models/prompttokensdetails.md) | :heavy_minus_sign: | N/A | | `completion_tokens_details` | [OptionalNullable[models.CompletionTokensDetails]](../models/completiontokensdetails.md) | :heavy_minus_sign: | N/A | +| `service_tier` | *OptionalNullable[str]* | :heavy_minus_sign: | The service tier at which the request was processed: standard or priority. | | `prompt_token_details` | [OptionalNullable[models.PromptTokensDetails]](../models/prompttokensdetails.md) | :heavy_minus_sign: | N/A | | `num_cached_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usersapigetidentitysecurity.md b/docs/models/usersapigetidentitysecurity.md index 3c8bc6ca6..06ddff8de 100644 --- a/docs/models/usersapigetidentitysecurity.md +++ b/docs/models/usersapigetidentitysecurity.md @@ -5,4 +5,5 @@ | Field | Type | Required | Description | | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `dashboard_user_context_auth` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `dashboard_user_context_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `bearer_user_context_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usersapilistorganizationssecurity.md b/docs/models/usersapilistorganizationssecurity.md index 49414a0ce..1b3ba57ac 100644 --- a/docs/models/usersapilistorganizationssecurity.md +++ b/docs/models/usersapilistorganizationssecurity.md @@ -5,4 +5,5 @@ | Field | Type | Required | Description | | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `dashboard_user_context_auth` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `dashboard_user_context_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `bearer_user_context_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usersapilistworkspacessecurity.md b/docs/models/usersapilistworkspacessecurity.md index 1c00dffac..477f35e56 100644 --- a/docs/models/usersapilistworkspacessecurity.md +++ b/docs/models/usersapilistworkspacessecurity.md @@ -5,4 +5,5 @@ | Field | Type | Required | Description | | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `dashboard_user_context_auth` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `dashboard_user_context_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `bearer_user_context_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/voicegender.md b/docs/models/voicegender.md new file mode 100644 index 000000000..71e875845 --- /dev/null +++ b/docs/models/voicegender.md @@ -0,0 +1,15 @@ +# VoiceGender + +## Example Usage + +```python +from mistralai.client.models import VoiceGender +value: VoiceGender = "female" +``` + + +## Values + +- `"female"` +- `"male"` +- `"neutral"` diff --git a/docs/models/voicelistpage.md b/docs/models/voicelistpage.md new file mode 100644 index 000000000..2dd88fe03 --- /dev/null +++ b/docs/models/voicelistpage.md @@ -0,0 +1,9 @@ +# VoiceListPage + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `data` | List[[models.VoiceResponse](../models/voiceresponse.md)] | :heavy_check_mark: | N/A | +| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor for the next page, null on the last page | \ No newline at end of file diff --git a/docs/models/workflowexecutioncanceledresponse.md b/docs/models/workflowexecutioncanceledresponse.md index 66037a786..4eed99516 100644 --- a/docs/models/workflowexecutioncanceledresponse.md +++ b/docs/models/workflowexecutioncanceledresponse.md @@ -13,10 +13,10 @@ This is a terminal event indicating the workflow was explicitly canceled. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/workflowexecutioncompletedresponse.md b/docs/models/workflowexecutioncompletedresponse.md index 5b56c61ce..0de369c5c 100644 --- a/docs/models/workflowexecutioncompletedresponse.md +++ b/docs/models/workflowexecutioncompletedresponse.md @@ -13,10 +13,10 @@ This is a terminal event indicating the workflow finished without errors. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/workflowexecutioncontinuedasnewresponse.md b/docs/models/workflowexecutioncontinuedasnewresponse.md index 6155c7b6b..4356869e3 100644 --- a/docs/models/workflowexecutioncontinuedasnewresponse.md +++ b/docs/models/workflowexecutioncontinuedasnewresponse.md @@ -14,10 +14,10 @@ while maintaining logical continuity. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/workflowexecutionfailedresponse.md b/docs/models/workflowexecutionfailedresponse.md index b509a4281..e29f630b1 100644 --- a/docs/models/workflowexecutionfailedresponse.md +++ b/docs/models/workflowexecutionfailedresponse.md @@ -13,10 +13,10 @@ This is a terminal event indicating the workflow ended with an error. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/workflowexecutionstartedresponse.md b/docs/models/workflowexecutionstartedresponse.md index 26a946753..40a9781dd 100644 --- a/docs/models/workflowexecutionstartedresponse.md +++ b/docs/models/workflowexecutionstartedresponse.md @@ -13,10 +13,10 @@ This is the first event in any workflow execution lifecycle. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/workflowsworkerspecupdate.md b/docs/models/workflowsworkerspecupdate.md index c85013c46..f4a50e079 100644 --- a/docs/models/workflowsworkerspecupdate.md +++ b/docs/models/workflowsworkerspecupdate.md @@ -3,10 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `github_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `backend_spec` | [OptionalNullable[models.WorkflowsWorkerSpecUpdateBackendSpec]](../models/workflowsworkerspecupdatebackendspec.md) | :heavy_minus_sign: | Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'. | -| ~~`entrypoint`~~ | *OptionalNullable[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422. | -| ~~`working_dir`~~ | *OptionalNullable[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `github_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `backend_spec` | [OptionalNullable[models.DeploymentMistralCloudBackendSpec]](../models/deploymentmistralcloudbackendspec.md) | :heavy_minus_sign: | Backend-specific configuration for the Mistral Cloud backend. | \ No newline at end of file diff --git a/docs/models/workflowsworkerspecupdatebackendspec.md b/docs/models/workflowsworkerspecupdatebackendspec.md deleted file mode 100644 index a0b7dfede..000000000 --- a/docs/models/workflowsworkerspecupdatebackendspec.md +++ /dev/null @@ -1,17 +0,0 @@ -# WorkflowsWorkerSpecUpdateBackendSpec - - -## Supported Types - -### `models.DeploymentKoyebBackendSpec` - -```python -value: models.DeploymentKoyebBackendSpec = /* values here */ -``` - -### `models.DeploymentK8sBackendSpec` - -```python -value: models.DeploymentK8sBackendSpec = /* values here */ -``` - diff --git a/docs/models/workflowtaskfailedresponse.md b/docs/models/workflowtaskfailedresponse.md index 215cf9f7b..0f7526140 100644 --- a/docs/models/workflowtaskfailedresponse.md +++ b/docs/models/workflowtaskfailedresponse.md @@ -14,10 +14,10 @@ which may trigger a retry depending on configuration. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/models/workflowtasktimedoutresponse.md b/docs/models/workflowtasktimedoutresponse.md index 6922f70a6..77ab3f09e 100644 --- a/docs/models/workflowtasktimedoutresponse.md +++ b/docs/models/workflowtasktimedoutresponse.md @@ -14,10 +14,10 @@ its configured timeout. | `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | | `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | | `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | -| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | -| `chain_run_id` | *Nullable[str]* | :heavy_check_mark: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | -| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `continued_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value. | +| `chain_run_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value. | +| `schedule_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Temporal schedule ID that triggered this execution, if any. | | `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | | `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index 9ecb2fef8..449d90ad7 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -136,7 +136,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]** +**[Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]](../../models/.md)** ### Errors diff --git a/docs/sdks/betaagents/README.md b/docs/sdks/betaagents/README.md index 08819229b..ca1dc5033 100644 --- a/docs/sdks/betaagents/README.md +++ b/docs/sdks/betaagents/README.md @@ -6,7 +6,7 @@ ### Available Operations -* [create](#create) - Create an agent that can be used within a conversation. +* [create](#create) - Create a agent that can be used within a conversation. * [~~list~~](#list) - List agent entities. :warning: **Deprecated** Use [list_pages](docs/sdks/betaagents/README.md#list_pages) instead. * [list_pages](#list_pages) - List agent entities, cursor-paginated. * [get](#get) - Retrieve an agent entity. @@ -114,7 +114,7 @@ with Mistral( ### Response -**List[models.Agent]** +**[List[models.Agent]](../../models/.md)** ### Errors @@ -383,7 +383,7 @@ with Mistral( ### Response -**List[models.Agent]** +**[List[models.Agent]](../../models/.md)** ### Errors @@ -509,7 +509,7 @@ with Mistral( ### Response -**List[models.AgentAliasResponse]** +**[List[models.AgentAliasResponse]](../../models/.md)** ### Errors diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index 78ac004a4..e9bbc68dd 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -43,7 +43,7 @@ with Mistral( | Parameter | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](https://docs.mistral.ai/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](https://docs.mistral.ai/models) for model descriptions. | mistral-large-latest | +| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions. | mistral-large-latest | | `messages` | List[[models.ChatCompletionRequestMessage](../../models/chatcompletionrequestmessage.md)] | :heavy_check_mark: | The prompt(s) to generate completions for, encoded as a list of dict with role and content. | [
{
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence."
}
] | | `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value. | | | `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both. | | @@ -115,7 +115,7 @@ with Mistral( | Parameter | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](https://docs.mistral.ai/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](https://docs.mistral.ai/models) for model descriptions. | mistral-large-latest | +| `model` | *str* | :heavy_check_mark: | ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions. | mistral-large-latest | | `messages` | List[[models.ChatCompletionStreamRequestMessage](../../models/chatcompletionstreamrequestmessage.md)] | :heavy_check_mark: | The prompt(s) to generate completions for, encoded as a list of dict with role and content. | [
{
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence."
}
] | | `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value. | | | `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both. | | @@ -142,7 +142,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]** +**[Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]](../../models/.md)** ### Errors diff --git a/docs/sdks/connectors/README.md b/docs/sdks/connectors/README.md index e1863bcdf..74957a6dd 100644 --- a/docs/sdks/connectors/README.md +++ b/docs/sdks/connectors/README.md @@ -15,7 +15,7 @@ * [unshare_from_organization](#unshare_from_organization) - Unshare a connector from the current organization. * [activate_for_consumer](#activate_for_consumer) - Activate a connector for the given consumer (organization, workspace, user). * [deactivate_for_consumer](#deactivate_for_consumer) - Deactivate a connector for the current consumer (at organization, workspace or user level). -* [call_tool](#call_tool) - Call Connector Tool +* [~~call_tool~~](#call_tool) - Call Connector Tool :warning: **Deprecated** * [list_tools](#list_tools) - List tools for a connector. * [get_authentication_methods](#get_authentication_methods) - Get authentication methods for a connector. * [list_organization_credentials](#list_organization_credentials) - List organization credentials for a connector. @@ -24,9 +24,7 @@ * [delete_all_user_credentials](#delete_all_user_credentials) - Delete all user credentials for a connector. * [create_credentials](#create_credentials) - Create consumer credentials for a connector. * [update_credentials](#update_credentials) - Create or update consumer credentials for a connector. -* [delete_organization_credentials](#delete_organization_credentials) - Delete organization credentials for a connector. -* [delete_workspace_credentials](#delete_workspace_credentials) - Delete workspace credentials for a connector. -* [delete_user_credentials](#delete_user_credentials) - Delete user credentials for a connector. +* [delete_credentials](#delete_credentials) - Delete credentials for a consumer. * [get](#get) - Get a connector. * [update](#update) - Update a connector. * [delete](#delete) - Delete a connector. @@ -414,10 +412,12 @@ with Mistral( | errors.HTTPValidationError | 422 | application/json | | errors.SDKError | 4XX, 5XX | \*/\* | -## call_tool +## ~~call_tool~~ Call a tool on an MCP connector. +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ### Example Usage @@ -474,7 +474,7 @@ with Mistral( api_key=os.getenv("MISTRAL_API_KEY", ""), ) as mistral: - res = mistral.beta.connectors.list_tools(connector_id_or_name="", page=1, page_size=100, refresh=False, pretty=False) + res = mistral.beta.connectors.list_tools(connector_id_or_name="", page_size=100, refresh=False, pretty=False) # Handle response print(res) @@ -486,7 +486,6 @@ with Mistral( | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `page` | *Optional[int]* | :heavy_minus_sign: | N/A | | `page_size` | *Optional[int]* | :heavy_minus_sign: | N/A | | `refresh` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `pretty` | *Optional[bool]* | :heavy_minus_sign: | Return a simplified payload with only name, description, annotations, and a compact inputSchema. | @@ -807,55 +806,13 @@ with Mistral( | errors.HTTPValidationError | 422 | application/json | | errors.SDKError | 4XX, 5XX | \*/\* | -## delete_organization_credentials - -Delete credentials at the organization level for a given connector. - -### Example Usage - - -```python -from mistralai.client import Mistral -import os - - -with Mistral( - api_key=os.getenv("MISTRAL_API_KEY", ""), -) as mistral: - - res = mistral.beta.connectors.delete_organization_credentials(credentials_name="", connector_id_or_name="") - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `credentials_name` | *str* | :heavy_check_mark: | N/A | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.MessageResponse](../../models/messageresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.HTTPValidationError | 422 | application/json | -| errors.SDKError | 4XX, 5XX | \*/\* | - -## delete_workspace_credentials +## delete_credentials -Delete credentials at the workspace level for a given connector. +Delete connector credentials for a given consumer. ### Example Usage - + ```python from mistralai.client import Mistral import os @@ -865,7 +822,7 @@ with Mistral( api_key=os.getenv("MISTRAL_API_KEY", ""), ) as mistral: - res = mistral.beta.connectors.delete_workspace_credentials(credentials_name="", connector_id_or_name="") + res = mistral.beta.connectors.delete_credentials(credentials_name="", connector_id_or_name="", consumer_scope="user") # Handle response print(res) @@ -874,53 +831,12 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `credentials_name` | *str* | :heavy_check_mark: | N/A | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.MessageResponse](../../models/messageresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.HTTPValidationError | 422 | application/json | -| errors.SDKError | 4XX, 5XX | \*/\* | - -## delete_user_credentials - -Delete credentials at the user level for a given connector. - -### Example Usage - - -```python -from mistralai.client import Mistral -import os - - -with Mistral( - api_key=os.getenv("MISTRAL_API_KEY", ""), -) as mistral: - - res = mistral.beta.connectors.delete_user_credentials(credentials_name="", connector_id_or_name="") - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `credentials_name` | *str* | :heavy_check_mark: | N/A | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `credentials_name` | *str* | :heavy_check_mark: | N/A | +| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | +| `consumer_scope` | [models.ConnectorDeleteCredentialsConsumerScope](../../models/connectordeletecredentialsconsumerscope.md) | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -949,7 +865,7 @@ with Mistral( api_key=os.getenv("MISTRAL_API_KEY", ""), ) as mistral: - res = mistral.beta.connectors.get(connector_id_or_name="", fetch_user_data=False, fetch_customer_data=False) + res = mistral.beta.connectors.get(connector_id_or_name="", fetch_user_data=False) # Handle response print(res) @@ -958,12 +874,11 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | -| `fetch_user_data` | *Optional[bool]* | :heavy_minus_sign: | Fetch the user-level data associated with the connector (e.g. connection credentials). | -| `fetch_customer_data` | *Optional[bool]* | :heavy_minus_sign: | Fetch the customer data associated with the connector (e.g. customer secrets / config). | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A | +| `fetch_user_data` | *Optional[bool]* | :heavy_minus_sign: | Fetch the user-level data associated with the connector (e.g. connection credentials). | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/conversations/README.md b/docs/sdks/conversations/README.md index e6c73e23f..63cd80a4a 100644 --- a/docs/sdks/conversations/README.md +++ b/docs/sdks/conversations/README.md @@ -109,7 +109,7 @@ with Mistral( ### Response -**List[models.AgentsAPIV1ConversationsListResponse]** +**[List[models.AgentsAPIV1ConversationsListResponse]](../../models/.md)** ### Errors @@ -437,7 +437,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]** +**[Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]](../../models/.md)** ### Errors @@ -489,7 +489,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]** +**[Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]](../../models/.md)** ### Errors @@ -544,7 +544,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]** +**[Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]](../../models/.md)** ### Errors diff --git a/docs/sdks/datasets/README.md b/docs/sdks/datasets/README.md index b53e3aa30..33ba11244 100644 --- a/docs/sdks/datasets/README.md +++ b/docs/sdks/datasets/README.md @@ -13,6 +13,7 @@ * [create_record](#create_record) - Add a record to the dataset * [import_from_file](#import_from_file) - Populate the dataset with records from an uploaded file * [import_from_playground](#import_from_playground) - Populate the dataset with records from playground conversations +* [import_from_spans](#import_from_spans) - Populate the dataset with records mapped from telemetry spans * [import_from_dataset_records](#import_from_dataset_records) - Populate the dataset with records from another dataset * [export_to_jsonl](#export_to_jsonl) - Export to the Files API and retrieve presigned URL to download the resulting JSONL file * [fetch_task](#fetch_task) - Get status of a dataset import task @@ -404,6 +405,65 @@ with Mistral( | errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | | errors.SDKError | 4XX, 5XX | \*/\* | +## import_from_spans + +Starts an asynchronous import of the requested telemetry spans. References not returned by the tenant-scoped telemetry query are skipped without distinguishing absence from access restrictions. + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.observability.datasets.import_from_spans(dataset_id="fd9efcfd-d8a6-4c7b-82cb-b2f9bde2b4bf", span_references=[ + { + "trace_id": "", + "span_id": "", + }, + ], mapping_contract={ + "version": 1, + "mappings": [ + { + "target_field": "", + "source_field": { + "namespace": "span_attributes", + "key": "", + }, + }, + ], + }) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `dataset_id` | *str* | :heavy_check_mark: | N/A | +| `span_references` | List[[models.TelemetrySpanReference](../../models/telemetryspanreference.md)] | :heavy_check_mark: | Spans to attempt to import; unavailable references are skipped, and trace and span IDs are attached as record properties automatically. | +| `mapping_contract` | [models.SpanDatasetMappingContract](../../models/spandatasetmappingcontract.md) | :heavy_check_mark: | Mapping rules applied independently to every requested telemetry span.

Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array
source omits the target key. JSON object and array strings become structured values;
scalar-looking and malformed JSON strings remain strings. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.DatasetImportTask](../../models/datasetimporttask.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## import_from_dataset_records Populate the dataset with records from another dataset diff --git a/docs/sdks/deployments/README.md b/docs/sdks/deployments/README.md index ebeafe637..d851f1c0c 100644 --- a/docs/sdks/deployments/README.md +++ b/docs/sdks/deployments/README.md @@ -4,6 +4,7 @@ ### Available Operations +* [unharden_deployment](#unharden_deployment) - Unharden Deployment * [list_deployments](#list_deployments) - List Deployments * [create_deployment](#create_deployment) - Create Deployment * [update_deployment](#update_deployment) - Update Deployment @@ -16,6 +17,42 @@ * [get_deployment_logs](#get_deployment_logs) - Get Deployment Logs * [stream_deployment_logs](#stream_deployment_logs) - Stream Deployment Logs +## unharden_deployment + +Unharden Deployment + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + mistral.workflows.deployments.unharden_deployment(deployment_id="f88c4734-ec6d-4ded-bc49-47a41d4be24b") + + # Use the SDK ... + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `deployment_id` | *str* | :heavy_check_mark: | N/A | +| `workspace_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Workspace ID to scope the request to. Defaults to the caller's context. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## list_deployments List Deployments @@ -47,6 +84,7 @@ with Mistral( | `is_hardened` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter deployments by hardened status | | `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `created_by` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter deployments by creator's user id | +| `owner` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter deployments by owner's user id | | `location_types` | List[[models.LocationType](../../models/locationtype.md)] | :heavy_minus_sign: | Filter deployments with at least one worker on any of these location types (OR) | | `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter deployments by name or ID prefix | | `order_by` | [OptionalNullable[models.ListDeploymentsV1WorkflowsDeploymentsGetOrderBy]](../../models/listdeploymentsv1workflowsdeploymentsgetorderby.md) | :heavy_minus_sign: | Field to sort by. When omitted, active and managed deployments are grouped first, then sorted by created_at. When set, results are sorted purely by the specified field with no grouping. | @@ -413,6 +451,9 @@ Retrieve logs for a deployment (across all of its workers). Use `after`/`before`/`order` on the first request to set the time range and sort order; for the next pages pass the `cursor` from the previous response (it remembers the range and order). +`log_type=build` serves the managed build pipeline's output instead. It pages the same way, +and a null `next_cursor` means the window is drained. + ### Example Usage @@ -434,17 +475,18 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `name` | *str* | :heavy_check_mark: | N/A | -| `worker_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by worker name | -| `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by workflow name | -| `after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs at or after this timestamp | -| `before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs before this timestamp | -| `order` | [Optional[models.GetDeploymentLogsOrder]](../../models/getdeploymentlogsorder.md) | :heavy_minus_sign: | First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set. | -| `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Pagination cursor from a previous response's `next_cursor`; carries the window and order | -| `limit` | *Optional[int]* | :heavy_minus_sign: | Maximum number of logs to return | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `log_type` | [Optional[models.DeploymentLogType]](../../models/deploymentlogtype.md) | :heavy_minus_sign: | Which stream to read. 'runtime' is the workers' own logs; 'build' reads the image build output and requires a managed deployment. | +| `worker_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by worker name | +| `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by workflow name | +| `after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs at or after this timestamp | +| `before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs before this timestamp | +| `order` | [Optional[models.GetDeploymentLogsOrder]](../../models/getdeploymentlogsorder.md) | :heavy_minus_sign: | First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set. | +| `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Pagination cursor from a previous response's `next_cursor`; carries the window and order | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Maximum number of logs to return | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/documents/README.md b/docs/sdks/documents/README.md index e7c703076..2a4787d0b 100644 --- a/docs/sdks/documents/README.md +++ b/docs/sdks/documents/README.md @@ -400,7 +400,7 @@ with Mistral( ### Response -**str** +**[str](../../models/responselibrariesdocumentsgetsignedurlv1.md)** ### Errors @@ -442,7 +442,7 @@ with Mistral( ### Response -**str** +**[str](../../models/responselibrariesdocumentsgetextractedtextsignedurlv1.md)** ### Errors diff --git a/docs/sdks/evaluations/README.md b/docs/sdks/evaluations/README.md index 7ecdb5701..5b6c0a608 100644 --- a/docs/sdks/evaluations/README.md +++ b/docs/sdks/evaluations/README.md @@ -9,6 +9,11 @@ * [get_pipeline_config](#get_pipeline_config) - Get a worker pipeline configuration * [update_pipeline_config](#update_pipeline_config) - Replace a worker pipeline configuration * [delete_pipeline_config](#delete_pipeline_config) - Delete a worker pipeline configuration +* [create_pipeline](#create_pipeline) - Create a pipeline +* [list_pipelines](#list_pipelines) - List pipelines +* [get_pipeline](#get_pipeline) - Get a pipeline +* [update_pipeline](#update_pipeline) - Update a pipeline +* [delete_pipeline](#delete_pipeline) - Delete a pipeline ## create_pipeline_config @@ -26,11 +31,9 @@ with Mistral( api_key=os.getenv("MISTRAL_API_KEY", ""), ) as mistral: - res = mistral.beta.observability.evaluations.create_pipeline_config(name="", pipeline_kind="judge", selectors=[], definitions=[ - { - "model": "mistral-moderation-latest", - }, - ], enabled=True) + res = mistral.beta.observability.evaluations.create_pipeline_config(name="", pipeline_kind="judge", selectors=[], definition={ + "slug": "", + }, enabled=True) # Handle response print(res) @@ -39,15 +42,15 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `name` | *str* | :heavy_check_mark: | N/A | -| `pipeline_kind` | [models.PipelineKind](../../models/pipelinekind.md) | :heavy_check_mark: | N/A | -| `selectors` | List[[models.PipelineConfigSelector](../../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | -| `definitions` | List[[models.PipelineConfigDefinition](../../models/pipelineconfigdefinition.md)] | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `pipeline_kind` | [models.PipelineKind](../../models/pipelinekind.md) | :heavy_check_mark: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definition` | [models.PipelineConfigDefinition](../../models/pipelineconfigdefinition.md) | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -162,7 +165,19 @@ with Mistral( api_key=os.getenv("MISTRAL_API_KEY", ""), ) as mistral: - res = mistral.beta.observability.evaluations.update_pipeline_config(pipeline_config_id="4ee75abd-cccd-4232-9858-0c535465bfd5", name="", pipeline_kind="detection", selectors=[], definitions=[], enabled=True) + res = mistral.beta.observability.evaluations.update_pipeline_config(pipeline_config_id="4ee75abd-cccd-4232-9858-0c535465bfd5", name="", pipeline_kind="detection", selectors=[], definition={ + "target_attributes": [ + "", + ], + "patterns": [ + { + "name": "", + "regex": "", + "category": "", + "confidence": "", + }, + ], + }, enabled=True) # Handle response print(res) @@ -171,16 +186,16 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `pipeline_config_id` | *str* | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `pipeline_kind` | [models.PipelineKind](../../models/pipelinekind.md) | :heavy_check_mark: | N/A | -| `selectors` | List[[models.PipelineConfigSelector](../../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | -| `definitions` | List[[models.PipelineConfigDefinition](../../models/pipelineconfigdefinition.md)] | :heavy_check_mark: | N/A | -| `enabled` | *bool* | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `pipeline_config_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `pipeline_kind` | [models.PipelineKind](../../models/pipelinekind.md) | :heavy_check_mark: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definition` | [models.PipelineConfigDefinition](../../models/pipelineconfigdefinition.md) | :heavy_check_mark: | N/A | +| `enabled` | *bool* | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -224,6 +239,226 @@ with Mistral( ### Errors +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## create_pipeline + +Create a pipeline + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.observability.evaluations.create_pipeline(name="", selectors=[], definitions=[ + { + "slug": "", + }, + ], enabled=True) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definitions` | List[[models.JudgeDefinition](../../models/judgedefinition.md)] | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.Pipeline](../../models/pipeline.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## list_pipelines + +List pipelines + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.observability.evaluations.list_pipelines(page_size=50, page=1) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `page` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `q` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.PipelinesResponse](../../models/pipelinesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## get_pipeline + +Get a pipeline + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.observability.evaluations.get_pipeline(pipeline_id="aafed470-377a-4e11-85ec-e5de5b40c79f") + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `pipeline_id` | *str* | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.Pipeline](../../models/pipeline.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## update_pipeline + +Update a pipeline + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.observability.evaluations.update_pipeline(pipeline_id="2c18966b-8d2d-41fb-a02c-9a9bf9df2919", name="", selectors=[ + { + "source_kind": "log", + }, + ], definitions=[], enabled=True) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `pipeline_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `selectors` | List[[models.PipelineConfigSelector](../../models/pipelineconfigselector.md)] | :heavy_check_mark: | N/A | +| `definitions` | List[[models.JudgeDefinition](../../models/judgedefinition.md)] | :heavy_check_mark: | N/A | +| `enabled` | *bool* | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.Pipeline](../../models/pipeline.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## delete_pipeline + +Delete a pipeline + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + mistral.beta.observability.evaluations.delete_pipeline(pipeline_id="eb888b07-60a4-490b-9515-f6b32ee11ccf") + + # Use the SDK ... + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `pipeline_id` | *str* | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Errors + | Error Type | Status Code | Content Type | | ------------------------- | ------------------------- | ------------------------- | | errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | diff --git a/docs/sdks/files/README.md b/docs/sdks/files/README.md index d0e88f2e3..246707073 100644 --- a/docs/sdks/files/README.md +++ b/docs/sdks/files/README.md @@ -222,7 +222,7 @@ with Mistral( ### Response -**httpx.Response** +**[httpx.Response](../../models/.md)** ### Errors diff --git a/docs/sdks/fim/README.md b/docs/sdks/fim/README.md index 573200843..7bf890837 100644 --- a/docs/sdks/fim/README.md +++ b/docs/sdks/fim/README.md @@ -106,7 +106,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]** +**[Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]](../../models/.md)** ### Errors diff --git a/docs/sdks/libraries/README.md b/docs/sdks/libraries/README.md index 874e3f0fb..116fafa6c 100644 --- a/docs/sdks/libraries/README.md +++ b/docs/sdks/libraries/README.md @@ -9,7 +9,7 @@ * [list](#list) - List all libraries you have access to. * [create](#create) - Create a new Library. * [get](#get) - Detailed information about a specific Library. -* [delete](#delete) - Delete a library and all of its documents. +* [delete](#delete) - Delete a library and all of it's document. * [update](#update) - Update a library. * [~~libraries_update_v1~~](#libraries_update_v1) - Update a library. :warning: **Deprecated** diff --git a/docs/sdks/managedindexes/README.md b/docs/sdks/managedindexes/README.md index 17f835081..ce93eac4a 100644 --- a/docs/sdks/managedindexes/README.md +++ b/docs/sdks/managedindexes/README.md @@ -12,6 +12,10 @@ * [ingest_documents](#ingest_documents) - Ingest documents into a managed index * [delete_documents](#delete_documents) - Delete documents from a managed index * [search](#search) - Search a managed index +* [navigate](#navigate) - Navigate to adjacent chunks +* [read](#read) - Read chunks within a span +* [grep](#grep) - Grep for a pattern within a source +* [get_chunk](#get_chunk) - Get a single chunk by id ## create @@ -88,11 +92,14 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `page_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of indexes to return | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor returned as next_page_token by the previous page | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of indexes to return | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor returned as next_page_token by the previous page | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | Case-insensitive substring to match against index names | +| `status` | [OptionalNullable[models.ManagedIndexStatus]](../../models/managedindexstatus.md) | :heavy_minus_sign: | Status to match | +| `creator_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Creator ID to match | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -348,15 +355,196 @@ with Mistral( ### Parameters +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `retriever` | [models.SearchRequestRetriever](../../models/searchrequestretriever.md) | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.SearchResponse](../../models/searchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| errors.HTTPValidationError | 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## navigate + +Returns the chunks adjacent to a position within a source, in reading order. NEXT fetches chunks at or after the end offset; PREVIOUS fetches chunks before the start offset. A 200 with an empty list means the source exists but no chunk falls in the requested direction; a 404 means the source has no chunks at all. + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.rag.managed_indexes.navigate(index_name="", source_id="", start_offset=506558, end_offset=410700, direction="previous", top_k=1, content_type="content") + + # Handle response + print(res) + +``` + +### Parameters + | Parameter | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `index_name` | *str* | :heavy_check_mark: | N/A | -| `retriever` | [models.Retriever](../../models/retriever.md) | :heavy_check_mark: | N/A | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `start_offset` | *int* | :heavy_check_mark: | N/A | +| `end_offset` | *int* | :heavy_check_mark: | N/A | +| `direction` | [models.NavigationDirection](../../models/navigationdirection.md) | :heavy_check_mark: | N/A | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.SearchResponse](../../models/searchresponse.md)** +**[models.NavigationResponse](../../models/navigationresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| errors.HTTPValidationError | 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## read + +Returns the chunks of a source whose span falls within [start_offset, end_offset). Either bound may be omitted to leave that side open. A 200 with an empty list means the source exists but no chunk falls in the range; a 404 means the source has no chunks at all. + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.rag.managed_indexes.read(index_name="", source_id="", top_k=20, content_type="content") + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `start_offset` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `end_offset` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.NavigationResponse](../../models/navigationresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| errors.HTTPValidationError | 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## grep + +Lexical substring match within a single source, in reading order. PHRASE mode matches the pattern literally (whitespace-sensitive, case-insensitive); TERM mode requires every whitespace-split token present in any order. A 200 with an empty list means the source exists but no chunk matched; a 404 means the source has no chunks at all. + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.rag.managed_indexes.grep(index_name="", source_id="", pattern="", top_k=5, content_type="content") + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `pattern` | *str* | :heavy_check_mark: | N/A | +| `mode` | [Optional[models.GrepMode]](../../models/grepmode.md) | :heavy_minus_sign: | N/A | +| `top_k` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.NavigationResponse](../../models/navigationresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| errors.HTTPValidationError | 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## get_chunk + +Returns a single chunk by its canonical id. A 404 means no chunk with that id exists in the index. + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.rag.managed_indexes.get_chunk(index_name="", chunk_id="") + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `chunk_id` | *str* | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.NavigationResponse](../../models/navigationresponse.md)** ### Errors diff --git a/docs/sdks/runs/README.md b/docs/sdks/runs/README.md index 66a407748..fb1ac1d70 100644 --- a/docs/sdks/runs/README.md +++ b/docs/sdks/runs/README.md @@ -35,26 +35,26 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `workflow_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by workflow name or id | -| `root_execution_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by root execution id; returns the whole execution tree (the root and all its descendant sub-workflows). | -| `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Search by workflow name, display name, or ID | -| `status` | [OptionalNullable[models.ListRunsV1WorkflowsRunsGetStatus]](../../models/listrunsv1workflowsrunsgetstatus.md) | :heavy_minus_sign: | Filter by workflow status | -| `deployment_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by deployment name | -| `sort_by` | [OptionalNullable[models.SortBy]](../../models/sortby.md) | :heavy_minus_sign: | Field to sort by | -| `order` | [Optional[models.ListRunsV1WorkflowsRunsGetOrder]](../../models/listrunsv1workflowsrunsgetorder.md) | :heavy_minus_sign: | Sort direction | -| `start_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time >= value | -| `start_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time <= value | -| `end_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time >= value. Running executions (no end_time) are excluded; use the status filter to include them. | -| `end_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time <= value. Running executions (no end_time) are excluded; use the status filter to include them. | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by user id. Use 'current' to filter by the authenticated user | -| `workflow_tags` | List[*str*] | :heavy_minus_sign: | Filter to runs of workflows tagged with all listed tags (AND). | -| `include_internal` | *Optional[bool]* | :heavy_minus_sign: | Include runs of internal/technical workflows (e.g. parallel-execution) | -| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of items per page | -| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Token for the next page of results | -| `search_key` | List[*str*] | :heavy_minus_sign: | Filter executions by search key as repeated 'key:value' entries. Each entry matches an exact key and a similar value; multiple entries are AND'd together (max 3). | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `workflow_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by workflow name or id | +| `root_execution_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by root execution id; returns the whole execution tree (the root and all its descendant sub-workflows). | +| `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Search by workflow name, display name, or ID | +| `status` | [OptionalNullable[models.ListRunsV1WorkflowsRunsGetStatus]](../../models/listrunsv1workflowsrunsgetstatus.md) | :heavy_minus_sign: | Filter by workflow status | +| `deployment_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by deployment name | +| `sort_by` | [OptionalNullable[models.SortBy]](../../models/sortby.md) | :heavy_minus_sign: | Field to sort by | +| `order` | [Optional[models.ListRunsV1WorkflowsRunsGetOrder]](../../models/listrunsv1workflowsrunsgetorder.md) | :heavy_minus_sign: | Sort direction | +| `start_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time >= value | +| `start_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with start_time <= value | +| `end_time_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time >= value. Running executions (no end_time) are excluded; use the status filter to include them. | +| `end_time_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Include runs with end_time <= value. Running executions (no end_time) are excluded; use the status filter to include them. | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by user id. Use 'current' to filter by the authenticated user | +| `workflow_tags` | List[*str*] | :heavy_minus_sign: | Filter to runs of workflows tagged with all listed tags (AND). | +| `include_internal` | *Optional[bool]* | :heavy_minus_sign: | Include runs of internal/technical workflows (e.g. parallel-execution) | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of items per page | +| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Token for the next page of results | +| `search_key` | List[*str*] | :heavy_minus_sign: | Filter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/serviceaccounts/README.md b/docs/sdks/serviceaccounts/README.md index 170cc4960..5c782e397 100644 --- a/docs/sdks/serviceaccounts/README.md +++ b/docs/sdks/serviceaccounts/README.md @@ -65,6 +65,9 @@ Scoped to a workspace, this requires the Workspace admin (`workspace_admin`) rol it. Omitting the workspace lists the whole organization and requires the Organization admin (`organization_admin`) role instead. +``q`` narrows the list to accounts whose name or description contains it. ``order`` +sorts by creation time (ascending by default). + ### Example Usage @@ -94,6 +97,8 @@ with Mistral( | `limit` | *int* | :heavy_check_mark: | N/A | | `workspace_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `q` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `order` | [Optional[models.SortOrder]](../../models/sortorder.md) | :heavy_minus_sign: | Direction to sort a service-account listing by creation time. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/spans/README.md b/docs/sdks/spans/README.md index 5865ef28b..10aa9a19f 100644 --- a/docs/sdks/spans/README.md +++ b/docs/sdks/spans/README.md @@ -6,6 +6,7 @@ * [search_spans](#search_spans) - Search spans * [aggregate](#aggregate) - Aggregate spans +* [aggregate_span_evaluations](#aggregate_span_evaluations) - Aggregate span evaluations * [search_span_evaluations](#search_span_evaluations) - Search span evaluations * [search_latest_span_evaluations](#search_latest_span_evaluations) - Search latest span evaluations * [list_span_fields](#list_span_fields) - Get span field definitions @@ -109,6 +110,57 @@ with Mistral( | errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | | errors.SDKError | 4XX, 5XX | \*/\* | +## aggregate_span_evaluations + +Aggregate span evaluations + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.beta.observability.spans.aggregate_span_evaluations(metric={ + "measure": "", + "aggregation": "max", + }, limit=1000) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `metric` | [models.MetricDefinition](../../models/metricdefinition.md) | :heavy_check_mark: | N/A | +| `from_` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `to` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `dimensions` | List[*str*] | :heavy_minus_sign: | N/A | +| `time_dimension` | [OptionalNullable[models.TimeDimension]](../../models/timedimension.md) | :heavy_minus_sign: | N/A | +| `search_expression` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `order_by` | List[[models.OrderByClause](../../models/orderbyclause.md)] | :heavy_minus_sign: | N/A | +| `limit` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.Aggregation](../../models/aggregation.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.ObservabilityError | 400, 404, 408, 409, 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## search_span_evaluations Search span evaluations diff --git a/docs/sdks/transcriptions/README.md b/docs/sdks/transcriptions/README.md index 7357f9e90..97703c9b4 100644 --- a/docs/sdks/transcriptions/README.md +++ b/docs/sdks/transcriptions/README.md @@ -99,7 +99,7 @@ with Mistral( ### Response -**Union[eventstreaming.EventStream[models.TranscriptionStreamEvents], eventstreaming.EventStreamAsync[models.TranscriptionStreamEvents]]** +**[Union[eventstreaming.EventStream[models.TranscriptionStreamEvents], eventstreaming.EventStreamAsync[models.TranscriptionStreamEvents]]](../../models/.md)** ### Errors diff --git a/docs/sdks/voices/README.md b/docs/sdks/voices/README.md index 9e9705b52..9cce61ba2 100644 --- a/docs/sdks/voices/README.md +++ b/docs/sdks/voices/README.md @@ -4,18 +4,19 @@ ### Available Operations -* [~~list~~](#list) - List all voices :warning: **Deprecated** +* [~~list~~](#list) - List all voices :warning: **Deprecated** Use [search](docs/sdks/voices/README.md#search) instead. * [create](#create) - Create a new voice * [delete](#delete) - Delete a custom voice * [update](#update) - Update voice metadata * [get](#get) - Get voice details * [get_sample_audio](#get_sample_audio) - Get voice sample audio +* [search](#search) - List voices, cursor-paginated ## ~~list~~ Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead. -> :warning: **DEPRECATED**: Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.. +> :warning: **DEPRECATED**: Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.. Use `search` instead. ### Example Usage @@ -272,6 +273,54 @@ with Mistral( ### Errors +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| errors.HTTPValidationError | 422 | application/json | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## search + +List voices, cursor-paginated + +### Example Usage + + +```python +from mistralai.client import Mistral +import os + + +with Mistral( + api_key=os.getenv("MISTRAL_API_KEY", ""), +) as mistral: + + res = mistral.audio.voices.search(page_size=10, type_="all") + + while res is not None: + # Handle items + + res = res.next() + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `page_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of voices to return | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor returned as next_page_token by the previous page | +| `type` | [Optional[models.AudioV2VoicesListType]](../../models/audiov2voiceslisttype.md) | :heavy_minus_sign: | Filter the voices between customs and presets | +| `gender` | List[[models.VoiceGender](../../models/voicegender.md)] | :heavy_minus_sign: | Keep voices matching any of these genders | +| `language` | List[*str*] | :heavy_minus_sign: | Keep voices supporting any of these languages | +| `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Case-insensitive match on voice name | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AudioV2VoicesListResponse](../../models/audiov2voiceslistresponse.md)** + +### Errors + | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.HTTPValidationError | 422 | application/json | diff --git a/examples/mistral/classifier/async_classifier.py b/examples/mistral/classifier/async_classifier.py index 881f6a69a..ce88352e8 100644 --- a/examples/mistral/classifier/async_classifier.py +++ b/examples/mistral/classifier/async_classifier.py @@ -22,7 +22,7 @@ async def upload_files(client: Mistral, file_names: list[str]) -> list[str]: }, purpose="fine-tune", ) - file_ids.append(f.id) + file_ids.append(str(f.id)) print("Files uploaded...") return file_ids diff --git a/examples/mistral/jobs/async_jobs_ocr_batch_annotation.py b/examples/mistral/jobs/async_jobs_ocr_batch_annotation.py index 8ddde775b..0aef4521d 100644 --- a/examples/mistral/jobs/async_jobs_ocr_batch_annotation.py +++ b/examples/mistral/jobs/async_jobs_ocr_batch_annotation.py @@ -4,7 +4,7 @@ import os from typing import List -import httpx +import httpx2 as httpx from pydantic import BaseModel, Field from mistralai.client import Mistral diff --git a/examples/mistral/mcp_servers/sse_server.py b/examples/mistral/mcp_servers/sse_server.py index 66edb98b9..b1c10674d 100644 --- a/examples/mistral/mcp_servers/sse_server.py +++ b/examples/mistral/mcp_servers/sse_server.py @@ -2,13 +2,13 @@ import threading from contextlib import contextmanager -from mcp.server.fastmcp import FastMCP +from mcp.server.mcpserver import MCPServer import logging logging.basicConfig(level=logging.ERROR) -# Initialize FastMCP server -mcp = FastMCP("weather") +# Initialize MCP server +mcp = MCPServer("weather") @mcp.tool() diff --git a/examples/mistral/mcp_servers/stdio_server.py b/examples/mistral/mcp_servers/stdio_server.py index f95ac8dc3..8e31b44e1 100644 --- a/examples/mistral/mcp_servers/stdio_server.py +++ b/examples/mistral/mcp_servers/stdio_server.py @@ -1,11 +1,11 @@ import random -from mcp.server.fastmcp import FastMCP +from mcp.server.mcpserver import MCPServer import logging logging.basicConfig(level=logging.ERROR) -# Initialize FastMCP server -mcp = FastMCP("weather") +# Initialize MCP server +mcp = MCPServer("weather") @mcp.tool() diff --git a/packages/azure/.speakeasy/gen.lock b/packages/azure/.speakeasy/gen.lock index e96be0e1e..2cf9a1c4a 100644 --- a/packages/azure/.speakeasy/gen.lock +++ b/packages/azure/.speakeasy/gen.lock @@ -3,25 +3,25 @@ id: dc40fa48-2c4d-46ad-ac8b-270749770f34 management: docChecksum: e657bc210fa9d8169a75517584cfe478 docVersion: 1.0.0 - speakeasyVersion: 1.763.6 - generationVersion: 2.884.13 + speakeasyVersion: 1.796.4 + generationVersion: 2.935.1 releaseVersion: 2.1.0 - configChecksum: bc26627b24c855835f05b16e35a18296 + configChecksum: 4b4e7c6c507a635ed850e06610340683 repoURL: https://github.com/mistralai/client-python.git repoSubDirectory: packages/azure installationURL: https://github.com/mistralai/client-python.git#subdirectory=packages/azure published: true persistentEdits: - generation_id: f07aab1c-5923-4503-9d5d-a197e421c084 - pristine_commit_hash: b2c9916623e2899cd1ba4d37d480fd6f3661e4b7 - pristine_tree_hash: 01b0cdfce6e0e00a23f9debf094e22c0405a02d9 + generation_id: d61b48ac-b8bb-4ca2-8350-b4a5bb1fa171 + pristine_commit_hash: d08df4229827af5f857fd61aa404959ffb0742f4 + pristine_tree_hash: 2eff64fe2459dddd34bd3d9188914efc67aea538 features: python: - additionalDependencies: 1.0.0 - additionalProperties: 1.0.1 + additionalDependencies: 1.1.0 + additionalProperties: 1.0.2 configurableModuleName: 0.2.0 constsAndDefaults: 1.0.7 - core: 6.0.22 + core: 6.1.2 defaultEnabledRetries: 0.2.0 enumUnions: 0.1.1 envVarSecurityUsage: 0.3.3 @@ -32,23 +32,19 @@ features: globalSecurityFlattening: 1.0.0 globalServerURLs: 3.2.1 includes: 3.0.0 - methodArguments: 1.0.2 + methodArguments: 1.1.1 nameOverrides: 3.0.3 nullables: 1.0.2 openEnums: 1.0.4 operationTimeout: 0.3.1 responseFormat: 1.1.0 - retries: 3.0.5 - sdkHooks: 1.2.1 - serverEvents: 1.0.15 + retries: 3.1.2 + sdkHooks: 1.3.0 + serverEvents: 1.1.1 serverEventsSentinels: 0.1.0 serverIDs: 3.0.0 - unions: 3.1.5 + unions: 3.1.9 trackedFiles: - .gitattributes: - id: 24139dae6567 - last_write_checksum: sha1:53134de3ada576f37c22276901e1b5b6d85cd2da - pristine_git_object: 4d75d59008e4d8609876d263419a9dc56c8d6f3a .vscode/settings.json: id: 89aa447020cd last_write_checksum: sha1:f84632c81029fcdda8c3b0c768d02b836fc80526 @@ -451,52 +447,52 @@ trackedFiles: pristine_git_object: 2ee66cdd592fe41731c24ddd407c8ca31c50aec1 src/mistralai/azure/client/_hooks/sdkhooks.py: id: e9923767446c - last_write_checksum: sha1:ae162d6e73be0eb767c353c815d76b034395d50f - pristine_git_object: 2080681b7f2c52fcb80dcb95eff48654763e6258 + last_write_checksum: sha1:85a09c2ceb03f0a263bbf0e4efa9331db8ab7c12 + pristine_git_object: c4adc3982638e2af17121a6fe02650178012c7c1 src/mistralai/azure/client/_hooks/types.py: id: 07c892e06527 - last_write_checksum: sha1:fde2e0f6da6930232b67682009de520724b23398 - pristine_git_object: 3e4e39555d60adebe84e596c8323ee5b80676fc9 + last_write_checksum: sha1:7358e5d0b5edeb2fa7505b70561a5a0709939eb7 + pristine_git_object: e851b8328fa83243f6eff6e4b837fb2e1c2a51f6 src/mistralai/azure/client/_version.py: id: a77160e60e5d - last_write_checksum: sha1:78ea54afa03d5257fab907e6b9d8b352b6f83580 - pristine_git_object: 4641c83258e80ce3b79400e8cd2f4336d0f92012 + last_write_checksum: sha1:8fb41b82ba2a880e575251697f318c8f62fcd2dd + pristine_git_object: d2dee30aa4c6c8303bd0146b15d96d1981d7218a src/mistralai/azure/client/basesdk.py: id: 5a585a95ec21 - last_write_checksum: sha1:1ad34df596605b1ce2ada8d120223e5c13f7bd9a - pristine_git_object: e08ce351fbd7530d940fcd61c29f33285de91d58 + last_write_checksum: sha1:a6d5dfb0c3ca993fe2861b650c38910861fdb059 + pristine_git_object: 6cbb6dc7ce41952ccf3a4bf4af9a12fdc5f803ec src/mistralai/azure/client/chat.py: id: c18454e628d7 - last_write_checksum: sha1:6f76826ff4e853b3ddd692f5f1b3d5a49cd9b257 - pristine_git_object: e3915c745af0bb1dac79b4fadea9d190b9472c62 + last_write_checksum: sha1:93ef030bd6a60a90fe8c44aa0c28279dff7cafba + pristine_git_object: 608ec88c2a8ccd19f666c96809ced834a1f07c16 src/mistralai/azure/client/errors/__init__.py: id: f377703514d9 last_write_checksum: sha1:36c516c11f8083c3380a72c1d0f0718a3345f24b pristine_git_object: 79e2712c2e62121fb6dbaab15ca8487f0e16b07c src/mistralai/azure/client/errors/httpvalidationerror.py: id: c3ec0ad923e9 - last_write_checksum: sha1:f45b41c1ad980c5d481158209bf23fa795cc68bc - pristine_git_object: b4f2691e630a095ff09fbbce5e2ea3063592084f + last_write_checksum: sha1:1901d79baa88357dca66bf076226fb19c1809d48 + pristine_git_object: 482aa49f29f7e5f94f8bb85396ac9540000784f4 src/mistralai/azure/client/errors/mistralazureerror.py: id: fae868afae89 - last_write_checksum: sha1:25f4411c7411faad753d46118edf74828b1c9f7c - pristine_git_object: c5bf17528c7cf25bac8f8874f58692c601fcdd76 + last_write_checksum: sha1:9c2adae048b1fe63cf8cf0dda9f65907ffeab737 + pristine_git_object: 0e6231e72293f34234f6db02d1ce755ec99f4007 src/mistralai/azure/client/errors/no_response_error.py: id: b838df044e62 last_write_checksum: sha1:7f326424a7d5ae1bcd5c89a0d6b3dbda9138942f pristine_git_object: 1deab64bc43e1e65bf3c412d326a4032ce342366 src/mistralai/azure/client/errors/responsevalidationerror.py: id: 77ac5e93cdda - last_write_checksum: sha1:c1e045dbdda0199bc1d563819c0b38e877d0efef - pristine_git_object: 02397334d2b3bf2516808b69b2548564f650cbe0 + last_write_checksum: sha1:b163157ea1555ebc22f80c9270bb9b49d6cbdbf8 + pristine_git_object: 2053f7f3a456294bb6673ed919f9c08f5bed5c00 src/mistralai/azure/client/errors/sdkerror.py: id: dfdd4b1d8928 - last_write_checksum: sha1:edc2baf6feb199e1b1ff1aad681622b44804299d - pristine_git_object: c4f3616cd2720a9b5d2a2c5b2d22a305629ebbe6 + last_write_checksum: sha1:db08df68749da7df3247189c103d1a8f8e2b7079 + pristine_git_object: 3ae52a227875e945cba9f6e22199cdd51e9f6b30 src/mistralai/azure/client/httpclient.py: id: 60c81037fbd0 - last_write_checksum: sha1:5e55338d6ee9f01ab648cad4380201a8a3da7dd7 - pristine_git_object: 89560b566073785535643e694c112bedbd3db13d + last_write_checksum: sha1:82dd0803e52747313b216da8900313279ecde8b0 + pristine_git_object: 2b2e342b3ec61d354edd6e48b45c02da132b30b1 src/mistralai/azure/client/models/__init__.py: id: "335011330e21" last_write_checksum: sha1:19ab292c86de25adc40cb0f8159cdfa382386e36 @@ -551,8 +547,8 @@ trackedFiles: pristine_git_object: 17efcc7d5825461576cf61257908688cffd23eb7 src/mistralai/azure/client/models/customconnector.py: id: 667abbf974f5 - last_write_checksum: sha1:3a9d4ea0fdb5c94d6849ae34b37786fc514d8084 - pristine_git_object: e7eac82ac40ccbe16e7f15b7130f34a5991f78e1 + last_write_checksum: sha1:f09cb9cec77152f13d2943aa4e855a07b3cb95f3 + pristine_git_object: c9b871c7c4f543e5da494b4c77e5bb0eb97c136c src/mistralai/azure/client/models/deltamessage.py: id: b7dab1d158de last_write_checksum: sha1:1d9f3d87e728503470a62274bf4e14fbb334d0cf @@ -759,8 +755,8 @@ trackedFiles: pristine_git_object: 363e033128fe7eb091280a58d53d0013b2020930 src/mistralai/azure/client/ocr.py: id: 5817c10c9297 - last_write_checksum: sha1:935155cce07869bfed809449223528a892d2577a - pristine_git_object: c4f706a9b197f86183eece46dcc96c2786dfca5c + last_write_checksum: sha1:fffff6f8edc5778263590d3ba236e2b92d5cb895 + pristine_git_object: 3b909306deef04ddb3d84548f59c70e8ebe676f7 src/mistralai/azure/client/py.typed: id: e88369f116d2 last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 @@ -771,24 +767,26 @@ trackedFiles: pristine_git_object: 919225f9bf2e4315f879f0da6c7f8b3e6157bd58 src/mistralai/azure/client/types/__init__.py: id: f79033f78412 - last_write_checksum: sha1:140ebdd01a46f92ffc710c52c958c4eba3cf68ed - pristine_git_object: fc76fe0c5505e29859b5d2bb707d48fd27661b8c + last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9 + pristine_git_object: faa268137bc01c9d08cfadc4797017db48747a96 + src/mistralai/azure/client/types/base64fileinput.py: + last_write_checksum: sha1:1522687ae3398374c35710cad993a6e82b5ab99d src/mistralai/azure/client/types/basemodel.py: id: fd244927c80c last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584 pristine_git_object: a9a640a1a7048736383f96c67c6290c86bf536ee src/mistralai/azure/client/utils/__init__.py: id: 26f1a707325b - last_write_checksum: sha1:3ad22a588864c93bd3a16605f669955b5f3b8053 - pristine_git_object: b488c2df1390b22be3050eee72832a91c76d5385 + last_write_checksum: sha1:d3498c6aa68ea2139b8b4e60a376bcdef261285c + pristine_git_object: 61d8fe13e0b3321464d574f5f382e3d8dd730f46 src/mistralai/azure/client/utils/annotations.py: id: bb1f6c189fdb last_write_checksum: sha1:a4824ad65f730303e4e1e3ec1febf87b4eb46dbc pristine_git_object: 12e0aa4f1151bb52474cc02e88397329b90703f6 src/mistralai/azure/client/utils/datetimes.py: id: 2b7db09ee0ab - last_write_checksum: sha1:c721e4123000e7dc61ec52b28a739439d9e17341 - pristine_git_object: a6c52cd61bbe2d459046c940ce5e8c469f2f0664 + last_write_checksum: sha1:fa47d54c549ff9b95496ce91930fadfb04a36be9 + pristine_git_object: adad24762cf452d137abe94fda0fd26224cef593 src/mistralai/azure/client/utils/dynamic_imports.py: id: 0ac779c122d9 last_write_checksum: sha1:a1940c63feb8eddfd8026de53384baf5056d5dcc @@ -799,20 +797,20 @@ trackedFiles: pristine_git_object: 3324e1bc2668c54c4d5f5a1a845675319757a828 src/mistralai/azure/client/utils/eventstreaming.py: id: bdc37b70360c - last_write_checksum: sha1:620d78a8b4e3b854e08d136e02e40a01a786bd70 - pristine_git_object: 3bdcd6d3d4fc772cb7f5fca8685dcdc8c85e13e8 + last_write_checksum: sha1:050358a6a2e0b60a38a468ac8b6dda6f50e575ce + pristine_git_object: 07fdb309e83902dba525b5de06e90f26358ed8d8 src/mistralai/azure/client/utils/forms.py: id: 51696122c557 - last_write_checksum: sha1:0ca31459b99f761fcc6d0557a0a38daac4ad50f4 - pristine_git_object: 1e550bd5c2c35d977ddc10f49d77c23cb12c158d + last_write_checksum: sha1:dcf527960992b8baef3b21937c7e6c4e652630c0 + pristine_git_object: 193f264960f3014c81d41543b9023c14c44c12e6 src/mistralai/azure/client/utils/headers.py: id: e42840c8cb13 - last_write_checksum: sha1:7c6df233ee006332b566a8afa9ce9a245941d935 - pristine_git_object: 37864cbbbc40d1a47112bbfdd3ba79568fc8818a + last_write_checksum: sha1:95c6f681c381fbe2394354d1dc5279ac28f211c3 + pristine_git_object: be6bacd51ab5f0e8d568c6869c294d20415651cd src/mistralai/azure/client/utils/logger.py: id: 9db88755a137 - last_write_checksum: sha1:f3fdb154a3f09b8cc43d74c7e9c02f899f8086e4 - pristine_git_object: b661aff65d38b77d035149699aea09b2785d2fc6 + last_write_checksum: sha1:db4126f38f4b7d397993ade8a5cdebf7e31d28b5 + pristine_git_object: 695e51418c26cde73c605f07d571ee41dc3b2eb6 src/mistralai/azure/client/utils/metadata.py: id: 44f85bd3b2e2 last_write_checksum: sha1:e703e5cbb5255144aacf86898d1420529afaaff8 @@ -823,36 +821,36 @@ trackedFiles: pristine_git_object: c04e0db82b68eca041f2cb2614d748fbac80fd41 src/mistralai/azure/client/utils/requestbodies.py: id: 1030c47d624d - last_write_checksum: sha1:41e2d2d2d3ecc394c8122ca4d4b85e1c3e03f054 - pristine_git_object: 1de32b6d26f46590232f398fdba6ce0072f1659c + last_write_checksum: sha1:e1fef575283b7fe7fe2ad392dbbb3fb105309124 + pristine_git_object: 591415af8e64baa410627b507d2740afb5387d13 src/mistralai/azure/client/utils/retries.py: id: d50ed6e400b2 - last_write_checksum: sha1:471372f5c5d1dd5583239c9cf3c75f1b636e5d87 - pristine_git_object: af07d4e941007af4213c5ec9047ef8a2fca04e5e + last_write_checksum: sha1:00cfd4e42fbfeac434724fc65130e6abc470fb81 + pristine_git_object: 2ba7ebdc04117216cf2ed907e02a95469d1c1161 src/mistralai/azure/client/utils/security.py: id: 1d35741ce5f1 last_write_checksum: sha1:c11eef495b6aaa249178c24c796940cc540b7a00 pristine_git_object: 42d8d78e9981eed7507670014d99588e27ab325a src/mistralai/azure/client/utils/serializers.py: id: a1f26d73c3ad - last_write_checksum: sha1:61009f2e4ef6613a1a5af813fe020373dae5a492 - pristine_git_object: d2149f8b909cb96628db140ac3cddb1b1e981367 + last_write_checksum: sha1:9a6a4d748f609fb65970d34c4a078ff81d2eaba1 + pristine_git_object: a68f09c77d9284fc374a1c23ccd9dcf467d2c27e src/mistralai/azure/client/utils/unions.py: id: 9abcc9913e3f - last_write_checksum: sha1:6e38049f323e0b5fb4bd0e88ab51ec447197ccb0 - pristine_git_object: a227f4e87be22fce682fcae5813b71835199ec5e + last_write_checksum: sha1:cd6201e6f43c51545a32f5bd4ac9f508e1ba0c29 + pristine_git_object: 2434640235f9607bd894361dcba872ceb5b26533 src/mistralai/azure/client/utils/unmarshal_json_response.py: id: 947f4fc4db62 - last_write_checksum: sha1:75931131ff498a66a48cfb32dd9d5d61f2c9b4d1 - pristine_git_object: fe0c9b8ecabf8f89e363a050837582df40d67fb4 + last_write_checksum: sha1:11d5cd7c72c16311202bc516a7dc61444ee0ab0a + pristine_git_object: 55f9310d20d55b6f640225b32e013c1d855bc2d3 src/mistralai/azure/client/utils/url.py: id: 4976c88d0e3b last_write_checksum: sha1:6479961baa90432ca25626f8e40a7bbc32e73b41 pristine_git_object: c78ccbae426ce6d385709d97ce0b1c2813ea2418 src/mistralai/azure/client/utils/values.py: id: 3974a1553447 - last_write_checksum: sha1:acaa178a7c41ddd000f58cc691e4632d925b2553 - pristine_git_object: dae01a44384ac3bc13ae07453a053bf6c898ebe3 + last_write_checksum: sha1:32e077f9a5ea902f94a50e1f635e943dd44f82e9 + pristine_git_object: 2bba1465bded520b0acc8c51d6ec77d3b601d338 examples: stream_chat: speakeasy-default-stream-chat: diff --git a/packages/azure/.speakeasy/gen.yaml b/packages/azure/.speakeasy/gen.yaml index f59f7edc0..f6b1d5ad9 100644 --- a/packages/azure/.speakeasy/gen.yaml +++ b/packages/azure/.speakeasy/gen.yaml @@ -61,6 +61,7 @@ python: flatteningOrder: parameters-first forwardCompatibleEnumsByDefault: true forwardCompatibleUnionsByDefault: tagged-only + httpClientLibrary: httpx2 imports: option: openapi paths: diff --git a/packages/azure/README-PYPI.md b/packages/azure/README-PYPI.md index 7b71bce3b..df5e818f6 100644 --- a/packages/azure/README-PYPI.md +++ b/packages/azure/README-PYPI.md @@ -325,14 +325,14 @@ if res is not None: ## Custom HTTP Client -The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. +The Python SDK makes API calls using the [httpx2](https://httpx2.pydantic.dev/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocols ensuring that the client has the necessary methods to make API calls. This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly. For example, you could specify a header for every request that this SDK makes as follows: ```python from mistralai.azure.client import MistralAzure -import httpx +import httpx2 as httpx import os http_client = httpx.Client(headers={"x-custom-header": "someValue"}) @@ -349,7 +349,7 @@ or you could wrap the client with your own custom logic: from typing import Any, Optional, Union from mistralai.azure.client import MistralAzure from mistralai.azure.client.httpclient import AsyncHttpClient -import httpx +import httpx2 as httpx class CustomClient(AsyncHttpClient): client: AsyncHttpClient @@ -412,6 +412,9 @@ s = MistralAzure( async_client=CustomClient(httpx.AsyncClient()), ) ``` +### httpx2 + +This SDK is generated against [httpx2](https://httpx2.pydantic.dev/), Pydantic's maintained fork of `httpx`. The fork keeps the same public API, so everything above applies unchanged - `httpx2.Client` and `httpx2.AsyncClient` are what the SDK expects. diff --git a/packages/azure/README.md b/packages/azure/README.md index f1f865f66..ac0da0f01 100644 --- a/packages/azure/README.md +++ b/packages/azure/README.md @@ -325,14 +325,14 @@ if res is not None: ## Custom HTTP Client -The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. +The Python SDK makes API calls using the [httpx2](https://httpx2.pydantic.dev/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocols ensuring that the client has the necessary methods to make API calls. This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly. For example, you could specify a header for every request that this SDK makes as follows: ```python from mistralai.azure.client import MistralAzure -import httpx +import httpx2 as httpx import os http_client = httpx.Client(headers={"x-custom-header": "someValue"}) @@ -349,7 +349,7 @@ or you could wrap the client with your own custom logic: from typing import Any, Optional, Union from mistralai.azure.client import MistralAzure from mistralai.azure.client.httpclient import AsyncHttpClient -import httpx +import httpx2 as httpx class CustomClient(AsyncHttpClient): client: AsyncHttpClient @@ -412,6 +412,9 @@ s = MistralAzure( async_client=CustomClient(httpx.AsyncClient()), ) ``` +### httpx2 + +This SDK is generated against [httpx2](https://httpx2.pydantic.dev/), Pydantic's maintained fork of `httpx`. The fork keeps the same public API, so everything above applies unchanged - `httpx2.Client` and `httpx2.AsyncClient` are what the SDK expects. diff --git a/packages/azure/pyproject.toml b/packages/azure/pyproject.toml index 22eb02801..5ff1ec510 100644 --- a/packages/azure/pyproject.toml +++ b/packages/azure/pyproject.toml @@ -6,8 +6,7 @@ authors = [{ name = "Mistral" }] requires-python = ">=3.10" readme = "README-PYPI.md" dependencies = [ - "httpcore >=1.0.9", - "httpx >=0.28.1", + "httpx2 >=2.13.0", "pydantic >=2.11.2", ] diff --git a/packages/azure/src/mistralai/azure/client/_hooks/sdkhooks.py b/packages/azure/src/mistralai/azure/client/_hooks/sdkhooks.py index 2080681b7..c4adc3982 100644 --- a/packages/azure/src/mistralai/azure/client/_hooks/sdkhooks.py +++ b/packages/azure/src/mistralai/azure/client/_hooks/sdkhooks.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from .types import ( SDKInitHook, BeforeRequestContext, diff --git a/packages/azure/src/mistralai/azure/client/_hooks/types.py b/packages/azure/src/mistralai/azure/client/_hooks/types.py index 3e4e39555..e851b8328 100644 --- a/packages/azure/src/mistralai/azure/client/_hooks/types.py +++ b/packages/azure/src/mistralai/azure/client/_hooks/types.py @@ -1,10 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from abc import ABC, abstractmethod -import httpx +import httpx2 as httpx from mistralai.azure.client.httpclient import HttpClient from mistralai.azure.client.sdkconfiguration import SDKConfiguration -from typing import Any, Callable, List, Optional, Tuple, Union +from typing import Any, Callable, Dict, List, Optional, Tuple, Union class HookContext: @@ -13,6 +13,8 @@ class HookContext: operation_id: str oauth2_scopes: Optional[List[str]] = None security_source: Optional[Union[Any, Callable[[], Any]]] = None + tags: Optional[List[str]] = None + extensions: Optional[Dict[str, Any]] = None def __init__( self, @@ -21,12 +23,16 @@ def __init__( operation_id: str, oauth2_scopes: Optional[List[str]], security_source: Optional[Union[Any, Callable[[], Any]]], + tags: Optional[List[str]], + extensions: Optional[Dict[str, Any]], ): self.config = config self.base_url = base_url self.operation_id = operation_id self.oauth2_scopes = oauth2_scopes self.security_source = security_source + self.tags = tags + self.extensions = extensions class BeforeRequestContext(HookContext): @@ -37,6 +43,8 @@ def __init__(self, hook_ctx: HookContext): hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source, + hook_ctx.tags, + hook_ctx.extensions, ) @@ -48,6 +56,8 @@ def __init__(self, hook_ctx: HookContext): hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source, + hook_ctx.tags, + hook_ctx.extensions, ) @@ -59,6 +69,8 @@ def __init__(self, hook_ctx: HookContext): hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source, + hook_ctx.tags, + hook_ctx.extensions, ) diff --git a/packages/azure/src/mistralai/azure/client/_version.py b/packages/azure/src/mistralai/azure/client/_version.py index 4641c8325..d2dee30aa 100644 --- a/packages/azure/src/mistralai/azure/client/_version.py +++ b/packages/azure/src/mistralai/azure/client/_version.py @@ -5,8 +5,8 @@ __title__: str = "mistralai-azure" __version__: str = "2.1.0" __openapi_doc_version__: str = "1.0.0" -__gen_version__: str = "2.884.13" -__user_agent__: str = "speakeasy-sdk/python 2.1.0 2.884.13 1.0.0 mistralai-azure" +__gen_version__: str = "2.935.1" +__user_agent__: str = "speakeasy-sdk/python 2.1.0 2.935.1 1.0.0 mistralai-azure" try: if __package__ is not None: diff --git a/packages/azure/src/mistralai/azure/client/basesdk.py b/packages/azure/src/mistralai/azure/client/basesdk.py index e08ce351f..6cbb6dc7c 100644 --- a/packages/azure/src/mistralai/azure/client/basesdk.py +++ b/packages/azure/src/mistralai/azure/client/basesdk.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .sdkconfiguration import SDKConfiguration -import httpx +import httpx2 as httpx from mistralai.azure.client import errors, utils from mistralai.azure.client._hooks import ( AfterErrorContext, diff --git a/packages/azure/src/mistralai/azure/client/chat.py b/packages/azure/src/mistralai/azure/client/chat.py index e3915c745..608ec88c2 100644 --- a/packages/azure/src/mistralai/azure/client/chat.py +++ b/packages/azure/src/mistralai/azure/client/chat.py @@ -6,7 +6,7 @@ from mistralai.azure.client.types import OptionalNullable, UNSET from mistralai.azure.client.utils import eventstreaming from mistralai.azure.client.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union +from typing import Any, Dict, Iterable, List, Mapping, Optional, Union class Chat(BaseSDK): @@ -16,8 +16,8 @@ def stream( self, *, messages: Union[ - List[models.ChatCompletionStreamRequestMessage], - List[models.ChatCompletionStreamRequestMessageTypedDict], + Iterable[models.ChatCompletionStreamRequestMessage], + Iterable[models.ChatCompletionStreamRequestMessageTypedDict], ], model: Optional[str] = "azureai", temperature: OptionalNullable[float] = UNSET, @@ -31,14 +31,14 @@ def stream( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionStreamRequestTool], - List[models.ChatCompletionStreamRequestToolTypedDict], + Iterable[models.ChatCompletionStreamRequestTool], + Iterable[models.ChatCompletionStreamRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -57,7 +57,10 @@ def stream( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -114,9 +117,11 @@ def stream( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionStreamRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionStreamRequestMessage] ), @@ -179,6 +184,8 @@ def stream( operation_id="stream_chat", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -190,7 +197,9 @@ def stream( if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStream( http_res, - lambda raw: utils.unmarshal_json(raw, models.CompletionEvent), + lambda raw: unmarshal_json_response( + models.CompletionEvent, http_res, raw + ), sentinel="[DONE]", client_ref=self, ) @@ -214,8 +223,8 @@ async def stream_async( self, *, messages: Union[ - List[models.ChatCompletionStreamRequestMessage], - List[models.ChatCompletionStreamRequestMessageTypedDict], + Iterable[models.ChatCompletionStreamRequestMessage], + Iterable[models.ChatCompletionStreamRequestMessageTypedDict], ], model: Optional[str] = "azureai", temperature: OptionalNullable[float] = UNSET, @@ -229,14 +238,14 @@ async def stream_async( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionStreamRequestTool], - List[models.ChatCompletionStreamRequestToolTypedDict], + Iterable[models.ChatCompletionStreamRequestTool], + Iterable[models.ChatCompletionStreamRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -255,7 +264,10 @@ async def stream_async( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -312,9 +324,11 @@ async def stream_async( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionStreamRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionStreamRequestMessage] ), @@ -377,6 +391,8 @@ async def stream_async( operation_id="stream_chat", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -388,7 +404,9 @@ async def stream_async( if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStreamAsync( http_res, - lambda raw: utils.unmarshal_json(raw, models.CompletionEvent), + lambda raw: unmarshal_json_response( + models.CompletionEvent, http_res, raw + ), sentinel="[DONE]", client_ref=self, ) @@ -412,8 +430,8 @@ def complete( self, *, messages: Union[ - List[models.ChatCompletionRequestMessage], - List[models.ChatCompletionRequestMessageTypedDict], + Iterable[models.ChatCompletionRequestMessage], + Iterable[models.ChatCompletionRequestMessageTypedDict], ], model: Optional[str] = "azureai", temperature: OptionalNullable[float] = UNSET, @@ -427,14 +445,14 @@ def complete( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionRequestTool], - List[models.ChatCompletionRequestToolTypedDict], + Iterable[models.ChatCompletionRequestTool], + Iterable[models.ChatCompletionRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -453,7 +471,10 @@ def complete( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -508,9 +529,11 @@ def complete( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionRequestMessage] ), @@ -573,6 +596,8 @@ def complete( operation_id="chat_completion_v1_chat_completions_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -600,8 +625,8 @@ async def complete_async( self, *, messages: Union[ - List[models.ChatCompletionRequestMessage], - List[models.ChatCompletionRequestMessageTypedDict], + Iterable[models.ChatCompletionRequestMessage], + Iterable[models.ChatCompletionRequestMessageTypedDict], ], model: Optional[str] = "azureai", temperature: OptionalNullable[float] = UNSET, @@ -615,14 +640,14 @@ async def complete_async( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionRequestTool], - List[models.ChatCompletionRequestToolTypedDict], + Iterable[models.ChatCompletionRequestTool], + Iterable[models.ChatCompletionRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -641,7 +666,10 @@ async def complete_async( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -696,9 +724,11 @@ async def complete_async( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionRequestMessage] ), @@ -761,6 +791,8 @@ async def complete_async( operation_id="chat_completion_v1_chat_completions_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), diff --git a/packages/azure/src/mistralai/azure/client/errors/httpvalidationerror.py b/packages/azure/src/mistralai/azure/client/errors/httpvalidationerror.py index b4f2691e6..482aa49f2 100644 --- a/packages/azure/src/mistralai/azure/client/errors/httpvalidationerror.py +++ b/packages/azure/src/mistralai/azure/client/errors/httpvalidationerror.py @@ -2,7 +2,7 @@ from __future__ import annotations from dataclasses import dataclass, field -import httpx +import httpx2 as httpx from mistralai.azure.client.errors import MistralAzureError from mistralai.azure.client.models import validationerror as models_validationerror from mistralai.azure.client.types import BaseModel diff --git a/packages/azure/src/mistralai/azure/client/errors/mistralazureerror.py b/packages/azure/src/mistralai/azure/client/errors/mistralazureerror.py index c5bf17528..0e6231e72 100644 --- a/packages/azure/src/mistralai/azure/client/errors/mistralazureerror.py +++ b/packages/azure/src/mistralai/azure/client/errors/mistralazureerror.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass, field diff --git a/packages/azure/src/mistralai/azure/client/errors/responsevalidationerror.py b/packages/azure/src/mistralai/azure/client/errors/responsevalidationerror.py index 02397334d..2053f7f3a 100644 --- a/packages/azure/src/mistralai/azure/client/errors/responsevalidationerror.py +++ b/packages/azure/src/mistralai/azure/client/errors/responsevalidationerror.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass diff --git a/packages/azure/src/mistralai/azure/client/errors/sdkerror.py b/packages/azure/src/mistralai/azure/client/errors/sdkerror.py index c4f3616cd..3ae52a227 100644 --- a/packages/azure/src/mistralai/azure/client/errors/sdkerror.py +++ b/packages/azure/src/mistralai/azure/client/errors/sdkerror.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass diff --git a/packages/azure/src/mistralai/azure/client/httpclient.py b/packages/azure/src/mistralai/azure/client/httpclient.py index 89560b566..2b2e342b3 100644 --- a/packages/azure/src/mistralai/azure/client/httpclient.py +++ b/packages/azure/src/mistralai/azure/client/httpclient.py @@ -3,7 +3,7 @@ # pyright: reportReturnType = false import asyncio from typing_extensions import Protocol, runtime_checkable -import httpx +import httpx2 as httpx from typing import Any, Optional, Union diff --git a/packages/azure/src/mistralai/azure/client/models/customconnector.py b/packages/azure/src/mistralai/azure/client/models/customconnector.py index e7eac82ac..c9b871c7c 100644 --- a/packages/azure/src/mistralai/azure/client/models/customconnector.py +++ b/packages/azure/src/mistralai/azure/client/models/customconnector.py @@ -13,7 +13,7 @@ ) from mistralai.azure.client.utils import validate_const import pydantic -from pydantic import Field, model_serializer +from pydantic import Field, SerializeAsAny, model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -44,7 +44,7 @@ class CustomConnector(BaseModel): pydantic.Field(alias="type"), ] = "connector" - authorization: OptionalNullable[Authorization] = UNSET + authorization: SerializeAsAny[OptionalNullable[Authorization]] = UNSET tool_configuration: OptionalNullable[ToolConfiguration] = UNSET diff --git a/packages/azure/src/mistralai/azure/client/ocr.py b/packages/azure/src/mistralai/azure/client/ocr.py index c4f706a9b..3b909306d 100644 --- a/packages/azure/src/mistralai/azure/client/ocr.py +++ b/packages/azure/src/mistralai/azure/client/ocr.py @@ -72,7 +72,7 @@ def process( request = models.OCRRequest( model=model, document=utils.get_pydantic_model(document, models.Document), - pages=pages, + pages=utils.unmarshal(pages, OptionalNullable[models.Pages]), include_image_base64=include_image_base64, image_limit=image_limit, image_min_size=image_min_size, @@ -124,6 +124,8 @@ def process( operation_id="ocr_v1_ocr_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["ocr"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -210,7 +212,7 @@ async def process_async( request = models.OCRRequest( model=model, document=utils.get_pydantic_model(document, models.Document), - pages=pages, + pages=utils.unmarshal(pages, OptionalNullable[models.Pages]), include_image_base64=include_image_base64, image_limit=image_limit, image_min_size=image_min_size, @@ -262,6 +264,8 @@ async def process_async( operation_id="ocr_v1_ocr_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["ocr"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), diff --git a/packages/azure/src/mistralai/azure/client/sdk.py b/packages/azure/src/mistralai/azure/client/sdk.py index 3203463e7..9ae8cb327 100644 --- a/packages/azure/src/mistralai/azure/client/sdk.py +++ b/packages/azure/src/mistralai/azure/client/sdk.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from .utils.logger import Logger, get_default_logger from .utils.retries import RetryConfig -import httpx +import httpx2 as httpx import importlib import logging from mistralai.azure.client import models, utils @@ -70,7 +70,7 @@ def __init__( elif api_version != "2024-05-01-preview": warnings.warn( "api_version is ignored when a custom client is provided. " - "Set the api-version query parameter on your httpx.Client directly.", + "Set the api-version query parameter on your httpx2.Client directly.", stacklevel=2, ) @@ -88,7 +88,7 @@ def __init__( elif api_version != "2024-05-01-preview": warnings.warn( "api_version is ignored when a custom async_client is provided. " - "Set the api-version query parameter on your httpx.AsyncClient directly.", + "Set the api-version query parameter on your httpx2.AsyncClient directly.", stacklevel=2, ) diff --git a/packages/azure/src/mistralai/azure/client/types/__init__.py b/packages/azure/src/mistralai/azure/client/types/__init__.py index fc76fe0c5..faa268137 100644 --- a/packages/azure/src/mistralai/azure/client/types/__init__.py +++ b/packages/azure/src/mistralai/azure/client/types/__init__.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +from .base64fileinput import Base64EncodedString, Base64FileInput from .basemodel import ( BaseModel, Nullable, @@ -11,6 +12,8 @@ ) __all__ = [ + "Base64EncodedString", + "Base64FileInput", "BaseModel", "Nullable", "OptionalNullable", diff --git a/packages/azure/src/mistralai/azure/client/types/base64fileinput.py b/packages/azure/src/mistralai/azure/client/types/base64fileinput.py new file mode 100644 index 000000000..862566fe2 --- /dev/null +++ b/packages/azure/src/mistralai/azure/client/types/base64fileinput.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations + +import base64 +import io +from os import PathLike +from typing import IO, Any, Union + +from pydantic.functional_validators import BeforeValidator +from typing_extensions import Annotated + + +Base64FileInput = Union[IO[bytes], PathLike[str]] + + +def encode_base64_file_input(value: Any) -> Any: + """Convert PathLike or IO[bytes] inputs to a base64 string. All standard binary streams + that inherit from io.IOBase are handled. Other values pass through. + """ + if isinstance(value, (PathLike, io.IOBase)): + if isinstance(value, PathLike): + with open(value, "rb") as fh: + binary = fh.read() + else: + # Restore position after reading: pydantic may validate the same stream more than once. + position = value.tell() if value.seekable() else None + binary = value.read() + if position is not None: + value.seek(position) + if isinstance(binary, str): + binary = binary.encode() + if not isinstance(binary, (bytes, bytearray)): + raise TypeError( + f"Base64FileInput expected binary IO returning bytes; got {type(binary).__name__}" + ) + return base64.b64encode(binary).decode("ascii") + return value + + +# Non-str inputs are converted to base64 by the BeforeValidator at construction time. +# Callers can also pass a pre-encoded base64 str. +Base64EncodedString = Annotated[str, BeforeValidator(encode_base64_file_input)] diff --git a/packages/azure/src/mistralai/azure/client/utils/__init__.py b/packages/azure/src/mistralai/azure/client/utils/__init__.py index b488c2df1..61d8fe13e 100644 --- a/packages/azure/src/mistralai/azure/client/utils/__init__.py +++ b/packages/azure/src/mistralai/azure/client/utils/__init__.py @@ -15,7 +15,7 @@ async def run_sync_in_thread(func: Callable[..., _T], *args) -> _T: if TYPE_CHECKING: from .annotations import get_discriminator - from .datetimes import parse_datetime + from .datetimes import parse_datetime, parse_duration from .enums import OpenEnumMeta from .unions import parse_open_union from .headers import get_headers, get_response_headers @@ -71,6 +71,7 @@ async def run_sync_in_thread(func: Callable[..., _T], *args) -> _T: "get_default_logger", "get_discriminator", "parse_datetime", + "parse_duration", "get_global_from_env", "get_headers", "get_pydantic_model", @@ -124,6 +125,7 @@ async def run_sync_in_thread(func: Callable[..., _T], *args) -> _T: "get_default_logger": ".logger", "get_discriminator": ".annotations", "parse_datetime": ".datetimes", + "parse_duration": ".datetimes", "get_global_from_env": ".values", "get_headers": ".headers", "get_pydantic_model": ".serializers", diff --git a/packages/azure/src/mistralai/azure/client/utils/datetimes.py b/packages/azure/src/mistralai/azure/client/utils/datetimes.py index a6c52cd61..adad24762 100644 --- a/packages/azure/src/mistralai/azure/client/utils/datetimes.py +++ b/packages/azure/src/mistralai/azure/client/utils/datetimes.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -from datetime import datetime +from datetime import datetime, timedelta import sys +from pydantic import TypeAdapter + def parse_datetime(datetime_string: str) -> datetime: """ @@ -21,3 +23,15 @@ def parse_datetime(datetime_string: str) -> datetime: datetime_string = datetime_string[:-1] + "+00:00" return datetime.fromisoformat(datetime_string) + + +_DURATION_ADAPTER = TypeAdapter(timedelta) + + +def parse_duration(duration_string: str) -> timedelta: + """ + Convert an ISO 8601 duration string (e.g. "PT1H30M") into a timedelta. + The standard library has no ISO 8601 duration parser, so this delegates to + pydantic, which is already a runtime dependency of the SDK. + """ + return _DURATION_ADAPTER.validate_python(duration_string) diff --git a/packages/azure/src/mistralai/azure/client/utils/eventstreaming.py b/packages/azure/src/mistralai/azure/client/utils/eventstreaming.py index 3bdcd6d3d..07fdb309e 100644 --- a/packages/azure/src/mistralai/azure/client/utils/eventstreaming.py +++ b/packages/azure/src/mistralai/azure/client/utils/eventstreaming.py @@ -7,13 +7,14 @@ Any, Callable, Generic, + List, TypeVar, Optional, Generator, AsyncGenerator, Tuple, ) -import httpx +import httpx2 as httpx T = TypeVar("T") @@ -53,6 +54,9 @@ def __enter__(self): return self def __exit__(self, exc_type, exc_val, exc_tb): + self.close() + + def close(self): self._closed = True self.response.close() @@ -92,6 +96,9 @@ async def __aenter__(self): return self async def __aexit__(self, exc_type, exc_val, exc_tb): + await self.close() + + async def close(self): self._closed = True await self.response.aclose() @@ -114,6 +121,7 @@ class ServerEvent: b"\n\r", b"\n\n", ] +MAX_BOUNDARY_LEN = max(len(b) for b in MESSAGE_BOUNDARIES) UTF8_BOM = b"\xef\xbb\xbf" @@ -124,52 +132,56 @@ async def stream_events_async( sentinel: Optional[str] = None, data_required: bool = True, ) -> AsyncGenerator[T, None]: - buffer = bytearray() - position = 0 - event_id: Optional[str] = None - async for chunk in response.aiter_bytes(): - if len(buffer) == 0 and chunk.startswith(UTF8_BOM): - chunk = chunk[len(UTF8_BOM) :] - buffer += chunk - for i in range(position, len(buffer)): - char = buffer[i : i + 1] - seq: Optional[bytes] = None - if char in [b"\r", b"\n"]: - for boundary in MESSAGE_BOUNDARIES: - seq = _peek_sequence(i, buffer, boundary) - if seq is not None: - break - if seq is None: - continue - - block = buffer[position:i] - position = i + len(seq) - event, discard, event_id = _parse_event( - raw=block, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event - if discard: - await response.aclose() - return - - if position > 0: - buffer = buffer[position:] - position = 0 - - event, discard, _ = _parse_event( - raw=buffer, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event + try: + buffer = bytearray() + position = 0 + event_id: Optional[str] = None + async for chunk in response.aiter_bytes(): + if len(buffer) == 0 and chunk.startswith(UTF8_BOM): + chunk = chunk[len(UTF8_BOM) :] + old_len = len(buffer) + buffer += chunk + search_start = max(position, old_len - MAX_BOUNDARY_LEN + 1) + for i in range(search_start, len(buffer)): + char = buffer[i : i + 1] + seq: Optional[bytes] = None + if char in [b"\r", b"\n"]: + for boundary in MESSAGE_BOUNDARIES: + seq = _peek_sequence(i, buffer, boundary) + if seq is not None: + break + if seq is None: + continue + + block = buffer[position:i] + position = i + len(seq) + event, discard, event_id = _parse_event( + raw=block, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + if discard: + return + + if position > 0: + buffer = buffer[position:] + position = 0 + + event, discard, _ = _parse_event( + raw=buffer, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + finally: + await response.aclose() def stream_events( @@ -178,52 +190,56 @@ def stream_events( sentinel: Optional[str] = None, data_required: bool = True, ) -> Generator[T, None, None]: - buffer = bytearray() - position = 0 - event_id: Optional[str] = None - for chunk in response.iter_bytes(): - if len(buffer) == 0 and chunk.startswith(UTF8_BOM): - chunk = chunk[len(UTF8_BOM) :] - buffer += chunk - for i in range(position, len(buffer)): - char = buffer[i : i + 1] - seq: Optional[bytes] = None - if char in [b"\r", b"\n"]: - for boundary in MESSAGE_BOUNDARIES: - seq = _peek_sequence(i, buffer, boundary) - if seq is not None: - break - if seq is None: - continue - - block = buffer[position:i] - position = i + len(seq) - event, discard, event_id = _parse_event( - raw=block, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event - if discard: - response.close() - return - - if position > 0: - buffer = buffer[position:] - position = 0 - - event, discard, _ = _parse_event( - raw=buffer, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event + try: + buffer = bytearray() + position = 0 + event_id: Optional[str] = None + for chunk in response.iter_bytes(): + if len(buffer) == 0 and chunk.startswith(UTF8_BOM): + chunk = chunk[len(UTF8_BOM) :] + old_len = len(buffer) + buffer += chunk + search_start = max(position, old_len - MAX_BOUNDARY_LEN + 1) + for i in range(search_start, len(buffer)): + char = buffer[i : i + 1] + seq: Optional[bytes] = None + if char in [b"\r", b"\n"]: + for boundary in MESSAGE_BOUNDARIES: + seq = _peek_sequence(i, buffer, boundary) + if seq is not None: + break + if seq is None: + continue + + block = buffer[position:i] + position = i + len(seq) + event, discard, event_id = _parse_event( + raw=block, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + if discard: + return + + if position > 0: + buffer = buffer[position:] + position = 0 + + event, discard, _ = _parse_event( + raw=buffer, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + finally: + response.close() def _parse_event( @@ -238,7 +254,7 @@ def _parse_event( lines = re.split(r"\r?\n|\r", block) publish = False event = ServerEvent() - data = "" + data_parts: List[str] = [] for line in lines: if not line: continue @@ -259,7 +275,7 @@ def _parse_event( event.event = value publish = True elif field == "data": - data += value + "\n" + data_parts.append(value) publish = True elif field == "id": publish = True @@ -271,16 +287,17 @@ def _parse_event( publish = True event.id = event_id + has_data = bool(data_parts) + data = "\n".join(data_parts) - if sentinel and data == f"{sentinel}\n": + if sentinel and has_data and data == sentinel: return None, True, event_id # Skip data-less events when data is required - if not data and publish and data_required: + if not has_data and publish and data_required: return None, False, event_id - if data: - data = data[:-1] + if has_data: try: event.data = json.loads(data) except json.JSONDecodeError: @@ -291,7 +308,7 @@ def _parse_event( out_dict = { k: v for k, v in asdict(event).items() - if v is not None or (k == "data" and data) + if v is not None or (k == "data" and has_data) } out = decoder(json.dumps(out_dict)) diff --git a/packages/azure/src/mistralai/azure/client/utils/forms.py b/packages/azure/src/mistralai/azure/client/utils/forms.py index 1e550bd5c..193f26496 100644 --- a/packages/azure/src/mistralai/azure/client/utils/forms.py +++ b/packages/azure/src/mistralai/azure/client/utils/forms.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +import io from typing import ( Any, Dict, @@ -103,6 +104,10 @@ def _extract_file_properties(file_obj: Any) -> Tuple[str, Any, Any]: if file_metadata.content: content = getattr(file_obj, file_field_name, None) + if isinstance(content, io.TextIOBase): + content = content.read().encode( + getattr(content, "encoding", None) or "utf-8" + ) elif file_field_name == "content_type": content_type = getattr(file_obj, file_field_name, None) else: diff --git a/packages/azure/src/mistralai/azure/client/utils/headers.py b/packages/azure/src/mistralai/azure/client/utils/headers.py index 37864cbbb..be6bacd51 100644 --- a/packages/azure/src/mistralai/azure/client/utils/headers.py +++ b/packages/azure/src/mistralai/azure/client/utils/headers.py @@ -6,7 +6,7 @@ List, Optional, ) -from httpx import Headers +from httpx2 import Headers from pydantic import BaseModel from pydantic.fields import FieldInfo diff --git a/packages/azure/src/mistralai/azure/client/utils/logger.py b/packages/azure/src/mistralai/azure/client/utils/logger.py index b661aff65..695e51418 100644 --- a/packages/azure/src/mistralai/azure/client/utils/logger.py +++ b/packages/azure/src/mistralai/azure/client/utils/logger.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Any, Protocol diff --git a/packages/azure/src/mistralai/azure/client/utils/requestbodies.py b/packages/azure/src/mistralai/azure/client/utils/requestbodies.py index 1de32b6d2..591415af8 100644 --- a/packages/azure/src/mistralai/azure/client/utils/requestbodies.py +++ b/packages/azure/src/mistralai/azure/client/utils/requestbodies.py @@ -46,6 +46,7 @@ def serialize_request_body( if re.match(r"^(application|text)\/([^+]+\+)*json.*", media_type) is not None: serialized_request_body.content = marshal_json(request_body, request_body_type) + elif re.match(r"^multipart\/.*", media_type) is not None: ( serialized_request_body.media_type, diff --git a/packages/azure/src/mistralai/azure/client/utils/retries.py b/packages/azure/src/mistralai/azure/client/utils/retries.py index af07d4e94..2ba7ebdc0 100644 --- a/packages/azure/src/mistralai/azure/client/utils/retries.py +++ b/packages/azure/src/mistralai/azure/client/utils/retries.py @@ -7,14 +7,17 @@ from email.utils import parsedate_to_datetime from typing import List, Optional -import httpx +import httpx2 as httpx class BackoffStrategy: + """Exponential backoff strategy configuration.""" + initial_interval: int max_interval: int exponent: float max_elapsed_time: int + jitter_ms: Optional[int] def __init__( self, @@ -22,24 +25,63 @@ def __init__( max_interval: int, exponent: float, max_elapsed_time: int, + jitter_ms: Optional[int] = None, ): + """Initialize a backoff strategy. + + Args: + initial_interval: Initial retry interval in milliseconds. + max_interval: Maximum retry interval in milliseconds. + exponent: Base of the exponential backoff; the interval grows as + ``initial_interval * exponent ** retries``. + max_elapsed_time: Maximum total elapsed time in milliseconds. + jitter_ms: Additive jitter bound in milliseconds. When set, adds a random + value in ``[0, jitter_ms]`` to each computed backoff interval (default + ``+[0, 1s]``). + + Note: + When a response carries a ``Retry-After`` or ``retry-after-ms`` header, + that delay is used as-is and the sleep-shaping parameters + (``initial_interval``, ``max_interval``, ``exponent``, ``jitter_ms``) are + ignored for that attempt. + """ + if jitter_ms is not None and jitter_ms < 0: + raise ValueError("jitter_ms must be >= 0") self.initial_interval = initial_interval self.max_interval = max_interval self.exponent = exponent self.max_elapsed_time = max_elapsed_time + self.jitter_ms = jitter_ms class RetryConfig: + """Runtime retry configuration.""" + strategy: str backoff: BackoffStrategy retry_connection_errors: bool + status_codes_override: Optional[List[str]] def __init__( - self, strategy: str, backoff: BackoffStrategy, retry_connection_errors: bool + self, + strategy: str, + backoff: BackoffStrategy, + retry_connection_errors: bool, + status_codes_override: Optional[List[str]] = None, ): + """Initialize a retry configuration. + + Args: + strategy: Retry strategy: ``"none"`` or ``"backoff"``. + backoff: Backoff parameters. + retry_connection_errors: Whether to also retry transport-level connection errors. + status_codes_override: Retryable HTTP status codes that take precedence over the + per-operation defaults when non-empty. + """ self.strategy = strategy self.backoff = backoff self.retry_connection_errors = retry_connection_errors + self.status_codes_override = status_codes_override class Retries: @@ -48,7 +90,7 @@ class Retries: def __init__(self, config: RetryConfig, status_codes: List[str]): self.config = config - self.status_codes = status_codes + self.status_codes = config.status_codes_override or status_codes class TemporaryError(Exception): @@ -67,6 +109,18 @@ def __init__(self, inner: Exception): self.inner = inner +_TRANSPORT_ERROR_NAMES = frozenset({"NetworkError", "TimeoutException"}) +_TRANSPORT_ERROR_BASES = frozenset({"TransportError", "RequestError", "HTTPError"}) + + +def _is_transport_error(exception: BaseException) -> bool: + """Report whether an exception is a connection or timeout failure.""" + if isinstance(exception, (httpx.NetworkError, httpx.TimeoutException)): + return True + names = {base.__name__ for base in type(exception).__mro__} + return bool(names & _TRANSPORT_ERROR_NAMES) and _TRANSPORT_ERROR_BASES <= names + + def _parse_retry_after_header(response: httpx.Response) -> Optional[int]: """Parse Retry-After header from response. @@ -93,12 +147,28 @@ def _parse_retry_after_header(response: httpx.Response) -> Optional[int]: return None +def _parse_retry_after_ms_header(response: httpx.Response) -> Optional[int]: + retry_after_ms_header = response.headers.get("retry-after-ms") + if not retry_after_ms_header: + return None + + try: + milliseconds = float(retry_after_ms_header) + if milliseconds >= 0: + return round(milliseconds) + except (OverflowError, ValueError): + pass + + return None + + def _get_sleep_interval( exception: Exception, initial_interval: int, max_interval: int, exponent: float, retries: int, + jitter_ms: Optional[int] = None, ) -> float: """Get sleep interval for retry with exponential backoff. @@ -108,6 +178,7 @@ def _get_sleep_interval( max_interval: Maximum retry interval in milliseconds. exponent: Base for exponential backoff calculation. retries: Current retry attempt count. + jitter_ms: Additive jitter bound in ms; see ``BackoffStrategy.jitter_ms``. Returns: Sleep interval in seconds. @@ -119,7 +190,11 @@ def _get_sleep_interval( ): return exception.retry_after / 1000 - sleep = (initial_interval / 1000) * exponent**retries + random.uniform(0, 1) + sleep = (initial_interval / 1000) * exponent**retries + if jitter_ms is not None: + sleep += random.uniform(0, jitter_ms / 1000) + else: + sleep += random.uniform(0, 1) return min(sleep, max_interval / 1000) @@ -144,14 +219,15 @@ def do_request() -> httpx.Response: if res.status_code == parsed_code: raise TemporaryError(res) - except (httpx.NetworkError, httpx.TimeoutException) as exception: - if retries.config.retry_connection_errors: - raise - - raise PermanentError(exception) from exception except TemporaryError: raise except Exception as exception: + if ( + _is_transport_error(exception) + and retries.config.retry_connection_errors + ): + raise + raise PermanentError(exception) from exception return res @@ -162,6 +238,7 @@ def do_request() -> httpx.Response: retries.config.backoff.max_interval, retries.config.backoff.exponent, retries.config.backoff.max_elapsed_time, + retries.config.backoff.jitter_ms, ) return func() @@ -188,14 +265,15 @@ async def do_request() -> httpx.Response: if res.status_code == parsed_code: raise TemporaryError(res) - except (httpx.NetworkError, httpx.TimeoutException) as exception: - if retries.config.retry_connection_errors: - raise - - raise PermanentError(exception) from exception except TemporaryError: raise except Exception as exception: + if ( + _is_transport_error(exception) + and retries.config.retry_connection_errors + ): + raise + raise PermanentError(exception) from exception return res @@ -206,6 +284,7 @@ async def do_request() -> httpx.Response: retries.config.backoff.max_interval, retries.config.backoff.exponent, retries.config.backoff.max_elapsed_time, + retries.config.backoff.jitter_ms, ) return await func() @@ -217,6 +296,7 @@ def retry_with_backoff( max_interval=60000, exponent=1.5, max_elapsed_time=3600000, + jitter_ms=None, ): start = round(time.time() * 1000) retries = 0 @@ -234,8 +314,18 @@ def retry_with_backoff( raise + if isinstance(exception, TemporaryError): + retry_after_ms = _parse_retry_after_ms_header(exception.response) + if retry_after_ms is not None: + exception.retry_after = retry_after_ms + exception.response.close() sleep = _get_sleep_interval( - exception, initial_interval, max_interval, exponent, retries + exception, + initial_interval, + max_interval, + exponent, + retries, + jitter_ms=jitter_ms, ) time.sleep(sleep) retries += 1 @@ -247,6 +337,7 @@ async def retry_with_backoff_async( max_interval=60000, exponent=1.5, max_elapsed_time=3600000, + jitter_ms=None, ): start = round(time.time() * 1000) retries = 0 @@ -264,8 +355,18 @@ async def retry_with_backoff_async( raise + if isinstance(exception, TemporaryError): + retry_after_ms = _parse_retry_after_ms_header(exception.response) + if retry_after_ms is not None: + exception.retry_after = retry_after_ms + await exception.response.aclose() sleep = _get_sleep_interval( - exception, initial_interval, max_interval, exponent, retries + exception, + initial_interval, + max_interval, + exponent, + retries, + jitter_ms=jitter_ms, ) await asyncio.sleep(sleep) retries += 1 diff --git a/packages/azure/src/mistralai/azure/client/utils/serializers.py b/packages/azure/src/mistralai/azure/client/utils/serializers.py index d2149f8b9..a68f09c77 100644 --- a/packages/azure/src/mistralai/azure/client/utils/serializers.py +++ b/packages/azure/src/mistralai/azure/client/utils/serializers.py @@ -4,11 +4,11 @@ import functools import json import typing -from typing import Any, Dict, List, Tuple, Union, get_args +from typing import Any, Dict, Iterable, List, Mapping, Tuple, Union, get_args import typing_extensions from typing_extensions import get_origin -import httpx +import httpx2 as httpx from pydantic import ConfigDict, create_model from pydantic_core import from_json @@ -113,10 +113,12 @@ def validate(c): def unmarshal_json(raw, typ: Any) -> Any: - return unmarshal(from_json(raw), typ) + return unmarshal(from_json(raw), typ, coerce_iterables=False) -def unmarshal(val, typ: Any) -> Any: +def unmarshal(val, typ: Any, coerce_iterables: bool = True) -> Any: + if coerce_iterables: + val = _coerce_iterables_for_type(val, typ) unmarshaller = create_model( "Unmarshaller", body=(typ, ...), @@ -193,9 +195,88 @@ def get_pydantic_model(data: Any, typ: Any) -> Any: if not _contains_pydantic_model(data): return unmarshal(data, typ) + return _coerce_iterables_for_type(data, typ) + + +def _coerce_iterables_for_type(data: Any, typ: Any) -> Any: + if data is None or isinstance(data, (BaseModel, Unset)): + return data + + typ = _resolve_type_alias(typ) + origin = get_origin(typ) + + if _is_annotated_type(origin): + args = get_args(typ) + return _coerce_iterables_for_type(data, args[0]) if args else data + + if is_union(origin): + for arg in (arg for arg in get_args(typ) if arg is not type(None)): + coerced = _coerce_iterables_for_type(data, arg) + if coerced is not data: + return coerced + return data + + if _is_list_type(typ): + item_type = get_args(typ)[0] if get_args(typ) else Any + if isinstance(data, (str, bytes, bytearray, Mapping)): + return data + if isinstance(data, Iterable): + return [_coerce_iterables_for_type(item, item_type) for item in data] + return data + + if _is_mapping_type(typ): + value_type = get_args(typ)[1] if len(get_args(typ)) > 1 else Any + if isinstance(data, Mapping): + return { + key: _coerce_iterables_for_type(value, value_type) + for key, value in data.items() + } + return data + + if _is_pydantic_model_type(typ) and isinstance(data, Mapping): + coerced = None + for field_name, field in typ.model_fields.items(): + field_type = field.annotation + for key in (field_name, field.alias): + if key is not None and key in data: + value = data[key] if coerced is None else coerced[key] + coerced_value = _coerce_iterables_for_type(value, field_type) + if coerced_value is not value: + if coerced is None: + coerced = dict(data) + coerced[key] = coerced_value + return coerced if coerced is not None else data + return data +def _resolve_type_alias(typ: Any) -> Any: + return getattr(typ, "__value__", typ) + + +def _is_annotated_type(origin: Any) -> bool: + return any( + origin is typing_obj + for typing_obj in _get_typing_objects_by_name_of("Annotated") + ) + + +def _is_list_type(typ: Any) -> bool: + typ = _resolve_type_alias(typ) + return typ is list or get_origin(typ) is list + + +def _is_mapping_type(typ: Any) -> bool: + typ = _resolve_type_alias(typ) + origin = get_origin(typ) + mapping_origin = get_origin(Mapping[Any, Any]) + return typ in (dict, Dict, Mapping) or origin in (dict, Mapping, mapping_origin) + + +def _is_pydantic_model_type(typ: Any) -> bool: + return isinstance(typ, type) and issubclass(typ, BaseModel) + + def _contains_pydantic_model(data: Any) -> bool: if isinstance(data, BaseModel): return True diff --git a/packages/azure/src/mistralai/azure/client/utils/unions.py b/packages/azure/src/mistralai/azure/client/utils/unions.py index a227f4e87..243464023 100644 --- a/packages/azure/src/mistralai/azure/client/utils/unions.py +++ b/packages/azure/src/mistralai/azure/client/utils/unions.py @@ -2,7 +2,7 @@ from typing import Any -from pydantic import BaseModel, TypeAdapter +from pydantic import BaseModel, TypeAdapter, ValidationError def parse_open_union( @@ -16,8 +16,14 @@ def parse_open_union( """Parse an open discriminated union value with forward-compatibility. Known discriminator values are dispatched to their variant types. - Unknown discriminator values produce an instance of the fallback class, - preserving the raw payload for inspection. + Unknown discriminator values — or known discriminator values whose + payload fails variant validation (e.g. a partial variant emitted by a + newer server) — produce an instance of the fallback class, preserving + the raw payload for inspection. + + Non-dict values and dicts missing the discriminator deliberately raise + instead of falling back, so pydantic can try sibling branches of an + enclosing union (e.g. None in Optional[...]). """ if isinstance(v, BaseModel): return v @@ -26,7 +32,10 @@ def parse_open_union( disc = v[disc_key] variant_cls = variants.get(disc) if variant_cls is not None: - if isinstance(variant_cls, type) and issubclass(variant_cls, BaseModel): - return variant_cls.model_validate(v) - return TypeAdapter(variant_cls).validate_python(v) + try: + if isinstance(variant_cls, type) and issubclass(variant_cls, BaseModel): + return variant_cls.model_validate(v) + return TypeAdapter(variant_cls).validate_python(v) + except ValidationError: + return unknown_cls(raw=v) return unknown_cls(raw=v) diff --git a/packages/azure/src/mistralai/azure/client/utils/unmarshal_json_response.py b/packages/azure/src/mistralai/azure/client/utils/unmarshal_json_response.py index fe0c9b8ec..55f9310d2 100644 --- a/packages/azure/src/mistralai/azure/client/utils/unmarshal_json_response.py +++ b/packages/azure/src/mistralai/azure/client/utils/unmarshal_json_response.py @@ -2,7 +2,7 @@ from typing import Any, Optional, Type, TypeVar, overload -import httpx +import httpx2 as httpx from .serializers import unmarshal_json from mistralai.azure.client import errors diff --git a/packages/azure/src/mistralai/azure/client/utils/values.py b/packages/azure/src/mistralai/azure/client/utils/values.py index dae01a443..2bba1465b 100644 --- a/packages/azure/src/mistralai/azure/client/utils/values.py +++ b/packages/azure/src/mistralai/azure/client/utils/values.py @@ -7,7 +7,7 @@ import os from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union, cast -from httpx import Response +from httpx2 import Response from pydantic import BaseModel from pydantic.fields import FieldInfo @@ -52,9 +52,11 @@ def match_status_codes(status_codes: List[str], status_code: int) -> bool: T = TypeVar("T") + def cast_partial(typ): return partial(cast, typ) + def get_global_from_env( value: Optional[T], env_key: str, type_cast: Callable[[str], T] ) -> Optional[T]: diff --git a/packages/azure/uv.lock b/packages/azure/uv.lock index d7c0b6668..275596e65 100644 --- a/packages/azure/uv.lock +++ b/packages/azure/uv.lock @@ -55,15 +55,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a0/59/76ab57e3fe74484f48a53f8e337171b4a2349e506eabe136d7e01d059086/backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5", size = 12313, upload-time = "2025-07-02T02:27:14.263Z" }, ] -[[package]] -name = "certifi" -version = "2026.7.22" -source = { registry = "https://pypi.org/simple/" } -sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" }, -] - [[package]] name = "colorama" version = "0.4.6" @@ -104,31 +95,42 @@ wheels = [ ] [[package]] -name = "httpcore" -version = "1.0.9" +name = "httpcore2" +version = "2.13.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "certifi" }, { name = "h11" }, + { name = "truststore" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +sdist = { url = "https://files.pythonhosted.org/packages/15/8c/e925b1c92018abb3a1863ce1549d76d2381e334d21d65d4ac8f65dabd78a/httpcore2-2.13.0.tar.gz", hash = "sha256:2adc8be4fb285fbcd6d894298db3b52c177e74b6674eda3a76bd36be3292a3db", size = 67740, upload-time = "2026-09-14T14:18:04.717Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0d/117a771a2bb91df334b66bf4da14cd02f21aefbcfe53180f336ce55e8f90/httpcore2-2.13.0-py3-none-any.whl", hash = "sha256:35ae5be347aa40467b4a5dc032ac67ebb6d27189fc97e8cebcf99616f6a1bb9e", size = 83162, upload-time = "2026-09-14T14:18:02.529Z" }, ] [[package]] -name = "httpx" -version = "0.28.1" +name = "httpx2" +version = "2.13.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "anyio" }, - { name = "certifi" }, - { name = "httpcore" }, + { name = "anyio", marker = "sys_platform != 'emscripten'" }, + { name = "httpcore2", marker = "sys_platform != 'emscripten'" }, + { name = "httpx2-jsfetch", marker = "python_full_version >= '3.12' and sys_platform == 'emscripten'" }, { name = "idna" }, + { name = "truststore", marker = "sys_platform != 'emscripten'" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/a0/e9deef4654132857b5a5dbe4eddd0ac59c2814500e11f2f5044cd81103ee/httpx2-2.13.0.tar.gz", hash = "sha256:81bd07dc67a3701729ef1f777a3c00c915d4539604fdb5afd327f8682f6b7b44", size = 100290, upload-time = "2026-09-14T14:18:05.486Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fe/d1/a0c72b0e006df654709fbc366cc5bcb53e5aee13e1e3395152c6dd293376/httpx2-2.13.0-py3-none-any.whl", hash = "sha256:fc12720cedf72faa26cca6b4ca394e05c894e7d7933fc45cafe767960804e49a", size = 95565, upload-time = "2026-09-14T14:18:03.553Z" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } + +[[package]] +name = "httpx2-jsfetch" +version = "1.0" +source = { registry = "https://pypi.org/simple/" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872, upload-time = "2026-08-07T00:13:07.492Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, + { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382, upload-time = "2026-08-07T00:13:06.567Z" }, ] [[package]] @@ -172,8 +174,7 @@ name = "mistralai-azure" version = "2.1.0" source = { editable = "." } dependencies = [ - { name = "httpcore" }, - { name = "httpx" }, + { name = "httpx2" }, { name = "pydantic" }, ] @@ -188,8 +189,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "httpcore", specifier = ">=1.0.9" }, - { name = "httpx", specifier = ">=0.28.1" }, + { name = "httpx2", specifier = ">=2.13.0" }, { name = "pydantic", specifier = ">=2.11.2" }, ] @@ -552,6 +552,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/13/bc/8c13eb66537dce1d2bd3a57132902f38d0e7f5bb46fa9f4daed9fe9d76ee/tomlkit-0.15.1-py3-none-any.whl", hash = "sha256:177a05aece5a8ca5266fd3c448abb47b8d352f09d477d3ca8332db4d89b24304", size = 49449, upload-time = "2026-07-17T01:48:05.728Z" }, ] +[[package]] +name = "truststore" +version = "0.10.4" +source = { registry = "https://pypi.org/simple/" } +sdist = { url = "https://files.pythonhosted.org/packages/53/a3/1585216310e344e8102c22482f6060c7a6ea0322b63e026372e6dcefcfd6/truststore-0.10.4.tar.gz", hash = "sha256:9d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301", size = 26169, upload-time = "2025-08-12T18:49:02.73Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/19/97/56608b2249fe206a67cd573bc93cd9896e1efb9e98bce9c163bcdc704b88/truststore-0.10.4-py3-none-any.whl", hash = "sha256:adaeaecf1cbb5f4de3b1959b42d41f6fab57b2b1666adb59e89cb0b53361d981", size = 18660, upload-time = "2025-08-12T18:49:01.46Z" }, +] + [[package]] name = "typing-extensions" version = "4.16.0" diff --git a/packages/gcp/.speakeasy/gen.lock b/packages/gcp/.speakeasy/gen.lock index eb166f15c..69e030499 100644 --- a/packages/gcp/.speakeasy/gen.lock +++ b/packages/gcp/.speakeasy/gen.lock @@ -3,25 +3,25 @@ id: ec60f2d8-7869-45c1-918e-773d41a8cf74 management: docChecksum: 77634408b308396940276ab2a5724949 docVersion: 1.0.0 - speakeasyVersion: 1.763.6 - generationVersion: 2.884.13 + speakeasyVersion: 1.796.4 + generationVersion: 2.935.1 releaseVersion: 2.1.0 - configChecksum: f42a555f90ecca4a17e379c855efcb4b + configChecksum: ef5b1a1ff7ea57863de114fbc5e9d0b6 repoURL: https://github.com/mistralai/client-python.git repoSubDirectory: packages/gcp installationURL: https://github.com/mistralai/client-python.git#subdirectory=packages/gcp published: true persistentEdits: - generation_id: d5b7efd4-ee87-4b61-ac4b-42d3fa6730b5 - pristine_commit_hash: 67ca27bd960456dc9531c66d0fb44f21c723b80e - pristine_tree_hash: dc9cd254e0158ad038f5096a54e2c0a6131da35b + generation_id: 30572d02-d3c8-43c6-b747-7b835fb9ab63 + pristine_commit_hash: 3e52de68baf11facb9f1b1d0f7b41bce6b7f3a9a + pristine_tree_hash: 07ceab95a39cff98f3ebbc2cd20a4f66fe686a2f features: python: - additionalDependencies: 1.0.0 - additionalProperties: 1.0.1 + additionalDependencies: 1.1.0 + additionalProperties: 1.0.2 configurableModuleName: 0.2.0 constsAndDefaults: 1.0.7 - core: 6.0.22 + core: 6.1.2 defaultEnabledRetries: 0.2.0 enumUnions: 0.1.1 envVarSecurityUsage: 0.3.3 @@ -32,23 +32,19 @@ features: globalSecurityFlattening: 1.0.0 globalServerURLs: 3.2.1 includes: 3.0.0 - methodArguments: 1.0.2 + methodArguments: 1.1.1 nameOverrides: 3.0.3 nullables: 1.0.2 openEnums: 1.0.4 operationTimeout: 0.3.1 responseFormat: 1.1.0 - retries: 3.0.5 - sdkHooks: 1.2.1 - serverEvents: 1.0.15 + retries: 3.1.2 + sdkHooks: 1.3.0 + serverEvents: 1.1.1 serverEventsSentinels: 0.1.0 serverIDs: 3.0.0 - unions: 3.1.5 + unions: 3.1.9 trackedFiles: - .gitattributes: - id: 24139dae6567 - last_write_checksum: sha1:53134de3ada576f37c22276901e1b5b6d85cd2da - pristine_git_object: 4d75d59008e4d8609876d263419a9dc56c8d6f3a .vscode/settings.json: id: 89aa447020cd last_write_checksum: sha1:f84632c81029fcdda8c3b0c768d02b836fc80526 @@ -407,56 +403,56 @@ trackedFiles: pristine_git_object: 2ee66cdd592fe41731c24ddd407c8ca31c50aec1 src/mistralai/gcp/client/_hooks/sdkhooks.py: id: 7e23394c3f65 - last_write_checksum: sha1:4a03a16da35168f25ed0cccfdb0d4c4d86bbe242 - pristine_git_object: 2af4deeda8055f4c57c0c7f00a7b79033435cf34 + last_write_checksum: sha1:c2a1ad9f77eeac5614033bbc654a4bdbd2f58dde + pristine_git_object: 5a83b9b0bb441aebf7155a1007f34e7854f64cc5 src/mistralai/gcp/client/_hooks/types.py: id: 4f37fd18bfd9 - last_write_checksum: sha1:2b295cc28d5fa2c79495510c8b97a1ea60f993e0 - pristine_git_object: ea95bed210db9180824efddfb1b3e47f5bf96489 + last_write_checksum: sha1:6113179a097e26fd3094690eb38108a91e297466 + pristine_git_object: c4f38b3e36690a5a60bbc84619eddd9ebd538501 src/mistralai/gcp/client/_version.py: id: f87319e32c7b - last_write_checksum: sha1:a8381a446688258017504fe271c6c05db83f5b6f - pristine_git_object: e6a19a24aeb633a7c6741fac4aa1cd935f6eff3d + last_write_checksum: sha1:d40d0ff80c55c64a102ba58e1bd6d16042cdd85c + pristine_git_object: f0b3670264f4a4b7e82179b4e8f8e2b28213772d src/mistralai/gcp/client/basesdk.py: id: 4d594572857b - last_write_checksum: sha1:09816f367408668addafe77aa5f69e6a089f8fca - pristine_git_object: 1c518adee8029a46ec5d6951cc6804465e1c3355 + last_write_checksum: sha1:8e86c827a9487ffc7d57578d29e2ffa0db57dc4c + pristine_git_object: ad8d4d52ec326df5455e7df6da72bd46c6eb10db src/mistralai/gcp/client/chat.py: id: 4c41f05f786e - last_write_checksum: sha1:ab6973161c8faa694e5132d7a8838d975ec23e55 - pristine_git_object: 8a9abf59a633510f6086a520e755debd40d9b641 + last_write_checksum: sha1:19781b4f108cdc0b76a1d599f9a91c2705e056b2 + pristine_git_object: e306c5a12125a2e4a20988a46cd4f8a980d0b60e src/mistralai/gcp/client/errors/__init__.py: id: c51c8ed21629 last_write_checksum: sha1:29f08ad600a712ff572843a250839ef92efac19b pristine_git_object: 00c8ee0031486b5416bb6745397c463e1a5dbba6 src/mistralai/gcp/client/errors/httpvalidationerror.py: id: b0e25f1c36bd - last_write_checksum: sha1:c863914ed6704ee6c3ad99a77d8b1e742de069d0 - pristine_git_object: 598068197b9ed7e7756de01325f7967a719e46ea + last_write_checksum: sha1:036f17a317bb140571790d108052ce2f26571d65 + pristine_git_object: 112a0a98c2f7c8a190fde03b61a02229a0d5d7fb src/mistralai/gcp/client/errors/mistralgcperror.py: id: 9a9cad8f5d36 - last_write_checksum: sha1:7267c829a842a94c5b84ac248a1610ce45f3db4e - pristine_git_object: 9de91bf2a4abf8b0d0922eb6062fe2ab817a8aee + last_write_checksum: sha1:62d07c6bef9e0370eed2948fbfdee1664ccef7c8 + pristine_git_object: f50852a4521440b46d27aaedf83a220de5dbb51a src/mistralai/gcp/client/errors/no_response_error.py: id: 2d3e5fe56122 last_write_checksum: sha1:7f326424a7d5ae1bcd5c89a0d6b3dbda9138942f pristine_git_object: 1deab64bc43e1e65bf3c412d326a4032ce342366 src/mistralai/gcp/client/errors/responsevalidationerror.py: id: 98f7bac284be - last_write_checksum: sha1:1b835d2ce8754b22d5fa269077d7a2eec11d7f29 - pristine_git_object: e8bd83c19b0629bb0ddf7a240e9b8371cb33fff3 + last_write_checksum: sha1:175e0304bc97da27c0c75951362fcbf9d2b87eb9 + pristine_git_object: c5d3758e42da2c052e16dc2127e4f863479efbe6 src/mistralai/gcp/client/errors/sdkerror.py: id: c53aee73c8e1 - last_write_checksum: sha1:080933e9f354b675988a132813f23e55f9e5db74 - pristine_git_object: 6980924626fa5fbf67fb62a30fd23d5883dbe650 + last_write_checksum: sha1:c7fed824911062053dbd85e17e68af1745a92ca2 + pristine_git_object: b850a68339957bef9f3ecd3233de062be67d79fa src/mistralai/gcp/client/fim.py: id: 13d2d208e0ef - last_write_checksum: sha1:cd7d11744022f12d4fa5889746f3861a563537b6 - pristine_git_object: cd5abaf8a8174536cca8ee3e5451fe6ce0379540 + last_write_checksum: sha1:6024ebfc34002bf6d6922834fb238bb1f451fc6d + pristine_git_object: 8f4c537b9e9f4673bcf33cd57c95c2ff8b259855 src/mistralai/gcp/client/httpclient.py: id: a53dd7be6a4c - last_write_checksum: sha1:5e55338d6ee9f01ab648cad4380201a8a3da7dd7 - pristine_git_object: 89560b566073785535643e694c112bedbd3db13d + last_write_checksum: sha1:82dd0803e52747313b216da8900313279ecde8b0 + pristine_git_object: 2b2e342b3ec61d354edd6e48b45c02da132b30b1 src/mistralai/gcp/client/models/__init__.py: id: d9e976d01972 last_write_checksum: sha1:f4b9b23318c8e44f32d4becc4ad1afd0faee3715 @@ -511,8 +507,8 @@ trackedFiles: pristine_git_object: 18d481505e17d2125e380d796b0c406b0e66d601 src/mistralai/gcp/client/models/customconnector.py: id: a86074dd071e - last_write_checksum: sha1:52168a13fb6e6a4e1addd6b4efeb8448de2abbd3 - pristine_git_object: 3829972679bba9567d1277e3b6f64851d2d8f2a8 + last_write_checksum: sha1:fced3e587fc70752ce337455c733ca383a8a6290 + pristine_git_object: 6bb5ed6268933f413f0797710290d9b3e2388bca src/mistralai/gcp/client/models/deltamessage.py: id: 404fc85f1a4c last_write_checksum: sha1:7e043f7d5335255efbd80813e6cfdf44bf92bd4b @@ -695,24 +691,28 @@ trackedFiles: pristine_git_object: d56a634f688f6697ba84962381084dc2d0836ac9 src/mistralai/gcp/client/types/__init__.py: id: f7ef15ac2ba1 - last_write_checksum: sha1:140ebdd01a46f92ffc710c52c958c4eba3cf68ed - pristine_git_object: fc76fe0c5505e29859b5d2bb707d48fd27661b8c + last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9 + pristine_git_object: faa268137bc01c9d08cfadc4797017db48747a96 + src/mistralai/gcp/client/types/base64fileinput.py: + id: e6906086f6e1 + last_write_checksum: sha1:1522687ae3398374c35710cad993a6e82b5ab99d + pristine_git_object: 862566fe2b1db830276b390e136e65090e5963d2 src/mistralai/gcp/client/types/basemodel.py: id: 24babf758c19 last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584 pristine_git_object: a9a640a1a7048736383f96c67c6290c86bf536ee src/mistralai/gcp/client/utils/__init__.py: id: a30c8ff6dcff - last_write_checksum: sha1:3ad22a588864c93bd3a16605f669955b5f3b8053 - pristine_git_object: b488c2df1390b22be3050eee72832a91c76d5385 + last_write_checksum: sha1:d3498c6aa68ea2139b8b4e60a376bcdef261285c + pristine_git_object: 61d8fe13e0b3321464d574f5f382e3d8dd730f46 src/mistralai/gcp/client/utils/annotations.py: id: 9b2cd4ffc6e9 last_write_checksum: sha1:a4824ad65f730303e4e1e3ec1febf87b4eb46dbc pristine_git_object: 12e0aa4f1151bb52474cc02e88397329b90703f6 src/mistralai/gcp/client/utils/datetimes.py: id: dd1f0f91ea9d - last_write_checksum: sha1:c721e4123000e7dc61ec52b28a739439d9e17341 - pristine_git_object: a6c52cd61bbe2d459046c940ce5e8c469f2f0664 + last_write_checksum: sha1:fa47d54c549ff9b95496ce91930fadfb04a36be9 + pristine_git_object: adad24762cf452d137abe94fda0fd26224cef593 src/mistralai/gcp/client/utils/dynamic_imports.py: id: 0091051cb000 last_write_checksum: sha1:a1940c63feb8eddfd8026de53384baf5056d5dcc @@ -723,20 +723,20 @@ trackedFiles: pristine_git_object: 3324e1bc2668c54c4d5f5a1a845675319757a828 src/mistralai/gcp/client/utils/eventstreaming.py: id: bb66f0c3e0dc - last_write_checksum: sha1:620d78a8b4e3b854e08d136e02e40a01a786bd70 - pristine_git_object: 3bdcd6d3d4fc772cb7f5fca8685dcdc8c85e13e8 + last_write_checksum: sha1:050358a6a2e0b60a38a468ac8b6dda6f50e575ce + pristine_git_object: 07fdb309e83902dba525b5de06e90f26358ed8d8 src/mistralai/gcp/client/utils/forms.py: id: ebf34781d6bd - last_write_checksum: sha1:0ca31459b99f761fcc6d0557a0a38daac4ad50f4 - pristine_git_object: 1e550bd5c2c35d977ddc10f49d77c23cb12c158d + last_write_checksum: sha1:dcf527960992b8baef3b21937c7e6c4e652630c0 + pristine_git_object: 193f264960f3014c81d41543b9023c14c44c12e6 src/mistralai/gcp/client/utils/headers.py: id: 4c369582903e - last_write_checksum: sha1:7c6df233ee006332b566a8afa9ce9a245941d935 - pristine_git_object: 37864cbbbc40d1a47112bbfdd3ba79568fc8818a + last_write_checksum: sha1:95c6f681c381fbe2394354d1dc5279ac28f211c3 + pristine_git_object: be6bacd51ab5f0e8d568c6869c294d20415651cd src/mistralai/gcp/client/utils/logger.py: id: 082d86b60820 - last_write_checksum: sha1:f3fdb154a3f09b8cc43d74c7e9c02f899f8086e4 - pristine_git_object: b661aff65d38b77d035149699aea09b2785d2fc6 + last_write_checksum: sha1:db4126f38f4b7d397993ade8a5cdebf7e31d28b5 + pristine_git_object: 695e51418c26cde73c605f07d571ee41dc3b2eb6 src/mistralai/gcp/client/utils/metadata.py: id: ff0e832b8b9c last_write_checksum: sha1:e703e5cbb5255144aacf86898d1420529afaaff8 @@ -747,36 +747,36 @@ trackedFiles: pristine_git_object: c04e0db82b68eca041f2cb2614d748fbac80fd41 src/mistralai/gcp/client/utils/requestbodies.py: id: 1be13a660954 - last_write_checksum: sha1:41e2d2d2d3ecc394c8122ca4d4b85e1c3e03f054 - pristine_git_object: 1de32b6d26f46590232f398fdba6ce0072f1659c + last_write_checksum: sha1:e1fef575283b7fe7fe2ad392dbbb3fb105309124 + pristine_git_object: 591415af8e64baa410627b507d2740afb5387d13 src/mistralai/gcp/client/utils/retries.py: id: 542ebd75b79b - last_write_checksum: sha1:471372f5c5d1dd5583239c9cf3c75f1b636e5d87 - pristine_git_object: af07d4e941007af4213c5ec9047ef8a2fca04e5e + last_write_checksum: sha1:00cfd4e42fbfeac434724fc65130e6abc470fb81 + pristine_git_object: 2ba7ebdc04117216cf2ed907e02a95469d1c1161 src/mistralai/gcp/client/utils/security.py: id: 5273152365f4 last_write_checksum: sha1:c11eef495b6aaa249178c24c796940cc540b7a00 pristine_git_object: 42d8d78e9981eed7507670014d99588e27ab325a src/mistralai/gcp/client/utils/serializers.py: id: a7836e553d41 - last_write_checksum: sha1:61009f2e4ef6613a1a5af813fe020373dae5a492 - pristine_git_object: d2149f8b909cb96628db140ac3cddb1b1e981367 + last_write_checksum: sha1:9a6a4d748f609fb65970d34c4a078ff81d2eaba1 + pristine_git_object: a68f09c77d9284fc374a1c23ccd9dcf467d2c27e src/mistralai/gcp/client/utils/unions.py: id: 8abba1cf1b6d - last_write_checksum: sha1:6e38049f323e0b5fb4bd0e88ab51ec447197ccb0 - pristine_git_object: a227f4e87be22fce682fcae5813b71835199ec5e + last_write_checksum: sha1:cd6201e6f43c51545a32f5bd4ac9f508e1ba0c29 + pristine_git_object: 2434640235f9607bd894361dcba872ceb5b26533 src/mistralai/gcp/client/utils/unmarshal_json_response.py: id: d972d22cf934 - last_write_checksum: sha1:5c75fb4ee04ae80a350ceb96abf4e1fdb255ee6c - pristine_git_object: ead3e5a00171b3a97af5112b6cd9ece698ce74f5 + last_write_checksum: sha1:c07b5513e2b88d4fe302b3e8b2b3142fa4d35d40 + pristine_git_object: 4d3ace7ab79d1486e6a18b57fe0e5356ac28fe75 src/mistralai/gcp/client/utils/url.py: id: 0d311bbcb8f8 last_write_checksum: sha1:6479961baa90432ca25626f8e40a7bbc32e73b41 pristine_git_object: c78ccbae426ce6d385709d97ce0b1c2813ea2418 src/mistralai/gcp/client/utils/values.py: id: 328207e9ae81 - last_write_checksum: sha1:acaa178a7c41ddd000f58cc691e4632d925b2553 - pristine_git_object: dae01a44384ac3bc13ae07453a053bf6c898ebe3 + last_write_checksum: sha1:32e077f9a5ea902f94a50e1f635e943dd44f82e9 + pristine_git_object: 2bba1465bded520b0acc8c51d6ec77d3b601d338 examples: stream_chat: speakeasy-default-stream-chat: diff --git a/packages/gcp/.speakeasy/gen.yaml b/packages/gcp/.speakeasy/gen.yaml index ebf8a3a0a..6bf37486c 100644 --- a/packages/gcp/.speakeasy/gen.yaml +++ b/packages/gcp/.speakeasy/gen.yaml @@ -61,6 +61,7 @@ python: flatteningOrder: parameters-first forwardCompatibleEnumsByDefault: true forwardCompatibleUnionsByDefault: tagged-only + httpClientLibrary: httpx2 imports: option: openapi paths: diff --git a/packages/gcp/README-PYPI.md b/packages/gcp/README-PYPI.md index 28a873a04..0bf05880e 100644 --- a/packages/gcp/README-PYPI.md +++ b/packages/gcp/README-PYPI.md @@ -290,7 +290,7 @@ if res is not None: ## Custom HTTP Client -The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. +The Python SDK makes API calls using the [httpx2](https://httpx2.pydantic.dev/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocols ensuring that the client has the necessary methods to make API calls. This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly. @@ -298,7 +298,7 @@ For example, you could specify a header for every request that this SDK makes as ```python import os from mistralai.gcp.client import MistralGCP -import httpx +import httpx2 as httpx http_client = httpx.Client(headers={"x-custom-header": "someValue"}) s = MistralGCP( @@ -313,7 +313,7 @@ or you could wrap the client with your own custom logic: from typing import Any, Optional, Union from mistralai.gcp.client import MistralGCP from mistralai.gcp.client.httpclient import AsyncHttpClient -import httpx +import httpx2 as httpx class CustomClient(AsyncHttpClient): client: AsyncHttpClient @@ -376,6 +376,9 @@ s = MistralGCP( async_client=CustomClient(httpx.AsyncClient()), ) ``` +### httpx2 + +This SDK is generated against [httpx2](https://httpx2.pydantic.dev/), Pydantic's maintained fork of `httpx`. The fork keeps the same public API, so everything above applies unchanged - `httpx2.Client` and `httpx2.AsyncClient` are what the SDK expects. diff --git a/packages/gcp/README.md b/packages/gcp/README.md index 8a26cf2c2..021a63bb8 100644 --- a/packages/gcp/README.md +++ b/packages/gcp/README.md @@ -290,7 +290,7 @@ if res is not None: ## Custom HTTP Client -The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. +The Python SDK makes API calls using the [httpx2](https://httpx2.pydantic.dev/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance. Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocols ensuring that the client has the necessary methods to make API calls. This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly. @@ -298,7 +298,7 @@ For example, you could specify a header for every request that this SDK makes as ```python import os from mistralai.gcp.client import MistralGCP -import httpx +import httpx2 as httpx http_client = httpx.Client(headers={"x-custom-header": "someValue"}) s = MistralGCP( @@ -313,7 +313,7 @@ or you could wrap the client with your own custom logic: from typing import Any, Optional, Union from mistralai.gcp.client import MistralGCP from mistralai.gcp.client.httpclient import AsyncHttpClient -import httpx +import httpx2 as httpx class CustomClient(AsyncHttpClient): client: AsyncHttpClient @@ -376,6 +376,9 @@ s = MistralGCP( async_client=CustomClient(httpx.AsyncClient()), ) ``` +### httpx2 + +This SDK is generated against [httpx2](https://httpx2.pydantic.dev/), Pydantic's maintained fork of `httpx`. The fork keeps the same public API, so everything above applies unchanged - `httpx2.Client` and `httpx2.AsyncClient` are what the SDK expects. diff --git a/packages/gcp/pyproject.toml b/packages/gcp/pyproject.toml index a1da9aeed..ca737383d 100644 --- a/packages/gcp/pyproject.toml +++ b/packages/gcp/pyproject.toml @@ -8,7 +8,7 @@ readme = "README-PYPI.md" dependencies = [ "eval-type-backport >=0.2.0", "google-auth (>=2.31.0,<3.0.0)", - "httpx >=0.28.1", + "httpx2 >=2.13.0", "pydantic >=2.11.2", "python-dateutil >=2.8.2", "requests (>=2.32.3,<3.0.0)", diff --git a/packages/gcp/src/mistralai/gcp/client/_hooks/registration.py b/packages/gcp/src/mistralai/gcp/client/_hooks/registration.py index 23d3283db..93a149bc5 100644 --- a/packages/gcp/src/mistralai/gcp/client/_hooks/registration.py +++ b/packages/gcp/src/mistralai/gcp/client/_hooks/registration.py @@ -1,7 +1,7 @@ import json import logging from .types import BeforeRequestHook, BeforeRequestContext, Hooks -import httpx +import httpx2 as httpx logger = logging.getLogger(__name__) diff --git a/packages/gcp/src/mistralai/gcp/client/_hooks/sdkhooks.py b/packages/gcp/src/mistralai/gcp/client/_hooks/sdkhooks.py index 2af4deeda..5a83b9b0b 100644 --- a/packages/gcp/src/mistralai/gcp/client/_hooks/sdkhooks.py +++ b/packages/gcp/src/mistralai/gcp/client/_hooks/sdkhooks.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from .types import ( SDKInitHook, BeforeRequestContext, diff --git a/packages/gcp/src/mistralai/gcp/client/_hooks/types.py b/packages/gcp/src/mistralai/gcp/client/_hooks/types.py index ea95bed21..c4f38b3e3 100644 --- a/packages/gcp/src/mistralai/gcp/client/_hooks/types.py +++ b/packages/gcp/src/mistralai/gcp/client/_hooks/types.py @@ -1,10 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from abc import ABC, abstractmethod -import httpx +import httpx2 as httpx from mistralai.gcp.client.httpclient import HttpClient from mistralai.gcp.client.sdkconfiguration import SDKConfiguration -from typing import Any, Callable, List, Optional, Tuple, Union +from typing import Any, Callable, Dict, List, Optional, Tuple, Union class HookContext: @@ -13,6 +13,8 @@ class HookContext: operation_id: str oauth2_scopes: Optional[List[str]] = None security_source: Optional[Union[Any, Callable[[], Any]]] = None + tags: Optional[List[str]] = None + extensions: Optional[Dict[str, Any]] = None def __init__( self, @@ -21,12 +23,16 @@ def __init__( operation_id: str, oauth2_scopes: Optional[List[str]], security_source: Optional[Union[Any, Callable[[], Any]]], + tags: Optional[List[str]], + extensions: Optional[Dict[str, Any]], ): self.config = config self.base_url = base_url self.operation_id = operation_id self.oauth2_scopes = oauth2_scopes self.security_source = security_source + self.tags = tags + self.extensions = extensions class BeforeRequestContext(HookContext): @@ -37,6 +43,8 @@ def __init__(self, hook_ctx: HookContext): hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source, + hook_ctx.tags, + hook_ctx.extensions, ) @@ -48,6 +56,8 @@ def __init__(self, hook_ctx: HookContext): hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source, + hook_ctx.tags, + hook_ctx.extensions, ) @@ -59,6 +69,8 @@ def __init__(self, hook_ctx: HookContext): hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source, + hook_ctx.tags, + hook_ctx.extensions, ) diff --git a/packages/gcp/src/mistralai/gcp/client/_version.py b/packages/gcp/src/mistralai/gcp/client/_version.py index e6a19a24a..f0b367026 100644 --- a/packages/gcp/src/mistralai/gcp/client/_version.py +++ b/packages/gcp/src/mistralai/gcp/client/_version.py @@ -5,8 +5,8 @@ __title__: str = "mistralai-gcp" __version__: str = "2.1.0" __openapi_doc_version__: str = "1.0.0" -__gen_version__: str = "2.884.13" -__user_agent__: str = "speakeasy-sdk/python 2.1.0 2.884.13 1.0.0 mistralai-gcp" +__gen_version__: str = "2.935.1" +__user_agent__: str = "speakeasy-sdk/python 2.1.0 2.935.1 1.0.0 mistralai-gcp" try: if __package__ is not None: diff --git a/packages/gcp/src/mistralai/gcp/client/basesdk.py b/packages/gcp/src/mistralai/gcp/client/basesdk.py index 1c518adee..ad8d4d52e 100644 --- a/packages/gcp/src/mistralai/gcp/client/basesdk.py +++ b/packages/gcp/src/mistralai/gcp/client/basesdk.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .sdkconfiguration import SDKConfiguration -import httpx +import httpx2 as httpx from mistralai.gcp.client import errors, utils from mistralai.gcp.client._hooks import ( AfterErrorContext, diff --git a/packages/gcp/src/mistralai/gcp/client/chat.py b/packages/gcp/src/mistralai/gcp/client/chat.py index 8a9abf59a..e306c5a12 100644 --- a/packages/gcp/src/mistralai/gcp/client/chat.py +++ b/packages/gcp/src/mistralai/gcp/client/chat.py @@ -6,7 +6,7 @@ from mistralai.gcp.client.types import OptionalNullable, UNSET from mistralai.gcp.client.utils import eventstreaming from mistralai.gcp.client.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union +from typing import Any, Dict, Iterable, List, Mapping, Optional, Union class Chat(BaseSDK): @@ -17,8 +17,8 @@ def stream( *, model: str, messages: Union[ - List[models.ChatCompletionStreamRequestMessage], - List[models.ChatCompletionStreamRequestMessageTypedDict], + Iterable[models.ChatCompletionStreamRequestMessage], + Iterable[models.ChatCompletionStreamRequestMessageTypedDict], ], temperature: OptionalNullable[float] = UNSET, top_p: OptionalNullable[float] = UNSET, @@ -31,14 +31,14 @@ def stream( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionStreamRequestTool], - List[models.ChatCompletionStreamRequestToolTypedDict], + Iterable[models.ChatCompletionStreamRequestTool], + Iterable[models.ChatCompletionStreamRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -57,7 +57,10 @@ def stream( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -112,9 +115,11 @@ def stream( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionStreamRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionStreamRequestMessage] ), @@ -176,6 +181,8 @@ def stream( operation_id="stream_chat", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -187,7 +194,9 @@ def stream( if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStream( http_res, - lambda raw: utils.unmarshal_json(raw, models.CompletionEvent), + lambda raw: unmarshal_json_response( + models.CompletionEvent, http_res, raw + ), sentinel="[DONE]", client_ref=self, ) @@ -212,8 +221,8 @@ async def stream_async( *, model: str, messages: Union[ - List[models.ChatCompletionStreamRequestMessage], - List[models.ChatCompletionStreamRequestMessageTypedDict], + Iterable[models.ChatCompletionStreamRequestMessage], + Iterable[models.ChatCompletionStreamRequestMessageTypedDict], ], temperature: OptionalNullable[float] = UNSET, top_p: OptionalNullable[float] = UNSET, @@ -226,14 +235,14 @@ async def stream_async( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionStreamRequestTool], - List[models.ChatCompletionStreamRequestToolTypedDict], + Iterable[models.ChatCompletionStreamRequestTool], + Iterable[models.ChatCompletionStreamRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -252,7 +261,10 @@ async def stream_async( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -307,9 +319,11 @@ async def stream_async( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionStreamRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionStreamRequestMessage] ), @@ -371,6 +385,8 @@ async def stream_async( operation_id="stream_chat", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -382,7 +398,9 @@ async def stream_async( if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStreamAsync( http_res, - lambda raw: utils.unmarshal_json(raw, models.CompletionEvent), + lambda raw: unmarshal_json_response( + models.CompletionEvent, http_res, raw + ), sentinel="[DONE]", client_ref=self, ) @@ -407,8 +425,8 @@ def complete( *, model: str, messages: Union[ - List[models.ChatCompletionRequestMessage], - List[models.ChatCompletionRequestMessageTypedDict], + Iterable[models.ChatCompletionRequestMessage], + Iterable[models.ChatCompletionRequestMessageTypedDict], ], temperature: OptionalNullable[float] = UNSET, top_p: OptionalNullable[float] = UNSET, @@ -421,14 +439,14 @@ def complete( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionRequestTool], - List[models.ChatCompletionRequestToolTypedDict], + Iterable[models.ChatCompletionRequestTool], + Iterable[models.ChatCompletionRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -447,7 +465,10 @@ def complete( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -500,9 +521,11 @@ def complete( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionRequestMessage] ), @@ -564,6 +587,8 @@ def complete( operation_id="chat_completion_v1_chat_completions_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -592,8 +617,8 @@ async def complete_async( *, model: str, messages: Union[ - List[models.ChatCompletionRequestMessage], - List[models.ChatCompletionRequestMessageTypedDict], + Iterable[models.ChatCompletionRequestMessage], + Iterable[models.ChatCompletionRequestMessageTypedDict], ], temperature: OptionalNullable[float] = UNSET, top_p: OptionalNullable[float] = UNSET, @@ -606,14 +631,14 @@ async def complete_async( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, response_format: Optional[ Union[models.ResponseFormat, models.ResponseFormatTypedDict] ] = None, tools: OptionalNullable[ Union[ - List[models.ChatCompletionRequestTool], - List[models.ChatCompletionRequestToolTypedDict], + Iterable[models.ChatCompletionRequestTool], + Iterable[models.ChatCompletionRequestToolTypedDict], ] ] = UNSET, tool_choice: Optional[ @@ -632,7 +657,10 @@ async def complete_async( reasoning_effort: OptionalNullable[models.ReasoningEffort] = UNSET, prompt_mode: OptionalNullable[models.MistralPromptMode] = UNSET, guardrails: OptionalNullable[ - Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] + Union[ + Iterable[models.GuardrailConfig], + Iterable[models.GuardrailConfigTypedDict], + ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -685,9 +713,11 @@ async def complete_async( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.ChatCompletionRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), messages=utils.get_pydantic_model( messages, List[models.ChatCompletionRequestMessage] ), @@ -749,6 +779,8 @@ async def complete_async( operation_id="chat_completion_v1_chat_completions_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["chat"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), diff --git a/packages/gcp/src/mistralai/gcp/client/errors/httpvalidationerror.py b/packages/gcp/src/mistralai/gcp/client/errors/httpvalidationerror.py index 598068197..112a0a98c 100644 --- a/packages/gcp/src/mistralai/gcp/client/errors/httpvalidationerror.py +++ b/packages/gcp/src/mistralai/gcp/client/errors/httpvalidationerror.py @@ -2,7 +2,7 @@ from __future__ import annotations from dataclasses import dataclass, field -import httpx +import httpx2 as httpx from mistralai.gcp.client.errors import MistralGCPError from mistralai.gcp.client.models import validationerror as models_validationerror from mistralai.gcp.client.types import BaseModel diff --git a/packages/gcp/src/mistralai/gcp/client/errors/mistralgcperror.py b/packages/gcp/src/mistralai/gcp/client/errors/mistralgcperror.py index 9de91bf2a..f50852a45 100644 --- a/packages/gcp/src/mistralai/gcp/client/errors/mistralgcperror.py +++ b/packages/gcp/src/mistralai/gcp/client/errors/mistralgcperror.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass, field diff --git a/packages/gcp/src/mistralai/gcp/client/errors/responsevalidationerror.py b/packages/gcp/src/mistralai/gcp/client/errors/responsevalidationerror.py index e8bd83c19..c5d3758e4 100644 --- a/packages/gcp/src/mistralai/gcp/client/errors/responsevalidationerror.py +++ b/packages/gcp/src/mistralai/gcp/client/errors/responsevalidationerror.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass diff --git a/packages/gcp/src/mistralai/gcp/client/errors/sdkerror.py b/packages/gcp/src/mistralai/gcp/client/errors/sdkerror.py index 698092462..b850a6833 100644 --- a/packages/gcp/src/mistralai/gcp/client/errors/sdkerror.py +++ b/packages/gcp/src/mistralai/gcp/client/errors/sdkerror.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass diff --git a/packages/gcp/src/mistralai/gcp/client/fim.py b/packages/gcp/src/mistralai/gcp/client/fim.py index cd5abaf8a..8f4c537b9 100644 --- a/packages/gcp/src/mistralai/gcp/client/fim.py +++ b/packages/gcp/src/mistralai/gcp/client/fim.py @@ -28,7 +28,7 @@ def stream( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, suffix: OptionalNullable[str] = UNSET, min_tokens: OptionalNullable[int] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -75,9 +75,11 @@ def stream( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.FIMCompletionStreamRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), prompt=prompt, suffix=suffix, min_tokens=min_tokens, @@ -118,6 +120,8 @@ def stream( operation_id="stream_fim", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["fim"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -129,7 +133,9 @@ def stream( if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStream( http_res, - lambda raw: utils.unmarshal_json(raw, models.CompletionEvent), + lambda raw: unmarshal_json_response( + models.CompletionEvent, http_res, raw + ), sentinel="[DONE]", client_ref=self, ) @@ -165,7 +171,7 @@ async def stream_async( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, suffix: OptionalNullable[str] = UNSET, min_tokens: OptionalNullable[int] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -212,9 +218,11 @@ async def stream_async( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.FIMCompletionStreamRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), prompt=prompt, suffix=suffix, min_tokens=min_tokens, @@ -255,6 +263,8 @@ async def stream_async( operation_id="stream_fim", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["fim"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -266,7 +276,9 @@ async def stream_async( if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStreamAsync( http_res, - lambda raw: utils.unmarshal_json(raw, models.CompletionEvent), + lambda raw: unmarshal_json_response( + models.CompletionEvent, http_res, raw + ), sentinel="[DONE]", client_ref=self, ) @@ -302,7 +314,7 @@ def complete( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, suffix: OptionalNullable[str] = UNSET, min_tokens: OptionalNullable[int] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -349,9 +361,11 @@ def complete( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.FIMCompletionRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), prompt=prompt, suffix=suffix, min_tokens=min_tokens, @@ -392,6 +406,8 @@ def complete( operation_id="fim_completion_v1_fim_completions_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["fim"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), @@ -431,7 +447,7 @@ async def complete_async( ] ] = UNSET, random_seed: OptionalNullable[int] = UNSET, - metadata: OptionalNullable[Dict[str, Any]] = UNSET, + metadata: OptionalNullable[Mapping[str, Any]] = UNSET, suffix: OptionalNullable[str] = UNSET, min_tokens: OptionalNullable[int] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -478,9 +494,11 @@ async def complete_async( top_p=top_p, max_tokens=max_tokens, stream=stream, - stop=stop, + stop=utils.unmarshal( + stop, OptionalNullable[models.FIMCompletionRequestStop] + ), random_seed=random_seed, - metadata=metadata, + metadata=utils.unmarshal(metadata, OptionalNullable[Dict[str, Any]]), prompt=prompt, suffix=suffix, min_tokens=min_tokens, @@ -521,6 +539,8 @@ async def complete_async( operation_id="fim_completion_v1_fim_completions_post", oauth2_scopes=None, security_source=self.sdk_configuration.security, + tags=["fim"], + extensions=None, ), request=req, is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), diff --git a/packages/gcp/src/mistralai/gcp/client/httpclient.py b/packages/gcp/src/mistralai/gcp/client/httpclient.py index 89560b566..2b2e342b3 100644 --- a/packages/gcp/src/mistralai/gcp/client/httpclient.py +++ b/packages/gcp/src/mistralai/gcp/client/httpclient.py @@ -3,7 +3,7 @@ # pyright: reportReturnType = false import asyncio from typing_extensions import Protocol, runtime_checkable -import httpx +import httpx2 as httpx from typing import Any, Optional, Union diff --git a/packages/gcp/src/mistralai/gcp/client/models/customconnector.py b/packages/gcp/src/mistralai/gcp/client/models/customconnector.py index 382997267..6bb5ed626 100644 --- a/packages/gcp/src/mistralai/gcp/client/models/customconnector.py +++ b/packages/gcp/src/mistralai/gcp/client/models/customconnector.py @@ -13,7 +13,7 @@ ) from mistralai.gcp.client.utils import validate_const import pydantic -from pydantic import Field, model_serializer +from pydantic import Field, SerializeAsAny, model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -44,7 +44,7 @@ class CustomConnector(BaseModel): pydantic.Field(alias="type"), ] = "connector" - authorization: OptionalNullable[Authorization] = UNSET + authorization: SerializeAsAny[OptionalNullable[Authorization]] = UNSET tool_configuration: OptionalNullable[ToolConfiguration] = UNSET diff --git a/packages/gcp/src/mistralai/gcp/client/sdk.py b/packages/gcp/src/mistralai/gcp/client/sdk.py index b3f48158d..db1783a4d 100644 --- a/packages/gcp/src/mistralai/gcp/client/sdk.py +++ b/packages/gcp/src/mistralai/gcp/client/sdk.py @@ -6,7 +6,7 @@ import google.auth import google.auth.credentials import google.auth.transport.requests -import httpx +import httpx2 as httpx import importlib from mistralai.gcp.client import models, utils from mistralai.gcp.client._hooks import SDKHooks diff --git a/packages/gcp/src/mistralai/gcp/client/types/__init__.py b/packages/gcp/src/mistralai/gcp/client/types/__init__.py index fc76fe0c5..faa268137 100644 --- a/packages/gcp/src/mistralai/gcp/client/types/__init__.py +++ b/packages/gcp/src/mistralai/gcp/client/types/__init__.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +from .base64fileinput import Base64EncodedString, Base64FileInput from .basemodel import ( BaseModel, Nullable, @@ -11,6 +12,8 @@ ) __all__ = [ + "Base64EncodedString", + "Base64FileInput", "BaseModel", "Nullable", "OptionalNullable", diff --git a/packages/gcp/src/mistralai/gcp/client/types/base64fileinput.py b/packages/gcp/src/mistralai/gcp/client/types/base64fileinput.py new file mode 100644 index 000000000..862566fe2 --- /dev/null +++ b/packages/gcp/src/mistralai/gcp/client/types/base64fileinput.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations + +import base64 +import io +from os import PathLike +from typing import IO, Any, Union + +from pydantic.functional_validators import BeforeValidator +from typing_extensions import Annotated + + +Base64FileInput = Union[IO[bytes], PathLike[str]] + + +def encode_base64_file_input(value: Any) -> Any: + """Convert PathLike or IO[bytes] inputs to a base64 string. All standard binary streams + that inherit from io.IOBase are handled. Other values pass through. + """ + if isinstance(value, (PathLike, io.IOBase)): + if isinstance(value, PathLike): + with open(value, "rb") as fh: + binary = fh.read() + else: + # Restore position after reading: pydantic may validate the same stream more than once. + position = value.tell() if value.seekable() else None + binary = value.read() + if position is not None: + value.seek(position) + if isinstance(binary, str): + binary = binary.encode() + if not isinstance(binary, (bytes, bytearray)): + raise TypeError( + f"Base64FileInput expected binary IO returning bytes; got {type(binary).__name__}" + ) + return base64.b64encode(binary).decode("ascii") + return value + + +# Non-str inputs are converted to base64 by the BeforeValidator at construction time. +# Callers can also pass a pre-encoded base64 str. +Base64EncodedString = Annotated[str, BeforeValidator(encode_base64_file_input)] diff --git a/packages/gcp/src/mistralai/gcp/client/utils/__init__.py b/packages/gcp/src/mistralai/gcp/client/utils/__init__.py index b488c2df1..61d8fe13e 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/__init__.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/__init__.py @@ -15,7 +15,7 @@ async def run_sync_in_thread(func: Callable[..., _T], *args) -> _T: if TYPE_CHECKING: from .annotations import get_discriminator - from .datetimes import parse_datetime + from .datetimes import parse_datetime, parse_duration from .enums import OpenEnumMeta from .unions import parse_open_union from .headers import get_headers, get_response_headers @@ -71,6 +71,7 @@ async def run_sync_in_thread(func: Callable[..., _T], *args) -> _T: "get_default_logger", "get_discriminator", "parse_datetime", + "parse_duration", "get_global_from_env", "get_headers", "get_pydantic_model", @@ -124,6 +125,7 @@ async def run_sync_in_thread(func: Callable[..., _T], *args) -> _T: "get_default_logger": ".logger", "get_discriminator": ".annotations", "parse_datetime": ".datetimes", + "parse_duration": ".datetimes", "get_global_from_env": ".values", "get_headers": ".headers", "get_pydantic_model": ".serializers", diff --git a/packages/gcp/src/mistralai/gcp/client/utils/datetimes.py b/packages/gcp/src/mistralai/gcp/client/utils/datetimes.py index a6c52cd61..adad24762 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/datetimes.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/datetimes.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -from datetime import datetime +from datetime import datetime, timedelta import sys +from pydantic import TypeAdapter + def parse_datetime(datetime_string: str) -> datetime: """ @@ -21,3 +23,15 @@ def parse_datetime(datetime_string: str) -> datetime: datetime_string = datetime_string[:-1] + "+00:00" return datetime.fromisoformat(datetime_string) + + +_DURATION_ADAPTER = TypeAdapter(timedelta) + + +def parse_duration(duration_string: str) -> timedelta: + """ + Convert an ISO 8601 duration string (e.g. "PT1H30M") into a timedelta. + The standard library has no ISO 8601 duration parser, so this delegates to + pydantic, which is already a runtime dependency of the SDK. + """ + return _DURATION_ADAPTER.validate_python(duration_string) diff --git a/packages/gcp/src/mistralai/gcp/client/utils/eventstreaming.py b/packages/gcp/src/mistralai/gcp/client/utils/eventstreaming.py index 3bdcd6d3d..07fdb309e 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/eventstreaming.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/eventstreaming.py @@ -7,13 +7,14 @@ Any, Callable, Generic, + List, TypeVar, Optional, Generator, AsyncGenerator, Tuple, ) -import httpx +import httpx2 as httpx T = TypeVar("T") @@ -53,6 +54,9 @@ def __enter__(self): return self def __exit__(self, exc_type, exc_val, exc_tb): + self.close() + + def close(self): self._closed = True self.response.close() @@ -92,6 +96,9 @@ async def __aenter__(self): return self async def __aexit__(self, exc_type, exc_val, exc_tb): + await self.close() + + async def close(self): self._closed = True await self.response.aclose() @@ -114,6 +121,7 @@ class ServerEvent: b"\n\r", b"\n\n", ] +MAX_BOUNDARY_LEN = max(len(b) for b in MESSAGE_BOUNDARIES) UTF8_BOM = b"\xef\xbb\xbf" @@ -124,52 +132,56 @@ async def stream_events_async( sentinel: Optional[str] = None, data_required: bool = True, ) -> AsyncGenerator[T, None]: - buffer = bytearray() - position = 0 - event_id: Optional[str] = None - async for chunk in response.aiter_bytes(): - if len(buffer) == 0 and chunk.startswith(UTF8_BOM): - chunk = chunk[len(UTF8_BOM) :] - buffer += chunk - for i in range(position, len(buffer)): - char = buffer[i : i + 1] - seq: Optional[bytes] = None - if char in [b"\r", b"\n"]: - for boundary in MESSAGE_BOUNDARIES: - seq = _peek_sequence(i, buffer, boundary) - if seq is not None: - break - if seq is None: - continue - - block = buffer[position:i] - position = i + len(seq) - event, discard, event_id = _parse_event( - raw=block, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event - if discard: - await response.aclose() - return - - if position > 0: - buffer = buffer[position:] - position = 0 - - event, discard, _ = _parse_event( - raw=buffer, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event + try: + buffer = bytearray() + position = 0 + event_id: Optional[str] = None + async for chunk in response.aiter_bytes(): + if len(buffer) == 0 and chunk.startswith(UTF8_BOM): + chunk = chunk[len(UTF8_BOM) :] + old_len = len(buffer) + buffer += chunk + search_start = max(position, old_len - MAX_BOUNDARY_LEN + 1) + for i in range(search_start, len(buffer)): + char = buffer[i : i + 1] + seq: Optional[bytes] = None + if char in [b"\r", b"\n"]: + for boundary in MESSAGE_BOUNDARIES: + seq = _peek_sequence(i, buffer, boundary) + if seq is not None: + break + if seq is None: + continue + + block = buffer[position:i] + position = i + len(seq) + event, discard, event_id = _parse_event( + raw=block, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + if discard: + return + + if position > 0: + buffer = buffer[position:] + position = 0 + + event, discard, _ = _parse_event( + raw=buffer, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + finally: + await response.aclose() def stream_events( @@ -178,52 +190,56 @@ def stream_events( sentinel: Optional[str] = None, data_required: bool = True, ) -> Generator[T, None, None]: - buffer = bytearray() - position = 0 - event_id: Optional[str] = None - for chunk in response.iter_bytes(): - if len(buffer) == 0 and chunk.startswith(UTF8_BOM): - chunk = chunk[len(UTF8_BOM) :] - buffer += chunk - for i in range(position, len(buffer)): - char = buffer[i : i + 1] - seq: Optional[bytes] = None - if char in [b"\r", b"\n"]: - for boundary in MESSAGE_BOUNDARIES: - seq = _peek_sequence(i, buffer, boundary) - if seq is not None: - break - if seq is None: - continue - - block = buffer[position:i] - position = i + len(seq) - event, discard, event_id = _parse_event( - raw=block, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event - if discard: - response.close() - return - - if position > 0: - buffer = buffer[position:] - position = 0 - - event, discard, _ = _parse_event( - raw=buffer, - decoder=decoder, - sentinel=sentinel, - event_id=event_id, - data_required=data_required, - ) - if event is not None: - yield event + try: + buffer = bytearray() + position = 0 + event_id: Optional[str] = None + for chunk in response.iter_bytes(): + if len(buffer) == 0 and chunk.startswith(UTF8_BOM): + chunk = chunk[len(UTF8_BOM) :] + old_len = len(buffer) + buffer += chunk + search_start = max(position, old_len - MAX_BOUNDARY_LEN + 1) + for i in range(search_start, len(buffer)): + char = buffer[i : i + 1] + seq: Optional[bytes] = None + if char in [b"\r", b"\n"]: + for boundary in MESSAGE_BOUNDARIES: + seq = _peek_sequence(i, buffer, boundary) + if seq is not None: + break + if seq is None: + continue + + block = buffer[position:i] + position = i + len(seq) + event, discard, event_id = _parse_event( + raw=block, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + if discard: + return + + if position > 0: + buffer = buffer[position:] + position = 0 + + event, discard, _ = _parse_event( + raw=buffer, + decoder=decoder, + sentinel=sentinel, + event_id=event_id, + data_required=data_required, + ) + if event is not None: + yield event + finally: + response.close() def _parse_event( @@ -238,7 +254,7 @@ def _parse_event( lines = re.split(r"\r?\n|\r", block) publish = False event = ServerEvent() - data = "" + data_parts: List[str] = [] for line in lines: if not line: continue @@ -259,7 +275,7 @@ def _parse_event( event.event = value publish = True elif field == "data": - data += value + "\n" + data_parts.append(value) publish = True elif field == "id": publish = True @@ -271,16 +287,17 @@ def _parse_event( publish = True event.id = event_id + has_data = bool(data_parts) + data = "\n".join(data_parts) - if sentinel and data == f"{sentinel}\n": + if sentinel and has_data and data == sentinel: return None, True, event_id # Skip data-less events when data is required - if not data and publish and data_required: + if not has_data and publish and data_required: return None, False, event_id - if data: - data = data[:-1] + if has_data: try: event.data = json.loads(data) except json.JSONDecodeError: @@ -291,7 +308,7 @@ def _parse_event( out_dict = { k: v for k, v in asdict(event).items() - if v is not None or (k == "data" and data) + if v is not None or (k == "data" and has_data) } out = decoder(json.dumps(out_dict)) diff --git a/packages/gcp/src/mistralai/gcp/client/utils/forms.py b/packages/gcp/src/mistralai/gcp/client/utils/forms.py index 1e550bd5c..193f26496 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/forms.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/forms.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +import io from typing import ( Any, Dict, @@ -103,6 +104,10 @@ def _extract_file_properties(file_obj: Any) -> Tuple[str, Any, Any]: if file_metadata.content: content = getattr(file_obj, file_field_name, None) + if isinstance(content, io.TextIOBase): + content = content.read().encode( + getattr(content, "encoding", None) or "utf-8" + ) elif file_field_name == "content_type": content_type = getattr(file_obj, file_field_name, None) else: diff --git a/packages/gcp/src/mistralai/gcp/client/utils/headers.py b/packages/gcp/src/mistralai/gcp/client/utils/headers.py index 37864cbbb..be6bacd51 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/headers.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/headers.py @@ -6,7 +6,7 @@ List, Optional, ) -from httpx import Headers +from httpx2 import Headers from pydantic import BaseModel from pydantic.fields import FieldInfo diff --git a/packages/gcp/src/mistralai/gcp/client/utils/logger.py b/packages/gcp/src/mistralai/gcp/client/utils/logger.py index b661aff65..695e51418 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/logger.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/logger.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -import httpx +import httpx2 as httpx from typing import Any, Protocol diff --git a/packages/gcp/src/mistralai/gcp/client/utils/requestbodies.py b/packages/gcp/src/mistralai/gcp/client/utils/requestbodies.py index 1de32b6d2..591415af8 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/requestbodies.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/requestbodies.py @@ -46,6 +46,7 @@ def serialize_request_body( if re.match(r"^(application|text)\/([^+]+\+)*json.*", media_type) is not None: serialized_request_body.content = marshal_json(request_body, request_body_type) + elif re.match(r"^multipart\/.*", media_type) is not None: ( serialized_request_body.media_type, diff --git a/packages/gcp/src/mistralai/gcp/client/utils/retries.py b/packages/gcp/src/mistralai/gcp/client/utils/retries.py index af07d4e94..2ba7ebdc0 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/retries.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/retries.py @@ -7,14 +7,17 @@ from email.utils import parsedate_to_datetime from typing import List, Optional -import httpx +import httpx2 as httpx class BackoffStrategy: + """Exponential backoff strategy configuration.""" + initial_interval: int max_interval: int exponent: float max_elapsed_time: int + jitter_ms: Optional[int] def __init__( self, @@ -22,24 +25,63 @@ def __init__( max_interval: int, exponent: float, max_elapsed_time: int, + jitter_ms: Optional[int] = None, ): + """Initialize a backoff strategy. + + Args: + initial_interval: Initial retry interval in milliseconds. + max_interval: Maximum retry interval in milliseconds. + exponent: Base of the exponential backoff; the interval grows as + ``initial_interval * exponent ** retries``. + max_elapsed_time: Maximum total elapsed time in milliseconds. + jitter_ms: Additive jitter bound in milliseconds. When set, adds a random + value in ``[0, jitter_ms]`` to each computed backoff interval (default + ``+[0, 1s]``). + + Note: + When a response carries a ``Retry-After`` or ``retry-after-ms`` header, + that delay is used as-is and the sleep-shaping parameters + (``initial_interval``, ``max_interval``, ``exponent``, ``jitter_ms``) are + ignored for that attempt. + """ + if jitter_ms is not None and jitter_ms < 0: + raise ValueError("jitter_ms must be >= 0") self.initial_interval = initial_interval self.max_interval = max_interval self.exponent = exponent self.max_elapsed_time = max_elapsed_time + self.jitter_ms = jitter_ms class RetryConfig: + """Runtime retry configuration.""" + strategy: str backoff: BackoffStrategy retry_connection_errors: bool + status_codes_override: Optional[List[str]] def __init__( - self, strategy: str, backoff: BackoffStrategy, retry_connection_errors: bool + self, + strategy: str, + backoff: BackoffStrategy, + retry_connection_errors: bool, + status_codes_override: Optional[List[str]] = None, ): + """Initialize a retry configuration. + + Args: + strategy: Retry strategy: ``"none"`` or ``"backoff"``. + backoff: Backoff parameters. + retry_connection_errors: Whether to also retry transport-level connection errors. + status_codes_override: Retryable HTTP status codes that take precedence over the + per-operation defaults when non-empty. + """ self.strategy = strategy self.backoff = backoff self.retry_connection_errors = retry_connection_errors + self.status_codes_override = status_codes_override class Retries: @@ -48,7 +90,7 @@ class Retries: def __init__(self, config: RetryConfig, status_codes: List[str]): self.config = config - self.status_codes = status_codes + self.status_codes = config.status_codes_override or status_codes class TemporaryError(Exception): @@ -67,6 +109,18 @@ def __init__(self, inner: Exception): self.inner = inner +_TRANSPORT_ERROR_NAMES = frozenset({"NetworkError", "TimeoutException"}) +_TRANSPORT_ERROR_BASES = frozenset({"TransportError", "RequestError", "HTTPError"}) + + +def _is_transport_error(exception: BaseException) -> bool: + """Report whether an exception is a connection or timeout failure.""" + if isinstance(exception, (httpx.NetworkError, httpx.TimeoutException)): + return True + names = {base.__name__ for base in type(exception).__mro__} + return bool(names & _TRANSPORT_ERROR_NAMES) and _TRANSPORT_ERROR_BASES <= names + + def _parse_retry_after_header(response: httpx.Response) -> Optional[int]: """Parse Retry-After header from response. @@ -93,12 +147,28 @@ def _parse_retry_after_header(response: httpx.Response) -> Optional[int]: return None +def _parse_retry_after_ms_header(response: httpx.Response) -> Optional[int]: + retry_after_ms_header = response.headers.get("retry-after-ms") + if not retry_after_ms_header: + return None + + try: + milliseconds = float(retry_after_ms_header) + if milliseconds >= 0: + return round(milliseconds) + except (OverflowError, ValueError): + pass + + return None + + def _get_sleep_interval( exception: Exception, initial_interval: int, max_interval: int, exponent: float, retries: int, + jitter_ms: Optional[int] = None, ) -> float: """Get sleep interval for retry with exponential backoff. @@ -108,6 +178,7 @@ def _get_sleep_interval( max_interval: Maximum retry interval in milliseconds. exponent: Base for exponential backoff calculation. retries: Current retry attempt count. + jitter_ms: Additive jitter bound in ms; see ``BackoffStrategy.jitter_ms``. Returns: Sleep interval in seconds. @@ -119,7 +190,11 @@ def _get_sleep_interval( ): return exception.retry_after / 1000 - sleep = (initial_interval / 1000) * exponent**retries + random.uniform(0, 1) + sleep = (initial_interval / 1000) * exponent**retries + if jitter_ms is not None: + sleep += random.uniform(0, jitter_ms / 1000) + else: + sleep += random.uniform(0, 1) return min(sleep, max_interval / 1000) @@ -144,14 +219,15 @@ def do_request() -> httpx.Response: if res.status_code == parsed_code: raise TemporaryError(res) - except (httpx.NetworkError, httpx.TimeoutException) as exception: - if retries.config.retry_connection_errors: - raise - - raise PermanentError(exception) from exception except TemporaryError: raise except Exception as exception: + if ( + _is_transport_error(exception) + and retries.config.retry_connection_errors + ): + raise + raise PermanentError(exception) from exception return res @@ -162,6 +238,7 @@ def do_request() -> httpx.Response: retries.config.backoff.max_interval, retries.config.backoff.exponent, retries.config.backoff.max_elapsed_time, + retries.config.backoff.jitter_ms, ) return func() @@ -188,14 +265,15 @@ async def do_request() -> httpx.Response: if res.status_code == parsed_code: raise TemporaryError(res) - except (httpx.NetworkError, httpx.TimeoutException) as exception: - if retries.config.retry_connection_errors: - raise - - raise PermanentError(exception) from exception except TemporaryError: raise except Exception as exception: + if ( + _is_transport_error(exception) + and retries.config.retry_connection_errors + ): + raise + raise PermanentError(exception) from exception return res @@ -206,6 +284,7 @@ async def do_request() -> httpx.Response: retries.config.backoff.max_interval, retries.config.backoff.exponent, retries.config.backoff.max_elapsed_time, + retries.config.backoff.jitter_ms, ) return await func() @@ -217,6 +296,7 @@ def retry_with_backoff( max_interval=60000, exponent=1.5, max_elapsed_time=3600000, + jitter_ms=None, ): start = round(time.time() * 1000) retries = 0 @@ -234,8 +314,18 @@ def retry_with_backoff( raise + if isinstance(exception, TemporaryError): + retry_after_ms = _parse_retry_after_ms_header(exception.response) + if retry_after_ms is not None: + exception.retry_after = retry_after_ms + exception.response.close() sleep = _get_sleep_interval( - exception, initial_interval, max_interval, exponent, retries + exception, + initial_interval, + max_interval, + exponent, + retries, + jitter_ms=jitter_ms, ) time.sleep(sleep) retries += 1 @@ -247,6 +337,7 @@ async def retry_with_backoff_async( max_interval=60000, exponent=1.5, max_elapsed_time=3600000, + jitter_ms=None, ): start = round(time.time() * 1000) retries = 0 @@ -264,8 +355,18 @@ async def retry_with_backoff_async( raise + if isinstance(exception, TemporaryError): + retry_after_ms = _parse_retry_after_ms_header(exception.response) + if retry_after_ms is not None: + exception.retry_after = retry_after_ms + await exception.response.aclose() sleep = _get_sleep_interval( - exception, initial_interval, max_interval, exponent, retries + exception, + initial_interval, + max_interval, + exponent, + retries, + jitter_ms=jitter_ms, ) await asyncio.sleep(sleep) retries += 1 diff --git a/packages/gcp/src/mistralai/gcp/client/utils/serializers.py b/packages/gcp/src/mistralai/gcp/client/utils/serializers.py index d2149f8b9..a68f09c77 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/serializers.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/serializers.py @@ -4,11 +4,11 @@ import functools import json import typing -from typing import Any, Dict, List, Tuple, Union, get_args +from typing import Any, Dict, Iterable, List, Mapping, Tuple, Union, get_args import typing_extensions from typing_extensions import get_origin -import httpx +import httpx2 as httpx from pydantic import ConfigDict, create_model from pydantic_core import from_json @@ -113,10 +113,12 @@ def validate(c): def unmarshal_json(raw, typ: Any) -> Any: - return unmarshal(from_json(raw), typ) + return unmarshal(from_json(raw), typ, coerce_iterables=False) -def unmarshal(val, typ: Any) -> Any: +def unmarshal(val, typ: Any, coerce_iterables: bool = True) -> Any: + if coerce_iterables: + val = _coerce_iterables_for_type(val, typ) unmarshaller = create_model( "Unmarshaller", body=(typ, ...), @@ -193,9 +195,88 @@ def get_pydantic_model(data: Any, typ: Any) -> Any: if not _contains_pydantic_model(data): return unmarshal(data, typ) + return _coerce_iterables_for_type(data, typ) + + +def _coerce_iterables_for_type(data: Any, typ: Any) -> Any: + if data is None or isinstance(data, (BaseModel, Unset)): + return data + + typ = _resolve_type_alias(typ) + origin = get_origin(typ) + + if _is_annotated_type(origin): + args = get_args(typ) + return _coerce_iterables_for_type(data, args[0]) if args else data + + if is_union(origin): + for arg in (arg for arg in get_args(typ) if arg is not type(None)): + coerced = _coerce_iterables_for_type(data, arg) + if coerced is not data: + return coerced + return data + + if _is_list_type(typ): + item_type = get_args(typ)[0] if get_args(typ) else Any + if isinstance(data, (str, bytes, bytearray, Mapping)): + return data + if isinstance(data, Iterable): + return [_coerce_iterables_for_type(item, item_type) for item in data] + return data + + if _is_mapping_type(typ): + value_type = get_args(typ)[1] if len(get_args(typ)) > 1 else Any + if isinstance(data, Mapping): + return { + key: _coerce_iterables_for_type(value, value_type) + for key, value in data.items() + } + return data + + if _is_pydantic_model_type(typ) and isinstance(data, Mapping): + coerced = None + for field_name, field in typ.model_fields.items(): + field_type = field.annotation + for key in (field_name, field.alias): + if key is not None and key in data: + value = data[key] if coerced is None else coerced[key] + coerced_value = _coerce_iterables_for_type(value, field_type) + if coerced_value is not value: + if coerced is None: + coerced = dict(data) + coerced[key] = coerced_value + return coerced if coerced is not None else data + return data +def _resolve_type_alias(typ: Any) -> Any: + return getattr(typ, "__value__", typ) + + +def _is_annotated_type(origin: Any) -> bool: + return any( + origin is typing_obj + for typing_obj in _get_typing_objects_by_name_of("Annotated") + ) + + +def _is_list_type(typ: Any) -> bool: + typ = _resolve_type_alias(typ) + return typ is list or get_origin(typ) is list + + +def _is_mapping_type(typ: Any) -> bool: + typ = _resolve_type_alias(typ) + origin = get_origin(typ) + mapping_origin = get_origin(Mapping[Any, Any]) + return typ in (dict, Dict, Mapping) or origin in (dict, Mapping, mapping_origin) + + +def _is_pydantic_model_type(typ: Any) -> bool: + return isinstance(typ, type) and issubclass(typ, BaseModel) + + def _contains_pydantic_model(data: Any) -> bool: if isinstance(data, BaseModel): return True diff --git a/packages/gcp/src/mistralai/gcp/client/utils/unions.py b/packages/gcp/src/mistralai/gcp/client/utils/unions.py index a227f4e87..243464023 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/unions.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/unions.py @@ -2,7 +2,7 @@ from typing import Any -from pydantic import BaseModel, TypeAdapter +from pydantic import BaseModel, TypeAdapter, ValidationError def parse_open_union( @@ -16,8 +16,14 @@ def parse_open_union( """Parse an open discriminated union value with forward-compatibility. Known discriminator values are dispatched to their variant types. - Unknown discriminator values produce an instance of the fallback class, - preserving the raw payload for inspection. + Unknown discriminator values — or known discriminator values whose + payload fails variant validation (e.g. a partial variant emitted by a + newer server) — produce an instance of the fallback class, preserving + the raw payload for inspection. + + Non-dict values and dicts missing the discriminator deliberately raise + instead of falling back, so pydantic can try sibling branches of an + enclosing union (e.g. None in Optional[...]). """ if isinstance(v, BaseModel): return v @@ -26,7 +32,10 @@ def parse_open_union( disc = v[disc_key] variant_cls = variants.get(disc) if variant_cls is not None: - if isinstance(variant_cls, type) and issubclass(variant_cls, BaseModel): - return variant_cls.model_validate(v) - return TypeAdapter(variant_cls).validate_python(v) + try: + if isinstance(variant_cls, type) and issubclass(variant_cls, BaseModel): + return variant_cls.model_validate(v) + return TypeAdapter(variant_cls).validate_python(v) + except ValidationError: + return unknown_cls(raw=v) return unknown_cls(raw=v) diff --git a/packages/gcp/src/mistralai/gcp/client/utils/unmarshal_json_response.py b/packages/gcp/src/mistralai/gcp/client/utils/unmarshal_json_response.py index ead3e5a00..4d3ace7ab 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/unmarshal_json_response.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/unmarshal_json_response.py @@ -2,7 +2,7 @@ from typing import Any, Optional, Type, TypeVar, overload -import httpx +import httpx2 as httpx from .serializers import unmarshal_json from mistralai.gcp.client import errors diff --git a/packages/gcp/src/mistralai/gcp/client/utils/values.py b/packages/gcp/src/mistralai/gcp/client/utils/values.py index dae01a443..2bba1465b 100644 --- a/packages/gcp/src/mistralai/gcp/client/utils/values.py +++ b/packages/gcp/src/mistralai/gcp/client/utils/values.py @@ -7,7 +7,7 @@ import os from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union, cast -from httpx import Response +from httpx2 import Response from pydantic import BaseModel from pydantic.fields import FieldInfo @@ -52,9 +52,11 @@ def match_status_codes(status_codes: List[str], status_code: int) -> bool: T = TypeVar("T") + def cast_partial(typ): return partial(cast, typ) + def get_global_from_env( value: Optional[T], env_key: str, type_cast: Callable[[str], T] ) -> Optional[T]: diff --git a/packages/gcp/uv.lock b/packages/gcp/uv.lock index cdd25ade5..37f455fa4 100644 --- a/packages/gcp/uv.lock +++ b/packages/gcp/uv.lock @@ -457,31 +457,42 @@ wheels = [ ] [[package]] -name = "httpcore" -version = "1.0.9" +name = "httpcore2" +version = "2.13.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "certifi" }, { name = "h11" }, + { name = "truststore" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +sdist = { url = "https://files.pythonhosted.org/packages/15/8c/e925b1c92018abb3a1863ce1549d76d2381e334d21d65d4ac8f65dabd78a/httpcore2-2.13.0.tar.gz", hash = "sha256:2adc8be4fb285fbcd6d894298db3b52c177e74b6674eda3a76bd36be3292a3db", size = 67740, upload-time = "2026-09-14T14:18:04.717Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0d/117a771a2bb91df334b66bf4da14cd02f21aefbcfe53180f336ce55e8f90/httpcore2-2.13.0-py3-none-any.whl", hash = "sha256:35ae5be347aa40467b4a5dc032ac67ebb6d27189fc97e8cebcf99616f6a1bb9e", size = 83162, upload-time = "2026-09-14T14:18:02.529Z" }, ] [[package]] -name = "httpx" -version = "0.28.1" +name = "httpx2" +version = "2.13.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "anyio" }, - { name = "certifi" }, - { name = "httpcore" }, + { name = "anyio", marker = "sys_platform != 'emscripten'" }, + { name = "httpcore2", marker = "sys_platform != 'emscripten'" }, + { name = "httpx2-jsfetch", marker = "python_full_version >= '3.12' and sys_platform == 'emscripten'" }, { name = "idna" }, + { name = "truststore", marker = "sys_platform != 'emscripten'" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b9/a0/e9deef4654132857b5a5dbe4eddd0ac59c2814500e11f2f5044cd81103ee/httpx2-2.13.0.tar.gz", hash = "sha256:81bd07dc67a3701729ef1f777a3c00c915d4539604fdb5afd327f8682f6b7b44", size = 100290, upload-time = "2026-09-14T14:18:05.486Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, + { url = "https://files.pythonhosted.org/packages/fe/d1/a0c72b0e006df654709fbc366cc5bcb53e5aee13e1e3395152c6dd293376/httpx2-2.13.0-py3-none-any.whl", hash = "sha256:fc12720cedf72faa26cca6b4ca394e05c894e7d7933fc45cafe767960804e49a", size = 95565, upload-time = "2026-09-14T14:18:03.553Z" }, +] + +[[package]] +name = "httpx2-jsfetch" +version = "1.0" +source = { registry = "https://pypi.org/simple/" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872, upload-time = "2026-08-07T00:13:07.492Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382, upload-time = "2026-08-07T00:13:06.567Z" }, ] [[package]] @@ -527,7 +538,7 @@ source = { editable = "." } dependencies = [ { name = "eval-type-backport" }, { name = "google-auth" }, - { name = "httpx" }, + { name = "httpx2" }, { name = "pydantic" }, { name = "python-dateutil" }, { name = "requests" }, @@ -548,7 +559,7 @@ dev = [ requires-dist = [ { name = "eval-type-backport", specifier = ">=0.2.0" }, { name = "google-auth", specifier = ">=2.31.0,<3.0.0" }, - { name = "httpx", specifier = ">=0.28.1" }, + { name = "httpx2", specifier = ">=2.13.0" }, { name = "pydantic", specifier = ">=2.11.2" }, { name = "python-dateutil", specifier = ">=2.8.2" }, { name = "requests", specifier = ">=2.32.3,<3.0.0" }, @@ -981,6 +992,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/13/bc/8c13eb66537dce1d2bd3a57132902f38d0e7f5bb46fa9f4daed9fe9d76ee/tomlkit-0.15.1-py3-none-any.whl", hash = "sha256:177a05aece5a8ca5266fd3c448abb47b8d352f09d477d3ca8332db4d89b24304", size = 49449, upload-time = "2026-07-17T01:48:05.728Z" }, ] +[[package]] +name = "truststore" +version = "0.10.4" +source = { registry = "https://pypi.org/simple/" } +sdist = { url = "https://files.pythonhosted.org/packages/53/a3/1585216310e344e8102c22482f6060c7a6ea0322b63e026372e6dcefcfd6/truststore-0.10.4.tar.gz", hash = "sha256:9d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301", size = 26169, upload-time = "2025-08-12T18:49:02.73Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/19/97/56608b2249fe206a67cd573bc93cd9896e1efb9e98bce9c163bcdc704b88/truststore-0.10.4-py3-none-any.whl", hash = "sha256:adaeaecf1cbb5f4de3b1959b42d41f6fab57b2b1666adb59e89cb0b53361d981", size = 18660, upload-time = "2025-08-12T18:49:01.46Z" }, +] + [[package]] name = "types-python-dateutil" version = "2.9.0.20260807" diff --git a/pyproject.toml b/pyproject.toml index 2f76b3a58..f7a8de096 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,13 @@ [project] name = "mistralai" -version = "2.10.1" +version = "3.0.0" description = "Python Client SDK for the Mistral AI API." authors = [{ name = "Mistral" }] requires-python = ">=3.10" readme = "README-PYPI.md" dependencies = [ "eval-type-backport >=0.2.0", - "httpx >=0.28.1", + "httpx2 >=2.13.0", "pydantic >=2.11.2", "python-dateutil >=2.8.2", "typing-inspection >=0.4.0", @@ -21,10 +21,13 @@ gcp = [ "google-auth >=2.27.0", "requests >=2.32.3", ] +mcp = [ + "mcp >=2.2.0,<3.0", +] agents = [ - "mcp >=1.0,<2.0", + "mcp >=2.2.0,<3.0", "griffe >=1.7.3,<2.0", - "authlib >=1.5.2,<2.0", + "authlib >=1.8.0,<2.0", ] realtime = [ "websockets >=13.0", @@ -51,7 +54,7 @@ workflow_payload_offloading = [ "mistralai[workflow_payload_offloading_s3]", ] workflow_payload_encryption = [ - "cryptography>=41.0.0,<47.0.0", + "cryptography>=50.0.0,<51.0.0", ] workflow_payload_compression = [ "msgpack>=1.1.0,<2.0.0", @@ -68,7 +71,7 @@ dev = [ "pyyaml>=6.0.2,<7", "mypy==1.15.0", "msgpack>=1.1.0,<2.0.0", - "opentelemetry-instrumentation-httpx (>=0.60b1)", + "opentelemetry-instrumentation-httpx (>=0.65b0)", "opentelemetry-sdk (>=1.33.1,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.33.1,<2.0.0)", "pylint==3.2.3", @@ -77,9 +80,9 @@ dev = [ "types-python-dateutil>=2.9.0.20240316,<3", "types-authlib>=1.5.0.20250516,<2", "types-pyyaml>=6.0.12.20250516,<7", - "mcp>=1.0,<2", + "mcp>=2.2.0,<3", "griffe>=1.7.3,<2", - "authlib>=1.5.2,<2", + "authlib>=1.8.0,<2", "websockets >=13.0", "zstandard>=0.25.0,<0.26", ] diff --git a/scripts/lint_custom_code.sh b/scripts/lint_custom_code.sh index 872e25517..b74caca79 100755 --- a/scripts/lint_custom_code.sh +++ b/scripts/lint_custom_code.sh @@ -83,6 +83,12 @@ uv run ruff check packages/gcp/src/mistralai/gcp/client/sdk.py || ERRORS=1 echo "-> running on scripts" uv run ruff check scripts/ || ERRORS=1 +# Speakeasy runs this in Compile SDK, nothing runs it on a PR, and custom +# regions put hand-written code inside generated files. #54764 added one and +# only build 103 found out, four days later. +echo "Running pylint..." +uv run python -m pylint -j=0 --rcfile=pylintrc src/mistralai/client || ERRORS=1 + if [ "$ERRORS" -ne 0 ]; then echo "❌ One or more linters failed" exit 1 diff --git a/src/mistralai/client/__init__.py b/src/mistralai/client/__init__.py index 4b79610a3..833c68cd5 100644 --- a/src/mistralai/client/__init__.py +++ b/src/mistralai/client/__init__.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f1b791f9d2a5 from ._version import ( __title__, diff --git a/src/mistralai/client/_hooks/__init__.py b/src/mistralai/client/_hooks/__init__.py index 66a04e372..2ee66cdd5 100644 --- a/src/mistralai/client/_hooks/__init__.py +++ b/src/mistralai/client/_hooks/__init__.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cef9ff97efd7 from .sdkhooks import * from .types import * diff --git a/src/mistralai/client/_hooks/custom_user_agent.py b/src/mistralai/client/_hooks/custom_user_agent.py index 212f2172d..ab3232dd9 100644 --- a/src/mistralai/client/_hooks/custom_user_agent.py +++ b/src/mistralai/client/_hooks/custom_user_agent.py @@ -1,7 +1,7 @@ # MAKE SURE YOU UPDATE THE COPIES OF THIS FILES IN THE PROVIDERS'S PACKAGES WHEN YOU MAKE CHANGES HERE from typing import Union -import httpx +import httpx2 as httpx from .types import BeforeRequestContext, BeforeRequestHook diff --git a/src/mistralai/client/_hooks/deprecation_warning.py b/src/mistralai/client/_hooks/deprecation_warning.py index 8de2968b0..fb788150c 100644 --- a/src/mistralai/client/_hooks/deprecation_warning.py +++ b/src/mistralai/client/_hooks/deprecation_warning.py @@ -1,7 +1,7 @@ import logging from typing import Union -import httpx +import httpx2 as httpx from .types import AfterSuccessContext, AfterSuccessHook diff --git a/src/mistralai/client/_hooks/registration.py b/src/mistralai/client/_hooks/registration.py index f262aee1e..9635b79ed 100644 --- a/src/mistralai/client/_hooks/registration.py +++ b/src/mistralai/client/_hooks/registration.py @@ -5,6 +5,7 @@ from .types import Hooks from .stream_error_hook import WorkflowStreamErrorHook from .workflow_encoding_hook import WorkflowEncodingHook +from .service_account_auth import ServiceAccountAuthHook # This file is only ever generated once on the first generation and then is free to be modified. # Any hooks you wish to add should be registered in the init_hooks function. Feel free to define them @@ -19,6 +20,7 @@ def init_hooks(hooks: Hooks): """ tracing_hook = TracingHook() workflow_encoding_hook = WorkflowEncodingHook() + hooks.register_before_request_hook(ServiceAccountAuthHook()) hooks.register_before_request_hook(CustomUserAgentHook()) hooks.register_before_request_hook(TraceparentInjectionHook()) hooks.register_after_success_hook(DeprecationWarningHook()) diff --git a/src/mistralai/client/_hooks/sdkhooks.py b/src/mistralai/client/_hooks/sdkhooks.py index ecf94240a..67745c628 100644 --- a/src/mistralai/client/_hooks/sdkhooks.py +++ b/src/mistralai/client/_hooks/sdkhooks.py @@ -1,7 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ed1e485b2153 -import httpx +import httpx2 as httpx from .types import ( SDKInitHook, BeforeRequestContext, diff --git a/src/mistralai/client/_hooks/service_account_auth.py b/src/mistralai/client/_hooks/service_account_auth.py new file mode 100644 index 000000000..7585b3484 --- /dev/null +++ b/src/mistralai/client/_hooks/service_account_auth.py @@ -0,0 +1,68 @@ +import os +from pathlib import Path +from typing import Optional + +import httpx2 as httpx + +from mistralai.extra.exceptions import MistralClientException + +from .types import BeforeRequestContext, BeforeRequestHook + +MISTRAL_SA_TOKEN_PATH_ENV = "MISTRAL_SA_TOKEN_PATH" + + +class ServiceAccountTokenError(MistralClientException): + """Raised when the configured service-account token file cannot be read.""" + + +def read_service_account_token() -> Optional[str]: + """Read the token at ``MISTRAL_SA_TOKEN_PATH``, or None when it is unset. + + Uncached so kubelet rotation is picked up: the read is negligible next to the request, and + caching would need the token's expiry, which would drag a JWT dependency into the client. + """ + path = os.getenv(MISTRAL_SA_TOKEN_PATH_ENV) + if not path: + return None + try: + token = Path(path).read_text(encoding="utf-8").strip() + except OSError as exc: + raise ServiceAccountTokenError( + f"Failed to read service-account token from {path}" + ) from exc + if not token: + raise ServiceAccountTokenError(f"Service-account token file is empty: {path}") + return token + + +def bearer_header(token: str) -> str: + return token if token.lower().startswith("bearer ") else f"Bearer {token}" + + +def _env_authorization() -> Optional[str]: + api_key = os.getenv("MISTRAL_API_KEY") + return bearer_header(api_key) if api_key else None + + +class ServiceAccountAuthHook(BeforeRequestHook): + """Authenticates from ``MISTRAL_SA_TOKEN_PATH`` when no api_key was passed. + + Yields the precedence per-request headers > explicit api_key > SA token > ``MISTRAL_API_KEY``. + The generated security layer already covers the explicit key and ``MISTRAL_API_KEY``. + """ + + def before_request( + self, hook_ctx: BeforeRequestContext, request: httpx.Request + ) -> httpx.Request: + if hook_ctx.config.security is not None: + return request + # http_headers are applied at build time, before hooks run. Anything other than the env + # key's header came from the caller and outranks the service-account token. + existing = request.headers.get("Authorization") + if existing is not None and existing != _env_authorization(): + return request + token = read_service_account_token() + if token is None: + return request + request.headers["Authorization"] = bearer_header(token) + return request diff --git a/src/mistralai/client/_hooks/stream_error_hook.py b/src/mistralai/client/_hooks/stream_error_hook.py index f199244ad..bab45c1cb 100644 --- a/src/mistralai/client/_hooks/stream_error_hook.py +++ b/src/mistralai/client/_hooks/stream_error_hook.py @@ -2,8 +2,8 @@ import re from typing import Any, AsyncIterator, Dict, Iterator, Optional, Tuple, Union, get_args -import httpx -from httpx._types import AsyncByteStream, SyncByteStream +import httpx2 as httpx +from httpx2._types import AsyncByteStream, SyncByteStream from .types import AfterSuccessContext, AfterSuccessHook from mistralai.extra.exceptions import ( diff --git a/src/mistralai/client/_hooks/traceparent.py b/src/mistralai/client/_hooks/traceparent.py index 8446e82a5..da3b66389 100644 --- a/src/mistralai/client/_hooks/traceparent.py +++ b/src/mistralai/client/_hooks/traceparent.py @@ -2,7 +2,7 @@ import random from typing import Any, Dict, Optional, Union -import httpx +import httpx2 as httpx from opentelemetry.propagate import inject from .types import BeforeRequestContext, BeforeRequestHook diff --git a/src/mistralai/client/_hooks/tracing.py b/src/mistralai/client/_hooks/tracing.py index 120569c12..de02ad0e2 100644 --- a/src/mistralai/client/_hooks/tracing.py +++ b/src/mistralai/client/_hooks/tracing.py @@ -4,7 +4,7 @@ from functools import wraps from typing import Any, Optional, Tuple, Union -import httpx +import httpx2 as httpx from opentelemetry import context as context_api from opentelemetry import trace from opentelemetry.trace import Span, Status, StatusCode, set_span_in_context diff --git a/src/mistralai/client/_hooks/types.py b/src/mistralai/client/_hooks/types.py index ee6e28004..5052bb072 100644 --- a/src/mistralai/client/_hooks/types.py +++ b/src/mistralai/client/_hooks/types.py @@ -1,8 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 85cfedfb7582 from abc import ABC, abstractmethod -import httpx +import httpx2 as httpx from mistralai.client.httpclient import HttpClient from mistralai.client.sdkconfiguration import SDKConfiguration from typing import Any, Callable, Dict, List, Optional, Tuple, Union diff --git a/src/mistralai/client/_hooks/workflow_encoding_hook.py b/src/mistralai/client/_hooks/workflow_encoding_hook.py index b33598f59..b798423b4 100644 --- a/src/mistralai/client/_hooks/workflow_encoding_hook.py +++ b/src/mistralai/client/_hooks/workflow_encoding_hook.py @@ -7,8 +7,8 @@ import weakref from typing import Any, AsyncIterator, Coroutine, Dict, Optional, TypeVar, Union -import httpx -from httpx._types import AsyncByteStream +import httpx2 as httpx +from httpx2._types import AsyncByteStream from .types import ( AfterSuccessContext, diff --git a/src/mistralai/client/_version.py b/src/mistralai/client/_version.py index d0c2346d1..09081afce 100644 --- a/src/mistralai/client/_version.py +++ b/src/mistralai/client/_version.py @@ -1,13 +1,12 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cc807b30de19 import importlib.metadata __title__: str = "mistralai" -__version__: str = "2.10.1" +__version__: str = "3.0.0" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.935.1" -__user_agent__: str = "speakeasy-sdk/python 2.10.1 2.935.1 1.0.0 mistralai" +__user_agent__: str = "speakeasy-sdk/python 3.0.0 2.935.1 1.0.0 mistralai" try: if __package__ is not None: diff --git a/src/mistralai/client/accesses.py b/src/mistralai/client/accesses.py index 4ece96dd9..704aceee5 100644 --- a/src/mistralai/client/accesses.py +++ b/src/mistralai/client/accesses.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 76fc53bfcf59 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/agents.py b/src/mistralai/client/agents.py index af0070292..131deb53f 100644 --- a/src/mistralai/client/agents.py +++ b/src/mistralai/client/agents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e946546e3eaa from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/audio.py b/src/mistralai/client/audio.py index 597954e4f..4cf4d06d2 100644 --- a/src/mistralai/client/audio.py +++ b/src/mistralai/client/audio.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7a8ed2e90d61 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/basesdk.py b/src/mistralai/client/basesdk.py index b305e63e3..03847ec08 100644 --- a/src/mistralai/client/basesdk.py +++ b/src/mistralai/client/basesdk.py @@ -1,8 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7518c67b81ea from .sdkconfiguration import SDKConfiguration -import httpx +import httpx2 as httpx from mistralai.client import errors, models, utils from mistralai.client._hooks import ( AfterErrorContext, diff --git a/src/mistralai/client/batch.py b/src/mistralai/client/batch.py index 59117c8e8..f2c04da08 100644 --- a/src/mistralai/client/batch.py +++ b/src/mistralai/client/batch.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cffe114c7ac7 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/beta.py b/src/mistralai/client/beta.py index 21c69eea0..37297dc8a 100644 --- a/src/mistralai/client/beta.py +++ b/src/mistralai/client/beta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 981417f45147 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/beta_agents.py b/src/mistralai/client/beta_agents.py index 3a32a2c4f..60d085f52 100644 --- a/src/mistralai/client/beta_agents.py +++ b/src/mistralai/client/beta_agents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b64ad29b7174 from .basesdk import BaseSDK from jsonpath import JSONPath diff --git a/src/mistralai/client/beta_prompts.py b/src/mistralai/client/beta_prompts.py index 9bb79d058..f8ac8d422 100644 --- a/src/mistralai/client/beta_prompts.py +++ b/src/mistralai/client/beta_prompts.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bb124f107a50 from .basesdk import BaseSDK from jsonpath import JSONPath diff --git a/src/mistralai/client/chat.py b/src/mistralai/client/chat.py index 6760ea0c9..ccf490913 100644 --- a/src/mistralai/client/chat.py +++ b/src/mistralai/client/chat.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7eba0f088d47 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/classifiers.py b/src/mistralai/client/classifiers.py index d50ed2ad4..aa0f29b1f 100644 --- a/src/mistralai/client/classifiers.py +++ b/src/mistralai/client/classifiers.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 26e773725732 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/connectors.py b/src/mistralai/client/connectors.py index cab86f099..4de4eca01 100644 --- a/src/mistralai/client/connectors.py +++ b/src/mistralai/client/connectors.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 39da03126050 from .basesdk import BaseSDK from mistralai.client import errors, models, utils @@ -8,11 +7,59 @@ from mistralai.client.utils import get_security_from_env from mistralai.client.utils.unmarshal_json_response import unmarshal_json_response from typing import Any, Dict, List, Mapping, Optional, Union, cast +from typing_extensions import deprecated + +# region imports +import httpx2 as httpx + +from mistralai.extra.connectors_gateway import ( # pylint: disable=ungrouped-imports + MCPClientContext, + http_client as create_http_client, + mcp_client as create_mcp_client, +) +# endregion imports class Connectors(BaseSDK): r"""(beta) Connectors API - manage your connectors""" + # region sdk-class-body + def mcp_client( + self, + *, + connector_id_or_name: str, + credentials_name: Optional[str] = None, + ) -> MCPClientContext: + r"""Open an official MCP client session through the connectors gateway. + + Requires the optional ``mcp`` dependencies. Use the returned context + manager with ``async with``. + """ + return create_mcp_client( + self.sdk_configuration, + connector_id_or_name=connector_id_or_name, + credentials_name=credentials_name, + ) + + def http_client( + self, + *, + connector_id_or_name: str, + credentials_name: Optional[str] = None, + ) -> httpx.AsyncClient: + r"""Create an HTTP client targeting a connector through the gateway. + + Use the returned client with ``async with`` and make requests with paths + relative to the connector's configured upstream URL. + """ + return create_http_client( + self.sdk_configuration, + connector_id_or_name=connector_id_or_name, + credentials_name=credentials_name, + ) + + # endregion sdk-class-body + def create( self, *, @@ -1795,6 +1842,9 @@ async def deactivate_for_consumer_async( raise errors.SDKError("Unexpected response received", http_res) + @deprecated( + "warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ) def call_tool( self, *, @@ -1908,6 +1958,9 @@ def call_tool( raise errors.SDKError("Unexpected response received", http_res) + @deprecated( + "warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ) async def call_tool_async( self, *, @@ -2025,7 +2078,6 @@ def list_tools( self, *, connector_id_or_name: str, - page: Optional[int] = 1, page_size: Optional[int] = 100, refresh: Optional[bool] = False, pretty: Optional[bool] = False, @@ -2040,7 +2092,6 @@ def list_tools( List all tools available for an MCP connector. :param connector_id_or_name: - :param page: :param page_size: :param refresh: :param pretty: Return a simplified payload with only name, description, annotations, and a compact inputSchema. @@ -2065,7 +2116,6 @@ def list_tools( request = models.ConnectorListToolsV1Request( connector_id_or_name=connector_id_or_name, - page=page, page_size=page_size, refresh=refresh, pretty=pretty, @@ -2137,7 +2187,6 @@ async def list_tools_async( self, *, connector_id_or_name: str, - page: Optional[int] = 1, page_size: Optional[int] = 100, refresh: Optional[bool] = False, pretty: Optional[bool] = False, @@ -2152,7 +2201,6 @@ async def list_tools_async( List all tools available for an MCP connector. :param connector_id_or_name: - :param page: :param page_size: :param refresh: :param pretty: Return a simplified payload with only name, description, annotations, and a compact inputSchema. @@ -2177,7 +2225,6 @@ async def list_tools_async( request = models.ConnectorListToolsV1Request( connector_id_or_name=connector_id_or_name, - page=page, page_size=page_size, refresh=refresh, pretty=pretty, @@ -3739,414 +3786,24 @@ async def update_credentials_async( raise errors.SDKError("Unexpected response received", http_res) - def delete_organization_credentials( + def delete_credentials( self, *, credentials_name: str, connector_id_or_name: str, + consumer_scope: models.ConnectorDeleteCredentialsConsumerScope, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, ) -> models.MessageResponse: - r"""Delete organization credentials for a connector. + r"""Delete credentials for a consumer. - Delete credentials at the organization level for a given connector. - - :param credentials_name: - :param connector_id_or_name: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if timeout_ms is None: - timeout_ms = 300000 - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.ConnectorDeleteOrganizationCredentialsV1Request( - credentials_name=credentials_name, - connector_id_or_name=connector_id_or_name, - ) - - req = self._build_request( - method="DELETE", - path="/v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name}", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=False, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="connector_delete_organization_credentials_v1", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["beta.connectors"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.MessageResponse, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - errors.HTTPValidationErrorData, http_res - ) - raise errors.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - - raise errors.SDKError("Unexpected response received", http_res) - - async def delete_organization_credentials_async( - self, - *, - credentials_name: str, - connector_id_or_name: str, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.MessageResponse: - r"""Delete organization credentials for a connector. - - Delete credentials at the organization level for a given connector. - - :param credentials_name: - :param connector_id_or_name: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if timeout_ms is None: - timeout_ms = 300000 - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.ConnectorDeleteOrganizationCredentialsV1Request( - credentials_name=credentials_name, - connector_id_or_name=connector_id_or_name, - ) - - req = self._build_request_async( - method="DELETE", - path="/v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name}", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=False, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="connector_delete_organization_credentials_v1", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["beta.connectors"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.MessageResponse, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - errors.HTTPValidationErrorData, http_res - ) - raise errors.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - - raise errors.SDKError("Unexpected response received", http_res) - - def delete_workspace_credentials( - self, - *, - credentials_name: str, - connector_id_or_name: str, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.MessageResponse: - r"""Delete workspace credentials for a connector. - - Delete credentials at the workspace level for a given connector. - - :param credentials_name: - :param connector_id_or_name: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if timeout_ms is None: - timeout_ms = 300000 - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.ConnectorDeleteWorkspaceCredentialsV1Request( - credentials_name=credentials_name, - connector_id_or_name=connector_id_or_name, - ) - - req = self._build_request( - method="DELETE", - path="/v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name}", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=False, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="connector_delete_workspace_credentials_v1", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["beta.connectors"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.MessageResponse, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - errors.HTTPValidationErrorData, http_res - ) - raise errors.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - - raise errors.SDKError("Unexpected response received", http_res) - - async def delete_workspace_credentials_async( - self, - *, - credentials_name: str, - connector_id_or_name: str, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.MessageResponse: - r"""Delete workspace credentials for a connector. - - Delete credentials at the workspace level for a given connector. - - :param credentials_name: - :param connector_id_or_name: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if timeout_ms is None: - timeout_ms = 300000 - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.ConnectorDeleteWorkspaceCredentialsV1Request( - credentials_name=credentials_name, - connector_id_or_name=connector_id_or_name, - ) - - req = self._build_request_async( - method="DELETE", - path="/v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name}", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=False, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="connector_delete_workspace_credentials_v1", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["beta.connectors"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.MessageResponse, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - errors.HTTPValidationErrorData, http_res - ) - raise errors.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.SDKError("API error occurred", http_res, http_res_text) - - raise errors.SDKError("Unexpected response received", http_res) - - def delete_user_credentials( - self, - *, - credentials_name: str, - connector_id_or_name: str, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.MessageResponse: - r"""Delete user credentials for a connector. - - Delete credentials at the user level for a given connector. + Delete connector credentials for a given consumer. :param credentials_name: :param connector_id_or_name: + :param consumer_scope: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4165,14 +3822,15 @@ def delete_user_credentials( else: base_url = self._get_url(base_url, url_variables) - request = models.ConnectorDeleteUserCredentialsV1Request( + request = models.ConnectorDeleteCredentialsRequest( credentials_name=credentials_name, connector_id_or_name=connector_id_or_name, + consumer_scope=consumer_scope, ) req = self._build_request( method="DELETE", - path="/v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name}", + path="/v1/connectors/{connector_id_or_name}/{consumer_scope}/credentials/{credentials_name}", base_url=base_url, url_variables=url_variables, request=request, @@ -4199,7 +3857,7 @@ def delete_user_credentials( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="connector_delete_user_credentials_v1", + operation_id="connector_delete_credentials", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -4229,22 +3887,24 @@ def delete_user_credentials( raise errors.SDKError("Unexpected response received", http_res) - async def delete_user_credentials_async( + async def delete_credentials_async( self, *, credentials_name: str, connector_id_or_name: str, + consumer_scope: models.ConnectorDeleteCredentialsConsumerScope, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, ) -> models.MessageResponse: - r"""Delete user credentials for a connector. + r"""Delete credentials for a consumer. - Delete credentials at the user level for a given connector. + Delete connector credentials for a given consumer. :param credentials_name: :param connector_id_or_name: + :param consumer_scope: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4263,14 +3923,15 @@ async def delete_user_credentials_async( else: base_url = self._get_url(base_url, url_variables) - request = models.ConnectorDeleteUserCredentialsV1Request( + request = models.ConnectorDeleteCredentialsRequest( credentials_name=credentials_name, connector_id_or_name=connector_id_or_name, + consumer_scope=consumer_scope, ) req = self._build_request_async( method="DELETE", - path="/v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name}", + path="/v1/connectors/{connector_id_or_name}/{consumer_scope}/credentials/{credentials_name}", base_url=base_url, url_variables=url_variables, request=request, @@ -4297,7 +3958,7 @@ async def delete_user_credentials_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="connector_delete_user_credentials_v1", + operation_id="connector_delete_credentials", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -4332,7 +3993,6 @@ def get( *, connector_id_or_name: str, fetch_user_data: Optional[bool] = False, - fetch_customer_data: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -4344,7 +4004,6 @@ def get( :param connector_id_or_name: :param fetch_user_data: Fetch the user-level data associated with the connector (e.g. connection credentials). - :param fetch_customer_data: Fetch the customer data associated with the connector (e.g. customer secrets / config). :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4366,7 +4025,6 @@ def get( request = models.ConnectorGetV1Request( connector_id_or_name=connector_id_or_name, fetch_user_data=fetch_user_data, - fetch_customer_data=fetch_customer_data, ) req = self._build_request( @@ -4433,7 +4091,6 @@ async def get_async( *, connector_id_or_name: str, fetch_user_data: Optional[bool] = False, - fetch_customer_data: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -4445,7 +4102,6 @@ async def get_async( :param connector_id_or_name: :param fetch_user_data: Fetch the user-level data associated with the connector (e.g. connection credentials). - :param fetch_customer_data: Fetch the customer data associated with the connector (e.g. customer secrets / config). :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4467,7 +4123,6 @@ async def get_async( request = models.ConnectorGetV1Request( connector_id_or_name=connector_id_or_name, fetch_user_data=fetch_user_data, - fetch_customer_data=fetch_customer_data, ) req = self._build_request_async( diff --git a/src/mistralai/client/conversations.py b/src/mistralai/client/conversations.py index 3d659f2fc..1f467f420 100644 --- a/src/mistralai/client/conversations.py +++ b/src/mistralai/client/conversations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 40692a878064 from .basesdk import BaseSDK from mistralai.client import errors, models, utils @@ -267,9 +266,9 @@ async def run_stream_async( completion_args=completion_args, ) - async def run_generator() -> AsyncGenerator[ - Union[RunResultEvents, RunResult], None - ]: + async def run_generator() -> ( + AsyncGenerator[Union[RunResultEvents, RunResult], None] + ): nonlocal pending_tool_confirmations current_entries = input_entries while True: diff --git a/src/mistralai/client/datasets.py b/src/mistralai/client/datasets.py index db9ed38cc..ecf6aef70 100644 --- a/src/mistralai/client/datasets.py +++ b/src/mistralai/client/datasets.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e5a6ae2a2d85 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration @@ -9,7 +8,7 @@ from mistralai.client.types import OptionalNullable, UNSET from mistralai.client.utils import get_security_from_env from mistralai.client.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, Iterable, List, Mapping, Optional +from typing import Any, Dict, Iterable, List, Mapping, Optional, Union class Datasets(BaseSDK): @@ -1889,6 +1888,258 @@ async def import_from_playground_async( raise errors.SDKError("Unexpected response received", http_res) + def import_from_spans( + self, + *, + dataset_id: str, + span_references: Union[ + Iterable[models.TelemetrySpanReference], + Iterable[models.TelemetrySpanReferenceTypedDict], + ], + mapping_contract: Union[ + models.SpanDatasetMappingContract, + models.SpanDatasetMappingContractTypedDict, + ], + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.DatasetImportTask: + r"""Populate the dataset with records mapped from telemetry spans + + Starts an asynchronous import of the requested telemetry spans. References not returned by the tenant-scoped telemetry query are skipped without distinguishing absence from access restrictions. + + :param dataset_id: + :param span_references: Spans to attempt to import; unavailable references are skipped, and trace and span IDs are attached as record properties automatically. + :param mapping_contract: Mapping rules applied independently to every requested telemetry span. + + Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array + source omits the target key. JSON object and array strings become structured values; + scalar-looking and malformed JSON strings remain strings. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest( + dataset_id=dataset_id, + import_dataset_from_spans_request=models.ImportDatasetFromSpansRequest( + span_references=utils.get_pydantic_model( + span_references, List[models.TelemetrySpanReference] + ), + mapping_contract=utils.get_pydantic_model( + mapping_contract, models.SpanDatasetMappingContract + ), + ), + ) + + req = self._build_request( + method="POST", + path="/v1/observability/datasets/{dataset_id}/imports/from-spans", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.import_dataset_from_spans_request, + False, + False, + "json", + models.ImportDatasetFromSpansRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="post_dataset_records_from_spans_v1_observability_datasets__dataset_id__imports_from_spans_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.datasets"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "202", "application/json"): + return unmarshal_json_response(models.DatasetImportTask, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def import_from_spans_async( + self, + *, + dataset_id: str, + span_references: Union[ + Iterable[models.TelemetrySpanReference], + Iterable[models.TelemetrySpanReferenceTypedDict], + ], + mapping_contract: Union[ + models.SpanDatasetMappingContract, + models.SpanDatasetMappingContractTypedDict, + ], + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.DatasetImportTask: + r"""Populate the dataset with records mapped from telemetry spans + + Starts an asynchronous import of the requested telemetry spans. References not returned by the tenant-scoped telemetry query are skipped without distinguishing absence from access restrictions. + + :param dataset_id: + :param span_references: Spans to attempt to import; unavailable references are skipped, and trace and span IDs are attached as record properties automatically. + :param mapping_contract: Mapping rules applied independently to every requested telemetry span. + + Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array + source omits the target key. JSON object and array strings become structured values; + scalar-looking and malformed JSON strings remain strings. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest( + dataset_id=dataset_id, + import_dataset_from_spans_request=models.ImportDatasetFromSpansRequest( + span_references=utils.get_pydantic_model( + span_references, List[models.TelemetrySpanReference] + ), + mapping_contract=utils.get_pydantic_model( + mapping_contract, models.SpanDatasetMappingContract + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/v1/observability/datasets/{dataset_id}/imports/from-spans", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.import_dataset_from_spans_request, + False, + False, + "json", + models.ImportDatasetFromSpansRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="post_dataset_records_from_spans_v1_observability_datasets__dataset_id__imports_from_spans_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.datasets"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "202", "application/json"): + return unmarshal_json_response(models.DatasetImportTask, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + def import_from_dataset_records( self, *, diff --git a/src/mistralai/client/deployments.py b/src/mistralai/client/deployments.py index cba074979..e32fbe65d 100644 --- a/src/mistralai/client/deployments.py +++ b/src/mistralai/client/deployments.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a874b267fcb9 from .basesdk import BaseSDK from datetime import datetime @@ -12,6 +11,186 @@ class Deployments(BaseSDK): + def unharden_deployment( + self, + *, + deployment_id: str, + workspace_id: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ): + r"""Unharden Deployment + + :param deployment_id: + :param workspace_id: Workspace ID to scope the request to. Defaults to the caller's context. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest( + deployment_id=deployment_id, + workspace_id=workspace_id, + ) + + req = self._build_request( + method="POST", + path="/v1/workflows/deployments/{deployment_id}/unharden", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="*/*", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="unharden_deployment_v1_workflows_deployments__deployment_id__unharden_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["workflows.deployments"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "204", "*"): + return + if utils.match_response(http_res, ["403", "404", "409", "422", "4XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def unharden_deployment_async( + self, + *, + deployment_id: str, + workspace_id: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ): + r"""Unharden Deployment + + :param deployment_id: + :param workspace_id: Workspace ID to scope the request to. Defaults to the caller's context. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest( + deployment_id=deployment_id, + workspace_id=workspace_id, + ) + + req = self._build_request_async( + method="POST", + path="/v1/workflows/deployments/{deployment_id}/unharden", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="*/*", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="unharden_deployment_v1_workflows_deployments__deployment_id__unharden_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["workflows.deployments"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "204", "*"): + return + if utils.match_response(http_res, ["403", "404", "409", "422", "4XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + def list_deployments( self, *, @@ -19,6 +198,7 @@ def list_deployments( is_hardened: OptionalNullable[bool] = UNSET, workflow_name: OptionalNullable[str] = UNSET, created_by: OptionalNullable[str] = UNSET, + owner: OptionalNullable[str] = UNSET, location_types: OptionalNullable[Iterable[models.LocationType]] = UNSET, search: OptionalNullable[str] = UNSET, order_by: OptionalNullable[ @@ -39,6 +219,7 @@ def list_deployments( :param is_hardened: Filter deployments by hardened status :param workflow_name: :param created_by: Filter deployments by creator's user id + :param owner: Filter deployments by owner's user id :param location_types: Filter deployments with at least one worker on any of these location types (OR) :param search: Filter deployments by name or ID prefix :param order_by: Field to sort by. When omitted, active and managed deployments are grouped first, then sorted by created_at. When set, results are sorted purely by the specified field with no grouping. @@ -69,6 +250,7 @@ def list_deployments( is_hardened=is_hardened, workflow_name=workflow_name, created_by=created_by, + owner=owner, location_types=utils.unmarshal( location_types, OptionalNullable[List[models.LocationType]] ), @@ -146,6 +328,7 @@ async def list_deployments_async( is_hardened: OptionalNullable[bool] = UNSET, workflow_name: OptionalNullable[str] = UNSET, created_by: OptionalNullable[str] = UNSET, + owner: OptionalNullable[str] = UNSET, location_types: OptionalNullable[Iterable[models.LocationType]] = UNSET, search: OptionalNullable[str] = UNSET, order_by: OptionalNullable[ @@ -166,6 +349,7 @@ async def list_deployments_async( :param is_hardened: Filter deployments by hardened status :param workflow_name: :param created_by: Filter deployments by creator's user id + :param owner: Filter deployments by owner's user id :param location_types: Filter deployments with at least one worker on any of these location types (OR) :param search: Filter deployments by name or ID prefix :param order_by: Field to sort by. When omitted, active and managed deployments are grouped first, then sorted by created_at. When set, results are sorted purely by the specified field with no grouping. @@ -196,6 +380,7 @@ async def list_deployments_async( is_hardened=is_hardened, workflow_name=workflow_name, created_by=created_by, + owner=owner, location_types=utils.unmarshal( location_types, OptionalNullable[List[models.LocationType]] ), @@ -1890,6 +2075,7 @@ def get_deployment_logs( self, *, name: str, + log_type: Optional[models.DeploymentLogType] = None, worker_name: OptionalNullable[str] = UNSET, workflow_name: OptionalNullable[str] = UNSET, after: OptionalNullable[datetime] = UNSET, @@ -1909,7 +2095,11 @@ def get_deployment_logs( Use `after`/`before`/`order` on the first request to set the time range and sort order; for the next pages pass the `cursor` from the previous response (it remembers the range and order). + `log_type=build` serves the managed build pipeline's output instead. It pages the same way, + and a null `next_cursor` means the window is drained. + :param name: + :param log_type: Which stream to read. 'runtime' is the workers' own logs; 'build' reads the image build output and requires a managed deployment. :param worker_name: Filter logs by worker name :param workflow_name: Filter logs by workflow name :param after: Only return logs at or after this timestamp @@ -1937,6 +2127,7 @@ def get_deployment_logs( request = models.GetDeploymentLogsRequest( name=name, + log_type=log_type, worker_name=worker_name, workflow_name=workflow_name, after=after, @@ -2009,6 +2200,7 @@ async def get_deployment_logs_async( self, *, name: str, + log_type: Optional[models.DeploymentLogType] = None, worker_name: OptionalNullable[str] = UNSET, workflow_name: OptionalNullable[str] = UNSET, after: OptionalNullable[datetime] = UNSET, @@ -2028,7 +2220,11 @@ async def get_deployment_logs_async( Use `after`/`before`/`order` on the first request to set the time range and sort order; for the next pages pass the `cursor` from the previous response (it remembers the range and order). + `log_type=build` serves the managed build pipeline's output instead. It pages the same way, + and a null `next_cursor` means the window is drained. + :param name: + :param log_type: Which stream to read. 'runtime' is the workers' own logs; 'build' reads the image build output and requires a managed deployment. :param worker_name: Filter logs by worker name :param workflow_name: Filter logs by workflow name :param after: Only return logs at or after this timestamp @@ -2056,6 +2252,7 @@ async def get_deployment_logs_async( request = models.GetDeploymentLogsRequest( name=name, + log_type=log_type, worker_name=worker_name, workflow_name=workflow_name, after=after, diff --git a/src/mistralai/client/documents.py b/src/mistralai/client/documents.py index 1122cb2f9..79c01bdf5 100644 --- a/src/mistralai/client/documents.py +++ b/src/mistralai/client/documents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bcc17286c31c from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/embeddings.py b/src/mistralai/client/embeddings.py index 63f32c554..4f8388f1c 100644 --- a/src/mistralai/client/embeddings.py +++ b/src/mistralai/client/embeddings.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f9c17258207e from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/errors/__init__.py b/src/mistralai/client/errors/__init__.py index f6fd99a09..c70f47cb3 100644 --- a/src/mistralai/client/errors/__init__.py +++ b/src/mistralai/client/errors/__init__.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0b2db51246df from .mistralerror import MistralError from typing import Any, TYPE_CHECKING diff --git a/src/mistralai/client/errors/httpvalidationerror.py b/src/mistralai/client/errors/httpvalidationerror.py index 97b165629..c73b06cc0 100644 --- a/src/mistralai/client/errors/httpvalidationerror.py +++ b/src/mistralai/client/errors/httpvalidationerror.py @@ -1,9 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ac3de4a52bb6 from __future__ import annotations from dataclasses import dataclass, field -import httpx +import httpx2 as httpx from mistralai.client.errors import MistralError from mistralai.client.models import validationerror as models_validationerror from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/errors/mistralerror.py b/src/mistralai/client/errors/mistralerror.py index eb73040c5..261e11fa2 100644 --- a/src/mistralai/client/errors/mistralerror.py +++ b/src/mistralai/client/errors/mistralerror.py @@ -1,7 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d1f57f0ff1e9 -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass, field diff --git a/src/mistralai/client/errors/no_response_error.py b/src/mistralai/client/errors/no_response_error.py index d71dfa7b2..1deab64bc 100644 --- a/src/mistralai/client/errors/no_response_error.py +++ b/src/mistralai/client/errors/no_response_error.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8b469ecb0906 from dataclasses import dataclass diff --git a/src/mistralai/client/errors/observabilityerror.py b/src/mistralai/client/errors/observabilityerror.py index a360bac4c..1a6054a8d 100644 --- a/src/mistralai/client/errors/observabilityerror.py +++ b/src/mistralai/client/errors/observabilityerror.py @@ -1,9 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4946ae06717e from __future__ import annotations from dataclasses import dataclass, field -import httpx +import httpx2 as httpx from mistralai.client.errors import MistralError from mistralai.client.models import ( observabilityerrordetail as models_observabilityerrordetail, diff --git a/src/mistralai/client/errors/responsevalidationerror.py b/src/mistralai/client/errors/responsevalidationerror.py index a7b3b9f02..6f24315dd 100644 --- a/src/mistralai/client/errors/responsevalidationerror.py +++ b/src/mistralai/client/errors/responsevalidationerror.py @@ -1,7 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6cfaa3147abe -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass diff --git a/src/mistralai/client/errors/sdkerror.py b/src/mistralai/client/errors/sdkerror.py index 25b87255a..20a13102e 100644 --- a/src/mistralai/client/errors/sdkerror.py +++ b/src/mistralai/client/errors/sdkerror.py @@ -1,7 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c489ffe1e9ca -import httpx +import httpx2 as httpx from typing import Optional from dataclasses import dataclass diff --git a/src/mistralai/client/evaluations.py b/src/mistralai/client/evaluations.py index efa9b77b6..9376eda0a 100644 --- a/src/mistralai/client/evaluations.py +++ b/src/mistralai/client/evaluations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a11bde054957 from .basesdk import BaseSDK from mistralai.client import errors, models, utils @@ -20,9 +19,8 @@ def create_pipeline_config( Iterable[models.PipelineConfigSelector], Iterable[models.PipelineConfigSelectorTypedDict], ], - definitions: Union[ - Iterable[models.PipelineConfigDefinition], - Iterable[models.PipelineConfigDefinitionTypedDict], + definition: Union[ + models.PipelineConfigDefinition, models.PipelineConfigDefinitionTypedDict ], description: OptionalNullable[str] = UNSET, enabled: Optional[bool] = True, @@ -36,7 +34,7 @@ def create_pipeline_config( :param name: :param pipeline_kind: :param selectors: - :param definitions: + :param definition: :param description: :param enabled: :param retries: Override the default retry configuration for this method @@ -64,8 +62,8 @@ def create_pipeline_config( selectors=utils.get_pydantic_model( selectors, List[models.PipelineConfigSelector] ), - definitions=utils.get_pydantic_model( - definitions, List[models.PipelineConfigDefinition] + definition=utils.get_pydantic_model( + definition, models.PipelineConfigDefinition ), enabled=enabled, ) @@ -143,9 +141,8 @@ async def create_pipeline_config_async( Iterable[models.PipelineConfigSelector], Iterable[models.PipelineConfigSelectorTypedDict], ], - definitions: Union[ - Iterable[models.PipelineConfigDefinition], - Iterable[models.PipelineConfigDefinitionTypedDict], + definition: Union[ + models.PipelineConfigDefinition, models.PipelineConfigDefinitionTypedDict ], description: OptionalNullable[str] = UNSET, enabled: Optional[bool] = True, @@ -159,7 +156,7 @@ async def create_pipeline_config_async( :param name: :param pipeline_kind: :param selectors: - :param definitions: + :param definition: :param description: :param enabled: :param retries: Override the default retry configuration for this method @@ -187,8 +184,8 @@ async def create_pipeline_config_async( selectors=utils.get_pydantic_model( selectors, List[models.PipelineConfigSelector] ), - definitions=utils.get_pydantic_model( - definitions, List[models.PipelineConfigDefinition] + definition=utils.get_pydantic_model( + definition, models.PipelineConfigDefinition ), enabled=enabled, ) @@ -671,9 +668,8 @@ def update_pipeline_config( Iterable[models.PipelineConfigSelector], Iterable[models.PipelineConfigSelectorTypedDict], ], - definitions: Union[ - Iterable[models.PipelineConfigDefinition], - Iterable[models.PipelineConfigDefinitionTypedDict], + definition: Union[ + models.PipelineConfigDefinition, models.PipelineConfigDefinitionTypedDict ], enabled: bool, description: OptionalNullable[str] = UNSET, @@ -688,7 +684,7 @@ def update_pipeline_config( :param name: :param pipeline_kind: :param selectors: - :param definitions: + :param definition: :param enabled: :param description: :param retries: Override the default retry configuration for this method @@ -718,8 +714,8 @@ def update_pipeline_config( selectors=utils.get_pydantic_model( selectors, List[models.PipelineConfigSelector] ), - definitions=utils.get_pydantic_model( - definitions, List[models.PipelineConfigDefinition] + definition=utils.get_pydantic_model( + definition, models.PipelineConfigDefinition ), enabled=enabled, ), @@ -803,9 +799,8 @@ async def update_pipeline_config_async( Iterable[models.PipelineConfigSelector], Iterable[models.PipelineConfigSelectorTypedDict], ], - definitions: Union[ - Iterable[models.PipelineConfigDefinition], - Iterable[models.PipelineConfigDefinitionTypedDict], + definition: Union[ + models.PipelineConfigDefinition, models.PipelineConfigDefinitionTypedDict ], enabled: bool, description: OptionalNullable[str] = UNSET, @@ -820,7 +815,7 @@ async def update_pipeline_config_async( :param name: :param pipeline_kind: :param selectors: - :param definitions: + :param definition: :param enabled: :param description: :param retries: Override the default retry configuration for this method @@ -850,8 +845,8 @@ async def update_pipeline_config_async( selectors=utils.get_pydantic_model( selectors, List[models.PipelineConfigSelector] ), - definitions=utils.get_pydantic_model( - definitions, List[models.PipelineConfigDefinition] + definition=utils.get_pydantic_model( + definition, models.PipelineConfigDefinition ), enabled=enabled, ), @@ -1114,3 +1109,1085 @@ async def delete_pipeline_config_async( raise errors.SDKError("API error occurred", http_res, http_res_text) raise errors.SDKError("Unexpected response received", http_res) + + def create_pipeline( + self, + *, + name: str, + selectors: Union[ + Iterable[models.PipelineConfigSelector], + Iterable[models.PipelineConfigSelectorTypedDict], + ], + definitions: Union[ + Iterable[models.JudgeDefinition], Iterable[models.JudgeDefinitionTypedDict] + ], + description: OptionalNullable[str] = UNSET, + enabled: Optional[bool] = True, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Pipeline: + r"""Create a pipeline + + :param name: + :param selectors: + :param definitions: + :param description: + :param enabled: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.CreatePipelineRequest( + name=name, + description=description, + selectors=utils.get_pydantic_model( + selectors, List[models.PipelineConfigSelector] + ), + definitions=utils.get_pydantic_model( + definitions, List[models.JudgeDefinition] + ), + enabled=enabled, + ) + + req = self._build_request( + method="POST", + path="/v1/observability/pipelines", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request, False, False, "json", models.CreatePipelineRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="create_pipeline_v1_observability_pipelines_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "201", "application/json"): + return unmarshal_json_response(models.Pipeline, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def create_pipeline_async( + self, + *, + name: str, + selectors: Union[ + Iterable[models.PipelineConfigSelector], + Iterable[models.PipelineConfigSelectorTypedDict], + ], + definitions: Union[ + Iterable[models.JudgeDefinition], Iterable[models.JudgeDefinitionTypedDict] + ], + description: OptionalNullable[str] = UNSET, + enabled: Optional[bool] = True, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Pipeline: + r"""Create a pipeline + + :param name: + :param selectors: + :param definitions: + :param description: + :param enabled: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.CreatePipelineRequest( + name=name, + description=description, + selectors=utils.get_pydantic_model( + selectors, List[models.PipelineConfigSelector] + ), + definitions=utils.get_pydantic_model( + definitions, List[models.JudgeDefinition] + ), + enabled=enabled, + ) + + req = self._build_request_async( + method="POST", + path="/v1/observability/pipelines", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request, False, False, "json", models.CreatePipelineRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="create_pipeline_v1_observability_pipelines_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "201", "application/json"): + return unmarshal_json_response(models.Pipeline, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def list_pipelines( + self, + *, + enabled: OptionalNullable[bool] = UNSET, + page_size: Optional[int] = 50, + page: Optional[int] = 1, + q: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.PipelinesResponse: + r"""List pipelines + + :param enabled: + :param page_size: + :param page: + :param q: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.ListPipelinesV1ObservabilityPipelinesGetRequest( + enabled=enabled, + page_size=page_size, + page=page, + q=q, + ) + + req = self._build_request( + method="GET", + path="/v1/observability/pipelines", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="list_pipelines_v1_observability_pipelines_get", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.PipelinesResponse, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def list_pipelines_async( + self, + *, + enabled: OptionalNullable[bool] = UNSET, + page_size: Optional[int] = 50, + page: Optional[int] = 1, + q: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.PipelinesResponse: + r"""List pipelines + + :param enabled: + :param page_size: + :param page: + :param q: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.ListPipelinesV1ObservabilityPipelinesGetRequest( + enabled=enabled, + page_size=page_size, + page=page, + q=q, + ) + + req = self._build_request_async( + method="GET", + path="/v1/observability/pipelines", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="list_pipelines_v1_observability_pipelines_get", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.PipelinesResponse, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def get_pipeline( + self, + *, + pipeline_id: str, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Pipeline: + r"""Get a pipeline + + :param pipeline_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest( + pipeline_id=pipeline_id, + ) + + req = self._build_request( + method="GET", + path="/v1/observability/pipelines/{pipeline_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="get_pipeline_v1_observability_pipelines__pipeline_id__get", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.Pipeline, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def get_pipeline_async( + self, + *, + pipeline_id: str, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Pipeline: + r"""Get a pipeline + + :param pipeline_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest( + pipeline_id=pipeline_id, + ) + + req = self._build_request_async( + method="GET", + path="/v1/observability/pipelines/{pipeline_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="get_pipeline_v1_observability_pipelines__pipeline_id__get", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.Pipeline, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def update_pipeline( + self, + *, + pipeline_id: str, + name: str, + selectors: Union[ + Iterable[models.PipelineConfigSelector], + Iterable[models.PipelineConfigSelectorTypedDict], + ], + definitions: Union[ + Iterable[models.JudgeDefinition], Iterable[models.JudgeDefinitionTypedDict] + ], + enabled: bool, + description: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Pipeline: + r"""Update a pipeline + + :param pipeline_id: + :param name: + :param selectors: + :param definitions: + :param enabled: + :param description: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest( + pipeline_id=pipeline_id, + update_pipeline_request=models.UpdatePipelineRequest( + name=name, + description=description, + selectors=utils.get_pydantic_model( + selectors, List[models.PipelineConfigSelector] + ), + definitions=utils.get_pydantic_model( + definitions, List[models.JudgeDefinition] + ), + enabled=enabled, + ), + ) + + req = self._build_request( + method="PUT", + path="/v1/observability/pipelines/{pipeline_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.update_pipeline_request, + False, + False, + "json", + models.UpdatePipelineRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="update_pipeline_v1_observability_pipelines__pipeline_id__put", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.Pipeline, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def update_pipeline_async( + self, + *, + pipeline_id: str, + name: str, + selectors: Union[ + Iterable[models.PipelineConfigSelector], + Iterable[models.PipelineConfigSelectorTypedDict], + ], + definitions: Union[ + Iterable[models.JudgeDefinition], Iterable[models.JudgeDefinitionTypedDict] + ], + enabled: bool, + description: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Pipeline: + r"""Update a pipeline + + :param pipeline_id: + :param name: + :param selectors: + :param definitions: + :param enabled: + :param description: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest( + pipeline_id=pipeline_id, + update_pipeline_request=models.UpdatePipelineRequest( + name=name, + description=description, + selectors=utils.get_pydantic_model( + selectors, List[models.PipelineConfigSelector] + ), + definitions=utils.get_pydantic_model( + definitions, List[models.JudgeDefinition] + ), + enabled=enabled, + ), + ) + + req = self._build_request_async( + method="PUT", + path="/v1/observability/pipelines/{pipeline_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.update_pipeline_request, + False, + False, + "json", + models.UpdatePipelineRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="update_pipeline_v1_observability_pipelines__pipeline_id__put", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.Pipeline, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def delete_pipeline( + self, + *, + pipeline_id: str, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ): + r"""Delete a pipeline + + :param pipeline_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest( + pipeline_id=pipeline_id, + ) + + req = self._build_request( + method="DELETE", + path="/v1/observability/pipelines/{pipeline_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="delete_pipeline_v1_observability_pipelines__pipeline_id__delete", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "204", "*"): + return + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def delete_pipeline_async( + self, + *, + pipeline_id: str, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ): + r"""Delete a pipeline + + :param pipeline_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest( + pipeline_id=pipeline_id, + ) + + req = self._build_request_async( + method="DELETE", + path="/v1/observability/pipelines/{pipeline_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="delete_pipeline_v1_observability_pipelines__pipeline_id__delete", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.evaluations"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "204", "*"): + return + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) diff --git a/src/mistralai/client/events.py b/src/mistralai/client/events.py index 65cabcc2c..3d5353d86 100644 --- a/src/mistralai/client/events.py +++ b/src/mistralai/client/events.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ac9b961cc70d from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/executions.py b/src/mistralai/client/executions.py index 00b56c711..84912c937 100644 --- a/src/mistralai/client/executions.py +++ b/src/mistralai/client/executions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 974004d347a2 from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/files.py b/src/mistralai/client/files.py index 7eb526d70..e5ed9b71f 100644 --- a/src/mistralai/client/files.py +++ b/src/mistralai/client/files.py @@ -1,8 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f12df4b2ce43 from .basesdk import BaseSDK -import httpx +import httpx2 as httpx from mistralai.client import errors, models, utils from mistralai.client._hooks import HookContext from mistralai.client.types import OptionalNullable, UNSET diff --git a/src/mistralai/client/fim.py b/src/mistralai/client/fim.py index 8b1a194c4..d880cfbca 100644 --- a/src/mistralai/client/fim.py +++ b/src/mistralai/client/fim.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 217bea5d701d from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/httpclient.py b/src/mistralai/client/httpclient.py index 544af7f87..2b2e342b3 100644 --- a/src/mistralai/client/httpclient.py +++ b/src/mistralai/client/httpclient.py @@ -1,10 +1,9 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3e46bde74327 # pyright: reportReturnType = false import asyncio from typing_extensions import Protocol, runtime_checkable -import httpx +import httpx2 as httpx from typing import Any, Optional, Union diff --git a/src/mistralai/client/ingestion_pipeline_configurations.py b/src/mistralai/client/ingestion_pipeline_configurations.py index cd743379b..b8f826ee4 100644 --- a/src/mistralai/client/ingestion_pipeline_configurations.py +++ b/src/mistralai/client/ingestion_pipeline_configurations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f5a994272058 from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/jobs.py b/src/mistralai/client/jobs.py index af00547ed..40cb34619 100644 --- a/src/mistralai/client/jobs.py +++ b/src/mistralai/client/jobs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 22e6e695e52b from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/judges.py b/src/mistralai/client/judges.py index 60624ec5b..4bcd9492e 100644 --- a/src/mistralai/client/judges.py +++ b/src/mistralai/client/judges.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b6024a41ecb4 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/libraries.py b/src/mistralai/client/libraries.py index 850380db1..3bc5218f9 100644 --- a/src/mistralai/client/libraries.py +++ b/src/mistralai/client/libraries.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d43a5f78045f from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/logs.py b/src/mistralai/client/logs.py index 9c08cc9a9..e7755cdc9 100644 --- a/src/mistralai/client/logs.py +++ b/src/mistralai/client/logs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8cf582f9ca81 from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/managed_indexes.py b/src/mistralai/client/managed_indexes.py index 9a7c08a7a..4d28aa34f 100644 --- a/src/mistralai/client/managed_indexes.py +++ b/src/mistralai/client/managed_indexes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 34d8140bd8fd from .basesdk import BaseSDK from jsonpath import JSONPath @@ -239,6 +238,9 @@ def list( *, page_size: Optional[int] = 20, page_token: OptionalNullable[str] = UNSET, + name: OptionalNullable[str] = UNSET, + status: OptionalNullable[models.ManagedIndexStatus] = UNSET, + creator_id: OptionalNullable[str] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -250,6 +252,9 @@ def list( :param page_size: Maximum number of indexes to return :param page_token: Cursor returned as next_page_token by the previous page + :param name: Case-insensitive substring to match against index names + :param status: Status to match + :param creator_id: Creator ID to match :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -271,6 +276,9 @@ def list( request = models.ListIndexesV1RagManagedIndexesGetRequest( page_size=page_size, page_token=page_token, + name=name, + status=status, + creator_id=creator_id, ) req = self._build_request( @@ -336,6 +344,9 @@ def next_func() -> Optional[models.ListIndexesV1RagManagedIndexesGetResponse]: return self.list( page_size=page_size, page_token=next_cursor, + name=name, + status=status, + creator_id=creator_id, retries=retries, server_url=server_url, timeout_ms=timeout_ms, @@ -369,6 +380,9 @@ async def list_async( *, page_size: Optional[int] = 20, page_token: OptionalNullable[str] = UNSET, + name: OptionalNullable[str] = UNSET, + status: OptionalNullable[models.ManagedIndexStatus] = UNSET, + creator_id: OptionalNullable[str] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -380,6 +394,9 @@ async def list_async( :param page_size: Maximum number of indexes to return :param page_token: Cursor returned as next_page_token by the previous page + :param name: Case-insensitive substring to match against index names + :param status: Status to match + :param creator_id: Creator ID to match :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -401,6 +418,9 @@ async def list_async( request = models.ListIndexesV1RagManagedIndexesGetRequest( page_size=page_size, page_token=page_token, + name=name, + status=status, + creator_id=creator_id, ) req = self._build_request_async( @@ -471,6 +491,9 @@ async def empty_result(): return self.list_async( page_size=page_size, page_token=next_cursor, + name=name, + status=status, + creator_id=creator_id, retries=retries, server_url=server_url, timeout_ms=timeout_ms, @@ -1521,7 +1544,9 @@ def search( self, *, index_name: str, - retriever: Union[models.Retriever, models.RetrieverTypedDict], + retriever: Union[ + models.SearchRequestRetriever, models.SearchRequestRetrieverTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -1554,7 +1579,9 @@ def search( request = models.SearchIndexV1RagManagedIndexesIndexNameSearchPostRequest( index_name=index_name, search_request=models.SearchRequest( - retriever=utils.get_pydantic_model(retriever, models.Retriever), + retriever=utils.get_pydantic_model( + retriever, models.SearchRequestRetriever + ), ), ) @@ -1624,7 +1651,9 @@ async def search_async( self, *, index_name: str, - retriever: Union[models.Retriever, models.RetrieverTypedDict], + retriever: Union[ + models.SearchRequestRetriever, models.SearchRequestRetrieverTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -1657,7 +1686,9 @@ async def search_async( request = models.SearchIndexV1RagManagedIndexesIndexNameSearchPostRequest( index_name=index_name, search_request=models.SearchRequest( - retriever=utils.get_pydantic_model(retriever, models.Retriever), + retriever=utils.get_pydantic_model( + retriever, models.SearchRequestRetriever + ), ), ) @@ -1722,3 +1753,899 @@ async def search_async( raise errors.SDKError("API error occurred", http_res, http_res_text) raise errors.SDKError("Unexpected response received", http_res) + + def navigate( + self, + *, + index_name: str, + source_id: str, + start_offset: int, + end_offset: int, + direction: models.NavigationDirection, + top_k: Optional[int] = 1, + content_type: Optional[str] = "content", + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Navigate to adjacent chunks + + Returns the chunks adjacent to a position within a source, in reading order. NEXT fetches chunks at or after the end offset; PREVIOUS fetches chunks before the start offset. A 200 with an empty list means the source exists but no chunk falls in the requested direction; a 404 means the source has no chunks at all. + + :param index_name: + :param source_id: + :param start_offset: + :param end_offset: + :param direction: + :param top_k: + :param content_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest( + index_name=index_name, + navigate_request=models.NavigateRequest( + source_id=source_id, + start_offset=start_offset, + end_offset=end_offset, + direction=direction, + top_k=top_k, + content_type=content_type, + ), + ) + + req = self._build_request( + method="POST", + path="/v1/rag/managed_indexes/{index_name}/navigate", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.navigate_request, False, False, "json", models.NavigateRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="navigate_index_v1_rag_managed_indexes__index_name__navigate_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def navigate_async( + self, + *, + index_name: str, + source_id: str, + start_offset: int, + end_offset: int, + direction: models.NavigationDirection, + top_k: Optional[int] = 1, + content_type: Optional[str] = "content", + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Navigate to adjacent chunks + + Returns the chunks adjacent to a position within a source, in reading order. NEXT fetches chunks at or after the end offset; PREVIOUS fetches chunks before the start offset. A 200 with an empty list means the source exists but no chunk falls in the requested direction; a 404 means the source has no chunks at all. + + :param index_name: + :param source_id: + :param start_offset: + :param end_offset: + :param direction: + :param top_k: + :param content_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest( + index_name=index_name, + navigate_request=models.NavigateRequest( + source_id=source_id, + start_offset=start_offset, + end_offset=end_offset, + direction=direction, + top_k=top_k, + content_type=content_type, + ), + ) + + req = self._build_request_async( + method="POST", + path="/v1/rag/managed_indexes/{index_name}/navigate", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.navigate_request, False, False, "json", models.NavigateRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="navigate_index_v1_rag_managed_indexes__index_name__navigate_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def read( + self, + *, + index_name: str, + source_id: str, + start_offset: OptionalNullable[int] = UNSET, + end_offset: OptionalNullable[int] = UNSET, + top_k: Optional[int] = 20, + content_type: Optional[str] = "content", + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Read chunks within a span + + Returns the chunks of a source whose span falls within [start_offset, end_offset). Either bound may be omitted to leave that side open. A 200 with an empty list means the source exists but no chunk falls in the range; a 404 means the source has no chunks at all. + + :param index_name: + :param source_id: + :param start_offset: + :param end_offset: + :param top_k: + :param content_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.ReadIndexV1RagManagedIndexesIndexNameReadPostRequest( + index_name=index_name, + read_request=models.ReadRequest( + source_id=source_id, + start_offset=start_offset, + end_offset=end_offset, + top_k=top_k, + content_type=content_type, + ), + ) + + req = self._build_request( + method="POST", + path="/v1/rag/managed_indexes/{index_name}/read", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.read_request, False, False, "json", models.ReadRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="read_index_v1_rag_managed_indexes__index_name__read_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def read_async( + self, + *, + index_name: str, + source_id: str, + start_offset: OptionalNullable[int] = UNSET, + end_offset: OptionalNullable[int] = UNSET, + top_k: Optional[int] = 20, + content_type: Optional[str] = "content", + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Read chunks within a span + + Returns the chunks of a source whose span falls within [start_offset, end_offset). Either bound may be omitted to leave that side open. A 200 with an empty list means the source exists but no chunk falls in the range; a 404 means the source has no chunks at all. + + :param index_name: + :param source_id: + :param start_offset: + :param end_offset: + :param top_k: + :param content_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.ReadIndexV1RagManagedIndexesIndexNameReadPostRequest( + index_name=index_name, + read_request=models.ReadRequest( + source_id=source_id, + start_offset=start_offset, + end_offset=end_offset, + top_k=top_k, + content_type=content_type, + ), + ) + + req = self._build_request_async( + method="POST", + path="/v1/rag/managed_indexes/{index_name}/read", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.read_request, False, False, "json", models.ReadRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="read_index_v1_rag_managed_indexes__index_name__read_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def grep( + self, + *, + index_name: str, + source_id: str, + pattern: str, + mode: Optional[models.GrepMode] = None, + top_k: Optional[int] = 5, + content_type: Optional[str] = "content", + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Grep for a pattern within a source + + Lexical substring match within a single source, in reading order. PHRASE mode matches the pattern literally (whitespace-sensitive, case-insensitive); TERM mode requires every whitespace-split token present in any order. A 200 with an empty list means the source exists but no chunk matched; a 404 means the source has no chunks at all. + + :param index_name: + :param source_id: + :param pattern: + :param mode: + :param top_k: + :param content_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest( + index_name=index_name, + grep_request=models.GrepRequest( + source_id=source_id, + pattern=pattern, + mode=mode, + top_k=top_k, + content_type=content_type, + ), + ) + + req = self._build_request( + method="POST", + path="/v1/rag/managed_indexes/{index_name}/grep", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.grep_request, False, False, "json", models.GrepRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="grep_index_v1_rag_managed_indexes__index_name__grep_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def grep_async( + self, + *, + index_name: str, + source_id: str, + pattern: str, + mode: Optional[models.GrepMode] = None, + top_k: Optional[int] = 5, + content_type: Optional[str] = "content", + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Grep for a pattern within a source + + Lexical substring match within a single source, in reading order. PHRASE mode matches the pattern literally (whitespace-sensitive, case-insensitive); TERM mode requires every whitespace-split token present in any order. A 200 with an empty list means the source exists but no chunk matched; a 404 means the source has no chunks at all. + + :param index_name: + :param source_id: + :param pattern: + :param mode: + :param top_k: + :param content_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest( + index_name=index_name, + grep_request=models.GrepRequest( + source_id=source_id, + pattern=pattern, + mode=mode, + top_k=top_k, + content_type=content_type, + ), + ) + + req = self._build_request_async( + method="POST", + path="/v1/rag/managed_indexes/{index_name}/grep", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.grep_request, False, False, "json", models.GrepRequest + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="grep_index_v1_rag_managed_indexes__index_name__grep_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + def get_chunk( + self, + *, + index_name: str, + chunk_id: str, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Get a single chunk by id + + Returns a single chunk by its canonical id. A 404 means no chunk with that id exists in the index. + + :param index_name: + :param chunk_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = ( + models.GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest( + index_name=index_name, + chunk_id=chunk_id, + ) + ) + + req = self._build_request( + method="GET", + path="/v1/rag/managed_indexes/{index_name}/chunks/{chunk_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="get_chunk_index_v1_rag_managed_indexes__index_name__chunks__chunk_id__get", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def get_chunk_async( + self, + *, + index_name: str, + chunk_id: str, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.NavigationResponse: + r"""Get a single chunk by id + + Returns a single chunk by its canonical id. A 404 means no chunk with that id exists in the index. + + :param index_name: + :param chunk_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = ( + models.GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest( + index_name=index_name, + chunk_id=chunk_id, + ) + ) + + req = self._build_request_async( + method="GET", + path="/v1/rag/managed_indexes/{index_name}/chunks/{chunk_id}", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=True, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="get_chunk_index_v1_rag_managed_indexes__index_name__chunks__chunk_id__get", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.rag.managed_indexes"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.NavigationResponse, http_res) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, ["404", "409", "4XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, ["500", "5XX"], "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) diff --git a/src/mistralai/client/metrics.py b/src/mistralai/client/metrics.py index 555606128..41d7f799e 100644 --- a/src/mistralai/client/metrics.py +++ b/src/mistralai/client/metrics.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 937cb03f8130 from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/models/__init__.py b/src/mistralai/client/models/__init__.py index b5fe2ba56..9f5028964 100644 --- a/src/mistralai/client/models/__init__.py +++ b/src/mistralai/client/models/__init__.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e0e8dad92725 from .and_ import And, AndMatch, AndMatchTypedDict, AndTypedDict from .logicalexpression import ( @@ -188,6 +187,10 @@ AgentsCompletionStreamRequestToolTypedDict, AgentsCompletionStreamRequestTypedDict, ) + from .aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop import ( + AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest, + AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequestTypedDict, + ) from .aggregate_spans_v1_observability_spans_aggregate_postop import ( AggregateSpansV1ObservabilitySpansAggregatePostRequest, AggregateSpansV1ObservabilitySpansAggregatePostRequestTypedDict, @@ -227,6 +230,13 @@ AssistantMessageContentTypedDict, AssistantMessageTypedDict, ) + from .audio_v2_voices_listop import ( + AudioV2VoicesListRequest, + AudioV2VoicesListRequestTypedDict, + AudioV2VoicesListResponse, + AudioV2VoicesListResponseTypedDict, + AudioV2VoicesListType, + ) from .audiochunk import AudioChunk, AudioChunkTypedDict from .audiocontent import AudioContent, AudioContentTypedDict from .audioencoding import AudioEncoding @@ -418,22 +428,15 @@ ConnectorDeleteAllUserCredentialsV1Request, ConnectorDeleteAllUserCredentialsV1RequestTypedDict, ) - from .connector_delete_organization_credentials_v1op import ( - ConnectorDeleteOrganizationCredentialsV1Request, - ConnectorDeleteOrganizationCredentialsV1RequestTypedDict, - ) - from .connector_delete_user_credentials_v1op import ( - ConnectorDeleteUserCredentialsV1Request, - ConnectorDeleteUserCredentialsV1RequestTypedDict, + from .connector_delete_credentialsop import ( + ConnectorDeleteCredentialsConsumerScope, + ConnectorDeleteCredentialsRequest, + ConnectorDeleteCredentialsRequestTypedDict, ) from .connector_delete_v1op import ( ConnectorDeleteV1Request, ConnectorDeleteV1RequestTypedDict, ) - from .connector_delete_workspace_credentials_v1op import ( - ConnectorDeleteWorkspaceCredentialsV1Request, - ConnectorDeleteWorkspaceCredentialsV1RequestTypedDict, - ) from .connector_get_auth_url_v1op import ( ConnectorGetAuthURLV1Request, ConnectorGetAuthURLV1RequestTypedDict, @@ -673,6 +676,10 @@ CreatePipelineConfigRequest, CreatePipelineConfigRequestTypedDict, ) + from .createpipelinerequest import ( + CreatePipelineRequest, + CreatePipelineRequestTypedDict, + ) from .createpromptrequest import CreatePromptRequest, CreatePromptRequestTypedDict from .createpromptversionresponse import ( CreatePromptVersionResponse, @@ -765,6 +772,7 @@ CustomTaskTimedOutResponseTypedDict, ) from .dataset import Dataset, DatasetTypedDict + from .datasetimportresult import DatasetImportResult, DatasetImportResultTypedDict from .datasetimporttask import DatasetImportTask, DatasetImportTaskTypedDict from .datasetpreview import DatasetPreview, DatasetPreviewTypedDict from .datasetrecord import DatasetRecord, DatasetRecordTypedDict @@ -801,6 +809,10 @@ DeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequest, DeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequestTypedDict, ) + from .delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop import ( + DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest, + DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequestTypedDict, + ) from .delete_service_account_v1_service_accounts_service_account_id_deleteop import ( DeleteServiceAccountV1ServiceAccountsServiceAccountIDDeleteRequest, DeleteServiceAccountV1ServiceAccountsServiceAccountIDDeleteRequestTypedDict, @@ -858,10 +870,6 @@ DeploymentK8sBackendSpec, DeploymentK8sBackendSpecTypedDict, ) - from .deploymentkoyebbackendspec import ( - DeploymentKoyebBackendSpec, - DeploymentKoyebBackendSpecTypedDict, - ) from .deploymentlistresponse import ( DeploymentListResponse, DeploymentListResponseTypedDict, @@ -872,6 +880,12 @@ DeploymentLogSearchResponse, DeploymentLogSearchResponseTypedDict, ) + from .deploymentlogtype import DeploymentLogType + from .deploymentmistralcloudbackendspec import ( + DeploymentMistralCloudBackendSpec, + DeploymentMistralCloudBackendSpecType, + DeploymentMistralCloudBackendSpecTypedDict, + ) from .deploymentobservedstate import ( DeploymentObservedState, DeploymentObservedStateTypedDict, @@ -885,6 +899,10 @@ DeploymentResourceConfigUpdateTypedDict, ) from .deploymentresponse import DeploymentResponse, DeploymentResponseTypedDict + from .deploymentsecretbinding import ( + DeploymentSecretBinding, + DeploymentSecretBindingTypedDict, + ) from .deploymentworkerlistresponse import ( DeploymentWorkerListResponse, DeploymentWorkerListResponseTypedDict, @@ -895,16 +913,14 @@ ) from .deploymentworkerspecinput import ( DeploymentWorkerSpecInput, - DeploymentWorkerSpecInputBackendSpec, - DeploymentWorkerSpecInputBackendSpecTypedDict, DeploymentWorkerSpecInputTypedDict, ) from .deploymentworkerspecresponse import ( + BackendSpec, + BackendSpecTypedDict, DeploymentWorkerSpecResponse, - DeploymentWorkerSpecResponseBackendSpec, - DeploymentWorkerSpecResponseBackendSpecTypedDict, DeploymentWorkerSpecResponseTypedDict, - UnknownDeploymentWorkerSpecResponseBackendSpec, + UnknownBackendSpec, ) from .detectiondefinition import DetectionDefinition, DetectionDefinitionTypedDict from .detectionpattern import DetectionPattern, DetectionPatternTypedDict @@ -1077,6 +1093,10 @@ from .functionname import FunctionName, FunctionNameTypedDict from .functionresultentry import FunctionResultEntry, FunctionResultEntryTypedDict from .functiontool import FunctionTool, FunctionToolTypedDict + from .get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop import ( + GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest, + GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequestTypedDict, + ) from .get_dataset_by_id_v1_observability_datasets_dataset_id_getop import ( GetDatasetByIDV1ObservabilityDatasetsDatasetIDGetRequest, GetDatasetByIDV1ObservabilityDatasetsDatasetIDGetRequestTypedDict, @@ -1130,6 +1150,10 @@ GetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequest, GetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequestTypedDict, ) + from .get_pipeline_v1_observability_pipelines_pipeline_id_getop import ( + GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest, + GetPipelineV1ObservabilityPipelinesPipelineIDGetRequestTypedDict, + ) from .get_run_history_v1_workflows_runs_run_id_history_getop import ( GetRunHistoryV1WorkflowsRunsRunIDHistoryGetRequest, GetRunHistoryV1WorkflowsRunsRunIDHistoryGetRequestTypedDict, @@ -1307,6 +1331,12 @@ from .gitcommitmetadata import GitCommitMetadata, GitCommitMetadataTypedDict from .globalheadervalue import GlobalHeaderValue, GlobalHeaderValueTypedDict from .granularity import Granularity + from .grep_index_v1_rag_managed_indexes_index_name_grep_postop import ( + GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest, + GrepIndexV1RagManagedIndexesIndexNameGrepPostRequestTypedDict, + ) + from .grepmode import GrepMode + from .greprequest import GrepRequest, GrepRequestTypedDict from .guardrailconfig import GuardrailConfig, GuardrailConfigTypedDict from .httpconnector import HTTPConnector, HTTPConnectorTypedDict from .httpstatus import HTTPStatus @@ -1332,6 +1362,10 @@ ImportDatasetFromPlaygroundRequest, ImportDatasetFromPlaygroundRequestTypedDict, ) + from .importdatasetfromspansrequest import ( + ImportDatasetFromSpansRequest, + ImportDatasetFromSpansRequestTypedDict, + ) from .in_ import In, InTypedDict, InValue, InValueTypedDict from .inboundauthenticationtype import InboundAuthenticationType from .ingest_documents_v1_rag_managed_indexes_index_name_documents_postop import ( @@ -1583,6 +1617,10 @@ ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequest, ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequestTypedDict, ) + from .list_pipelines_v1_observability_pipelines_getop import ( + ListPipelinesV1ObservabilityPipelinesGetRequest, + ListPipelinesV1ObservabilityPipelinesGetRequestTypedDict, + ) from .list_runs_v1_workflows_runs_getop import ( ListRunsV1WorkflowsRunsGetOrder, ListRunsV1WorkflowsRunsGetRequest, @@ -1818,6 +1856,17 @@ ) from .moderationobject import ModerationObject, ModerationObjectTypedDict from .moderationresponse import ModerationResponse, ModerationResponseTypedDict + from .navigate_index_v1_rag_managed_indexes_index_name_navigate_postop import ( + NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest, + NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequestTypedDict, + ) + from .navigaterequest import NavigateRequest, NavigateRequestTypedDict + from .navigationchunkresponse import ( + NavigationChunkResponse, + NavigationChunkResponseTypedDict, + ) + from .navigationdirection import NavigationDirection + from .navigationresponse import NavigationResponse, NavigationResponseTypedDict from .nearestneighbourretriever import ( NearestNeighbourRetriever, NearestNeighbourRetrieverFilter, @@ -1923,6 +1972,10 @@ PaginatedResultJudgePreview, PaginatedResultJudgePreviewTypedDict, ) + from .paginatedresultpipeline import ( + PaginatedResultPipeline, + PaginatedResultPipelineTypedDict, + ) from .paginatedresultpipelineconfig import ( PaginatedResultPipelineConfig, PaginatedResultPipelineConfigTypedDict, @@ -1937,6 +1990,7 @@ PauseScheduleV1WorkflowsSchedulesScheduleIDPausePostRequest, PauseScheduleV1WorkflowsSchedulesScheduleIDPausePostRequestTypedDict, ) + from .pipeline import Pipeline, PipelineTypedDict from .pipelineconfig import PipelineConfig, PipelineConfigTypedDict from .pipelineconfigdefinition import ( PipelineConfigDefinition, @@ -1956,6 +2010,7 @@ PipelineConfigsResponseTypedDict, ) from .pipelinekind import PipelineKind + from .pipelinesresponse import PipelinesResponse, PipelinesResponseTypedDict from .post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop import ( PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIDImportsFromDatasetPostRequest, PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIDImportsFromDatasetPostRequestTypedDict, @@ -1968,7 +2023,12 @@ PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequest, PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequestTypedDict, ) + from .post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop import ( + PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest, + PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequestTypedDict, + ) from .prediction import Prediction, PredictionTypedDict + from .principaltype import PrincipalType from .processingstatus import ProcessingStatus, ProcessingStatusTypedDict from .processstatus import ProcessStatus from .prompt import Prompt, PromptTypedDict @@ -2061,6 +2121,11 @@ Range, RangeTypedDict, ) + from .read_index_v1_rag_managed_indexes_index_name_read_postop import ( + ReadIndexV1RagManagedIndexesIndexNameReadPostRequest, + ReadIndexV1RagManagedIndexesIndexNameReadPostRequestTypedDict, + ) + from .readrequest import ReadRequest, ReadRequestTypedDict from .realtimetranscriptionerror import ( RealtimeTranscriptionError, RealtimeTranscriptionErrorTypedDict, @@ -2173,6 +2238,14 @@ ) from .roles import Roles from .rootscapability import RootsCapability, RootsCapabilityTypedDict + from .rrfretriever import ( + RRFRetriever, + RRFRetrieverFilter, + RRFRetrieverFilterTypedDict, + RRFRetrieverRetriever, + RRFRetrieverRetrieverTypedDict, + RRFRetrieverTypedDict, + ) from .sampletype import SampleType from .samplingcapability import SamplingCapability, SamplingCapabilityTypedDict from .scalarmetric import ( @@ -2230,9 +2303,9 @@ from .searchchunkresponse import SearchChunkResponse, SearchChunkResponseTypedDict from .searchhitresponse import SearchHitResponse, SearchHitResponseTypedDict from .searchrequest import ( - Retriever, - RetrieverTypedDict, SearchRequest, + SearchRequestRetriever, + SearchRequestRetrieverTypedDict, SearchRequestTypedDict, ) from .searchresponse import SearchResponse, SearchResponseTypedDict @@ -2324,8 +2397,19 @@ UpdateSkillRequestTypedDict, ) from .skillversion import SkillVersion, SkillVersionTypedDict + from .sortorder import SortOrder from .source import Source from .sourcekind import SourceKind + from .spandatasetmapping import SpanDatasetMapping, SpanDatasetMappingTypedDict + from .spandatasetmappingcontract import ( + SpanDatasetMappingContract, + SpanDatasetMappingContractTypedDict, + ) + from .spandatasetsourcenamespace import SpanDatasetSourceNamespace + from .spandatasetsourcereference import ( + SpanDatasetSourceReference, + SpanDatasetSourceReferenceTypedDict, + ) from .spanevaluationsrequest import ( SpanEvaluationsRequest, SpanEvaluationsRequestTypedDict, @@ -2418,6 +2502,10 @@ TasksToolsCapability, TasksToolsCapabilityTypedDict, ) + from .telemetryspanreference import ( + TelemetrySpanReference, + TelemetrySpanReferenceTypedDict, + ) from .tempogettraceresponse import ( TempoGetTraceResponse, TempoGetTraceResponseTypedDict, @@ -2611,6 +2699,10 @@ UnarchiveModelResponse, UnarchiveModelResponseTypedDict, ) + from .unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop import ( + UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest, + UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequestTypedDict, + ) from .unregister_deployment_v1_rag_deployments_deployment_id_deleteop import ( UnregisterDeploymentV1RagDeploymentsDeploymentIDDeleteRequest, UnregisterDeploymentV1RagDeploymentsDeploymentIDDeleteRequestTypedDict, @@ -2653,6 +2745,10 @@ UpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequest, UpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequestTypedDict, ) + from .update_pipeline_v1_observability_pipelines_pipeline_id_putop import ( + UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest, + UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequestTypedDict, + ) from .update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop import ( UpdateRunInfoV1RagIngestionPipelineConfigurationsIDRunInfoPutRequest, UpdateRunInfoV1RagIngestionPipelineConfigurationsIDRunInfoPutRequestTypedDict, @@ -2751,6 +2847,10 @@ UpdatePipelineConfigRequest, UpdatePipelineConfigRequestTypedDict, ) + from .updatepipelinerequest import ( + UpdatePipelineRequest, + UpdatePipelineRequestTypedDict, + ) from .updateruninfo import UpdateRunInfo, UpdateRunInfoTypedDict from .updateserviceaccountrequest import ( UpdateServiceAccountRequest, @@ -2810,6 +2910,8 @@ ) from .vectordtype import VectorDType from .voicecreaterequest import VoiceCreateRequest, VoiceCreateRequestTypedDict + from .voicegender import VoiceGender + from .voicelistpage import VoiceListPage, VoiceListPageTypedDict from .voicelistresponse import VoiceListResponse, VoiceListResponseTypedDict from .voiceresponse import VoiceResponse, VoiceResponseType, VoiceResponseTypedDict from .voiceupdaterequest import VoiceUpdateRequest, VoiceUpdateRequestTypedDict @@ -2990,8 +3092,6 @@ from .workflowstreamerror import WorkflowStreamError, WorkflowStreamErrorTypedDict from .workflowsworkerspecupdate import ( WorkflowsWorkerSpecUpdate, - WorkflowsWorkerSpecUpdateBackendSpec, - WorkflowsWorkerSpecUpdateBackendSpecTypedDict, WorkflowsWorkerSpecUpdateTypedDict, ) from .workflowtaskfailedattributes import ( @@ -3139,6 +3239,8 @@ "AgentsCompletionStreamRequestToolChoiceTypedDict", "AgentsCompletionStreamRequestToolTypedDict", "AgentsCompletionStreamRequestTypedDict", + "AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest", + "AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequestTypedDict", "AggregateSpansV1ObservabilitySpansAggregatePostRequest", "AggregateSpansV1ObservabilitySpansAggregatePostRequestTypedDict", "AggregateTracesV1ObservabilityTracesAggregatePostRequest", @@ -3187,6 +3289,11 @@ "AudioTranscriptionRequestStream", "AudioTranscriptionRequestStreamTypedDict", "AudioTranscriptionRequestTypedDict", + "AudioV2VoicesListRequest", + "AudioV2VoicesListRequestTypedDict", + "AudioV2VoicesListResponse", + "AudioV2VoicesListResponseTypedDict", + "AudioV2VoicesListType", "AuthData", "AuthDataTypedDict", "AuthDirection", @@ -3199,6 +3306,8 @@ "AuthenticationMethodCreateOrUpdateRequestTypedDict", "Authorization", "AuthorizationTypedDict", + "BackendSpec", + "BackendSpecTypedDict", "BaseModelCard", "BaseModelCardTypedDict", "BaseTaskStatus", @@ -3332,14 +3441,11 @@ "ConnectorDeactivateForConsumerV1RequestTypedDict", "ConnectorDeleteAllUserCredentialsV1Request", "ConnectorDeleteAllUserCredentialsV1RequestTypedDict", - "ConnectorDeleteOrganizationCredentialsV1Request", - "ConnectorDeleteOrganizationCredentialsV1RequestTypedDict", - "ConnectorDeleteUserCredentialsV1Request", - "ConnectorDeleteUserCredentialsV1RequestTypedDict", + "ConnectorDeleteCredentialsConsumerScope", + "ConnectorDeleteCredentialsRequest", + "ConnectorDeleteCredentialsRequestTypedDict", "ConnectorDeleteV1Request", "ConnectorDeleteV1RequestTypedDict", - "ConnectorDeleteWorkspaceCredentialsV1Request", - "ConnectorDeleteWorkspaceCredentialsV1RequestTypedDict", "ConnectorGetAuthURLV1Request", "ConnectorGetAuthURLV1RequestTypedDict", "ConnectorGetAuthenticationMethodsV1Request", @@ -3484,6 +3590,8 @@ "CreateManagedIndexRequestTypedDict", "CreatePipelineConfigRequest", "CreatePipelineConfigRequestTypedDict", + "CreatePipelineRequest", + "CreatePipelineRequestTypedDict", "CreatePromptRequest", "CreatePromptRequestTypedDict", "CreatePromptVersionRequest", @@ -3538,6 +3646,8 @@ "CustomTaskTimedOutResponse", "CustomTaskTimedOutResponseTypedDict", "Dataset", + "DatasetImportResult", + "DatasetImportResultTypedDict", "DatasetImportTask", "DatasetImportTaskTypedDict", "DatasetPreview", @@ -3576,6 +3686,8 @@ "DeleteModelV1ModelsModelIDDeleteRequestTypedDict", "DeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequest", "DeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequestTypedDict", + "DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest", + "DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequestTypedDict", "DeletePromptResponse", "DeletePromptResponseTypedDict", "DeleteServiceAccountV1ServiceAccountsServiceAccountIDDeleteRequest", @@ -3596,8 +3708,6 @@ "DeploymentDetailResponseTypedDict", "DeploymentK8sBackendSpec", "DeploymentK8sBackendSpecTypedDict", - "DeploymentKoyebBackendSpec", - "DeploymentKoyebBackendSpecTypedDict", "DeploymentListResponse", "DeploymentListResponseTypedDict", "DeploymentLocation", @@ -3606,6 +3716,10 @@ "DeploymentLogRecordTypedDict", "DeploymentLogSearchResponse", "DeploymentLogSearchResponseTypedDict", + "DeploymentLogType", + "DeploymentMistralCloudBackendSpec", + "DeploymentMistralCloudBackendSpecType", + "DeploymentMistralCloudBackendSpecTypedDict", "DeploymentObservedState", "DeploymentObservedStateTypedDict", "DeploymentResourceConfig", @@ -3614,18 +3728,16 @@ "DeploymentResourceConfigUpdateTypedDict", "DeploymentResponse", "DeploymentResponseTypedDict", + "DeploymentSecretBinding", + "DeploymentSecretBindingTypedDict", "DeploymentStatus", "DeploymentWorkerListResponse", "DeploymentWorkerListResponseTypedDict", "DeploymentWorkerResponse", "DeploymentWorkerResponseTypedDict", "DeploymentWorkerSpecInput", - "DeploymentWorkerSpecInputBackendSpec", - "DeploymentWorkerSpecInputBackendSpecTypedDict", "DeploymentWorkerSpecInputTypedDict", "DeploymentWorkerSpecResponse", - "DeploymentWorkerSpecResponseBackendSpec", - "DeploymentWorkerSpecResponseBackendSpecTypedDict", "DeploymentWorkerSpecResponseTypedDict", "DetectionDefinition", "DetectionDefinitionTypedDict", @@ -3769,6 +3881,8 @@ "FunctionTool", "FunctionToolTypedDict", "FunctionTypedDict", + "GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest", + "GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequestTypedDict", "GetDatasetByIDV1ObservabilityDatasetsDatasetIDGetRequest", "GetDatasetByIDV1ObservabilityDatasetsDatasetIDGetRequestTypedDict", "GetDatasetImportTaskV1ObservabilityDatasetsDatasetIDTasksTaskIDGetRequest", @@ -3817,6 +3931,8 @@ "GetLogsTypedDict", "GetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequest", "GetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequestTypedDict", + "GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest", + "GetPipelineV1ObservabilityPipelinesPipelineIDGetRequestTypedDict", "GetRunHistoryV1WorkflowsRunsRunIDHistoryGetRequest", "GetRunHistoryV1WorkflowsRunsRunIDHistoryGetRequestTypedDict", "GetRunV1WorkflowsRunsRunIDGetRequest", @@ -3919,6 +4035,11 @@ "GlobalHeaderValue", "GlobalHeaderValueTypedDict", "Granularity", + "GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest", + "GrepIndexV1RagManagedIndexesIndexNameGrepPostRequestTypedDict", + "GrepMode", + "GrepRequest", + "GrepRequestTypedDict", "Gt", "GtTypedDict", "Gte", @@ -3945,6 +4066,8 @@ "ImportDatasetFromFileRequestTypedDict", "ImportDatasetFromPlaygroundRequest", "ImportDatasetFromPlaygroundRequestTypedDict", + "ImportDatasetFromSpansRequest", + "ImportDatasetFromSpansRequestTypedDict", "In", "InTypedDict", "InValue", @@ -4120,6 +4243,8 @@ "ListOrganizationsResponseTypedDict", "ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequest", "ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequestTypedDict", + "ListPipelinesV1ObservabilityPipelinesGetRequest", + "ListPipelinesV1ObservabilityPipelinesGetRequestTypedDict", "ListPromptVersionsResponse", "ListPromptVersionsResponseTypedDict", "ListPromptsResponse", @@ -4275,6 +4400,15 @@ "ModerationResponseTypedDict", "MultiPartBodyParams", "MultiPartBodyParamsTypedDict", + "NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest", + "NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequestTypedDict", + "NavigateRequest", + "NavigateRequestTypedDict", + "NavigationChunkResponse", + "NavigationChunkResponseTypedDict", + "NavigationDirection", + "NavigationResponse", + "NavigationResponseTypedDict", "NearestNeighbourRetriever", "NearestNeighbourRetrieverFilter", "NearestNeighbourRetrieverFilterTypedDict", @@ -4379,8 +4513,10 @@ "PaginatedResultDatasetRecordTypedDict", "PaginatedResultJudgePreview", "PaginatedResultJudgePreviewTypedDict", + "PaginatedResultPipeline", "PaginatedResultPipelineConfig", "PaginatedResultPipelineConfigTypedDict", + "PaginatedResultPipelineTypedDict", "PaginationInfo", "PaginationInfoTypedDict", "PaginationResponse", @@ -4391,6 +4527,7 @@ "PauseScheduleV1WorkflowsSchedulesScheduleIDPausePostRequestTypedDict", "Payload", "PayloadTypedDict", + "Pipeline", "PipelineConfig", "PipelineConfigDefinition", "PipelineConfigDefinitionTypedDict", @@ -4403,14 +4540,20 @@ "PipelineConfigsResponse", "PipelineConfigsResponseTypedDict", "PipelineKind", + "PipelineTypedDict", + "PipelinesResponse", + "PipelinesResponseTypedDict", "PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIDImportsFromDatasetPostRequest", "PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIDImportsFromDatasetPostRequestTypedDict", "PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIDImportsFromFilePostRequest", "PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIDImportsFromFilePostRequestTypedDict", "PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequest", "PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequestTypedDict", + "PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest", + "PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequestTypedDict", "Prediction", "PredictionTypedDict", + "PrincipalType", "ProcessStatus", "ProcessingStatus", "ProcessingStatusTypedDict", @@ -4471,10 +4614,20 @@ "QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIDQueriesPostRequestTypedDict", "QueryWorkflowResponse", "QueryWorkflowResponseTypedDict", + "RRFRetriever", + "RRFRetrieverFilter", + "RRFRetrieverFilterTypedDict", + "RRFRetrieverRetriever", + "RRFRetrieverRetrieverTypedDict", + "RRFRetrieverTypedDict", "Range", "RangeTypedDict", "RawContent", "RawContentTypedDict", + "ReadIndexV1RagManagedIndexesIndexNameReadPostRequest", + "ReadIndexV1RagManagedIndexesIndexNameReadPostRequestTypedDict", + "ReadRequest", + "ReadRequestTypedDict", "RealtimeTranscriptionError", "RealtimeTranscriptionErrorDetail", "RealtimeTranscriptionErrorDetailMessage", @@ -4562,8 +4715,6 @@ "ResumeScheduleV1WorkflowsSchedulesScheduleIDResumePostRequestTypedDict", "RetrieveModelV1ModelsModelIDGetRequest", "RetrieveModelV1ModelsModelIDGetRequestTypedDict", - "Retriever", - "RetrieverTypedDict", "Role", "Roles", "RootsCapability", @@ -4609,6 +4760,8 @@ "SearchLogsV1ObservabilityLogsSearchPostRequest", "SearchLogsV1ObservabilityLogsSearchPostRequestTypedDict", "SearchRequest", + "SearchRequestRetriever", + "SearchRequestRetrieverTypedDict", "SearchRequestTypedDict", "SearchResponse", "SearchResponseTypedDict", @@ -4687,8 +4840,16 @@ "SkipConfirmation", "SkipConfirmationTypedDict", "SortBy", + "SortOrder", "Source", "SourceKind", + "SpanDatasetMapping", + "SpanDatasetMappingContract", + "SpanDatasetMappingContractTypedDict", + "SpanDatasetMappingTypedDict", + "SpanDatasetSourceNamespace", + "SpanDatasetSourceReference", + "SpanDatasetSourceReferenceTypedDict", "SpanEvaluationsRequest", "SpanEvaluationsRequestTypedDict", "SpansRequest", @@ -4756,6 +4917,8 @@ "TasksSamplingCapabilityTypedDict", "TasksToolsCapability", "TasksToolsCapabilityTypedDict", + "TelemetrySpanReference", + "TelemetrySpanReferenceTypedDict", "TempoGetTraceResponse", "TempoGetTraceResponseTypedDict", "TempoTraceAttribute", @@ -4902,15 +5065,17 @@ "UnarchiveModelResponseTypedDict", "UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest", "UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequestTypedDict", + "UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest", + "UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequestTypedDict", "UnknownAgentTool", "UnknownAuthorization", + "UnknownBackendSpec", "UnknownBlock", "UnknownChunkFields", "UnknownConnector", "UnknownConnectorToolCallResponseContent", "UnknownContentChunk", "UnknownConversationEventsData", - "UnknownDeploymentWorkerSpecResponseBackendSpec", "UnknownDocumentFields", "UnknownEmbedding", "UnknownGetDeploymentSummariesResponseDeploymentDeployment", @@ -4988,6 +5153,10 @@ "UpdatePipelineConfigRequestTypedDict", "UpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequest", "UpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequestTypedDict", + "UpdatePipelineRequest", + "UpdatePipelineRequestTypedDict", + "UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest", + "UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequestTypedDict", "UpdatePromptRequest", "UpdatePromptRequestTypedDict", "UpdatePromptVersionRequest", @@ -5054,6 +5223,9 @@ "Visibility", "VoiceCreateRequest", "VoiceCreateRequestTypedDict", + "VoiceGender", + "VoiceListPage", + "VoiceListPageTypedDict", "VoiceListResponse", "VoiceListResponseTypedDict", "VoiceResponse", @@ -5180,8 +5352,6 @@ "WorkflowWithWorkerStatus", "WorkflowWithWorkerStatusTypedDict", "WorkflowsWorkerSpecUpdate", - "WorkflowsWorkerSpecUpdateBackendSpec", - "WorkflowsWorkerSpecUpdateBackendSpecTypedDict", "WorkflowsWorkerSpecUpdateTypedDict", ] @@ -5291,6 +5461,8 @@ "AgentsCompletionStreamRequestToolChoiceTypedDict": ".agentscompletionstreamrequest", "AgentsCompletionStreamRequestToolTypedDict": ".agentscompletionstreamrequest", "AgentsCompletionStreamRequestTypedDict": ".agentscompletionstreamrequest", + "AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest": ".aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop", + "AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequestTypedDict": ".aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop", "AggregateSpansV1ObservabilitySpansAggregatePostRequest": ".aggregate_spans_v1_observability_spans_aggregate_postop", "AggregateSpansV1ObservabilitySpansAggregatePostRequestTypedDict": ".aggregate_spans_v1_observability_spans_aggregate_postop", "AggregateTracesV1ObservabilityTracesAggregatePostRequest": ".aggregate_traces_v1_observability_traces_aggregate_postop", @@ -5323,6 +5495,11 @@ "AssistantMessageContent": ".assistantmessage", "AssistantMessageContentTypedDict": ".assistantmessage", "AssistantMessageTypedDict": ".assistantmessage", + "AudioV2VoicesListRequest": ".audio_v2_voices_listop", + "AudioV2VoicesListRequestTypedDict": ".audio_v2_voices_listop", + "AudioV2VoicesListResponse": ".audio_v2_voices_listop", + "AudioV2VoicesListResponseTypedDict": ".audio_v2_voices_listop", + "AudioV2VoicesListType": ".audio_v2_voices_listop", "AudioChunk": ".audiochunk", "AudioChunkTypedDict": ".audiochunk", "AudioContent": ".audiocontent", @@ -5469,14 +5646,11 @@ "ConnectorDeactivateForConsumerV1RequestTypedDict": ".connector_deactivate_for_consumer_v1op", "ConnectorDeleteAllUserCredentialsV1Request": ".connector_delete_all_user_credentials_v1op", "ConnectorDeleteAllUserCredentialsV1RequestTypedDict": ".connector_delete_all_user_credentials_v1op", - "ConnectorDeleteOrganizationCredentialsV1Request": ".connector_delete_organization_credentials_v1op", - "ConnectorDeleteOrganizationCredentialsV1RequestTypedDict": ".connector_delete_organization_credentials_v1op", - "ConnectorDeleteUserCredentialsV1Request": ".connector_delete_user_credentials_v1op", - "ConnectorDeleteUserCredentialsV1RequestTypedDict": ".connector_delete_user_credentials_v1op", + "ConnectorDeleteCredentialsConsumerScope": ".connector_delete_credentialsop", + "ConnectorDeleteCredentialsRequest": ".connector_delete_credentialsop", + "ConnectorDeleteCredentialsRequestTypedDict": ".connector_delete_credentialsop", "ConnectorDeleteV1Request": ".connector_delete_v1op", "ConnectorDeleteV1RequestTypedDict": ".connector_delete_v1op", - "ConnectorDeleteWorkspaceCredentialsV1Request": ".connector_delete_workspace_credentials_v1op", - "ConnectorDeleteWorkspaceCredentialsV1RequestTypedDict": ".connector_delete_workspace_credentials_v1op", "ConnectorGetAuthURLV1Request": ".connector_get_auth_url_v1op", "ConnectorGetAuthURLV1RequestTypedDict": ".connector_get_auth_url_v1op", "ConnectorGetAuthenticationMethodsV1Request": ".connector_get_authentication_methods_v1op", @@ -5632,6 +5806,8 @@ "CreateManagedIndexRequestTypedDict": ".createmanagedindexrequest", "CreatePipelineConfigRequest": ".createpipelineconfigrequest", "CreatePipelineConfigRequestTypedDict": ".createpipelineconfigrequest", + "CreatePipelineRequest": ".createpipelinerequest", + "CreatePipelineRequestTypedDict": ".createpipelinerequest", "CreatePromptRequest": ".createpromptrequest", "CreatePromptRequestTypedDict": ".createpromptrequest", "CreatePromptVersionResponse": ".createpromptversionresponse", @@ -5689,6 +5865,8 @@ "CustomTaskTimedOutResponseTypedDict": ".customtasktimedoutresponse", "Dataset": ".dataset", "DatasetTypedDict": ".dataset", + "DatasetImportResult": ".datasetimportresult", + "DatasetImportResultTypedDict": ".datasetimportresult", "DatasetImportTask": ".datasetimporttask", "DatasetImportTaskTypedDict": ".datasetimporttask", "DatasetPreview": ".datasetpreview", @@ -5712,6 +5890,8 @@ "DeleteModelV1ModelsModelIDDeleteRequestTypedDict": ".delete_model_v1_models_model_id_deleteop", "DeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequest": ".delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop", "DeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequestTypedDict": ".delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop", + "DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest": ".delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop", + "DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequestTypedDict": ".delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop", "DeleteServiceAccountV1ServiceAccountsServiceAccountIDDeleteRequest": ".delete_service_account_v1_service_accounts_service_account_id_deleteop", "DeleteServiceAccountV1ServiceAccountsServiceAccountIDDeleteRequestTypedDict": ".delete_service_account_v1_service_accounts_service_account_id_deleteop", "DeleteVoiceV1AudioVoicesVoiceIDDeleteRequest": ".delete_voice_v1_audio_voices_voice_id_deleteop", @@ -5746,8 +5926,6 @@ "DeploymentDetailResponseTypedDict": ".deploymentdetailresponse", "DeploymentK8sBackendSpec": ".deploymentk8sbackendspec", "DeploymentK8sBackendSpecTypedDict": ".deploymentk8sbackendspec", - "DeploymentKoyebBackendSpec": ".deploymentkoyebbackendspec", - "DeploymentKoyebBackendSpecTypedDict": ".deploymentkoyebbackendspec", "DeploymentListResponse": ".deploymentlistresponse", "DeploymentListResponseTypedDict": ".deploymentlistresponse", "DeploymentLocation": ".deploymentlocation", @@ -5756,6 +5934,10 @@ "DeploymentLogRecordTypedDict": ".deploymentlogrecord", "DeploymentLogSearchResponse": ".deploymentlogsearchresponse", "DeploymentLogSearchResponseTypedDict": ".deploymentlogsearchresponse", + "DeploymentLogType": ".deploymentlogtype", + "DeploymentMistralCloudBackendSpec": ".deploymentmistralcloudbackendspec", + "DeploymentMistralCloudBackendSpecType": ".deploymentmistralcloudbackendspec", + "DeploymentMistralCloudBackendSpecTypedDict": ".deploymentmistralcloudbackendspec", "DeploymentObservedState": ".deploymentobservedstate", "DeploymentObservedStateTypedDict": ".deploymentobservedstate", "DeploymentResourceConfig": ".deploymentresourceconfig", @@ -5764,19 +5946,19 @@ "DeploymentResourceConfigUpdateTypedDict": ".deploymentresourceconfigupdate", "DeploymentResponse": ".deploymentresponse", "DeploymentResponseTypedDict": ".deploymentresponse", + "DeploymentSecretBinding": ".deploymentsecretbinding", + "DeploymentSecretBindingTypedDict": ".deploymentsecretbinding", "DeploymentWorkerListResponse": ".deploymentworkerlistresponse", "DeploymentWorkerListResponseTypedDict": ".deploymentworkerlistresponse", "DeploymentWorkerResponse": ".deploymentworkerresponse", "DeploymentWorkerResponseTypedDict": ".deploymentworkerresponse", "DeploymentWorkerSpecInput": ".deploymentworkerspecinput", - "DeploymentWorkerSpecInputBackendSpec": ".deploymentworkerspecinput", - "DeploymentWorkerSpecInputBackendSpecTypedDict": ".deploymentworkerspecinput", "DeploymentWorkerSpecInputTypedDict": ".deploymentworkerspecinput", + "BackendSpec": ".deploymentworkerspecresponse", + "BackendSpecTypedDict": ".deploymentworkerspecresponse", "DeploymentWorkerSpecResponse": ".deploymentworkerspecresponse", - "DeploymentWorkerSpecResponseBackendSpec": ".deploymentworkerspecresponse", - "DeploymentWorkerSpecResponseBackendSpecTypedDict": ".deploymentworkerspecresponse", "DeploymentWorkerSpecResponseTypedDict": ".deploymentworkerspecresponse", - "UnknownDeploymentWorkerSpecResponseBackendSpec": ".deploymentworkerspecresponse", + "UnknownBackendSpec": ".deploymentworkerspecresponse", "DetectionDefinition": ".detectiondefinition", "DetectionDefinitionTypedDict": ".detectiondefinition", "DetectionPattern": ".detectionpattern", @@ -5917,6 +6099,8 @@ "FunctionResultEntryTypedDict": ".functionresultentry", "FunctionTool": ".functiontool", "FunctionToolTypedDict": ".functiontool", + "GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest": ".get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop", + "GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequestTypedDict": ".get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop", "GetDatasetByIDV1ObservabilityDatasetsDatasetIDGetRequest": ".get_dataset_by_id_v1_observability_datasets_dataset_id_getop", "GetDatasetByIDV1ObservabilityDatasetsDatasetIDGetRequestTypedDict": ".get_dataset_by_id_v1_observability_datasets_dataset_id_getop", "GetDatasetImportTaskV1ObservabilityDatasetsDatasetIDTasksTaskIDGetRequest": ".get_dataset_import_task_v1_observability_datasets_dataset_id_tasks_task_id_getop", @@ -5944,6 +6128,8 @@ "GetLogFieldOptionsV1ObservabilityLogsFieldsFieldNameOptionsGetRequestTypedDict": ".get_log_field_options_v1_observability_logs_fields_field_name_options_getop", "GetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequest": ".get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop", "GetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequestTypedDict": ".get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop", + "GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest": ".get_pipeline_v1_observability_pipelines_pipeline_id_getop", + "GetPipelineV1ObservabilityPipelinesPipelineIDGetRequestTypedDict": ".get_pipeline_v1_observability_pipelines_pipeline_id_getop", "GetRunHistoryV1WorkflowsRunsRunIDHistoryGetRequest": ".get_run_history_v1_workflows_runs_run_id_history_getop", "GetRunHistoryV1WorkflowsRunsRunIDHistoryGetRequestTypedDict": ".get_run_history_v1_workflows_runs_run_id_history_getop", "GetRunV1WorkflowsRunsRunIDGetRequest": ".get_run_v1_workflows_runs_run_id_getop", @@ -6070,6 +6256,11 @@ "GlobalHeaderValue": ".globalheadervalue", "GlobalHeaderValueTypedDict": ".globalheadervalue", "Granularity": ".granularity", + "GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest": ".grep_index_v1_rag_managed_indexes_index_name_grep_postop", + "GrepIndexV1RagManagedIndexesIndexNameGrepPostRequestTypedDict": ".grep_index_v1_rag_managed_indexes_index_name_grep_postop", + "GrepMode": ".grepmode", + "GrepRequest": ".greprequest", + "GrepRequestTypedDict": ".greprequest", "GuardrailConfig": ".guardrailconfig", "GuardrailConfigTypedDict": ".guardrailconfig", "HTTPConnector": ".httpconnector", @@ -6092,6 +6283,8 @@ "ImportDatasetFromFileRequestTypedDict": ".importdatasetfromfilerequest", "ImportDatasetFromPlaygroundRequest": ".importdatasetfromplaygroundrequest", "ImportDatasetFromPlaygroundRequestTypedDict": ".importdatasetfromplaygroundrequest", + "ImportDatasetFromSpansRequest": ".importdatasetfromspansrequest", + "ImportDatasetFromSpansRequestTypedDict": ".importdatasetfromspansrequest", "In": ".in_", "InTypedDict": ".in_", "InValue": ".in_", @@ -6256,6 +6449,8 @@ "ListModelsV1ModelsGetRequestTypedDict": ".list_models_v1_models_getop", "ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequest": ".list_pipeline_configs_v1_observability_pipeline_configs_getop", "ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequestTypedDict": ".list_pipeline_configs_v1_observability_pipeline_configs_getop", + "ListPipelinesV1ObservabilityPipelinesGetRequest": ".list_pipelines_v1_observability_pipelines_getop", + "ListPipelinesV1ObservabilityPipelinesGetRequestTypedDict": ".list_pipelines_v1_observability_pipelines_getop", "ListRunsV1WorkflowsRunsGetOrder": ".list_runs_v1_workflows_runs_getop", "ListRunsV1WorkflowsRunsGetRequest": ".list_runs_v1_workflows_runs_getop", "ListRunsV1WorkflowsRunsGetRequestTypedDict": ".list_runs_v1_workflows_runs_getop", @@ -6435,6 +6630,15 @@ "ModerationObjectTypedDict": ".moderationobject", "ModerationResponse": ".moderationresponse", "ModerationResponseTypedDict": ".moderationresponse", + "NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest": ".navigate_index_v1_rag_managed_indexes_index_name_navigate_postop", + "NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequestTypedDict": ".navigate_index_v1_rag_managed_indexes_index_name_navigate_postop", + "NavigateRequest": ".navigaterequest", + "NavigateRequestTypedDict": ".navigaterequest", + "NavigationChunkResponse": ".navigationchunkresponse", + "NavigationChunkResponseTypedDict": ".navigationchunkresponse", + "NavigationDirection": ".navigationdirection", + "NavigationResponse": ".navigationresponse", + "NavigationResponseTypedDict": ".navigationresponse", "NearestNeighbourRetriever": ".nearestneighbourretriever", "NearestNeighbourRetrieverFilter": ".nearestneighbourretriever", "NearestNeighbourRetrieverFilterTypedDict": ".nearestneighbourretriever", @@ -6539,6 +6743,8 @@ "PaginatedResultDatasetRecordTypedDict": ".paginatedresultdatasetrecord", "PaginatedResultJudgePreview": ".paginatedresultjudgepreview", "PaginatedResultJudgePreviewTypedDict": ".paginatedresultjudgepreview", + "PaginatedResultPipeline": ".paginatedresultpipeline", + "PaginatedResultPipelineTypedDict": ".paginatedresultpipeline", "PaginatedResultPipelineConfig": ".paginatedresultpipelineconfig", "PaginatedResultPipelineConfigTypedDict": ".paginatedresultpipelineconfig", "PaginationInfo": ".paginationinfo", @@ -6549,6 +6755,8 @@ "PartialScheduleDefinitionTypedDict": ".partialscheduledefinition", "PauseScheduleV1WorkflowsSchedulesScheduleIDPausePostRequest": ".pause_schedule_v1_workflows_schedules_schedule_id_pause_postop", "PauseScheduleV1WorkflowsSchedulesScheduleIDPausePostRequestTypedDict": ".pause_schedule_v1_workflows_schedules_schedule_id_pause_postop", + "Pipeline": ".pipeline", + "PipelineTypedDict": ".pipeline", "PipelineConfig": ".pipelineconfig", "PipelineConfigTypedDict": ".pipelineconfig", "PipelineConfigDefinition": ".pipelineconfigdefinition", @@ -6561,14 +6769,19 @@ "PipelineConfigsResponse": ".pipelineconfigsresponse", "PipelineConfigsResponseTypedDict": ".pipelineconfigsresponse", "PipelineKind": ".pipelinekind", + "PipelinesResponse": ".pipelinesresponse", + "PipelinesResponseTypedDict": ".pipelinesresponse", "PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIDImportsFromDatasetPostRequest": ".post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop", "PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIDImportsFromDatasetPostRequestTypedDict": ".post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop", "PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIDImportsFromFilePostRequest": ".post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop", "PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIDImportsFromFilePostRequestTypedDict": ".post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop", "PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequest": ".post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop", "PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequestTypedDict": ".post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop", + "PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest": ".post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop", + "PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequestTypedDict": ".post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop", "Prediction": ".prediction", "PredictionTypedDict": ".prediction", + "PrincipalType": ".principaltype", "ProcessingStatus": ".processingstatus", "ProcessingStatusTypedDict": ".processingstatus", "ProcessStatus": ".processstatus", @@ -6643,6 +6856,10 @@ "LteTypedDict": ".range", "Range": ".range", "RangeTypedDict": ".range", + "ReadIndexV1RagManagedIndexesIndexNameReadPostRequest": ".read_index_v1_rag_managed_indexes_index_name_read_postop", + "ReadIndexV1RagManagedIndexesIndexNameReadPostRequestTypedDict": ".read_index_v1_rag_managed_indexes_index_name_read_postop", + "ReadRequest": ".readrequest", + "ReadRequestTypedDict": ".readrequest", "RealtimeTranscriptionError": ".realtimetranscriptionerror", "RealtimeTranscriptionErrorTypedDict": ".realtimetranscriptionerror", "RealtimeTranscriptionErrorDetail": ".realtimetranscriptionerrordetail", @@ -6718,6 +6935,12 @@ "Roles": ".roles", "RootsCapability": ".rootscapability", "RootsCapabilityTypedDict": ".rootscapability", + "RRFRetriever": ".rrfretriever", + "RRFRetrieverFilter": ".rrfretriever", + "RRFRetrieverFilterTypedDict": ".rrfretriever", + "RRFRetrieverRetriever": ".rrfretriever", + "RRFRetrieverRetrieverTypedDict": ".rrfretriever", + "RRFRetrieverTypedDict": ".rrfretriever", "SampleType": ".sampletype", "SamplingCapability": ".samplingcapability", "SamplingCapabilityTypedDict": ".samplingcapability", @@ -6762,9 +6985,9 @@ "SearchChunkResponseTypedDict": ".searchchunkresponse", "SearchHitResponse": ".searchhitresponse", "SearchHitResponseTypedDict": ".searchhitresponse", - "Retriever": ".searchrequest", - "RetrieverTypedDict": ".searchrequest", "SearchRequest": ".searchrequest", + "SearchRequestRetriever": ".searchrequest", + "SearchRequestRetrieverTypedDict": ".searchrequest", "SearchRequestTypedDict": ".searchrequest", "SearchResponse": ".searchresponse", "SearchResponseTypedDict": ".searchresponse", @@ -6842,8 +7065,16 @@ "UpdateSkillRequestTypedDict": ".skills_updateop", "SkillVersion": ".skillversion", "SkillVersionTypedDict": ".skillversion", + "SortOrder": ".sortorder", "Source": ".source", "SourceKind": ".sourcekind", + "SpanDatasetMapping": ".spandatasetmapping", + "SpanDatasetMappingTypedDict": ".spandatasetmapping", + "SpanDatasetMappingContract": ".spandatasetmappingcontract", + "SpanDatasetMappingContractTypedDict": ".spandatasetmappingcontract", + "SpanDatasetSourceNamespace": ".spandatasetsourcenamespace", + "SpanDatasetSourceReference": ".spandatasetsourcereference", + "SpanDatasetSourceReferenceTypedDict": ".spandatasetsourcereference", "SpanEvaluationsRequest": ".spanevaluationsrequest", "SpanEvaluationsRequestTypedDict": ".spanevaluationsrequest", "SpansRequest": ".spansrequest", @@ -6910,6 +7141,8 @@ "TasksSamplingCapabilityTypedDict": ".taskssamplingcapability", "TasksToolsCapability": ".taskstoolscapability", "TasksToolsCapabilityTypedDict": ".taskstoolscapability", + "TelemetrySpanReference": ".telemetryspanreference", + "TelemetrySpanReferenceTypedDict": ".telemetryspanreference", "TempoGetTraceResponse": ".tempogettraceresponse", "TempoGetTraceResponseTypedDict": ".tempogettraceresponse", "TempoTraceAttribute": ".tempotraceattribute", @@ -7061,6 +7294,8 @@ "UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequestTypedDict": ".unarchive_workflow_v1_workflows_workflow_identifier_unarchive_putop", "UnarchiveModelResponse": ".unarchivemodelresponse", "UnarchiveModelResponseTypedDict": ".unarchivemodelresponse", + "UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest": ".unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop", + "UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequestTypedDict": ".unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop", "UnregisterDeploymentV1RagDeploymentsDeploymentIDDeleteRequest": ".unregister_deployment_v1_rag_deployments_deployment_id_deleteop", "UnregisterDeploymentV1RagDeploymentsDeploymentIDDeleteRequestTypedDict": ".unregister_deployment_v1_rag_deployments_deployment_id_deleteop", "UnscheduleWorkflowV1WorkflowsSchedulesScheduleIDDeleteRequest": ".unschedule_workflow_v1_workflows_schedules_schedule_id_deleteop", @@ -7083,6 +7318,8 @@ "UpdateJudgeV1ObservabilityJudgesJudgeIDPutRequestTypedDict": ".update_judge_v1_observability_judges_judge_id_putop", "UpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequest": ".update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop", "UpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequestTypedDict": ".update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop", + "UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest": ".update_pipeline_v1_observability_pipelines_pipeline_id_putop", + "UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequestTypedDict": ".update_pipeline_v1_observability_pipelines_pipeline_id_putop", "UpdateRunInfoV1RagIngestionPipelineConfigurationsIDRunInfoPutRequest": ".update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop", "UpdateRunInfoV1RagIngestionPipelineConfigurationsIDRunInfoPutRequestTypedDict": ".update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop", "UpdateScheduleV1WorkflowsSchedulesScheduleIDPatchRequest": ".update_schedule_v1_workflows_schedules_schedule_id_patchop", @@ -7141,6 +7378,8 @@ "UpdateModelRequestTypedDict": ".updatemodelrequest", "UpdatePipelineConfigRequest": ".updatepipelineconfigrequest", "UpdatePipelineConfigRequestTypedDict": ".updatepipelineconfigrequest", + "UpdatePipelineRequest": ".updatepipelinerequest", + "UpdatePipelineRequestTypedDict": ".updatepipelinerequest", "UpdateRunInfo": ".updateruninfo", "UpdateRunInfoTypedDict": ".updateruninfo", "UpdateServiceAccountRequest": ".updateserviceaccountrequest", @@ -7190,6 +7429,9 @@ "VectorDType": ".vectordtype", "VoiceCreateRequest": ".voicecreaterequest", "VoiceCreateRequestTypedDict": ".voicecreaterequest", + "VoiceGender": ".voicegender", + "VoiceListPage": ".voicelistpage", + "VoiceListPageTypedDict": ".voicelistpage", "VoiceListResponse": ".voicelistresponse", "VoiceListResponseTypedDict": ".voicelistresponse", "VoiceResponse": ".voiceresponse", @@ -7298,8 +7540,6 @@ "WorkflowStreamError": ".workflowstreamerror", "WorkflowStreamErrorTypedDict": ".workflowstreamerror", "WorkflowsWorkerSpecUpdate": ".workflowsworkerspecupdate", - "WorkflowsWorkerSpecUpdateBackendSpec": ".workflowsworkerspecupdate", - "WorkflowsWorkerSpecUpdateBackendSpecTypedDict": ".workflowsworkerspecupdate", "WorkflowsWorkerSpecUpdateTypedDict": ".workflowsworkerspecupdate", "WorkflowTaskFailedAttributes": ".workflowtaskfailedattributes", "WorkflowTaskFailedAttributesTypedDict": ".workflowtaskfailedattributes", diff --git a/src/mistralai/client/models/accepteddocumentresponse.py b/src/mistralai/client/models/accepteddocumentresponse.py index dc1b3e842..27b6b2c88 100644 --- a/src/mistralai/client/models/accepteddocumentresponse.py +++ b/src/mistralai/client/models/accepteddocumentresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: aae1b153b728 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/activitytaskcompletedattributesresponse.py b/src/mistralai/client/models/activitytaskcompletedattributesresponse.py index 8e355d484..35b1d18e7 100644 --- a/src/mistralai/client/models/activitytaskcompletedattributesresponse.py +++ b/src/mistralai/client/models/activitytaskcompletedattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8174941767cc from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/activitytaskcompletedresponse.py b/src/mistralai/client/models/activitytaskcompletedresponse.py index 9c0b728bf..79e6436bd 100644 --- a/src/mistralai/client/models/activitytaskcompletedresponse.py +++ b/src/mistralai/client/models/activitytaskcompletedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 28373f0a2c9e from __future__ import annotations from .activitytaskcompletedattributesresponse import ( ActivityTaskCompletedAttributesResponse, ActivityTaskCompletedAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class ActivityTaskCompletedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class ActivityTaskCompletedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class ActivityTaskCompletedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: ActivityTaskCompletedAttributesResponseTypedDict r"""Attributes for activity task completed events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["ACTIVITY_TASK_COMPLETED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class ActivityTaskCompletedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class ActivityTaskCompletedResponse(BaseModel): attributes: ActivityTaskCompletedAttributesResponse r"""Attributes for activity task completed events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["ACTIVITY_TASK_COMPLETED"]], @@ -102,7 +107,15 @@ class ActivityTaskCompletedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/activitytaskfailedattributes.py b/src/mistralai/client/models/activitytaskfailedattributes.py index 37749d4a7..2a6f52934 100644 --- a/src/mistralai/client/models/activitytaskfailedattributes.py +++ b/src/mistralai/client/models/activitytaskfailedattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 12635cd17417 from __future__ import annotations from .failure import Failure, FailureTypedDict diff --git a/src/mistralai/client/models/activitytaskfailedresponse.py b/src/mistralai/client/models/activitytaskfailedresponse.py index 485a41c29..6c12e346f 100644 --- a/src/mistralai/client/models/activitytaskfailedresponse.py +++ b/src/mistralai/client/models/activitytaskfailedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b739e8fc9b44 from __future__ import annotations from .activitytaskfailedattributes import ( ActivityTaskFailedAttributes, ActivityTaskFailedAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class ActivityTaskFailedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class ActivityTaskFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class ActivityTaskFailedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: ActivityTaskFailedAttributesTypedDict r"""Attributes for activity task failed events (final failure after all retries).""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["ACTIVITY_TASK_FAILED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class ActivityTaskFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class ActivityTaskFailedResponse(BaseModel): attributes: ActivityTaskFailedAttributes r"""Attributes for activity task failed events (final failure after all retries).""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["ACTIVITY_TASK_FAILED"]], @@ -102,7 +107,15 @@ class ActivityTaskFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/activitytaskretryingattributes.py b/src/mistralai/client/models/activitytaskretryingattributes.py index b0ee11d8a..478ad5341 100644 --- a/src/mistralai/client/models/activitytaskretryingattributes.py +++ b/src/mistralai/client/models/activitytaskretryingattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9aaa9eecac09 from __future__ import annotations from .failure import Failure, FailureTypedDict diff --git a/src/mistralai/client/models/activitytaskretryingresponse.py b/src/mistralai/client/models/activitytaskretryingresponse.py index ba5cb11f6..9af73c6ec 100644 --- a/src/mistralai/client/models/activitytaskretryingresponse.py +++ b/src/mistralai/client/models/activitytaskretryingresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3a4ff1e01fa1 from __future__ import annotations from .activitytaskretryingattributes import ( ActivityTaskRetryingAttributes, ActivityTaskRetryingAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class ActivityTaskRetryingResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class ActivityTaskRetryingResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class ActivityTaskRetryingResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: ActivityTaskRetryingAttributesTypedDict r"""Attributes for activity task retrying events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["ACTIVITY_TASK_RETRYING"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class ActivityTaskRetryingResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class ActivityTaskRetryingResponse(BaseModel): attributes: ActivityTaskRetryingAttributes r"""Attributes for activity task retrying events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["ACTIVITY_TASK_RETRYING"]], @@ -102,7 +107,15 @@ class ActivityTaskRetryingResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/activitytaskstartedattributesresponse.py b/src/mistralai/client/models/activitytaskstartedattributesresponse.py index 9a049150e..6538c0c76 100644 --- a/src/mistralai/client/models/activitytaskstartedattributesresponse.py +++ b/src/mistralai/client/models/activitytaskstartedattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3a365e2c2942 from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/activitytaskstartedresponse.py b/src/mistralai/client/models/activitytaskstartedresponse.py index ad47b76ad..800b91cc3 100644 --- a/src/mistralai/client/models/activitytaskstartedresponse.py +++ b/src/mistralai/client/models/activitytaskstartedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d01ef9cb3955 from __future__ import annotations from .activitytaskstartedattributesresponse import ( ActivityTaskStartedAttributesResponse, ActivityTaskStartedAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class ActivityTaskStartedResponseTypedDict(TypedDict): @@ -30,14 +35,6 @@ class ActivityTaskStartedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -46,6 +43,14 @@ class ActivityTaskStartedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: ActivityTaskStartedAttributesResponseTypedDict r"""Attributes for activity task started events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["ACTIVITY_TASK_STARTED"] r"""Event type discriminator.""" @@ -69,18 +74,6 @@ class ActivityTaskStartedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -93,6 +86,18 @@ class ActivityTaskStartedResponse(BaseModel): attributes: ActivityTaskStartedAttributesResponse r"""Attributes for activity task started events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["ACTIVITY_TASK_STARTED"]], @@ -104,7 +109,15 @@ class ActivityTaskStartedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/agent.py b/src/mistralai/client/models/agent.py index 25dc21d4e..7d57e5b46 100644 --- a/src/mistralai/client/models/agent.py +++ b/src/mistralai/client/models/agent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1336849c84fb from __future__ import annotations from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict diff --git a/src/mistralai/client/models/agentaliasresponse.py b/src/mistralai/client/models/agentaliasresponse.py index 6972af2a4..4bc8225c0 100644 --- a/src/mistralai/client/models/agentaliasresponse.py +++ b/src/mistralai/client/models/agentaliasresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3899a98a55dd from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/agentconversation.py b/src/mistralai/client/models/agentconversation.py index b52f5e5a9..f78c722f4 100644 --- a/src/mistralai/client/models/agentconversation.py +++ b/src/mistralai/client/models/agentconversation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1b7d73eddf51 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/agenthandoffdoneevent.py b/src/mistralai/client/models/agenthandoffdoneevent.py index ea9cd6b2a..54350779c 100644 --- a/src/mistralai/client/models/agenthandoffdoneevent.py +++ b/src/mistralai/client/models/agenthandoffdoneevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 82628bb5fcea from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/agenthandoffentry.py b/src/mistralai/client/models/agenthandoffentry.py index 8d1c143ea..f7d76b22b 100644 --- a/src/mistralai/client/models/agenthandoffentry.py +++ b/src/mistralai/client/models/agenthandoffentry.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5030bcaa3a07 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/agenthandoffstartedevent.py b/src/mistralai/client/models/agenthandoffstartedevent.py index 9525bcf65..6e5a08b29 100644 --- a/src/mistralai/client/models/agenthandoffstartedevent.py +++ b/src/mistralai/client/models/agenthandoffstartedevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2f6093d9b222 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/agentlistpage.py b/src/mistralai/client/models/agentlistpage.py index 2eed6dcfc..169e361cc 100644 --- a/src/mistralai/client/models/agentlistpage.py +++ b/src/mistralai/client/models/agentlistpage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4d2e1e8b3b57 from __future__ import annotations from .agent import Agent, AgentTypedDict diff --git a/src/mistralai/client/models/agents_api_v1_agents_create_or_update_aliasop.py b/src/mistralai/client/models/agents_api_v1_agents_create_or_update_aliasop.py index 04761ae78..33da325ca 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_create_or_update_aliasop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_create_or_update_aliasop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 23a832f8f175 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_agents_delete_aliasop.py b/src/mistralai/client/models/agents_api_v1_agents_delete_aliasop.py index 291a9802a..aae6bf3b9 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_delete_aliasop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_delete_aliasop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9c9947e768d3 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_agents_deleteop.py b/src/mistralai/client/models/agents_api_v1_agents_deleteop.py index 5e41fdcdb..58fe902f0 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_deleteop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 95adb6768908 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_agents_get_versionop.py b/src/mistralai/client/models/agents_api_v1_agents_get_versionop.py index 941863d0f..edcccda19 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_get_versionop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_get_versionop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ef9914284afb from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_agents_getop.py b/src/mistralai/client/models/agents_api_v1_agents_getop.py index dee6a3475..4926d392b 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_getop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f5918c34f1c7 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/agents_api_v1_agents_list_pagesop.py b/src/mistralai/client/models/agents_api_v1_agents_list_pagesop.py index 0b272c98d..9a0fffbc7 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_list_pagesop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_list_pagesop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a7dfc67cb1ee from __future__ import annotations from .agentlistpage import AgentListPage, AgentListPageTypedDict diff --git a/src/mistralai/client/models/agents_api_v1_agents_list_version_aliasesop.py b/src/mistralai/client/models/agents_api_v1_agents_list_version_aliasesop.py index bb1da6020..b9770fffe 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_list_version_aliasesop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_list_version_aliasesop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a04815e6c798 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_agents_list_versionsop.py b/src/mistralai/client/models/agents_api_v1_agents_list_versionsop.py index 25ea29e31..286265904 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_list_versionsop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_list_versionsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 19e3310c3907 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/agents_api_v1_agents_listop.py b/src/mistralai/client/models/agents_api_v1_agents_listop.py index 100e0da71..837885ea8 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_listop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_listop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 25a6460a6e19 from __future__ import annotations from .requestsource import RequestSource diff --git a/src/mistralai/client/models/agents_api_v1_agents_update_versionop.py b/src/mistralai/client/models/agents_api_v1_agents_update_versionop.py index 5ab821ea4..116f952b2 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_update_versionop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_update_versionop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 63f61b8891bf from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_agents_updateop.py b/src/mistralai/client/models/agents_api_v1_agents_updateop.py index 69da50010..ccbe65488 100644 --- a/src/mistralai/client/models/agents_api_v1_agents_updateop.py +++ b/src/mistralai/client/models/agents_api_v1_agents_updateop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bb55993c932d from __future__ import annotations from .updateagentrequest import UpdateAgentRequest, UpdateAgentRequestTypedDict diff --git a/src/mistralai/client/models/agents_api_v1_conversations_append_streamop.py b/src/mistralai/client/models/agents_api_v1_conversations_append_streamop.py index d257dc789..9f00ffd4b 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_append_streamop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_append_streamop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ec00e0905f15 from __future__ import annotations from .conversationappendstreamrequest import ( diff --git a/src/mistralai/client/models/agents_api_v1_conversations_appendop.py b/src/mistralai/client/models/agents_api_v1_conversations_appendop.py index 61fec0834..13d07ba91 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_appendop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_appendop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 39c6125e850c from __future__ import annotations from .conversationappendrequest import ( diff --git a/src/mistralai/client/models/agents_api_v1_conversations_deleteop.py b/src/mistralai/client/models/agents_api_v1_conversations_deleteop.py index 499645a77..81066f903 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_deleteop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0792e6abbdcb from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_conversations_getop.py b/src/mistralai/client/models/agents_api_v1_conversations_getop.py index 504616abb..7308708e0 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_getop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c530f2fc64d0 from __future__ import annotations from .agentconversation import AgentConversation, AgentConversationTypedDict diff --git a/src/mistralai/client/models/agents_api_v1_conversations_historyop.py b/src/mistralai/client/models/agents_api_v1_conversations_historyop.py index ef0a4eb08..ba1f8890c 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_historyop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_historyop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2f5ca33768aa from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_conversations_listop.py b/src/mistralai/client/models/agents_api_v1_conversations_listop.py index dd6276d9e..b2eec7416 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_listop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_listop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 936e36181d36 from __future__ import annotations from .agentconversation import AgentConversation, AgentConversationTypedDict diff --git a/src/mistralai/client/models/agents_api_v1_conversations_messagesop.py b/src/mistralai/client/models/agents_api_v1_conversations_messagesop.py index 19978a194..e05728f2c 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_messagesop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_messagesop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b5141764a708 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/agents_api_v1_conversations_restart_streamop.py b/src/mistralai/client/models/agents_api_v1_conversations_restart_streamop.py index 63c744498..9b489ab46 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_restart_streamop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_restart_streamop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c284a1711148 from __future__ import annotations from .conversationrestartstreamrequest import ( diff --git a/src/mistralai/client/models/agents_api_v1_conversations_restartop.py b/src/mistralai/client/models/agents_api_v1_conversations_restartop.py index 3186d5df9..8bce3ce51 100644 --- a/src/mistralai/client/models/agents_api_v1_conversations_restartop.py +++ b/src/mistralai/client/models/agents_api_v1_conversations_restartop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3ba234e5a8fc from __future__ import annotations from .conversationrestartrequest import ( diff --git a/src/mistralai/client/models/agentscompletionrequest.py b/src/mistralai/client/models/agentscompletionrequest.py index 6327daf4c..dc2374714 100644 --- a/src/mistralai/client/models/agentscompletionrequest.py +++ b/src/mistralai/client/models/agentscompletionrequest.py @@ -1,9 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3960bc4c545f from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict -from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict from .customconnector import CustomConnector, CustomConnectorTypedDict from .documentlibrarytool import DocumentLibraryTool, DocumentLibraryToolTypedDict from .guardrailconfig import GuardrailConfig, GuardrailConfigTypedDict @@ -19,8 +17,6 @@ from .toolchoiceenum import ToolChoiceEnum from .toolmessage import ToolMessage, ToolMessageTypedDict from .usermessage import UserMessage, UserMessageTypedDict -from .websearchpremiumtool import WebSearchPremiumTool, WebSearchPremiumToolTypedDict -from .websearchtool import WebSearchTool, WebSearchToolTypedDict from mistralai.client.types import ( BaseModel, Nullable, @@ -72,9 +68,6 @@ "AgentsCompletionRequestToolTypedDict", Union[ ToolTypedDict, - WebSearchToolTypedDict, - WebSearchPremiumToolTypedDict, - CodeInterpreterToolTypedDict, ImageGenerationToolTypedDict, DocumentLibraryToolTypedDict, CustomConnectorTypedDict, @@ -85,9 +78,6 @@ AgentsCompletionRequestTool = Annotated[ Union[ Annotated[Tool, Tag("function")], - Annotated[WebSearchTool, Tag("web_search")], - Annotated[WebSearchPremiumTool, Tag("web_search_premium")], - Annotated[CodeInterpreterTool, Tag("code_interpreter")], Annotated[ImageGenerationTool, Tag("image_generation")], Annotated[DocumentLibraryTool, Tag("document_library")], Annotated[CustomConnector, Tag("connector")], diff --git a/src/mistralai/client/models/agentscompletionstreamrequest.py b/src/mistralai/client/models/agentscompletionstreamrequest.py index 8f8f163eb..96062f45a 100644 --- a/src/mistralai/client/models/agentscompletionstreamrequest.py +++ b/src/mistralai/client/models/agentscompletionstreamrequest.py @@ -1,9 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1b73f90befc2 from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict -from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict from .customconnector import CustomConnector, CustomConnectorTypedDict from .documentlibrarytool import DocumentLibraryTool, DocumentLibraryToolTypedDict from .guardrailconfig import GuardrailConfig, GuardrailConfigTypedDict @@ -19,8 +17,6 @@ from .toolchoiceenum import ToolChoiceEnum from .toolmessage import ToolMessage, ToolMessageTypedDict from .usermessage import UserMessage, UserMessageTypedDict -from .websearchpremiumtool import WebSearchPremiumTool, WebSearchPremiumToolTypedDict -from .websearchtool import WebSearchTool, WebSearchToolTypedDict from mistralai.client.types import ( BaseModel, Nullable, @@ -72,9 +68,6 @@ "AgentsCompletionStreamRequestToolTypedDict", Union[ ToolTypedDict, - WebSearchToolTypedDict, - WebSearchPremiumToolTypedDict, - CodeInterpreterToolTypedDict, ImageGenerationToolTypedDict, DocumentLibraryToolTypedDict, CustomConnectorTypedDict, @@ -85,9 +78,6 @@ AgentsCompletionStreamRequestTool = Annotated[ Union[ Annotated[Tool, Tag("function")], - Annotated[WebSearchTool, Tag("web_search")], - Annotated[WebSearchPremiumTool, Tag("web_search_premium")], - Annotated[CodeInterpreterTool, Tag("code_interpreter")], Annotated[ImageGenerationTool, Tag("image_generation")], Annotated[DocumentLibraryTool, Tag("document_library")], Annotated[CustomConnector, Tag("connector")], diff --git a/src/mistralai/client/models/aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop.py b/src/mistralai/client/models/aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop.py new file mode 100644 index 000000000..ccbee699c --- /dev/null +++ b/src/mistralai/client/models/aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_postop.py @@ -0,0 +1,69 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .aggregationrequest import AggregationRequest, AggregationRequestTypedDict +from datetime import datetime +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from mistralai.client.utils import FieldMetadata, QueryParamMetadata, RequestMetadata +import pydantic +from pydantic import model_serializer +from typing_extensions import Annotated, NotRequired, TypedDict + + +class AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequestTypedDict( + TypedDict +): + aggregation_request: AggregationRequestTypedDict + from_: NotRequired[Nullable[datetime]] + to: NotRequired[Nullable[datetime]] + + +class AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest( + BaseModel +): + aggregation_request: Annotated[ + AggregationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + from_: Annotated[ + OptionalNullable[datetime], + pydantic.Field(alias="from"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + + to: Annotated[ + OptionalNullable[datetime], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["from", "to"]) + nullable_fields = set(["from", "to"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/aggregate_spans_v1_observability_spans_aggregate_postop.py b/src/mistralai/client/models/aggregate_spans_v1_observability_spans_aggregate_postop.py index 721d0b7c4..9964bdd36 100644 --- a/src/mistralai/client/models/aggregate_spans_v1_observability_spans_aggregate_postop.py +++ b/src/mistralai/client/models/aggregate_spans_v1_observability_spans_aggregate_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 402703d63097 from __future__ import annotations from .aggregationrequest import AggregationRequest, AggregationRequestTypedDict diff --git a/src/mistralai/client/models/aggregate_traces_v1_observability_traces_aggregate_postop.py b/src/mistralai/client/models/aggregate_traces_v1_observability_traces_aggregate_postop.py index 147e37f83..d8a8ba992 100644 --- a/src/mistralai/client/models/aggregate_traces_v1_observability_traces_aggregate_postop.py +++ b/src/mistralai/client/models/aggregate_traces_v1_observability_traces_aggregate_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48b3b1b2debd from __future__ import annotations from .aggregationrequest import AggregationRequest, AggregationRequestTypedDict diff --git a/src/mistralai/client/models/aggregation.py b/src/mistralai/client/models/aggregation.py index 1da7c65a2..b040b3b49 100644 --- a/src/mistralai/client/models/aggregation.py +++ b/src/mistralai/client/models/aggregation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e0f464c8bc95 from __future__ import annotations from .aggregationmeta import AggregationMeta, AggregationMetaTypedDict diff --git a/src/mistralai/client/models/aggregationmeta.py b/src/mistralai/client/models/aggregationmeta.py index 88c7cd3ef..50f0d0f01 100644 --- a/src/mistralai/client/models/aggregationmeta.py +++ b/src/mistralai/client/models/aggregationmeta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2075ee6b10a3 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/aggregationrequest.py b/src/mistralai/client/models/aggregationrequest.py index 6ecc06ccf..854580fa0 100644 --- a/src/mistralai/client/models/aggregationrequest.py +++ b/src/mistralai/client/models/aggregationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f35f9759a3f6 from __future__ import annotations from .metricdefinition import MetricDefinition, MetricDefinitionTypedDict diff --git a/src/mistralai/client/models/aggregationrow.py b/src/mistralai/client/models/aggregationrow.py index ac61d4b51..139c89ff6 100644 --- a/src/mistralai/client/models/aggregationrow.py +++ b/src/mistralai/client/models/aggregationrow.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 376cd8ead269 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/aliaslist.py b/src/mistralai/client/models/aliaslist.py index 4a395ce82..f962182bf 100644 --- a/src/mistralai/client/models/aliaslist.py +++ b/src/mistralai/client/models/aliaslist.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 62e1e2ab1ce8 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/and_.py b/src/mistralai/client/models/and_.py index 40bf2330a..316b83726 100644 --- a/src/mistralai/client/models/and_.py +++ b/src/mistralai/client/models/and_.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 801d950e3ce2 from __future__ import annotations from .equal import Equal, EqualTypedDict diff --git a/src/mistralai/client/models/annotations.py b/src/mistralai/client/models/annotations.py index f3f5c21c6..0462d4292 100644 --- a/src/mistralai/client/models/annotations.py +++ b/src/mistralai/client/models/annotations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3ae9e07de11d from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/apiendpoint.py b/src/mistralai/client/models/apiendpoint.py index a6665c107..a6072d568 100644 --- a/src/mistralai/client/models/apiendpoint.py +++ b/src/mistralai/client/models/apiendpoint.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 00b34ce0a24d from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/apikeyauth.py b/src/mistralai/client/models/apikeyauth.py index 10cbaf589..567e4ba28 100644 --- a/src/mistralai/client/models/apikeyauth.py +++ b/src/mistralai/client/models/apikeyauth.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f55510f5ff82 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/archive_workflow_v1_workflows_workflow_identifier_archive_putop.py b/src/mistralai/client/models/archive_workflow_v1_workflows_workflow_identifier_archive_putop.py index 8582aaf5a..cb86f0d21 100644 --- a/src/mistralai/client/models/archive_workflow_v1_workflows_workflow_identifier_archive_putop.py +++ b/src/mistralai/client/models/archive_workflow_v1_workflows_workflow_identifier_archive_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0be575ead94b from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/archivemodelresponse.py b/src/mistralai/client/models/archivemodelresponse.py index c5ca8ff5d..781a69872 100644 --- a/src/mistralai/client/models/archivemodelresponse.py +++ b/src/mistralai/client/models/archivemodelresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2d22c644df64 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/assignableserviceaccountrole.py b/src/mistralai/client/models/assignableserviceaccountrole.py index 7d8692a98..8a0596b28 100644 --- a/src/mistralai/client/models/assignableserviceaccountrole.py +++ b/src/mistralai/client/models/assignableserviceaccountrole.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e960c399f67c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/assistantmessage.py b/src/mistralai/client/models/assistantmessage.py index f333a4442..cc33d9e78 100644 --- a/src/mistralai/client/models/assistantmessage.py +++ b/src/mistralai/client/models/assistantmessage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2b49546e0742 from __future__ import annotations from .contentchunk import ContentChunk, ContentChunkTypedDict diff --git a/src/mistralai/client/models/audio_v2_voices_listop.py b/src/mistralai/client/models/audio_v2_voices_listop.py new file mode 100644 index 000000000..753290dc4 --- /dev/null +++ b/src/mistralai/client/models/audio_v2_voices_listop.py @@ -0,0 +1,117 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .voicegender import VoiceGender +from .voicelistpage import VoiceListPage, VoiceListPageTypedDict +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from mistralai.client.utils import FieldMetadata, QueryParamMetadata +from pydantic import model_serializer +from typing import Awaitable, Callable, List, Literal, Optional, Union +from typing_extensions import Annotated, NotRequired, TypedDict + + +AudioV2VoicesListType = Literal[ + "all", + "custom", + "preset", +] +r"""Filter the voices between customs and presets""" + + +class AudioV2VoicesListRequestTypedDict(TypedDict): + page_size: NotRequired[int] + r"""Maximum number of voices to return""" + page_token: NotRequired[Nullable[str]] + r"""Cursor returned as next_page_token by the previous page""" + type: NotRequired[AudioV2VoicesListType] + r"""Filter the voices between customs and presets""" + gender: NotRequired[Nullable[List[VoiceGender]]] + r"""Keep voices matching any of these genders""" + language: NotRequired[Nullable[List[str]]] + r"""Keep voices supporting any of these languages""" + query: NotRequired[Nullable[str]] + r"""Case-insensitive match on voice name""" + + +class AudioV2VoicesListRequest(BaseModel): + page_size: Annotated[ + Optional[int], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = 10 + r"""Maximum number of voices to return""" + + page_token: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Cursor returned as next_page_token by the previous page""" + + type: Annotated[ + Optional[AudioV2VoicesListType], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = "all" + r"""Filter the voices between customs and presets""" + + gender: Annotated[ + OptionalNullable[List[VoiceGender]], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Keep voices matching any of these genders""" + + language: Annotated[ + OptionalNullable[List[str]], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Keep voices supporting any of these languages""" + + query: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Case-insensitive match on voice name""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + ["page_size", "page_token", "type", "gender", "language", "query"] + ) + nullable_fields = set(["page_token", "gender", "language", "query"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +class AudioV2VoicesListResponseTypedDict(TypedDict): + result: VoiceListPageTypedDict + + +class AudioV2VoicesListResponse(BaseModel): + next: Union[ + Callable[[], Optional[AudioV2VoicesListResponse]], + Callable[[], Awaitable[Optional[AudioV2VoicesListResponse]]], + ] + + result: VoiceListPage diff --git a/src/mistralai/client/models/audiochunk.py b/src/mistralai/client/models/audiochunk.py index 68866cd2c..6d563417a 100644 --- a/src/mistralai/client/models/audiochunk.py +++ b/src/mistralai/client/models/audiochunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ce5dce4dced2 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/audiocontent.py b/src/mistralai/client/models/audiocontent.py index 2d38d2a14..73ba02a8e 100644 --- a/src/mistralai/client/models/audiocontent.py +++ b/src/mistralai/client/models/audiocontent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8e39736e73f0 from __future__ import annotations from .annotations import Annotations, AnnotationsTypedDict diff --git a/src/mistralai/client/models/audioencoding.py b/src/mistralai/client/models/audioencoding.py index 67fec75d7..557f53ed7 100644 --- a/src/mistralai/client/models/audioencoding.py +++ b/src/mistralai/client/models/audioencoding.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b14e6a50f730 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/audioformat.py b/src/mistralai/client/models/audioformat.py index fef87ae76..7ea10b3ad 100644 --- a/src/mistralai/client/models/audioformat.py +++ b/src/mistralai/client/models/audioformat.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c8655712c218 from __future__ import annotations from .audioencoding import AudioEncoding diff --git a/src/mistralai/client/models/audiotranscriptionrequest.py b/src/mistralai/client/models/audiotranscriptionrequest.py index 734860d52..f0c981ae5 100644 --- a/src/mistralai/client/models/audiotranscriptionrequest.py +++ b/src/mistralai/client/models/audiotranscriptionrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e4148b4d23e7 from __future__ import annotations from .file import File, FileTypedDict diff --git a/src/mistralai/client/models/audiotranscriptionrequeststream.py b/src/mistralai/client/models/audiotranscriptionrequeststream.py index 84c4dbcdf..a823c8279 100644 --- a/src/mistralai/client/models/audiotranscriptionrequeststream.py +++ b/src/mistralai/client/models/audiotranscriptionrequeststream.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 33a07317a3b3 from __future__ import annotations from .file import File, FileTypedDict diff --git a/src/mistralai/client/models/authdata.py b/src/mistralai/client/models/authdata.py index 9e608b1fe..f21420914 100644 --- a/src/mistralai/client/models/authdata.py +++ b/src/mistralai/client/models/authdata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b4d3fb07196e from __future__ import annotations from mistralai.client.types import ( @@ -10,12 +9,14 @@ UNSET_SENTINEL, ) from pydantic import model_serializer +from typing import List from typing_extensions import NotRequired, TypedDict class AuthDataTypedDict(TypedDict): client_id: str client_secret: NotRequired[Nullable[str]] + client_scopes: NotRequired[Nullable[List[str]]] class AuthData(BaseModel): @@ -23,10 +24,12 @@ class AuthData(BaseModel): client_secret: OptionalNullable[str] = UNSET + client_scopes: OptionalNullable[List[str]] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["client_secret"]) - nullable_fields = set(["client_secret"]) + optional_fields = set(["client_secret", "client_scopes"]) + nullable_fields = set(["client_secret", "client_scopes"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/authdirection.py b/src/mistralai/client/models/authdirection.py index 9220e6dcb..666b7b55d 100644 --- a/src/mistralai/client/models/authdirection.py +++ b/src/mistralai/client/models/authdirection.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ad8790fb5fab from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/authenticationconfiguration.py b/src/mistralai/client/models/authenticationconfiguration.py index 972dedf80..ff29038ad 100644 --- a/src/mistralai/client/models/authenticationconfiguration.py +++ b/src/mistralai/client/models/authenticationconfiguration.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 97b5056c29fb from __future__ import annotations from .consumertype import ConsumerType diff --git a/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py b/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py index b9a01eecf..53d08e4eb 100644 --- a/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py +++ b/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 240c643113bb from __future__ import annotations from .authdirection import AuthDirection diff --git a/src/mistralai/client/models/authstatus.py b/src/mistralai/client/models/authstatus.py index dc97b2b23..f603f5a8b 100644 --- a/src/mistralai/client/models/authstatus.py +++ b/src/mistralai/client/models/authstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0f25b817bca6 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/authurlresponse.py b/src/mistralai/client/models/authurlresponse.py index 1f5a6639b..6053f32c9 100644 --- a/src/mistralai/client/models/authurlresponse.py +++ b/src/mistralai/client/models/authurlresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a2b468c87a8a from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/basemodelcard.py b/src/mistralai/client/models/basemodelcard.py index 1f4a20f09..d2208ff95 100644 --- a/src/mistralai/client/models/basemodelcard.py +++ b/src/mistralai/client/models/basemodelcard.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 556ebdc33276 from __future__ import annotations from .modelcapabilities import ModelCapabilities, ModelCapabilitiesTypedDict diff --git a/src/mistralai/client/models/basetaskstatus.py b/src/mistralai/client/models/basetaskstatus.py index ff2f1c63a..fca1de320 100644 --- a/src/mistralai/client/models/basetaskstatus.py +++ b/src/mistralai/client/models/basetaskstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7b381554d5c7 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/batcherror.py b/src/mistralai/client/models/batcherror.py index a0add5ad7..af36e4e6c 100644 --- a/src/mistralai/client/models/batcherror.py +++ b/src/mistralai/client/models/batcherror.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1563e2a576ec from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/batchexecutionbody.py b/src/mistralai/client/models/batchexecutionbody.py index 7d9895e5a..d929ec301 100644 --- a/src/mistralai/client/models/batchexecutionbody.py +++ b/src/mistralai/client/models/batchexecutionbody.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6cfbee9c4ec7 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/batchexecutionresponse.py b/src/mistralai/client/models/batchexecutionresponse.py index a0c1f06e7..e61f6fc9c 100644 --- a/src/mistralai/client/models/batchexecutionresponse.py +++ b/src/mistralai/client/models/batchexecutionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 37e6d5d616fe from __future__ import annotations from .batchexecutionresult import BatchExecutionResult, BatchExecutionResultTypedDict diff --git a/src/mistralai/client/models/batchexecutionresult.py b/src/mistralai/client/models/batchexecutionresult.py index ebe41e011..5930d5236 100644 --- a/src/mistralai/client/models/batchexecutionresult.py +++ b/src/mistralai/client/models/batchexecutionresult.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ca6840204f22 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/batchjob.py b/src/mistralai/client/models/batchjob.py index 9cef43800..4927beff1 100644 --- a/src/mistralai/client/models/batchjob.py +++ b/src/mistralai/client/models/batchjob.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 85cd28932cc7 from __future__ import annotations from .batcherror import BatchError, BatchErrorTypedDict diff --git a/src/mistralai/client/models/batchjobstatus.py b/src/mistralai/client/models/batchjobstatus.py index bd77faa2f..1ba3dd554 100644 --- a/src/mistralai/client/models/batchjobstatus.py +++ b/src/mistralai/client/models/batchjobstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 61e08cf5eea9 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/batchrequest.py b/src/mistralai/client/models/batchrequest.py index dcc47bd25..27786e9f4 100644 --- a/src/mistralai/client/models/batchrequest.py +++ b/src/mistralai/client/models/batchrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6f36819eeb46 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/bearerauthmethod.py b/src/mistralai/client/models/bearerauthmethod.py index aaf1b868d..741e7af1c 100644 --- a/src/mistralai/client/models/bearerauthmethod.py +++ b/src/mistralai/client/models/bearerauthmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3e298718a209 from __future__ import annotations from .connectorauthenticationheader import ( diff --git a/src/mistralai/client/models/blobresourcecontents.py b/src/mistralai/client/models/blobresourcecontents.py index bfae16fb6..a32419f70 100644 --- a/src/mistralai/client/models/blobresourcecontents.py +++ b/src/mistralai/client/models/blobresourcecontents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fa924bc295ad from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/boolarrayfielddefinition.py b/src/mistralai/client/models/boolarrayfielddefinition.py index 255db6d7c..be7b20d6d 100644 --- a/src/mistralai/client/models/boolarrayfielddefinition.py +++ b/src/mistralai/client/models/boolarrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9312b5f95f8b from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/boolfielddefinition.py b/src/mistralai/client/models/boolfielddefinition.py index ab8fa0836..598ffca5a 100644 --- a/src/mistralai/client/models/boolfielddefinition.py +++ b/src/mistralai/client/models/boolfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 490d2f1de1fd from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/builtinconnectors.py b/src/mistralai/client/models/builtinconnectors.py index ecf60d3c1..bfa7a95a1 100644 --- a/src/mistralai/client/models/builtinconnectors.py +++ b/src/mistralai/client/models/builtinconnectors.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2d276ce938dc from __future__ import annotations from mistralai.client.types import UnrecognizedStr @@ -13,6 +12,7 @@ "code_interpreter", "image_generation", "document_library", + "mistral_mcp", ], UnrecognizedStr, ] diff --git a/src/mistralai/client/models/cancel_workflow_execution_v1_workflows_executions_execution_id_cancel_postop.py b/src/mistralai/client/models/cancel_workflow_execution_v1_workflows_executions_execution_id_cancel_postop.py index 8ba7176cb..0fdca43df 100644 --- a/src/mistralai/client/models/cancel_workflow_execution_v1_workflows_executions_execution_id_cancel_postop.py +++ b/src/mistralai/client/models/cancel_workflow_execution_v1_workflows_executions_execution_id_cancel_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e26fc5a228af from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/chatclassificationrequest.py b/src/mistralai/client/models/chatclassificationrequest.py index cf2aa78af..f9cadc313 100644 --- a/src/mistralai/client/models/chatclassificationrequest.py +++ b/src/mistralai/client/models/chatclassificationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: afd9cdc71834 from __future__ import annotations from .inputs import Inputs, InputsTypedDict diff --git a/src/mistralai/client/models/chatcompletionchoice.py b/src/mistralai/client/models/chatcompletionchoice.py index ab8f331f3..ab010dc99 100644 --- a/src/mistralai/client/models/chatcompletionchoice.py +++ b/src/mistralai/client/models/chatcompletionchoice.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7e6a512f6a04 from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict diff --git a/src/mistralai/client/models/chatcompletionrequest.py b/src/mistralai/client/models/chatcompletionrequest.py index 846e2fa14..193c7674e 100644 --- a/src/mistralai/client/models/chatcompletionrequest.py +++ b/src/mistralai/client/models/chatcompletionrequest.py @@ -1,9 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9979805d8c38 from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict -from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict from .customconnector import CustomConnector, CustomConnectorTypedDict from .documentlibrarytool import DocumentLibraryTool, DocumentLibraryToolTypedDict from .guardrailconfig import GuardrailConfig, GuardrailConfigTypedDict @@ -19,8 +17,6 @@ from .toolchoiceenum import ToolChoiceEnum from .toolmessage import ToolMessage, ToolMessageTypedDict from .usermessage import UserMessage, UserMessageTypedDict -from .websearchpremiumtool import WebSearchPremiumTool, WebSearchPremiumToolTypedDict -from .websearchtool import WebSearchTool, WebSearchToolTypedDict from mistralai.client.types import ( BaseModel, Nullable, @@ -72,9 +68,6 @@ "ChatCompletionRequestToolTypedDict", Union[ ToolTypedDict, - WebSearchToolTypedDict, - WebSearchPremiumToolTypedDict, - CodeInterpreterToolTypedDict, ImageGenerationToolTypedDict, DocumentLibraryToolTypedDict, CustomConnectorTypedDict, @@ -85,9 +78,6 @@ ChatCompletionRequestTool = Annotated[ Union[ Annotated[Tool, Tag("function")], - Annotated[WebSearchTool, Tag("web_search")], - Annotated[WebSearchPremiumTool, Tag("web_search_premium")], - Annotated[CodeInterpreterTool, Tag("code_interpreter")], Annotated[ImageGenerationTool, Tag("image_generation")], Annotated[DocumentLibraryTool, Tag("document_library")], Annotated[CustomConnector, Tag("connector")], diff --git a/src/mistralai/client/models/chatcompletionresponse.py b/src/mistralai/client/models/chatcompletionresponse.py index 7092bbc18..60a1f561f 100644 --- a/src/mistralai/client/models/chatcompletionresponse.py +++ b/src/mistralai/client/models/chatcompletionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 669d996b8e82 from __future__ import annotations from .chatcompletionchoice import ChatCompletionChoice, ChatCompletionChoiceTypedDict diff --git a/src/mistralai/client/models/chatcompletionstreamrequest.py b/src/mistralai/client/models/chatcompletionstreamrequest.py index 7b2dc5c96..9fa4a8736 100644 --- a/src/mistralai/client/models/chatcompletionstreamrequest.py +++ b/src/mistralai/client/models/chatcompletionstreamrequest.py @@ -1,9 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 18cb2b2415d4 from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict -from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict from .customconnector import CustomConnector, CustomConnectorTypedDict from .documentlibrarytool import DocumentLibraryTool, DocumentLibraryToolTypedDict from .guardrailconfig import GuardrailConfig, GuardrailConfigTypedDict @@ -19,8 +17,6 @@ from .toolchoiceenum import ToolChoiceEnum from .toolmessage import ToolMessage, ToolMessageTypedDict from .usermessage import UserMessage, UserMessageTypedDict -from .websearchpremiumtool import WebSearchPremiumTool, WebSearchPremiumToolTypedDict -from .websearchtool import WebSearchTool, WebSearchToolTypedDict from mistralai.client.types import ( BaseModel, Nullable, @@ -72,9 +68,6 @@ "ChatCompletionStreamRequestToolTypedDict", Union[ ToolTypedDict, - WebSearchToolTypedDict, - WebSearchPremiumToolTypedDict, - CodeInterpreterToolTypedDict, ImageGenerationToolTypedDict, DocumentLibraryToolTypedDict, CustomConnectorTypedDict, @@ -85,9 +78,6 @@ ChatCompletionStreamRequestTool = Annotated[ Union[ Annotated[Tool, Tag("function")], - Annotated[WebSearchTool, Tag("web_search")], - Annotated[WebSearchPremiumTool, Tag("web_search_premium")], - Annotated[CodeInterpreterTool, Tag("code_interpreter")], Annotated[ImageGenerationTool, Tag("image_generation")], Annotated[DocumentLibraryTool, Tag("document_library")], Annotated[CustomConnector, Tag("connector")], diff --git a/src/mistralai/client/models/chatmoderationrequest.py b/src/mistralai/client/models/chatmoderationrequest.py index 228e7d26b..664349ec3 100644 --- a/src/mistralai/client/models/chatmoderationrequest.py +++ b/src/mistralai/client/models/chatmoderationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 057aecb07275 from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict diff --git a/src/mistralai/client/models/classificationrequest.py b/src/mistralai/client/models/classificationrequest.py index 4300f9ad5..6f38add13 100644 --- a/src/mistralai/client/models/classificationrequest.py +++ b/src/mistralai/client/models/classificationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6942fe3de24a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/classificationresponse.py b/src/mistralai/client/models/classificationresponse.py index d2f09f430..4bc21a58f 100644 --- a/src/mistralai/client/models/classificationresponse.py +++ b/src/mistralai/client/models/classificationresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: eaf279db1109 from __future__ import annotations from .classificationtargetresult import ( diff --git a/src/mistralai/client/models/classificationtargetresult.py b/src/mistralai/client/models/classificationtargetresult.py index 6c7d6231d..89a137c37 100644 --- a/src/mistralai/client/models/classificationtargetresult.py +++ b/src/mistralai/client/models/classificationtargetresult.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2445f12b2a57 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/classifierfinetunedmodel.py b/src/mistralai/client/models/classifierfinetunedmodel.py index 35d557aa6..713544f23 100644 --- a/src/mistralai/client/models/classifierfinetunedmodel.py +++ b/src/mistralai/client/models/classifierfinetunedmodel.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5a9a7a0153c8 from __future__ import annotations from .classifiertargetresult import ( diff --git a/src/mistralai/client/models/classifiertargetresult.py b/src/mistralai/client/models/classifiertargetresult.py index 8ce7c0ca1..c2c608b1c 100644 --- a/src/mistralai/client/models/classifiertargetresult.py +++ b/src/mistralai/client/models/classifiertargetresult.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 19c343844888 from __future__ import annotations from .ftclassifierlossfunction import FTClassifierLossFunction diff --git a/src/mistralai/client/models/clientcapabilities.py b/src/mistralai/client/models/clientcapabilities.py index 772711601..e0a976206 100644 --- a/src/mistralai/client/models/clientcapabilities.py +++ b/src/mistralai/client/models/clientcapabilities.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b2ad660c5c9b from __future__ import annotations from .clienttaskscapability import ClientTasksCapability, ClientTasksCapabilityTypedDict diff --git a/src/mistralai/client/models/clientsecret.py b/src/mistralai/client/models/clientsecret.py index 28ea9ef42..3859c4385 100644 --- a/src/mistralai/client/models/clientsecret.py +++ b/src/mistralai/client/models/clientsecret.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 24a0bd40850c from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/clientsessionpurpose.py b/src/mistralai/client/models/clientsessionpurpose.py index 0b509448d..7fcfab110 100644 --- a/src/mistralai/client/models/clientsessionpurpose.py +++ b/src/mistralai/client/models/clientsessionpurpose.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 922a3433aa19 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/clienttaskscapability.py b/src/mistralai/client/models/clienttaskscapability.py index 5256c3d50..3098367f5 100644 --- a/src/mistralai/client/models/clienttaskscapability.py +++ b/src/mistralai/client/models/clienttaskscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 83aeca444b21 from __future__ import annotations from .clienttasksrequestscapability import ( diff --git a/src/mistralai/client/models/clienttasksrequestscapability.py b/src/mistralai/client/models/clienttasksrequestscapability.py index 38b9d6b12..253642030 100644 --- a/src/mistralai/client/models/clienttasksrequestscapability.py +++ b/src/mistralai/client/models/clienttasksrequestscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 26148da505a0 from __future__ import annotations from .taskselicitationcapability import ( diff --git a/src/mistralai/client/models/codeinterpretertool.py b/src/mistralai/client/models/codeinterpretertool.py index 4cf9d055c..92720ee3a 100644 --- a/src/mistralai/client/models/codeinterpretertool.py +++ b/src/mistralai/client/models/codeinterpretertool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 950cd8f4ad49 from __future__ import annotations from .toolconfiguration import ToolConfiguration, ToolConfigurationTypedDict diff --git a/src/mistralai/client/models/completionargs.py b/src/mistralai/client/models/completionargs.py index 57e4840a1..c85d59ffa 100644 --- a/src/mistralai/client/models/completionargs.py +++ b/src/mistralai/client/models/completionargs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3db008bcddca from __future__ import annotations from .completionargsstop import CompletionArgsStop, CompletionArgsStopTypedDict diff --git a/src/mistralai/client/models/completionargsstop.py b/src/mistralai/client/models/completionargsstop.py index 39c858e66..de7a09564 100644 --- a/src/mistralai/client/models/completionargsstop.py +++ b/src/mistralai/client/models/completionargsstop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5f339214501d from __future__ import annotations from typing import List, Union diff --git a/src/mistralai/client/models/completionchunk.py b/src/mistralai/client/models/completionchunk.py index 27029b6f0..42c6ab7e2 100644 --- a/src/mistralai/client/models/completionchunk.py +++ b/src/mistralai/client/models/completionchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d786b44926f4 from __future__ import annotations from .completionresponsestreamchoice import ( diff --git a/src/mistralai/client/models/completionevent.py b/src/mistralai/client/models/completionevent.py index 3b90ab0c1..52db911ee 100644 --- a/src/mistralai/client/models/completionevent.py +++ b/src/mistralai/client/models/completionevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c68817e7e190 from __future__ import annotations from .completionchunk import CompletionChunk, CompletionChunkTypedDict diff --git a/src/mistralai/client/models/completionfinetunedmodel.py b/src/mistralai/client/models/completionfinetunedmodel.py index 9b420ed73..52b5c30fb 100644 --- a/src/mistralai/client/models/completionfinetunedmodel.py +++ b/src/mistralai/client/models/completionfinetunedmodel.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f08c10d149f5 from __future__ import annotations from .finetunedmodelcapabilities import ( diff --git a/src/mistralai/client/models/completionresponsestreamchoice.py b/src/mistralai/client/models/completionresponsestreamchoice.py index ef1a106bd..b90dee84f 100644 --- a/src/mistralai/client/models/completionresponsestreamchoice.py +++ b/src/mistralai/client/models/completionresponsestreamchoice.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5969a6bc07f3 from __future__ import annotations from .deltamessage import DeltaMessage, DeltaMessageTypedDict diff --git a/src/mistralai/client/models/completiontokensdetails.py b/src/mistralai/client/models/completiontokensdetails.py index ff6fd7941..503b5e7fc 100644 --- a/src/mistralai/client/models/completiontokensdetails.py +++ b/src/mistralai/client/models/completiontokensdetails.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8e822f11a1b2 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/connectionconfigtype.py b/src/mistralai/client/models/connectionconfigtype.py index 9ad1bee18..d6d26aaf8 100644 --- a/src/mistralai/client/models/connectionconfigtype.py +++ b/src/mistralai/client/models/connectionconfigtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 52923bfd57d3 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/connectioncredentialsinput.py b/src/mistralai/client/models/connectioncredentialsinput.py index 80daf13bf..13a20107f 100644 --- a/src/mistralai/client/models/connectioncredentialsinput.py +++ b/src/mistralai/client/models/connectioncredentialsinput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4d5e659ce9aa from __future__ import annotations from .oauth2clientcredentialsinput import ( diff --git a/src/mistralai/client/models/connectionpreference.py b/src/mistralai/client/models/connectionpreference.py index 953ef17cb..fbca39a4f 100644 --- a/src/mistralai/client/models/connectionpreference.py +++ b/src/mistralai/client/models/connectionpreference.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6b9389ac91e6 from __future__ import annotations from .consumertype import ConsumerType diff --git a/src/mistralai/client/models/connector.py b/src/mistralai/client/models/connector.py index 886791fc9..71c8e72ee 100644 --- a/src/mistralai/client/models/connector.py +++ b/src/mistralai/client/models/connector.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1a4facac922d from __future__ import annotations from .httpconnector import HTTPConnector, HTTPConnectorTypedDict diff --git a/src/mistralai/client/models/connector_activate_for_consumer_v1op.py b/src/mistralai/client/models/connector_activate_for_consumer_v1op.py index 78aa42ac4..6e6f5b385 100644 --- a/src/mistralai/client/models/connector_activate_for_consumer_v1op.py +++ b/src/mistralai/client/models/connector_activate_for_consumer_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 810bc363ca55 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_call_tool_v1op.py b/src/mistralai/client/models/connector_call_tool_v1op.py index 9c77123e1..9e580cb74 100644 --- a/src/mistralai/client/models/connector_call_tool_v1op.py +++ b/src/mistralai/client/models/connector_call_tool_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7948899b3068 from __future__ import annotations from .connectorcalltoolrequest import ( diff --git a/src/mistralai/client/models/connector_create_credentials_v1op.py b/src/mistralai/client/models/connector_create_credentials_v1op.py index 33645f359..a758e71bf 100644 --- a/src/mistralai/client/models/connector_create_credentials_v1op.py +++ b/src/mistralai/client/models/connector_create_credentials_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f9868a7cc5f8 from __future__ import annotations from .credentialscreateorupdate import ( diff --git a/src/mistralai/client/models/connector_create_v1op.py b/src/mistralai/client/models/connector_create_v1op.py index 0b251eed3..daf2e947c 100644 --- a/src/mistralai/client/models/connector_create_v1op.py +++ b/src/mistralai/client/models/connector_create_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8c0a54005d02 from __future__ import annotations from .createconnectorrequest import ( diff --git a/src/mistralai/client/models/connector_deactivate_for_consumer_v1op.py b/src/mistralai/client/models/connector_deactivate_for_consumer_v1op.py index 9b435f238..b75f7da8d 100644 --- a/src/mistralai/client/models/connector_deactivate_for_consumer_v1op.py +++ b/src/mistralai/client/models/connector_deactivate_for_consumer_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5df1d67b0cc1 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_delete_all_user_credentials_v1op.py b/src/mistralai/client/models/connector_delete_all_user_credentials_v1op.py index 70adc2fdb..3dace254b 100644 --- a/src/mistralai/client/models/connector_delete_all_user_credentials_v1op.py +++ b/src/mistralai/client/models/connector_delete_all_user_credentials_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7d0462b6586b from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_delete_organization_credentials_v1op.py b/src/mistralai/client/models/connector_delete_credentialsop.py similarity index 55% rename from src/mistralai/client/models/connector_delete_organization_credentials_v1op.py rename to src/mistralai/client/models/connector_delete_credentialsop.py index 6cdb0c31f..4d4f311ea 100644 --- a/src/mistralai/client/models/connector_delete_organization_credentials_v1op.py +++ b/src/mistralai/client/models/connector_delete_credentialsop.py @@ -1,18 +1,26 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: aab3a70dbbc5 from __future__ import annotations from mistralai.client.types import BaseModel from mistralai.client.utils import FieldMetadata, PathParamMetadata +from typing import Literal from typing_extensions import Annotated, TypedDict -class ConnectorDeleteOrganizationCredentialsV1RequestTypedDict(TypedDict): +ConnectorDeleteCredentialsConsumerScope = Literal[ + "user", + "workspace", + "organization", +] + + +class ConnectorDeleteCredentialsRequestTypedDict(TypedDict): credentials_name: str connector_id_or_name: str + consumer_scope: ConnectorDeleteCredentialsConsumerScope -class ConnectorDeleteOrganizationCredentialsV1Request(BaseModel): +class ConnectorDeleteCredentialsRequest(BaseModel): credentials_name: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -20,3 +28,8 @@ class ConnectorDeleteOrganizationCredentialsV1Request(BaseModel): connector_id_or_name: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] + + consumer_scope: Annotated[ + ConnectorDeleteCredentialsConsumerScope, + FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), + ] diff --git a/src/mistralai/client/models/connector_delete_v1op.py b/src/mistralai/client/models/connector_delete_v1op.py index 74134361a..fc1f2e259 100644 --- a/src/mistralai/client/models/connector_delete_v1op.py +++ b/src/mistralai/client/models/connector_delete_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a377930b1435 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_delete_workspace_credentials_v1op.py b/src/mistralai/client/models/connector_delete_workspace_credentials_v1op.py deleted file mode 100644 index a746ff5e0..000000000 --- a/src/mistralai/client/models/connector_delete_workspace_credentials_v1op.py +++ /dev/null @@ -1,22 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4f0993c25ece - -from __future__ import annotations -from mistralai.client.types import BaseModel -from mistralai.client.utils import FieldMetadata, PathParamMetadata -from typing_extensions import Annotated, TypedDict - - -class ConnectorDeleteWorkspaceCredentialsV1RequestTypedDict(TypedDict): - credentials_name: str - connector_id_or_name: str - - -class ConnectorDeleteWorkspaceCredentialsV1Request(BaseModel): - credentials_name: Annotated[ - str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) - ] - - connector_id_or_name: Annotated[ - str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) - ] diff --git a/src/mistralai/client/models/connector_get_auth_url_v1op.py b/src/mistralai/client/models/connector_get_auth_url_v1op.py index 228f4b077..1ff713920 100644 --- a/src/mistralai/client/models/connector_get_auth_url_v1op.py +++ b/src/mistralai/client/models/connector_get_auth_url_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2e6b9ab43d1d from __future__ import annotations from .outboundauthenticationtype import OutboundAuthenticationType diff --git a/src/mistralai/client/models/connector_get_authentication_methods_v1op.py b/src/mistralai/client/models/connector_get_authentication_methods_v1op.py index e0c4146d4..055ca7be7 100644 --- a/src/mistralai/client/models/connector_get_authentication_methods_v1op.py +++ b/src/mistralai/client/models/connector_get_authentication_methods_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6861e4d57959 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_get_v1op.py b/src/mistralai/client/models/connector_get_v1op.py index beb27872d..56696502c 100644 --- a/src/mistralai/client/models/connector_get_v1op.py +++ b/src/mistralai/client/models/connector_get_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 73ca3a446dcc from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL @@ -13,8 +12,6 @@ class ConnectorGetV1RequestTypedDict(TypedDict): connector_id_or_name: str fetch_user_data: NotRequired[bool] r"""Fetch the user-level data associated with the connector (e.g. connection credentials).""" - fetch_customer_data: NotRequired[bool] - r"""Fetch the customer data associated with the connector (e.g. customer secrets / config).""" class ConnectorGetV1Request(BaseModel): @@ -28,15 +25,9 @@ class ConnectorGetV1Request(BaseModel): ] = False r"""Fetch the user-level data associated with the connector (e.g. connection credentials).""" - fetch_customer_data: Annotated[ - Optional[bool], - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = False - r"""Fetch the customer data associated with the connector (e.g. customer secrets / config).""" - @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["fetch_user_data", "fetch_customer_data"]) + optional_fields = set(["fetch_user_data"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/connector_list_organization_credentials_v1op.py b/src/mistralai/client/models/connector_list_organization_credentials_v1op.py index 6b37773fb..7e87736ba 100644 --- a/src/mistralai/client/models/connector_list_organization_credentials_v1op.py +++ b/src/mistralai/client/models/connector_list_organization_credentials_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a52ee058feab from __future__ import annotations from .outboundauthenticationtype import OutboundAuthenticationType diff --git a/src/mistralai/client/models/connector_list_tools_v1op.py b/src/mistralai/client/models/connector_list_tools_v1op.py index 4f4124a74..0e0698b73 100644 --- a/src/mistralai/client/models/connector_list_tools_v1op.py +++ b/src/mistralai/client/models/connector_list_tools_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4c6ad704479b from __future__ import annotations from .mcptool import MCPTool, MCPToolTypedDict @@ -18,7 +17,6 @@ class ConnectorListToolsV1RequestTypedDict(TypedDict): connector_id_or_name: str - page: NotRequired[int] page_size: NotRequired[int] refresh: NotRequired[bool] pretty: NotRequired[bool] @@ -31,11 +29,6 @@ class ConnectorListToolsV1Request(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - page: Annotated[ - Optional[int], - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = 1 - page_size: Annotated[ Optional[int], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), @@ -59,9 +52,7 @@ class ConnectorListToolsV1Request(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set( - ["page", "page_size", "refresh", "pretty", "credentials_name"] - ) + optional_fields = set(["page_size", "refresh", "pretty", "credentials_name"]) nullable_fields = set(["credentials_name"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/connector_list_user_credentials_v1op.py b/src/mistralai/client/models/connector_list_user_credentials_v1op.py index 5434a2833..569952810 100644 --- a/src/mistralai/client/models/connector_list_user_credentials_v1op.py +++ b/src/mistralai/client/models/connector_list_user_credentials_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 106e8fba762d from __future__ import annotations from .outboundauthenticationtype import OutboundAuthenticationType diff --git a/src/mistralai/client/models/connector_list_v1op.py b/src/mistralai/client/models/connector_list_v1op.py index 3cb31bf7f..fdf5b521b 100644 --- a/src/mistralai/client/models/connector_list_v1op.py +++ b/src/mistralai/client/models/connector_list_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5ec0889995f5 from __future__ import annotations from .connectorsqueryfilters import ( diff --git a/src/mistralai/client/models/connector_list_workspace_credentials_v1op.py b/src/mistralai/client/models/connector_list_workspace_credentials_v1op.py index c610c4c8b..35b14f8bf 100644 --- a/src/mistralai/client/models/connector_list_workspace_credentials_v1op.py +++ b/src/mistralai/client/models/connector_list_workspace_credentials_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: de7c431e8a54 from __future__ import annotations from .outboundauthenticationtype import OutboundAuthenticationType diff --git a/src/mistralai/client/models/connector_share_to_organization_v1op.py b/src/mistralai/client/models/connector_share_to_organization_v1op.py index b64e25cc3..1faab6a29 100644 --- a/src/mistralai/client/models/connector_share_to_organization_v1op.py +++ b/src/mistralai/client/models/connector_share_to_organization_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 902a411059f4 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_share_v1op.py b/src/mistralai/client/models/connector_share_v1op.py index 7072c3b8d..c6176cc4c 100644 --- a/src/mistralai/client/models/connector_share_v1op.py +++ b/src/mistralai/client/models/connector_share_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3271dc4ecdc2 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_unshare_from_organization_v1op.py b/src/mistralai/client/models/connector_unshare_from_organization_v1op.py index c3192cdfb..cfe579781 100644 --- a/src/mistralai/client/models/connector_unshare_from_organization_v1op.py +++ b/src/mistralai/client/models/connector_unshare_from_organization_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1df404099f90 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_unshare_v1op.py b/src/mistralai/client/models/connector_unshare_v1op.py index 936fcb386..d60093749 100644 --- a/src/mistralai/client/models/connector_unshare_v1op.py +++ b/src/mistralai/client/models/connector_unshare_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 03a76840486f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connector_update_credentialsop.py b/src/mistralai/client/models/connector_update_credentialsop.py index 107ff1caf..5cadaa9b2 100644 --- a/src/mistralai/client/models/connector_update_credentialsop.py +++ b/src/mistralai/client/models/connector_update_credentialsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1bed4e54676e from __future__ import annotations from .credentialscreateorupdate import ( diff --git a/src/mistralai/client/models/connector_update_v1op.py b/src/mistralai/client/models/connector_update_v1op.py index bd3c2d8bc..bee03d5e0 100644 --- a/src/mistralai/client/models/connector_update_v1op.py +++ b/src/mistralai/client/models/connector_update_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6f884d18ac56 from __future__ import annotations from .connectormcppublicupdate import ( diff --git a/src/mistralai/client/models/connectorauthenticationheader.py b/src/mistralai/client/models/connectorauthenticationheader.py index 5fc073f04..cbf324ba4 100644 --- a/src/mistralai/client/models/connectorauthenticationheader.py +++ b/src/mistralai/client/models/connectorauthenticationheader.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7271f22f39b0 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/connectorcalltoolrequest.py b/src/mistralai/client/models/connectorcalltoolrequest.py index 85366bb6a..c01ed8d3f 100644 --- a/src/mistralai/client/models/connectorcalltoolrequest.py +++ b/src/mistralai/client/models/connectorcalltoolrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7dc7ec295301 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/connectorlocale.py b/src/mistralai/client/models/connectorlocale.py index 373e9e848..36e9c84f5 100644 --- a/src/mistralai/client/models/connectorlocale.py +++ b/src/mistralai/client/models/connectorlocale.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f987f5207d2e from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connectormcppublicupdate.py b/src/mistralai/client/models/connectormcppublicupdate.py index cf24b8595..3189aa2ec 100644 --- a/src/mistralai/client/models/connectormcppublicupdate.py +++ b/src/mistralai/client/models/connectormcppublicupdate.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8a286d4a7b9d from __future__ import annotations from .authenticationmethodcreateorupdaterequest import ( diff --git a/src/mistralai/client/models/connectorsqueryfilters.py b/src/mistralai/client/models/connectorsqueryfilters.py index e5bffe456..9e1716ff4 100644 --- a/src/mistralai/client/models/connectorsqueryfilters.py +++ b/src/mistralai/client/models/connectorsqueryfilters.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3b9fc81aa726 from __future__ import annotations from mistralai.client.types import ( @@ -15,23 +14,18 @@ class ConnectorsQueryFiltersTypedDict(TypedDict): - active: NotRequired[Nullable[bool]] - r"""Filter for active connectors for a given user, workspace and organization.""" supports_mcp: NotRequired[Nullable[bool]] r"""Filter connectors by whether they expose an MCP-compatible tool interface.""" class ConnectorsQueryFilters(BaseModel): - active: Annotated[OptionalNullable[bool], FieldMetadata(query=True)] = UNSET - r"""Filter for active connectors for a given user, workspace and organization.""" - supports_mcp: Annotated[OptionalNullable[bool], FieldMetadata(query=True)] = UNSET r"""Filter connectors by whether they expose an MCP-compatible tool interface.""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["active", "supports_mcp"]) - nullable_fields = set(["active", "supports_mcp"]) + optional_fields = set(["supports_mcp"]) + nullable_fields = set(["supports_mcp"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/connectortool.py b/src/mistralai/client/models/connectortool.py index e8a036c78..441cb5a42 100644 --- a/src/mistralai/client/models/connectortool.py +++ b/src/mistralai/client/models/connectortool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 41ca596b44f8 from __future__ import annotations from .connectortoollocale import ConnectorToolLocale, ConnectorToolLocaleTypedDict diff --git a/src/mistralai/client/models/connectortoolcallmetadata.py b/src/mistralai/client/models/connectortoolcallmetadata.py index 0280eae00..4e873d706 100644 --- a/src/mistralai/client/models/connectortoolcallmetadata.py +++ b/src/mistralai/client/models/connectortoolcallmetadata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2d27189e58e6 from __future__ import annotations from .connectortoolresultmetadata import ( diff --git a/src/mistralai/client/models/connectortoolcallresponse.py b/src/mistralai/client/models/connectortoolcallresponse.py index 76abe558e..54c74ad7d 100644 --- a/src/mistralai/client/models/connectortoolcallresponse.py +++ b/src/mistralai/client/models/connectortoolcallresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c4f7a932bd2e from __future__ import annotations from .audiocontent import AudioContent, AudioContentTypedDict diff --git a/src/mistralai/client/models/connectortoollocale.py b/src/mistralai/client/models/connectortoollocale.py index ec1359c8c..84e891a87 100644 --- a/src/mistralai/client/models/connectortoollocale.py +++ b/src/mistralai/client/models/connectortoollocale.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 247ebe411537 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/connectortoolresultmetadata.py b/src/mistralai/client/models/connectortoolresultmetadata.py index 8c92f2f8d..9464462dd 100644 --- a/src/mistralai/client/models/connectortoolresultmetadata.py +++ b/src/mistralai/client/models/connectortoolresultmetadata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 86730e16aa67 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/consumertype.py b/src/mistralai/client/models/consumertype.py index ac091e5e9..b48c3c87f 100644 --- a/src/mistralai/client/models/consumertype.py +++ b/src/mistralai/client/models/consumertype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d18230da2fdd from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/contentchunk.py b/src/mistralai/client/models/contentchunk.py index e3de7591a..1490577d7 100644 --- a/src/mistralai/client/models/contentchunk.py +++ b/src/mistralai/client/models/contentchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c007f5ee0325 from __future__ import annotations from .audiochunk import AudioChunk, AudioChunkTypedDict diff --git a/src/mistralai/client/models/conversationappendrequest.py b/src/mistralai/client/models/conversationappendrequest.py index 6d310816d..f0cc1cce9 100644 --- a/src/mistralai/client/models/conversationappendrequest.py +++ b/src/mistralai/client/models/conversationappendrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 81ce529e0865 from __future__ import annotations from .completionargs import CompletionArgs, CompletionArgsTypedDict diff --git a/src/mistralai/client/models/conversationappendstreamrequest.py b/src/mistralai/client/models/conversationappendstreamrequest.py index b65f1e82f..ba002c307 100644 --- a/src/mistralai/client/models/conversationappendstreamrequest.py +++ b/src/mistralai/client/models/conversationappendstreamrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 27ada745e6ad from __future__ import annotations from .completionargs import CompletionArgs, CompletionArgsTypedDict diff --git a/src/mistralai/client/models/conversationevents.py b/src/mistralai/client/models/conversationevents.py index 17812983f..9987d5963 100644 --- a/src/mistralai/client/models/conversationevents.py +++ b/src/mistralai/client/models/conversationevents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8c8b08d853f6 from __future__ import annotations from .agenthandoffdoneevent import AgentHandoffDoneEvent, AgentHandoffDoneEventTypedDict diff --git a/src/mistralai/client/models/conversationhistory.py b/src/mistralai/client/models/conversationhistory.py index 2e812bb8b..cc32b079e 100644 --- a/src/mistralai/client/models/conversationhistory.py +++ b/src/mistralai/client/models/conversationhistory.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 60a51ff1682b from __future__ import annotations from .agenthandoffentry import AgentHandoffEntry, AgentHandoffEntryTypedDict diff --git a/src/mistralai/client/models/conversationinputs.py b/src/mistralai/client/models/conversationinputs.py index 7ce3ffc37..4d30cd76d 100644 --- a/src/mistralai/client/models/conversationinputs.py +++ b/src/mistralai/client/models/conversationinputs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 711b769f2c40 from __future__ import annotations from .inputentries import InputEntries, InputEntriesTypedDict diff --git a/src/mistralai/client/models/conversationmessages.py b/src/mistralai/client/models/conversationmessages.py index a7e13c712..ed421a08d 100644 --- a/src/mistralai/client/models/conversationmessages.py +++ b/src/mistralai/client/models/conversationmessages.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 011c39501c26 from __future__ import annotations from .messageentries import MessageEntries, MessageEntriesTypedDict diff --git a/src/mistralai/client/models/conversationrequest.py b/src/mistralai/client/models/conversationrequest.py index 94fcb03bb..f9078860a 100644 --- a/src/mistralai/client/models/conversationrequest.py +++ b/src/mistralai/client/models/conversationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 58e3ae67f149 from __future__ import annotations from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict diff --git a/src/mistralai/client/models/conversationresponse.py b/src/mistralai/client/models/conversationresponse.py index 64437b23c..7befe44c1 100644 --- a/src/mistralai/client/models/conversationresponse.py +++ b/src/mistralai/client/models/conversationresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ad7a8472c7bf from __future__ import annotations from .agenthandoffentry import AgentHandoffEntry, AgentHandoffEntryTypedDict diff --git a/src/mistralai/client/models/conversationrestartrequest.py b/src/mistralai/client/models/conversationrestartrequest.py index b6b03f1fa..2d30be54b 100644 --- a/src/mistralai/client/models/conversationrestartrequest.py +++ b/src/mistralai/client/models/conversationrestartrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 681d90d50514 from __future__ import annotations from .completionargs import CompletionArgs, CompletionArgsTypedDict diff --git a/src/mistralai/client/models/conversationrestartstreamrequest.py b/src/mistralai/client/models/conversationrestartstreamrequest.py index 41b7098f7..d6c4ea523 100644 --- a/src/mistralai/client/models/conversationrestartstreamrequest.py +++ b/src/mistralai/client/models/conversationrestartstreamrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 521c2b5bfb2b from __future__ import annotations from .completionargs import CompletionArgs, CompletionArgsTypedDict diff --git a/src/mistralai/client/models/conversationstreamrequest.py b/src/mistralai/client/models/conversationstreamrequest.py index a1afb2679..4c0fe163d 100644 --- a/src/mistralai/client/models/conversationstreamrequest.py +++ b/src/mistralai/client/models/conversationstreamrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 58d633507527 from __future__ import annotations from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict diff --git a/src/mistralai/client/models/conversationusageinfo.py b/src/mistralai/client/models/conversationusageinfo.py index e717284f1..a933d1312 100644 --- a/src/mistralai/client/models/conversationusageinfo.py +++ b/src/mistralai/client/models/conversationusageinfo.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6685e3b50b50 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/create_client_session_v1_client_sessions_postop.py b/src/mistralai/client/models/create_client_session_v1_client_sessions_postop.py index 6e7599d70..13e87c4aa 100644 --- a/src/mistralai/client/models/create_client_session_v1_client_sessions_postop.py +++ b/src/mistralai/client/models/create_client_session_v1_client_sessions_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 287cdc0f7c63 from __future__ import annotations from .createrealtimesessionrequest import ( diff --git a/src/mistralai/client/models/create_dataset_record_v1_observability_datasets_dataset_id_records_postop.py b/src/mistralai/client/models/create_dataset_record_v1_observability_datasets_dataset_id_records_postop.py index 03156fa31..64d702f7e 100644 --- a/src/mistralai/client/models/create_dataset_record_v1_observability_datasets_dataset_id_records_postop.py +++ b/src/mistralai/client/models/create_dataset_record_v1_observability_datasets_dataset_id_records_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1ddc53a46c74 from __future__ import annotations from .createdatasetrecordrequest import ( diff --git a/src/mistralai/client/models/create_index_v1_rag_managed_indexes_postop.py b/src/mistralai/client/models/create_index_v1_rag_managed_indexes_postop.py index 50b9e2a23..dcd3ff9c0 100644 --- a/src/mistralai/client/models/create_index_v1_rag_managed_indexes_postop.py +++ b/src/mistralai/client/models/create_index_v1_rag_managed_indexes_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f1d4c4022d4e from __future__ import annotations from .managedindexresponse import ManagedIndexResponse, ManagedIndexResponseTypedDict diff --git a/src/mistralai/client/models/createagentrequest.py b/src/mistralai/client/models/createagentrequest.py index b434619d8..686067ae9 100644 --- a/src/mistralai/client/models/createagentrequest.py +++ b/src/mistralai/client/models/createagentrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 442629bd914b from __future__ import annotations from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict diff --git a/src/mistralai/client/models/createbatchjobrequest.py b/src/mistralai/client/models/createbatchjobrequest.py index c74c13815..2bff3887a 100644 --- a/src/mistralai/client/models/createbatchjobrequest.py +++ b/src/mistralai/client/models/createbatchjobrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 56e24cd24e98 from __future__ import annotations from .apiendpoint import APIEndpoint diff --git a/src/mistralai/client/models/createconnectorrequest.py b/src/mistralai/client/models/createconnectorrequest.py index be5de8376..dc04c210b 100644 --- a/src/mistralai/client/models/createconnectorrequest.py +++ b/src/mistralai/client/models/createconnectorrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3da192d6491a from __future__ import annotations from .authdata import AuthData, AuthDataTypedDict diff --git a/src/mistralai/client/models/createdatasetrecordrequest.py b/src/mistralai/client/models/createdatasetrecordrequest.py index 10ab31a77..899b01618 100644 --- a/src/mistralai/client/models/createdatasetrecordrequest.py +++ b/src/mistralai/client/models/createdatasetrecordrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9455e38a8c31 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/createdatasetrequest.py b/src/mistralai/client/models/createdatasetrequest.py index ecffc52a8..0f2991f3a 100644 --- a/src/mistralai/client/models/createdatasetrequest.py +++ b/src/mistralai/client/models/createdatasetrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 046a094d3ef9 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/createdeploymentrequest.py b/src/mistralai/client/models/createdeploymentrequest.py index a85cbad32..0e6cdaee5 100644 --- a/src/mistralai/client/models/createdeploymentrequest.py +++ b/src/mistralai/client/models/createdeploymentrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1ebab7ec18c6 from __future__ import annotations from .deploymentresourceconfig import ( diff --git a/src/mistralai/client/models/createfileresponse.py b/src/mistralai/client/models/createfileresponse.py index bafefc372..3486c6324 100644 --- a/src/mistralai/client/models/createfileresponse.py +++ b/src/mistralai/client/models/createfileresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fea5e4832dcc from __future__ import annotations from .filepurpose import FilePurpose diff --git a/src/mistralai/client/models/createhttpconnectorrequest.py b/src/mistralai/client/models/createhttpconnectorrequest.py index 7365c16f9..312a7aae7 100644 --- a/src/mistralai/client/models/createhttpconnectorrequest.py +++ b/src/mistralai/client/models/createhttpconnectorrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9ed5845729b7 from __future__ import annotations from .authdata import AuthData, AuthDataTypedDict diff --git a/src/mistralai/client/models/createingestionpipelineconfigurationrequest.py b/src/mistralai/client/models/createingestionpipelineconfigurationrequest.py index 8e6bdffe8..28b02228d 100644 --- a/src/mistralai/client/models/createingestionpipelineconfigurationrequest.py +++ b/src/mistralai/client/models/createingestionpipelineconfigurationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 480f219c27e5 from __future__ import annotations from .ingestionpipelinetargetindexref import ( diff --git a/src/mistralai/client/models/createjudgerequest.py b/src/mistralai/client/models/createjudgerequest.py index 7c30aa5ff..2237dcfa5 100644 --- a/src/mistralai/client/models/createjudgerequest.py +++ b/src/mistralai/client/models/createjudgerequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e606837a626e from __future__ import annotations from .judgeclassificationoutput import ( diff --git a/src/mistralai/client/models/createlibraryrequest.py b/src/mistralai/client/models/createlibraryrequest.py index 2bbb1e18c..ca87602a2 100644 --- a/src/mistralai/client/models/createlibraryrequest.py +++ b/src/mistralai/client/models/createlibraryrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1c489bec2f53 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/createmanagedindexrequest.py b/src/mistralai/client/models/createmanagedindexrequest.py index b6d613dc3..616f212f4 100644 --- a/src/mistralai/client/models/createmanagedindexrequest.py +++ b/src/mistralai/client/models/createmanagedindexrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bdf17e832e15 from __future__ import annotations from .managedindexconfig import ManagedIndexConfig, ManagedIndexConfigTypedDict diff --git a/src/mistralai/client/models/createpipelineconfigrequest.py b/src/mistralai/client/models/createpipelineconfigrequest.py index 7b0886871..7f4ed20f9 100644 --- a/src/mistralai/client/models/createpipelineconfigrequest.py +++ b/src/mistralai/client/models/createpipelineconfigrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7704272b9ed1 from __future__ import annotations from .pipelineconfigdefinition import ( @@ -27,7 +26,7 @@ class CreatePipelineConfigRequestTypedDict(TypedDict): name: str pipeline_kind: PipelineKind selectors: List[PipelineConfigSelectorTypedDict] - definitions: List[PipelineConfigDefinitionTypedDict] + definition: PipelineConfigDefinitionTypedDict description: NotRequired[Nullable[str]] enabled: NotRequired[bool] @@ -39,7 +38,7 @@ class CreatePipelineConfigRequest(BaseModel): selectors: List[PipelineConfigSelector] - definitions: List[PipelineConfigDefinition] + definition: PipelineConfigDefinition description: OptionalNullable[str] = UNSET diff --git a/src/mistralai/client/models/createpipelinerequest.py b/src/mistralai/client/models/createpipelinerequest.py new file mode 100644 index 000000000..eb772f7e0 --- /dev/null +++ b/src/mistralai/client/models/createpipelinerequest.py @@ -0,0 +1,63 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .judgedefinition import JudgeDefinition, JudgeDefinitionTypedDict +from .pipelineconfigselector import ( + PipelineConfigSelector, + PipelineConfigSelectorTypedDict, +) +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class CreatePipelineRequestTypedDict(TypedDict): + name: str + selectors: List[PipelineConfigSelectorTypedDict] + definitions: List[JudgeDefinitionTypedDict] + description: NotRequired[Nullable[str]] + enabled: NotRequired[bool] + + +class CreatePipelineRequest(BaseModel): + name: str + + selectors: List[PipelineConfigSelector] + + definitions: List[JudgeDefinition] + + description: OptionalNullable[str] = UNSET + + enabled: Optional[bool] = True + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["description", "enabled"]) + nullable_fields = set(["description"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/createpromptrequest.py b/src/mistralai/client/models/createpromptrequest.py index aad995d52..dde65b5b2 100644 --- a/src/mistralai/client/models/createpromptrequest.py +++ b/src/mistralai/client/models/createpromptrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5e7efdfa82b5 from __future__ import annotations from .promptdefinition import PromptDefinition, PromptDefinitionTypedDict diff --git a/src/mistralai/client/models/createpromptversionresponse.py b/src/mistralai/client/models/createpromptversionresponse.py index 32c96a41a..8cb5fe433 100644 --- a/src/mistralai/client/models/createpromptversionresponse.py +++ b/src/mistralai/client/models/createpromptversionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 53a2fee8bd20 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/createrealtimesessionrequest.py b/src/mistralai/client/models/createrealtimesessionrequest.py index 49b770d79..af96d4722 100644 --- a/src/mistralai/client/models/createrealtimesessionrequest.py +++ b/src/mistralai/client/models/createrealtimesessionrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c48614b0911f from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/createrealtimesessionresponse.py b/src/mistralai/client/models/createrealtimesessionresponse.py index 81e0e6e30..3eb05f2e5 100644 --- a/src/mistralai/client/models/createrealtimesessionresponse.py +++ b/src/mistralai/client/models/createrealtimesessionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1213946fdba0 from __future__ import annotations from .clientsecret import ClientSecret, ClientSecretTypedDict diff --git a/src/mistralai/client/models/createserviceaccountrequest.py b/src/mistralai/client/models/createserviceaccountrequest.py index 7a09bc7cd..19aad5236 100644 --- a/src/mistralai/client/models/createserviceaccountrequest.py +++ b/src/mistralai/client/models/createserviceaccountrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 203af0fb351a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/createskillrequest.py b/src/mistralai/client/models/createskillrequest.py index 7b89264ab..ee20de1d4 100644 --- a/src/mistralai/client/models/createskillrequest.py +++ b/src/mistralai/client/models/createskillrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 226c4222df28 from __future__ import annotations from .registrysharingscope import RegistrySharingScope diff --git a/src/mistralai/client/models/createskillversionresponse.py b/src/mistralai/client/models/createskillversionresponse.py index d12d37881..24cea8e06 100644 --- a/src/mistralai/client/models/createskillversionresponse.py +++ b/src/mistralai/client/models/createskillversionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d5d19aa97adf from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/credentialscreateorupdate.py b/src/mistralai/client/models/credentialscreateorupdate.py index b4edfa796..06e6fbf99 100644 --- a/src/mistralai/client/models/credentialscreateorupdate.py +++ b/src/mistralai/client/models/credentialscreateorupdate.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9927546f2487 from __future__ import annotations from .connectioncredentialsinput import ( diff --git a/src/mistralai/client/models/credentialsresponse.py b/src/mistralai/client/models/credentialsresponse.py index 5cf9a198e..1d8b533a0 100644 --- a/src/mistralai/client/models/credentialsresponse.py +++ b/src/mistralai/client/models/credentialsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 80cc6fb316f9 from __future__ import annotations from .authenticationconfiguration import ( diff --git a/src/mistralai/client/models/credentialsstatus.py b/src/mistralai/client/models/credentialsstatus.py index a36a20ad9..7171be943 100644 --- a/src/mistralai/client/models/credentialsstatus.py +++ b/src/mistralai/client/models/credentialsstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 14e3a65841d9 from __future__ import annotations from .authstatus import AuthStatus diff --git a/src/mistralai/client/models/credentialsstatuserrorreason.py b/src/mistralai/client/models/credentialsstatuserrorreason.py index 9e5672251..0fe21f707 100644 --- a/src/mistralai/client/models/credentialsstatuserrorreason.py +++ b/src/mistralai/client/models/credentialsstatuserrorreason.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 63651566faee from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/customconnector.py b/src/mistralai/client/models/customconnector.py index f3a1e2ffb..af63feac5 100644 --- a/src/mistralai/client/models/customconnector.py +++ b/src/mistralai/client/models/customconnector.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 14f3643f7703 from __future__ import annotations from .apikeyauth import APIKeyAuth, APIKeyAuthTypedDict diff --git a/src/mistralai/client/models/customembeddingmodel.py b/src/mistralai/client/models/customembeddingmodel.py index 495757fd5..b8ee86773 100644 --- a/src/mistralai/client/models/customembeddingmodel.py +++ b/src/mistralai/client/models/customembeddingmodel.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 03d1eefa5ca3 from __future__ import annotations from .distancemetric import DistanceMetric diff --git a/src/mistralai/client/models/customtaskcanceledattributes.py b/src/mistralai/client/models/customtaskcanceledattributes.py index cea2137e5..7492ca850 100644 --- a/src/mistralai/client/models/customtaskcanceledattributes.py +++ b/src/mistralai/client/models/customtaskcanceledattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c20b8be67b8c from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/customtaskcanceledresponse.py b/src/mistralai/client/models/customtaskcanceledresponse.py index 14c34de50..1d56d6604 100644 --- a/src/mistralai/client/models/customtaskcanceledresponse.py +++ b/src/mistralai/client/models/customtaskcanceledresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0eeb9d6cf409 from __future__ import annotations from .customtaskcanceledattributes import ( CustomTaskCanceledAttributes, CustomTaskCanceledAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class CustomTaskCanceledResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class CustomTaskCanceledResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class CustomTaskCanceledResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: CustomTaskCanceledAttributesTypedDict r"""Attributes for custom task canceled events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["CUSTOM_TASK_CANCELED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class CustomTaskCanceledResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class CustomTaskCanceledResponse(BaseModel): attributes: CustomTaskCanceledAttributes r"""Attributes for custom task canceled events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["CUSTOM_TASK_CANCELED"]], @@ -102,7 +107,15 @@ class CustomTaskCanceledResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/customtaskcompletedattributesresponse.py b/src/mistralai/client/models/customtaskcompletedattributesresponse.py index afd48d766..6e7f54a7f 100644 --- a/src/mistralai/client/models/customtaskcompletedattributesresponse.py +++ b/src/mistralai/client/models/customtaskcompletedattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0b9fb891f354 from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/customtaskcompletedresponse.py b/src/mistralai/client/models/customtaskcompletedresponse.py index 85f695230..f5a4a8efe 100644 --- a/src/mistralai/client/models/customtaskcompletedresponse.py +++ b/src/mistralai/client/models/customtaskcompletedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 719b68571f4c from __future__ import annotations from .customtaskcompletedattributesresponse import ( CustomTaskCompletedAttributesResponse, CustomTaskCompletedAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class CustomTaskCompletedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class CustomTaskCompletedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class CustomTaskCompletedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: CustomTaskCompletedAttributesResponseTypedDict r"""Attributes for custom task completed events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["CUSTOM_TASK_COMPLETED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class CustomTaskCompletedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class CustomTaskCompletedResponse(BaseModel): attributes: CustomTaskCompletedAttributesResponse r"""Attributes for custom task completed events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["CUSTOM_TASK_COMPLETED"]], @@ -102,7 +107,15 @@ class CustomTaskCompletedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/customtaskfailedattributes.py b/src/mistralai/client/models/customtaskfailedattributes.py index b66d7d3c9..43dfc9d02 100644 --- a/src/mistralai/client/models/customtaskfailedattributes.py +++ b/src/mistralai/client/models/customtaskfailedattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ff33698df363 from __future__ import annotations from .failure import Failure, FailureTypedDict diff --git a/src/mistralai/client/models/customtaskfailedresponse.py b/src/mistralai/client/models/customtaskfailedresponse.py index 3dbd5257a..c7c32235d 100644 --- a/src/mistralai/client/models/customtaskfailedresponse.py +++ b/src/mistralai/client/models/customtaskfailedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1cde7920833f from __future__ import annotations from .customtaskfailedattributes import ( CustomTaskFailedAttributes, CustomTaskFailedAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class CustomTaskFailedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class CustomTaskFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class CustomTaskFailedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: CustomTaskFailedAttributesTypedDict r"""Attributes for custom task failed events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["CUSTOM_TASK_FAILED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class CustomTaskFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class CustomTaskFailedResponse(BaseModel): attributes: CustomTaskFailedAttributes r"""Attributes for custom task failed events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["CUSTOM_TASK_FAILED"]], @@ -102,7 +107,15 @@ class CustomTaskFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/customtaskinprogressattributesresponse.py b/src/mistralai/client/models/customtaskinprogressattributesresponse.py index 45ee5e424..4baa72823 100644 --- a/src/mistralai/client/models/customtaskinprogressattributesresponse.py +++ b/src/mistralai/client/models/customtaskinprogressattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 895147a1a6a8 from __future__ import annotations from .jsonpatchpayloadresponse import ( diff --git a/src/mistralai/client/models/customtaskinprogressresponse.py b/src/mistralai/client/models/customtaskinprogressresponse.py index f26db3a94..aa83bad20 100644 --- a/src/mistralai/client/models/customtaskinprogressresponse.py +++ b/src/mistralai/client/models/customtaskinprogressresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9d012ecb7626 from __future__ import annotations from .customtaskinprogressattributesresponse import ( CustomTaskInProgressAttributesResponse, CustomTaskInProgressAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class CustomTaskInProgressResponseTypedDict(TypedDict): @@ -30,14 +35,6 @@ class CustomTaskInProgressResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -46,6 +43,14 @@ class CustomTaskInProgressResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: CustomTaskInProgressAttributesResponseTypedDict r"""Attributes for custom task in-progress events with streaming updates.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["CUSTOM_TASK_IN_PROGRESS"] r"""Event type discriminator.""" @@ -69,18 +74,6 @@ class CustomTaskInProgressResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -93,6 +86,18 @@ class CustomTaskInProgressResponse(BaseModel): attributes: CustomTaskInProgressAttributesResponse r"""Attributes for custom task in-progress events with streaming updates.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["CUSTOM_TASK_IN_PROGRESS"]], @@ -104,7 +109,15 @@ class CustomTaskInProgressResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/customtaskstartedattributesresponse.py b/src/mistralai/client/models/customtaskstartedattributesresponse.py index 4f53ae8a3..e59a37355 100644 --- a/src/mistralai/client/models/customtaskstartedattributesresponse.py +++ b/src/mistralai/client/models/customtaskstartedattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6b8946c77018 from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/customtaskstartedresponse.py b/src/mistralai/client/models/customtaskstartedresponse.py index 206880e72..39713a099 100644 --- a/src/mistralai/client/models/customtaskstartedresponse.py +++ b/src/mistralai/client/models/customtaskstartedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 02b330a5292e from __future__ import annotations from .customtaskstartedattributesresponse import ( CustomTaskStartedAttributesResponse, CustomTaskStartedAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class CustomTaskStartedResponseTypedDict(TypedDict): @@ -30,14 +35,6 @@ class CustomTaskStartedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -46,6 +43,14 @@ class CustomTaskStartedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: CustomTaskStartedAttributesResponseTypedDict r"""Attributes for custom task started events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["CUSTOM_TASK_STARTED"] r"""Event type discriminator.""" @@ -69,18 +74,6 @@ class CustomTaskStartedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -93,6 +86,18 @@ class CustomTaskStartedResponse(BaseModel): attributes: CustomTaskStartedAttributesResponse r"""Attributes for custom task started events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["CUSTOM_TASK_STARTED"]], @@ -104,7 +109,15 @@ class CustomTaskStartedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/customtasktimedoutattributes.py b/src/mistralai/client/models/customtasktimedoutattributes.py index 47517ab19..658e30e7c 100644 --- a/src/mistralai/client/models/customtasktimedoutattributes.py +++ b/src/mistralai/client/models/customtasktimedoutattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9cc865098add from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/customtasktimedoutresponse.py b/src/mistralai/client/models/customtasktimedoutresponse.py index 96d4b924e..3d99b9405 100644 --- a/src/mistralai/client/models/customtasktimedoutresponse.py +++ b/src/mistralai/client/models/customtasktimedoutresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2dbbc78b85d1 from __future__ import annotations from .customtasktimedoutattributes import ( CustomTaskTimedOutAttributes, CustomTaskTimedOutAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class CustomTaskTimedOutResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class CustomTaskTimedOutResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class CustomTaskTimedOutResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: CustomTaskTimedOutAttributesTypedDict r"""Attributes for custom task timed out events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["CUSTOM_TASK_TIMED_OUT"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class CustomTaskTimedOutResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class CustomTaskTimedOutResponse(BaseModel): attributes: CustomTaskTimedOutAttributes r"""Attributes for custom task timed out events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["CUSTOM_TASK_TIMED_OUT"]], @@ -102,7 +107,15 @@ class CustomTaskTimedOutResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/dataset.py b/src/mistralai/client/models/dataset.py index 08ce979e1..b4a74b070 100644 --- a/src/mistralai/client/models/dataset.py +++ b/src/mistralai/client/models/dataset.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cbf14670ee00 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/datasetimportresult.py b/src/mistralai/client/models/datasetimportresult.py new file mode 100644 index 000000000..b4a454fc3 --- /dev/null +++ b/src/mistralai/client/models/datasetimportresult.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import BaseModel +from typing_extensions import TypedDict + + +class DatasetImportResultTypedDict(TypedDict): + r"""Source-agnostic counts for a completed dataset import.""" + + requested_record_count: int + imported_record_count: int + skipped_record_count: int + + +class DatasetImportResult(BaseModel): + r"""Source-agnostic counts for a completed dataset import.""" + + requested_record_count: int + + imported_record_count: int + + skipped_record_count: int diff --git a/src/mistralai/client/models/datasetimporttask.py b/src/mistralai/client/models/datasetimporttask.py index e8d90f126..04cf8b3e0 100644 --- a/src/mistralai/client/models/datasetimporttask.py +++ b/src/mistralai/client/models/datasetimporttask.py @@ -1,8 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c20f7db9633c from __future__ import annotations from .basetaskstatus import BaseTaskStatus +from .datasetimportresult import DatasetImportResult, DatasetImportResultTypedDict from datetime import datetime from mistralai.client.types import ( BaseModel, @@ -26,6 +26,7 @@ class DatasetImportTaskTypedDict(TypedDict): status: BaseTaskStatus progress: NotRequired[Nullable[int]] message: NotRequired[Nullable[str]] + result: NotRequired[Nullable[DatasetImportResultTypedDict]] class DatasetImportTask(BaseModel): @@ -49,10 +50,12 @@ class DatasetImportTask(BaseModel): message: OptionalNullable[str] = UNSET + result: OptionalNullable[DatasetImportResult] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["progress", "message"]) - nullable_fields = set(["deleted_at", "progress", "message"]) + optional_fields = set(["progress", "message", "result"]) + nullable_fields = set(["deleted_at", "progress", "message", "result"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/datasetpreview.py b/src/mistralai/client/models/datasetpreview.py index 90676245b..e50d0898a 100644 --- a/src/mistralai/client/models/datasetpreview.py +++ b/src/mistralai/client/models/datasetpreview.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 128c29db3f37 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/datasetrecord.py b/src/mistralai/client/models/datasetrecord.py index 64eb666a1..f7604c321 100644 --- a/src/mistralai/client/models/datasetrecord.py +++ b/src/mistralai/client/models/datasetrecord.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 87ddebf2a0ce from __future__ import annotations from .datasetrecordsource import DatasetRecordSource diff --git a/src/mistralai/client/models/datasetrecordsource.py b/src/mistralai/client/models/datasetrecordsource.py index 84c106bd3..13c02b0db 100644 --- a/src/mistralai/client/models/datasetrecordsource.py +++ b/src/mistralai/client/models/datasetrecordsource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5416a8b7276d from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/delete_dataset_record_v1_observability_dataset_records_dataset_record_id_deleteop.py b/src/mistralai/client/models/delete_dataset_record_v1_observability_dataset_records_dataset_record_id_deleteop.py index ffeefca65..5685287b9 100644 --- a/src/mistralai/client/models/delete_dataset_record_v1_observability_dataset_records_dataset_record_id_deleteop.py +++ b/src/mistralai/client/models/delete_dataset_record_v1_observability_dataset_records_dataset_record_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 66b2054bda8c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_dataset_v1_observability_datasets_dataset_id_deleteop.py b/src/mistralai/client/models/delete_dataset_v1_observability_datasets_dataset_id_deleteop.py index af8697706..84dd3c262 100644 --- a/src/mistralai/client/models/delete_dataset_v1_observability_datasets_dataset_id_deleteop.py +++ b/src/mistralai/client/models/delete_dataset_v1_observability_datasets_dataset_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 446419cd07d2 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_deployment_v1_workflows_deployments_name_deleteop.py b/src/mistralai/client/models/delete_deployment_v1_workflows_deployments_name_deleteop.py index f9907398b..beaf74a3f 100644 --- a/src/mistralai/client/models/delete_deployment_v1_workflows_deployments_name_deleteop.py +++ b/src/mistralai/client/models/delete_deployment_v1_workflows_deployments_name_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b669fcc8cb57 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_documents_v1_rag_managed_indexes_index_name_documents_deleteop.py b/src/mistralai/client/models/delete_documents_v1_rag_managed_indexes_index_name_documents_deleteop.py index 101128b13..f2613abbf 100644 --- a/src/mistralai/client/models/delete_documents_v1_rag_managed_indexes_index_name_documents_deleteop.py +++ b/src/mistralai/client/models/delete_documents_v1_rag_managed_indexes_index_name_documents_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b12ccb9b2800 from __future__ import annotations from .deletedocumentsrequest import ( diff --git a/src/mistralai/client/models/delete_index_v1_rag_managed_indexes_index_name_deleteop.py b/src/mistralai/client/models/delete_index_v1_rag_managed_indexes_index_name_deleteop.py index c073e9d68..6de889054 100644 --- a/src/mistralai/client/models/delete_index_v1_rag_managed_indexes_index_name_deleteop.py +++ b/src/mistralai/client/models/delete_index_v1_rag_managed_indexes_index_name_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ed22a94486c2 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_judge_v1_observability_judges_judge_id_deleteop.py b/src/mistralai/client/models/delete_judge_v1_observability_judges_judge_id_deleteop.py index c2f7b7970..14576352d 100644 --- a/src/mistralai/client/models/delete_judge_v1_observability_judges_judge_id_deleteop.py +++ b/src/mistralai/client/models/delete_judge_v1_observability_judges_judge_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 415724e139bd from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_model_v1_models_model_id_deleteop.py b/src/mistralai/client/models/delete_model_v1_models_model_id_deleteop.py index 199614f53..1cd36128a 100644 --- a/src/mistralai/client/models/delete_model_v1_models_model_id_deleteop.py +++ b/src/mistralai/client/models/delete_model_v1_models_model_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 767aba526e43 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop.py b/src/mistralai/client/models/delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop.py index 51488a3d3..3e65952f8 100644 --- a/src/mistralai/client/models/delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop.py +++ b/src/mistralai/client/models/delete_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 407e255afb04 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop.py b/src/mistralai/client/models/delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop.py new file mode 100644 index 000000000..333ad323f --- /dev/null +++ b/src/mistralai/client/models/delete_pipeline_v1_observability_pipelines_pipeline_id_deleteop.py @@ -0,0 +1,16 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata +from typing_extensions import Annotated, TypedDict + + +class DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequestTypedDict(TypedDict): + pipeline_id: str + + +class DeletePipelineV1ObservabilityPipelinesPipelineIDDeleteRequest(BaseModel): + pipeline_id: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] diff --git a/src/mistralai/client/models/delete_service_account_v1_service_accounts_service_account_id_deleteop.py b/src/mistralai/client/models/delete_service_account_v1_service_accounts_service_account_id_deleteop.py index b1dec336d..4b1142e30 100644 --- a/src/mistralai/client/models/delete_service_account_v1_service_accounts_service_account_id_deleteop.py +++ b/src/mistralai/client/models/delete_service_account_v1_service_accounts_service_account_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: add82519cdd1 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/delete_voice_v1_audio_voices_voice_id_deleteop.py b/src/mistralai/client/models/delete_voice_v1_audio_voices_voice_id_deleteop.py index 3ce383648..14775396c 100644 --- a/src/mistralai/client/models/delete_voice_v1_audio_voices_voice_id_deleteop.py +++ b/src/mistralai/client/models/delete_voice_v1_audio_voices_voice_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a84ce12a8251 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deletebatchjobresponse.py b/src/mistralai/client/models/deletebatchjobresponse.py index 958f0c4f4..2a2cf52fb 100644 --- a/src/mistralai/client/models/deletebatchjobresponse.py +++ b/src/mistralai/client/models/deletebatchjobresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 79a43aab6cf9 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/deletedatasetrecordsrequest.py b/src/mistralai/client/models/deletedatasetrecordsrequest.py index 8c33a9634..f3ad6aaa8 100644 --- a/src/mistralai/client/models/deletedatasetrecordsrequest.py +++ b/src/mistralai/client/models/deletedatasetrecordsrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e7ef16596e54 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deletedocumentsrequest.py b/src/mistralai/client/models/deletedocumentsrequest.py index d2eac488e..ea89c5d6f 100644 --- a/src/mistralai/client/models/deletedocumentsrequest.py +++ b/src/mistralai/client/models/deletedocumentsrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d4e5a2f6c4ec from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deletedocumentsresponse.py b/src/mistralai/client/models/deletedocumentsresponse.py index 82a8190d2..8ae1751e4 100644 --- a/src/mistralai/client/models/deletedocumentsresponse.py +++ b/src/mistralai/client/models/deletedocumentsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8afbebf3178f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deletefileresponse.py b/src/mistralai/client/models/deletefileresponse.py index ffd0e0d01..8e297082e 100644 --- a/src/mistralai/client/models/deletefileresponse.py +++ b/src/mistralai/client/models/deletefileresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3ee464763a32 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deletemanagedindexresponse.py b/src/mistralai/client/models/deletemanagedindexresponse.py index 8d20cf184..d06a4dd38 100644 --- a/src/mistralai/client/models/deletemanagedindexresponse.py +++ b/src/mistralai/client/models/deletemanagedindexresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c1b0ae5d67b7 from __future__ import annotations from .managedindexstatus import ManagedIndexStatus diff --git a/src/mistralai/client/models/deletemodelresponse.py b/src/mistralai/client/models/deletemodelresponse.py index 1e65e08f8..4e249f04e 100644 --- a/src/mistralai/client/models/deletemodelresponse.py +++ b/src/mistralai/client/models/deletemodelresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8957175b7482 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/deletepromptresponse.py b/src/mistralai/client/models/deletepromptresponse.py index afdb2e7d4..d5ddb25a7 100644 --- a/src/mistralai/client/models/deletepromptresponse.py +++ b/src/mistralai/client/models/deletepromptresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e847a7b2e0eb from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deleteskillresponse.py b/src/mistralai/client/models/deleteskillresponse.py index f41ba0508..0fefb0fc9 100644 --- a/src/mistralai/client/models/deleteskillresponse.py +++ b/src/mistralai/client/models/deleteskillresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d2fb1f99fb61 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/deltamessage.py b/src/mistralai/client/models/deltamessage.py index f0ca3282d..6ce4da3f4 100644 --- a/src/mistralai/client/models/deltamessage.py +++ b/src/mistralai/client/models/deltamessage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 68f53d67a140 from __future__ import annotations from .contentchunk import ContentChunk, ContentChunkTypedDict diff --git a/src/mistralai/client/models/densevectorfielddefinition.py b/src/mistralai/client/models/densevectorfielddefinition.py index 36a4c17ff..f13c706a2 100644 --- a/src/mistralai/client/models/densevectorfielddefinition.py +++ b/src/mistralai/client/models/densevectorfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 10b1438a1a33 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/deploymentbuildstate.py b/src/mistralai/client/models/deploymentbuildstate.py index 53f4e0598..98a6f5efa 100644 --- a/src/mistralai/client/models/deploymentbuildstate.py +++ b/src/mistralai/client/models/deploymentbuildstate.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 61e9001287f8 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/deploymentdetailresponse.py b/src/mistralai/client/models/deploymentdetailresponse.py index 38ec4925e..e4fe78cc3 100644 --- a/src/mistralai/client/models/deploymentdetailresponse.py +++ b/src/mistralai/client/models/deploymentdetailresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7f4a17a1c7ca from __future__ import annotations from .deploymentlocation import DeploymentLocation, DeploymentLocationTypedDict diff --git a/src/mistralai/client/models/deploymentk8sbackendspec.py b/src/mistralai/client/models/deploymentk8sbackendspec.py index 149453bd8..7401bc8c0 100644 --- a/src/mistralai/client/models/deploymentk8sbackendspec.py +++ b/src/mistralai/client/models/deploymentk8sbackendspec.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: af0a5d45a782 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/deploymentkoyebbackendspec.py b/src/mistralai/client/models/deploymentkoyebbackendspec.py deleted file mode 100644 index 7227f6fbd..000000000 --- a/src/mistralai/client/models/deploymentkoyebbackendspec.py +++ /dev/null @@ -1,73 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 04d04025faa2 - -from __future__ import annotations -from mistralai.client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from mistralai.client.utils import validate_const -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from typing import Literal -from typing_extensions import Annotated, NotRequired, TypedDict - - -class DeploymentKoyebBackendSpecTypedDict(TypedDict): - r"""Worker configuration for the Koyeb backend.""" - - type: Literal["koyeb"] - build_directory: NotRequired[Nullable[str]] - r"""Docker build context, as a path in the repo. Defaults to the repo root.""" - dockerfile_path: NotRequired[Nullable[str]] - r"""Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'.""" - - -class DeploymentKoyebBackendSpec(BaseModel): - r"""Worker configuration for the Koyeb backend.""" - - type: Annotated[ - Annotated[Literal["koyeb"], AfterValidator(validate_const("koyeb"))], - pydantic.Field(alias="type"), - ] = "koyeb" - - build_directory: OptionalNullable[str] = UNSET - r"""Docker build context, as a path in the repo. Defaults to the repo root.""" - - dockerfile_path: OptionalNullable[str] = UNSET - r"""Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'.""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["build_directory", "dockerfile_path"]) - nullable_fields = set(["build_directory", "dockerfile_path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - DeploymentKoyebBackendSpec.model_rebuild() -except NameError: - pass diff --git a/src/mistralai/client/models/deploymentlistresponse.py b/src/mistralai/client/models/deploymentlistresponse.py index 7bc165309..c1029a1d4 100644 --- a/src/mistralai/client/models/deploymentlistresponse.py +++ b/src/mistralai/client/models/deploymentlistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1f0b404ba621 from __future__ import annotations from .deploymentresponse import DeploymentResponse, DeploymentResponseTypedDict diff --git a/src/mistralai/client/models/deploymentlocation.py b/src/mistralai/client/models/deploymentlocation.py index 52ce79939..6d2f837e6 100644 --- a/src/mistralai/client/models/deploymentlocation.py +++ b/src/mistralai/client/models/deploymentlocation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c62839f1466c from __future__ import annotations from .locationtype import LocationType diff --git a/src/mistralai/client/models/deploymentlogrecord.py b/src/mistralai/client/models/deploymentlogrecord.py index 24b6bcdcf..1652862b5 100644 --- a/src/mistralai/client/models/deploymentlogrecord.py +++ b/src/mistralai/client/models/deploymentlogrecord.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e74aecf2c4d5 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/deploymentlogsearchresponse.py b/src/mistralai/client/models/deploymentlogsearchresponse.py index 7801115b1..8d40a9046 100644 --- a/src/mistralai/client/models/deploymentlogsearchresponse.py +++ b/src/mistralai/client/models/deploymentlogsearchresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2991a19da27d from __future__ import annotations from .deploymentlogrecord import DeploymentLogRecord, DeploymentLogRecordTypedDict diff --git a/src/mistralai/client/models/deploymentlogtype.py b/src/mistralai/client/models/deploymentlogtype.py new file mode 100644 index 000000000..1031c2aa6 --- /dev/null +++ b/src/mistralai/client/models/deploymentlogtype.py @@ -0,0 +1,15 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +DeploymentLogType = Literal[ + "build", + "runtime", +] +r"""Which log stream a deployment's logs come from. + +`runtime` is what the workers themselves emit. `build` only exists for managed +deployments: it is the image build pipeline's output, which no worker reports. +""" diff --git a/src/mistralai/client/models/deploymentmistralcloudbackendspec.py b/src/mistralai/client/models/deploymentmistralcloudbackendspec.py new file mode 100644 index 000000000..a4e7affd6 --- /dev/null +++ b/src/mistralai/client/models/deploymentmistralcloudbackendspec.py @@ -0,0 +1,79 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .deploymentsecretbinding import ( + DeploymentSecretBinding, + DeploymentSecretBindingTypedDict, +) +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, + UnrecognizedStr, +) +from pydantic import model_serializer +from typing import List, Literal, Optional, Union +from typing_extensions import NotRequired, TypedDict + + +DeploymentMistralCloudBackendSpecType = Union[ + Literal[ + "mistral_cloud", + "koyeb", + ], + UnrecognizedStr, +] + + +class DeploymentMistralCloudBackendSpecTypedDict(TypedDict): + r"""Worker configuration for the Mistral Cloud backend.""" + + type: NotRequired[DeploymentMistralCloudBackendSpecType] + build_directory: NotRequired[Nullable[str]] + r"""Docker build context, as a path in the repo. Defaults to the repo root.""" + dockerfile_path: NotRequired[Nullable[str]] + r"""Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'.""" + secrets: NotRequired[Nullable[List[DeploymentSecretBindingTypedDict]]] + r"""Secrets to bind to the worker, as 'secret:workspace:' references. Each is available during build and run: as a Dockerfile build arg (declare a matching 'ARG') and as an env var. On update, the field carries the complete set: send the full list to rebind, an empty list to unbind all, omit it to leave the bindings unchanged.""" + + +class DeploymentMistralCloudBackendSpec(BaseModel): + r"""Worker configuration for the Mistral Cloud backend.""" + + type: Optional[DeploymentMistralCloudBackendSpecType] = "mistral_cloud" + + build_directory: OptionalNullable[str] = UNSET + r"""Docker build context, as a path in the repo. Defaults to the repo root.""" + + dockerfile_path: OptionalNullable[str] = UNSET + r"""Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'.""" + + secrets: OptionalNullable[List[DeploymentSecretBinding]] = UNSET + r"""Secrets to bind to the worker, as 'secret:workspace:' references. Each is available during build and run: as a Dockerfile build arg (declare a matching 'ARG') and as an env var. On update, the field carries the complete set: send the full list to rebind, an empty list to unbind all, omit it to leave the bindings unchanged.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["type", "build_directory", "dockerfile_path", "secrets"]) + nullable_fields = set(["build_directory", "dockerfile_path", "secrets"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/deploymentobservedstate.py b/src/mistralai/client/models/deploymentobservedstate.py index cb920095f..123f3eacd 100644 --- a/src/mistralai/client/models/deploymentobservedstate.py +++ b/src/mistralai/client/models/deploymentobservedstate.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4bed4a2622bf from __future__ import annotations from .deploymentbuildstate import DeploymentBuildState, DeploymentBuildStateTypedDict diff --git a/src/mistralai/client/models/deploymentresourceconfig.py b/src/mistralai/client/models/deploymentresourceconfig.py index 8011b7b69..8a3814a94 100644 --- a/src/mistralai/client/models/deploymentresourceconfig.py +++ b/src/mistralai/client/models/deploymentresourceconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 278b04eed455 from __future__ import annotations from mistralai.client.types import ( @@ -15,31 +14,15 @@ class DeploymentResourceConfigTypedDict(TypedDict): replicas: NotRequired[Nullable[int]] - cpu_request: NotRequired[Nullable[str]] - cpu_limit: NotRequired[Nullable[str]] - memory_request: NotRequired[Nullable[str]] - memory_limit: NotRequired[Nullable[str]] class DeploymentResourceConfig(BaseModel): replicas: OptionalNullable[int] = UNSET - cpu_request: OptionalNullable[str] = UNSET - - cpu_limit: OptionalNullable[str] = UNSET - - memory_request: OptionalNullable[str] = UNSET - - memory_limit: OptionalNullable[str] = UNSET - @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set( - ["replicas", "cpu_request", "cpu_limit", "memory_request", "memory_limit"] - ) - nullable_fields = set( - ["replicas", "cpu_request", "cpu_limit", "memory_request", "memory_limit"] - ) + optional_fields = set(["replicas"]) + nullable_fields = set(["replicas"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/deploymentresourceconfigupdate.py b/src/mistralai/client/models/deploymentresourceconfigupdate.py index bafd77966..c9d8acda0 100644 --- a/src/mistralai/client/models/deploymentresourceconfigupdate.py +++ b/src/mistralai/client/models/deploymentresourceconfigupdate.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 369dcb81cacb from __future__ import annotations from mistralai.client.types import ( @@ -15,31 +14,15 @@ class DeploymentResourceConfigUpdateTypedDict(TypedDict): replicas: NotRequired[Nullable[int]] - cpu_request: NotRequired[Nullable[str]] - cpu_limit: NotRequired[Nullable[str]] - memory_request: NotRequired[Nullable[str]] - memory_limit: NotRequired[Nullable[str]] class DeploymentResourceConfigUpdate(BaseModel): replicas: OptionalNullable[int] = UNSET - cpu_request: OptionalNullable[str] = UNSET - - cpu_limit: OptionalNullable[str] = UNSET - - memory_request: OptionalNullable[str] = UNSET - - memory_limit: OptionalNullable[str] = UNSET - @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set( - ["replicas", "cpu_request", "cpu_limit", "memory_request", "memory_limit"] - ) - nullable_fields = set( - ["replicas", "cpu_request", "cpu_limit", "memory_request", "memory_limit"] - ) + optional_fields = set(["replicas"]) + nullable_fields = set(["replicas"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/deploymentresponse.py b/src/mistralai/client/models/deploymentresponse.py index 8a194dc5b..b30c9bbe8 100644 --- a/src/mistralai/client/models/deploymentresponse.py +++ b/src/mistralai/client/models/deploymentresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ea15ddd64402 from __future__ import annotations from .deploymentlocation import DeploymentLocation, DeploymentLocationTypedDict diff --git a/src/mistralai/client/models/deploymentsecretbinding.py b/src/mistralai/client/models/deploymentsecretbinding.py new file mode 100644 index 000000000..738653d96 --- /dev/null +++ b/src/mistralai/client/models/deploymentsecretbinding.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import BaseModel +from typing_extensions import TypedDict + + +class DeploymentSecretBindingTypedDict(TypedDict): + r"""Binds one env var to one platform secret; the value is resolved at boot, never stored.""" + + env_var_name: str + r"""Environment variable the worker process reads; the secret's name lives in 'reference'.""" + reference: str + r"""Secret reference as 'secret:workspace:'. Resolved at boot by the runtime-init container; the value never reaches the control plane.""" + + +class DeploymentSecretBinding(BaseModel): + r"""Binds one env var to one platform secret; the value is resolved at boot, never stored.""" + + env_var_name: str + r"""Environment variable the worker process reads; the secret's name lives in 'reference'.""" + + reference: str + r"""Secret reference as 'secret:workspace:'. Resolved at boot by the runtime-init container; the value never reaches the control plane.""" diff --git a/src/mistralai/client/models/deploymentworkerlistresponse.py b/src/mistralai/client/models/deploymentworkerlistresponse.py index 70edaeda0..11dcc1f6e 100644 --- a/src/mistralai/client/models/deploymentworkerlistresponse.py +++ b/src/mistralai/client/models/deploymentworkerlistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 29dddd42d9cc from __future__ import annotations from .deploymentworkerresponse import ( diff --git a/src/mistralai/client/models/deploymentworkerresponse.py b/src/mistralai/client/models/deploymentworkerresponse.py index c4a775f67..9d890efe2 100644 --- a/src/mistralai/client/models/deploymentworkerresponse.py +++ b/src/mistralai/client/models/deploymentworkerresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b11a9947bd19 from __future__ import annotations from .deploymentlocation import DeploymentLocation, DeploymentLocationTypedDict diff --git a/src/mistralai/client/models/deploymentworkerspecinput.py b/src/mistralai/client/models/deploymentworkerspecinput.py index d294a0956..44ee3db68 100644 --- a/src/mistralai/client/models/deploymentworkerspecinput.py +++ b/src/mistralai/client/models/deploymentworkerspecinput.py @@ -1,14 +1,9 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 635133e69342 from __future__ import annotations -from .deploymentk8sbackendspec import ( - DeploymentK8sBackendSpec, - DeploymentK8sBackendSpecTypedDict, -) -from .deploymentkoyebbackendspec import ( - DeploymentKoyebBackendSpec, - DeploymentKoyebBackendSpecTypedDict, +from .deploymentmistralcloudbackendspec import ( + DeploymentMistralCloudBackendSpec, + DeploymentMistralCloudBackendSpecTypedDict, ) from mistralai.client.types import ( BaseModel, @@ -17,33 +12,15 @@ UNSET, UNSET_SENTINEL, ) -import pydantic -from pydantic import Field, SerializeAsAny, model_serializer -from typing import Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -DeploymentWorkerSpecInputBackendSpecTypedDict = TypeAliasType( - "DeploymentWorkerSpecInputBackendSpecTypedDict", - Union[DeploymentK8sBackendSpecTypedDict, DeploymentKoyebBackendSpecTypedDict], -) - - -DeploymentWorkerSpecInputBackendSpec = Annotated[ - Union[DeploymentKoyebBackendSpec, DeploymentK8sBackendSpec], - Field(discriminator="type"), -] +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict class DeploymentWorkerSpecInputTypedDict(TypedDict): github_url: str revision: NotRequired[Nullable[str]] - backend_spec: NotRequired[Nullable[DeploymentWorkerSpecInputBackendSpecTypedDict]] - r"""Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'.""" - entrypoint: NotRequired[Nullable[str]] - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" - working_dir: NotRequired[Nullable[str]] - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" + backend_spec: NotRequired[Nullable[DeploymentMistralCloudBackendSpecTypedDict]] + r"""Backend-specific configuration for the Mistral Cloud backend.""" class DeploymentWorkerSpecInput(BaseModel): @@ -51,31 +28,13 @@ class DeploymentWorkerSpecInput(BaseModel): revision: OptionalNullable[str] = UNSET - backend_spec: SerializeAsAny[ - OptionalNullable[DeploymentWorkerSpecInputBackendSpec] - ] = UNSET - r"""Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'.""" - - entrypoint: Annotated[ - OptionalNullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] = UNSET - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" - - working_dir: Annotated[ - OptionalNullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] = UNSET - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" + backend_spec: OptionalNullable[DeploymentMistralCloudBackendSpec] = UNSET + r"""Backend-specific configuration for the Mistral Cloud backend.""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["revision", "backend_spec", "entrypoint", "working_dir"]) - nullable_fields = set(["revision", "backend_spec", "entrypoint", "working_dir"]) + optional_fields = set(["revision", "backend_spec"]) + nullable_fields = set(["revision", "backend_spec"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/deploymentworkerspecresponse.py b/src/mistralai/client/models/deploymentworkerspecresponse.py index 825765455..5b4453452 100644 --- a/src/mistralai/client/models/deploymentworkerspecresponse.py +++ b/src/mistralai/client/models/deploymentworkerspecresponse.py @@ -1,14 +1,13 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e56d154527fd from __future__ import annotations from .deploymentk8sbackendspec import ( DeploymentK8sBackendSpec, DeploymentK8sBackendSpecTypedDict, ) -from .deploymentkoyebbackendspec import ( - DeploymentKoyebBackendSpec, - DeploymentKoyebBackendSpecTypedDict, +from .deploymentmistralcloudbackendspec import ( + DeploymentMistralCloudBackendSpec, + DeploymentMistralCloudBackendSpecTypedDict, ) from .gitcommitmetadata import GitCommitMetadata, GitCommitMetadataTypedDict from functools import partial @@ -20,22 +19,23 @@ UNSET_SENTINEL, ) from mistralai.client.utils.unions import parse_open_union -import pydantic from pydantic import ConfigDict, model_serializer from pydantic.functional_validators import BeforeValidator from typing import Any, Literal, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict -DeploymentWorkerSpecResponseBackendSpecTypedDict = TypeAliasType( - "DeploymentWorkerSpecResponseBackendSpecTypedDict", - Union[DeploymentK8sBackendSpecTypedDict, DeploymentKoyebBackendSpecTypedDict], +BackendSpecTypedDict = TypeAliasType( + "BackendSpecTypedDict", + Union[ + DeploymentK8sBackendSpecTypedDict, DeploymentMistralCloudBackendSpecTypedDict + ], ) -r"""Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'.""" +r"""Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes.""" -class UnknownDeploymentWorkerSpecResponseBackendSpec(BaseModel): - r"""A DeploymentWorkerSpecResponseBackendSpec variant the SDK doesn't recognize. Preserves the raw payload.""" +class UnknownBackendSpec(BaseModel): + r"""A BackendSpec variant the SDK doesn't recognize. Preserves the raw payload.""" type: Literal["UNKNOWN"] = "UNKNOWN" raw: Any @@ -44,38 +44,37 @@ class UnknownDeploymentWorkerSpecResponseBackendSpec(BaseModel): model_config = ConfigDict(frozen=True) -_DEPLOYMENT_WORKER_SPEC_RESPONSE_BACKEND_SPEC_VARIANTS: dict[str, Any] = { - "koyeb": DeploymentKoyebBackendSpec, +_BACKEND_SPEC_VARIANTS: dict[str, Any] = { + "koyeb": DeploymentMistralCloudBackendSpec, "kubernetes": DeploymentK8sBackendSpec, + "mistral_cloud": DeploymentMistralCloudBackendSpec, } -DeploymentWorkerSpecResponseBackendSpec = Annotated[ +BackendSpec = Annotated[ Union[ - DeploymentKoyebBackendSpec, + DeploymentMistralCloudBackendSpec, DeploymentK8sBackendSpec, - UnknownDeploymentWorkerSpecResponseBackendSpec, + DeploymentMistralCloudBackendSpec, + UnknownBackendSpec, ], BeforeValidator( partial( parse_open_union, disc_key="type", - variants=_DEPLOYMENT_WORKER_SPEC_RESPONSE_BACKEND_SPEC_VARIANTS, - unknown_cls=UnknownDeploymentWorkerSpecResponseBackendSpec, - union_name="DeploymentWorkerSpecResponseBackendSpec", + variants=_BACKEND_SPEC_VARIANTS, + unknown_cls=UnknownBackendSpec, + union_name="BackendSpec", ) ), ] -r"""Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'.""" +r"""Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes.""" class DeploymentWorkerSpecResponseTypedDict(TypedDict): github_url: str - backend_spec: DeploymentWorkerSpecResponseBackendSpecTypedDict - r"""Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'.""" - commit_sha: Nullable[str] - entrypoint: Nullable[str] - working_dir: Nullable[str] + backend_spec: BackendSpecTypedDict + r"""Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes.""" type: NotRequired[str] revision: NotRequired[Nullable[str]] restarted_at: NotRequired[Nullable[str]] @@ -85,29 +84,8 @@ class DeploymentWorkerSpecResponseTypedDict(TypedDict): class DeploymentWorkerSpecResponse(BaseModel): github_url: str - backend_spec: DeploymentWorkerSpecResponseBackendSpec - r"""Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'.""" - - commit_sha: Annotated[ - Nullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] - - entrypoint: Annotated[ - Nullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] - - working_dir: Annotated[ - Nullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] + backend_spec: BackendSpec + r"""Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes.""" type: Optional[str] = "workflows_worker" @@ -120,16 +98,7 @@ class DeploymentWorkerSpecResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["type", "revision", "restarted_at", "commit"]) - nullable_fields = set( - [ - "revision", - "restarted_at", - "commit", - "commit_sha", - "entrypoint", - "working_dir", - ] - ) + nullable_fields = set(["revision", "restarted_at", "commit"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/detectiondefinition.py b/src/mistralai/client/models/detectiondefinition.py index fb428bd5d..b746713ca 100644 --- a/src/mistralai/client/models/detectiondefinition.py +++ b/src/mistralai/client/models/detectiondefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 424d17e4ddc2 from __future__ import annotations from .detectionpattern import DetectionPattern, DetectionPatternTypedDict diff --git a/src/mistralai/client/models/detectionpattern.py b/src/mistralai/client/models/detectionpattern.py index 7244b4511..58016d5ff 100644 --- a/src/mistralai/client/models/detectionpattern.py +++ b/src/mistralai/client/models/detectionpattern.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d7ab49e395fc from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/distancemetric.py b/src/mistralai/client/models/distancemetric.py index 68720afad..b719f14b3 100644 --- a/src/mistralai/client/models/distancemetric.py +++ b/src/mistralai/client/models/distancemetric.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 29ea7bbc6cb9 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/document.py b/src/mistralai/client/models/document.py index c04512c13..5436d4f90 100644 --- a/src/mistralai/client/models/document.py +++ b/src/mistralai/client/models/document.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fbbf7428328c from __future__ import annotations from .processstatus import ProcessStatus diff --git a/src/mistralai/client/models/documentfielderrorresponse.py b/src/mistralai/client/models/documentfielderrorresponse.py index 71a5a6edb..28ed953c5 100644 --- a/src/mistralai/client/models/documentfielderrorresponse.py +++ b/src/mistralai/client/models/documentfielderrorresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 78ba97168550 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/documentlibrarytool.py b/src/mistralai/client/models/documentlibrarytool.py index 29f8d64a6..068f8be6b 100644 --- a/src/mistralai/client/models/documentlibrarytool.py +++ b/src/mistralai/client/models/documentlibrarytool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3eb3c218f457 from __future__ import annotations from .toolconfiguration import ToolConfiguration, ToolConfigurationTypedDict diff --git a/src/mistralai/client/models/documenttextcontent.py b/src/mistralai/client/models/documenttextcontent.py index b6904cb42..b1c1aa073 100644 --- a/src/mistralai/client/models/documenttextcontent.py +++ b/src/mistralai/client/models/documenttextcontent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e730005e44cb from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/documenturlchunk.py b/src/mistralai/client/models/documenturlchunk.py index f7a99ff81..702e298a1 100644 --- a/src/mistralai/client/models/documenturlchunk.py +++ b/src/mistralai/client/models/documenturlchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4309807f6048 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/elicitationcapability.py b/src/mistralai/client/models/elicitationcapability.py index 128084365..fbee5e0f6 100644 --- a/src/mistralai/client/models/elicitationcapability.py +++ b/src/mistralai/client/models/elicitationcapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 63a9b5cfa2f2 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/embeddedresource.py b/src/mistralai/client/models/embeddedresource.py index e16fedf83..40070ae0f 100644 --- a/src/mistralai/client/models/embeddedresource.py +++ b/src/mistralai/client/models/embeddedresource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 94a23f656f72 from __future__ import annotations from .annotations import Annotations, AnnotationsTypedDict diff --git a/src/mistralai/client/models/embeddingdtype.py b/src/mistralai/client/models/embeddingdtype.py index 732c4ebe3..26eee779e 100644 --- a/src/mistralai/client/models/embeddingdtype.py +++ b/src/mistralai/client/models/embeddingdtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 77f9526a78df from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/embeddingrequest.py b/src/mistralai/client/models/embeddingrequest.py index 2ef747d8b..6839c4b79 100644 --- a/src/mistralai/client/models/embeddingrequest.py +++ b/src/mistralai/client/models/embeddingrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: eadbe3f9040c from __future__ import annotations from .embeddingdtype import EmbeddingDtype diff --git a/src/mistralai/client/models/embeddingresponse.py b/src/mistralai/client/models/embeddingresponse.py index 6ffd68941..64a28ea9f 100644 --- a/src/mistralai/client/models/embeddingresponse.py +++ b/src/mistralai/client/models/embeddingresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f7d790e84b65 from __future__ import annotations from .embeddingresponsedata import EmbeddingResponseData, EmbeddingResponseDataTypedDict diff --git a/src/mistralai/client/models/embeddingresponsedata.py b/src/mistralai/client/models/embeddingresponsedata.py index 03b23a7cb..0fe9d7d76 100644 --- a/src/mistralai/client/models/embeddingresponsedata.py +++ b/src/mistralai/client/models/embeddingresponsedata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6d6ead6f3803 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/encodedpayloadoptions.py b/src/mistralai/client/models/encodedpayloadoptions.py index 54bcaf13d..0ec8f7218 100644 --- a/src/mistralai/client/models/encodedpayloadoptions.py +++ b/src/mistralai/client/models/encodedpayloadoptions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 97955ebc2eb9 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/encodingformat.py b/src/mistralai/client/models/encodingformat.py index 4a39d0295..be6c1a14e 100644 --- a/src/mistralai/client/models/encodingformat.py +++ b/src/mistralai/client/models/encodingformat.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b51ec296cc92 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/encryptedpatchvalue.py b/src/mistralai/client/models/encryptedpatchvalue.py index 970bd59b8..ee5e41ea4 100644 --- a/src/mistralai/client/models/encryptedpatchvalue.py +++ b/src/mistralai/client/models/encryptedpatchvalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 311803d1f28e from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/entitytype.py b/src/mistralai/client/models/entitytype.py index 56d82cbed..9c16f4a1c 100644 --- a/src/mistralai/client/models/entitytype.py +++ b/src/mistralai/client/models/entitytype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 62d6a6a13288 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/equal.py b/src/mistralai/client/models/equal.py index 463de7819..0dca8201d 100644 --- a/src/mistralai/client/models/equal.py +++ b/src/mistralai/client/models/equal.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 650836bd0072 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/eventprogressstatus.py b/src/mistralai/client/models/eventprogressstatus.py index 6fde1c391..3efd74837 100644 --- a/src/mistralai/client/models/eventprogressstatus.py +++ b/src/mistralai/client/models/eventprogressstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48623263df72 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/eventsource.py b/src/mistralai/client/models/eventsource.py index 1959cdec5..ed2a570c5 100644 --- a/src/mistralai/client/models/eventsource.py +++ b/src/mistralai/client/models/eventsource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8b926028b7b2 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/eventtype.py b/src/mistralai/client/models/eventtype.py index a85321b26..f42e58bbd 100644 --- a/src/mistralai/client/models/eventtype.py +++ b/src/mistralai/client/models/eventtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f70686df1fa5 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/execute_workflow_registration_v1_workflows_registrations_workflow_registration_id_execute_postop.py b/src/mistralai/client/models/execute_workflow_registration_v1_workflows_registrations_workflow_registration_id_execute_postop.py index 2e79ef25f..cb9041fb5 100644 --- a/src/mistralai/client/models/execute_workflow_registration_v1_workflows_registrations_workflow_registration_id_execute_postop.py +++ b/src/mistralai/client/models/execute_workflow_registration_v1_workflows_registrations_workflow_registration_id_execute_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3e2249825144 from __future__ import annotations from .workflowexecutionrequest import ( diff --git a/src/mistralai/client/models/execute_workflow_v1_workflows_workflow_identifier_execute_postop.py b/src/mistralai/client/models/execute_workflow_v1_workflows_workflow_identifier_execute_postop.py index bd9496a2d..736e26776 100644 --- a/src/mistralai/client/models/execute_workflow_v1_workflows_workflow_identifier_execute_postop.py +++ b/src/mistralai/client/models/execute_workflow_v1_workflows_workflow_identifier_execute_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5da876c66fc5 from __future__ import annotations from .workflowexecutionrequest import ( diff --git a/src/mistralai/client/models/executionconfig.py b/src/mistralai/client/models/executionconfig.py index 56b58ae36..a2e4704b9 100644 --- a/src/mistralai/client/models/executionconfig.py +++ b/src/mistralai/client/models/executionconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 14518c40a13b from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/executionlogrecord.py b/src/mistralai/client/models/executionlogrecord.py index 3e889cc46..3da58bfae 100644 --- a/src/mistralai/client/models/executionlogrecord.py +++ b/src/mistralai/client/models/executionlogrecord.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 59aa2dd2c4a1 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/executionlogsearchresponse.py b/src/mistralai/client/models/executionlogsearchresponse.py index 8095c3149..e60043c99 100644 --- a/src/mistralai/client/models/executionlogsearchresponse.py +++ b/src/mistralai/client/models/executionlogsearchresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 967bf5f43b22 from __future__ import annotations from .executionlogrecord import ExecutionLogRecord, ExecutionLogRecordTypedDict diff --git a/src/mistralai/client/models/executiontool.py b/src/mistralai/client/models/executiontool.py index 2bbc5332a..e47a8a3da 100644 --- a/src/mistralai/client/models/executiontool.py +++ b/src/mistralai/client/models/executiontool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 313d88a97140 from __future__ import annotations from .executionconfig import ExecutionConfig, ExecutionConfigTypedDict diff --git a/src/mistralai/client/models/executiontraceinforesponse.py b/src/mistralai/client/models/executiontraceinforesponse.py index afea2a13b..b0d561a49 100644 --- a/src/mistralai/client/models/executiontraceinforesponse.py +++ b/src/mistralai/client/models/executiontraceinforesponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1839f4a33582 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/export_dataset_to_jsonl_v1_observability_datasets_dataset_id_exports_to_jsonl_getop.py b/src/mistralai/client/models/export_dataset_to_jsonl_v1_observability_datasets_dataset_id_exports_to_jsonl_getop.py index 07b4e58fe..6da73b371 100644 --- a/src/mistralai/client/models/export_dataset_to_jsonl_v1_observability_datasets_dataset_id_exports_to_jsonl_getop.py +++ b/src/mistralai/client/models/export_dataset_to_jsonl_v1_observability_datasets_dataset_id_exports_to_jsonl_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 74f5f3183b64 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/exportdatasetresponse.py b/src/mistralai/client/models/exportdatasetresponse.py index f1600cac7..e3d99e249 100644 --- a/src/mistralai/client/models/exportdatasetresponse.py +++ b/src/mistralai/client/models/exportdatasetresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 22cc29d258db from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/exportdefinition.py b/src/mistralai/client/models/exportdefinition.py index 3f20c0ce1..8d8949aaf 100644 --- a/src/mistralai/client/models/exportdefinition.py +++ b/src/mistralai/client/models/exportdefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: be433defe341 from __future__ import annotations from .otlpdestination import OTLPDestination, OTLPDestinationTypedDict diff --git a/src/mistralai/client/models/extendedoauthservermetadata.py b/src/mistralai/client/models/extendedoauthservermetadata.py index 8bf67dbc5..d5c1fda0e 100644 --- a/src/mistralai/client/models/extendedoauthservermetadata.py +++ b/src/mistralai/client/models/extendedoauthservermetadata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 967e2e08f18c from __future__ import annotations from .oauthmetadatasource import OAuthMetadataSource diff --git a/src/mistralai/client/models/failure.py b/src/mistralai/client/models/failure.py index 85ca77a57..a33170a46 100644 --- a/src/mistralai/client/models/failure.py +++ b/src/mistralai/client/models/failure.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 596e38493eaa from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/feedresultgetlog.py b/src/mistralai/client/models/feedresultgetlog.py index f3395a68c..2f6fb2a81 100644 --- a/src/mistralai/client/models/feedresultgetlog.py +++ b/src/mistralai/client/models/feedresultgetlog.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 35106cf21e36 from __future__ import annotations from .getlog import GetLog, GetLogTypedDict diff --git a/src/mistralai/client/models/feedresultgetspan.py b/src/mistralai/client/models/feedresultgetspan.py index 20663e3ff..576241eb6 100644 --- a/src/mistralai/client/models/feedresultgetspan.py +++ b/src/mistralai/client/models/feedresultgetspan.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 39914702ec21 from __future__ import annotations from .getspan import GetSpan, GetSpanTypedDict diff --git a/src/mistralai/client/models/feedresultgetspanevaluation.py b/src/mistralai/client/models/feedresultgetspanevaluation.py index 757fba768..e95ef928c 100644 --- a/src/mistralai/client/models/feedresultgetspanevaluation.py +++ b/src/mistralai/client/models/feedresultgetspanevaluation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 75d380a8e7fb from __future__ import annotations from .getspanevaluation import GetSpanEvaluation, GetSpanEvaluationTypedDict diff --git a/src/mistralai/client/models/feedresultgettrace.py b/src/mistralai/client/models/feedresultgettrace.py index 142a9cebb..d4f6ddcb4 100644 --- a/src/mistralai/client/models/feedresultgettrace.py +++ b/src/mistralai/client/models/feedresultgettrace.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8216f7641078 from __future__ import annotations from .gettrace import GetTrace, GetTraceTypedDict diff --git a/src/mistralai/client/models/file.py b/src/mistralai/client/models/file.py index 06be529c3..30c5bf3a7 100644 --- a/src/mistralai/client/models/file.py +++ b/src/mistralai/client/models/file.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f972c39edfcf from __future__ import annotations import io diff --git a/src/mistralai/client/models/filechunk.py b/src/mistralai/client/models/filechunk.py index 6c9c8b0e5..bb757760c 100644 --- a/src/mistralai/client/models/filechunk.py +++ b/src/mistralai/client/models/filechunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ff3c2d33ab1e from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/filepurpose.py b/src/mistralai/client/models/filepurpose.py index 49a5568ff..eef1b0899 100644 --- a/src/mistralai/client/models/filepurpose.py +++ b/src/mistralai/client/models/filepurpose.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a11e7f9f2d45 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/files_api_routes_delete_fileop.py b/src/mistralai/client/models/files_api_routes_delete_fileop.py index eaba274b9..b71748669 100644 --- a/src/mistralai/client/models/files_api_routes_delete_fileop.py +++ b/src/mistralai/client/models/files_api_routes_delete_fileop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2f385cc6138f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/files_api_routes_download_fileop.py b/src/mistralai/client/models/files_api_routes_download_fileop.py index 83de8e73a..fa9e491a9 100644 --- a/src/mistralai/client/models/files_api_routes_download_fileop.py +++ b/src/mistralai/client/models/files_api_routes_download_fileop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8184ee3577c3 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/files_api_routes_get_signed_urlop.py b/src/mistralai/client/models/files_api_routes_get_signed_urlop.py index c381244b5..230fb3a84 100644 --- a/src/mistralai/client/models/files_api_routes_get_signed_urlop.py +++ b/src/mistralai/client/models/files_api_routes_get_signed_urlop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0a1a18c6431e from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/files_api_routes_list_filesop.py b/src/mistralai/client/models/files_api_routes_list_filesop.py index e18eaa6a5..b379fe6f2 100644 --- a/src/mistralai/client/models/files_api_routes_list_filesop.py +++ b/src/mistralai/client/models/files_api_routes_list_filesop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b2e92f2a29b4 from __future__ import annotations from .filepurpose import FilePurpose diff --git a/src/mistralai/client/models/files_api_routes_retrieve_fileop.py b/src/mistralai/client/models/files_api_routes_retrieve_fileop.py index 5f8de05f1..4a9678e5a 100644 --- a/src/mistralai/client/models/files_api_routes_retrieve_fileop.py +++ b/src/mistralai/client/models/files_api_routes_retrieve_fileop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5d5dbb8d5f7a from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/files_api_routes_upload_fileop.py b/src/mistralai/client/models/files_api_routes_upload_fileop.py index 25efcff2a..54c38d834 100644 --- a/src/mistralai/client/models/files_api_routes_upload_fileop.py +++ b/src/mistralai/client/models/files_api_routes_upload_fileop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f13b84de6fa7 from __future__ import annotations from .file import File, FileTypedDict diff --git a/src/mistralai/client/models/fileschema.py b/src/mistralai/client/models/fileschema.py index ce64a16bb..4dae2c23a 100644 --- a/src/mistralai/client/models/fileschema.py +++ b/src/mistralai/client/models/fileschema.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 19cde41ca32a from __future__ import annotations from .filepurpose import FilePurpose diff --git a/src/mistralai/client/models/filevisibility.py b/src/mistralai/client/models/filevisibility.py index 56cfe8810..7ad424930 100644 --- a/src/mistralai/client/models/filevisibility.py +++ b/src/mistralai/client/models/filevisibility.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 11a670fa3b71 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/fimcompletionrequest.py b/src/mistralai/client/models/fimcompletionrequest.py index 65d132eac..96ef0ba38 100644 --- a/src/mistralai/client/models/fimcompletionrequest.py +++ b/src/mistralai/client/models/fimcompletionrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cf3558adc3ab from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/fimcompletionresponse.py b/src/mistralai/client/models/fimcompletionresponse.py index 1345a116b..8a2eda0ce 100644 --- a/src/mistralai/client/models/fimcompletionresponse.py +++ b/src/mistralai/client/models/fimcompletionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b860d2ba771e from __future__ import annotations from .chatcompletionchoice import ChatCompletionChoice, ChatCompletionChoiceTypedDict diff --git a/src/mistralai/client/models/fimcompletionstreamrequest.py b/src/mistralai/client/models/fimcompletionstreamrequest.py index dc7ede38d..a370d362a 100644 --- a/src/mistralai/client/models/fimcompletionstreamrequest.py +++ b/src/mistralai/client/models/fimcompletionstreamrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1d1ee09f1913 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/finetunedmodelcapabilities.py b/src/mistralai/client/models/finetunedmodelcapabilities.py index b9ad2f9e6..73f7bee99 100644 --- a/src/mistralai/client/models/finetunedmodelcapabilities.py +++ b/src/mistralai/client/models/finetunedmodelcapabilities.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 475c805eab95 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/floatarrayfielddefinition.py b/src/mistralai/client/models/floatarrayfielddefinition.py index 4c09750f3..53505d37f 100644 --- a/src/mistralai/client/models/floatarrayfielddefinition.py +++ b/src/mistralai/client/models/floatarrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 152eeb444184 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/floatfielddefinition.py b/src/mistralai/client/models/floatfielddefinition.py index 47fb3b278..a292c9f56 100644 --- a/src/mistralai/client/models/floatfielddefinition.py +++ b/src/mistralai/client/models/floatfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e3559a96c8d6 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/ftclassifierlossfunction.py b/src/mistralai/client/models/ftclassifierlossfunction.py index ccb0f21b5..e6781a5e8 100644 --- a/src/mistralai/client/models/ftclassifierlossfunction.py +++ b/src/mistralai/client/models/ftclassifierlossfunction.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d21e2a36ab1f from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/ftmodelcard.py b/src/mistralai/client/models/ftmodelcard.py index dffdb04d2..573ce4fc1 100644 --- a/src/mistralai/client/models/ftmodelcard.py +++ b/src/mistralai/client/models/ftmodelcard.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c4f15eed2ca2 from __future__ import annotations from .modelcapabilities import ModelCapabilities, ModelCapabilitiesTypedDict diff --git a/src/mistralai/client/models/function.py b/src/mistralai/client/models/function.py index 8a3267e8b..cf4ca7d5b 100644 --- a/src/mistralai/client/models/function.py +++ b/src/mistralai/client/models/function.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 32275a9d8fee from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/functioncall.py b/src/mistralai/client/models/functioncall.py index 527c3ad40..6cb6f26e6 100644 --- a/src/mistralai/client/models/functioncall.py +++ b/src/mistralai/client/models/functioncall.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 393fca552632 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/functioncallentry.py b/src/mistralai/client/models/functioncallentry.py index a88d87ab5..c8edc702a 100644 --- a/src/mistralai/client/models/functioncallentry.py +++ b/src/mistralai/client/models/functioncallentry.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cd058446c0aa from __future__ import annotations from .functioncallentryarguments import ( diff --git a/src/mistralai/client/models/functioncallentryarguments.py b/src/mistralai/client/models/functioncallentryarguments.py index afe81b24e..ac9e62276 100644 --- a/src/mistralai/client/models/functioncallentryarguments.py +++ b/src/mistralai/client/models/functioncallentryarguments.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3df3767a7b93 from __future__ import annotations from typing import Any, Dict, Union diff --git a/src/mistralai/client/models/functioncallevent.py b/src/mistralai/client/models/functioncallevent.py index 6e3c07158..0bbc824af 100644 --- a/src/mistralai/client/models/functioncallevent.py +++ b/src/mistralai/client/models/functioncallevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 23b120b8f122 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/functionname.py b/src/mistralai/client/models/functionname.py index 07d98a0e6..2a05c1de4 100644 --- a/src/mistralai/client/models/functionname.py +++ b/src/mistralai/client/models/functionname.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 000acafdb0c0 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/functionresultentry.py b/src/mistralai/client/models/functionresultentry.py index 115765225..28afaa821 100644 --- a/src/mistralai/client/models/functionresultentry.py +++ b/src/mistralai/client/models/functionresultentry.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 213df39bd5e6 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/functiontool.py b/src/mistralai/client/models/functiontool.py index eae872643..3f34ef87f 100644 --- a/src/mistralai/client/models/functiontool.py +++ b/src/mistralai/client/models/functiontool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2e9ef5800117 from __future__ import annotations from .function import Function, FunctionTypedDict diff --git a/src/mistralai/client/models/connector_delete_user_credentials_v1op.py b/src/mistralai/client/models/get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop.py similarity index 62% rename from src/mistralai/client/models/connector_delete_user_credentials_v1op.py rename to src/mistralai/client/models/get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop.py index 40d25aabf..566d5d831 100644 --- a/src/mistralai/client/models/connector_delete_user_credentials_v1op.py +++ b/src/mistralai/client/models/get_chunk_index_v1_rag_managed_indexes_index_name_chunks_chunk_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8bf2075ebdbf from __future__ import annotations from mistralai.client.types import BaseModel @@ -7,16 +6,18 @@ from typing_extensions import Annotated, TypedDict -class ConnectorDeleteUserCredentialsV1RequestTypedDict(TypedDict): - credentials_name: str - connector_id_or_name: str +class GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequestTypedDict( + TypedDict +): + index_name: str + chunk_id: str -class ConnectorDeleteUserCredentialsV1Request(BaseModel): - credentials_name: Annotated[ +class GetChunkIndexV1RagManagedIndexesIndexNameChunksChunkIDGetRequest(BaseModel): + index_name: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_id_or_name: Annotated[ + chunk_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] diff --git a/src/mistralai/client/models/get_dataset_by_id_v1_observability_datasets_dataset_id_getop.py b/src/mistralai/client/models/get_dataset_by_id_v1_observability_datasets_dataset_id_getop.py index 0259485d3..ec90cd8a7 100644 --- a/src/mistralai/client/models/get_dataset_by_id_v1_observability_datasets_dataset_id_getop.py +++ b/src/mistralai/client/models/get_dataset_by_id_v1_observability_datasets_dataset_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cfd3282e7f33 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_dataset_import_task_v1_observability_datasets_dataset_id_tasks_task_id_getop.py b/src/mistralai/client/models/get_dataset_import_task_v1_observability_datasets_dataset_id_tasks_task_id_getop.py index cf900d0e4..cf9ac0e26 100644 --- a/src/mistralai/client/models/get_dataset_import_task_v1_observability_datasets_dataset_id_tasks_task_id_getop.py +++ b/src/mistralai/client/models/get_dataset_import_task_v1_observability_datasets_dataset_id_tasks_task_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b45f77cb328c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_dataset_import_tasks_v1_observability_datasets_dataset_id_tasks_getop.py b/src/mistralai/client/models/get_dataset_import_tasks_v1_observability_datasets_dataset_id_tasks_getop.py index 8213c023c..a47e64414 100644 --- a/src/mistralai/client/models/get_dataset_import_tasks_v1_observability_datasets_dataset_id_tasks_getop.py +++ b/src/mistralai/client/models/get_dataset_import_tasks_v1_observability_datasets_dataset_id_tasks_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 07ece48f664d from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_dataset_record_v1_observability_dataset_records_dataset_record_id_getop.py b/src/mistralai/client/models/get_dataset_record_v1_observability_dataset_records_dataset_record_id_getop.py index 0cb239dfd..3265a0f09 100644 --- a/src/mistralai/client/models/get_dataset_record_v1_observability_dataset_records_dataset_record_id_getop.py +++ b/src/mistralai/client/models/get_dataset_record_v1_observability_dataset_records_dataset_record_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6ea6a0dab32f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_dataset_records_v1_observability_datasets_dataset_id_records_getop.py b/src/mistralai/client/models/get_dataset_records_v1_observability_datasets_dataset_id_records_getop.py index ed1778235..c6a0514f6 100644 --- a/src/mistralai/client/models/get_dataset_records_v1_observability_datasets_dataset_id_records_getop.py +++ b/src/mistralai/client/models/get_dataset_records_v1_observability_datasets_dataset_id_records_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 77967c965aea from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_datasets_v1_observability_datasets_getop.py b/src/mistralai/client/models/get_datasets_v1_observability_datasets_getop.py index 1d79f2d59..4d8fa5cc9 100644 --- a/src/mistralai/client/models/get_datasets_v1_observability_datasets_getop.py +++ b/src/mistralai/client/models/get_datasets_v1_observability_datasets_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3e4f4e2447ac from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/get_deployment_logsop.py b/src/mistralai/client/models/get_deployment_logsop.py index cf63c308d..807e7390d 100644 --- a/src/mistralai/client/models/get_deployment_logsop.py +++ b/src/mistralai/client/models/get_deployment_logsop.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5d6df36b14ff from __future__ import annotations +from .deploymentlogtype import DeploymentLogType from datetime import datetime from mistralai.client.types import ( BaseModel, @@ -25,6 +25,8 @@ class GetDeploymentLogsRequestTypedDict(TypedDict): name: str + log_type: NotRequired[DeploymentLogType] + r"""Which stream to read. 'runtime' is the workers' own logs; 'build' reads the image build output and requires a managed deployment.""" worker_name: NotRequired[Nullable[str]] r"""Filter logs by worker name""" workflow_name: NotRequired[Nullable[str]] @@ -46,6 +48,12 @@ class GetDeploymentLogsRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] + log_type: Annotated[ + Optional[DeploymentLogType], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""Which stream to read. 'runtime' is the workers' own logs; 'build' reads the image build output and requires a managed deployment.""" + worker_name: Annotated[ OptionalNullable[str], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), @@ -92,6 +100,7 @@ class GetDeploymentLogsRequest(BaseModel): def serialize_model(self, handler): optional_fields = set( [ + "log_type", "worker_name", "workflow_name", "after", diff --git a/src/mistralai/client/models/get_deployment_v1_workflows_deployments_name_getop.py b/src/mistralai/client/models/get_deployment_v1_workflows_deployments_name_getop.py index 412b09fb7..b5e21b0b5 100644 --- a/src/mistralai/client/models/get_deployment_v1_workflows_deployments_name_getop.py +++ b/src/mistralai/client/models/get_deployment_v1_workflows_deployments_name_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3fae92e2573a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/get_index_v1_rag_managed_indexes_index_name_getop.py b/src/mistralai/client/models/get_index_v1_rag_managed_indexes_index_name_getop.py index ffabcc1af..e064cdfe5 100644 --- a/src/mistralai/client/models/get_index_v1_rag_managed_indexes_index_name_getop.py +++ b/src/mistralai/client/models/get_index_v1_rag_managed_indexes_index_name_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cc90b0975f3f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_judge_by_id_v1_observability_judges_judge_id_getop.py b/src/mistralai/client/models/get_judge_by_id_v1_observability_judges_judge_id_getop.py index 375db2e9b..44ed3fba6 100644 --- a/src/mistralai/client/models/get_judge_by_id_v1_observability_judges_judge_id_getop.py +++ b/src/mistralai/client/models/get_judge_by_id_v1_observability_judges_judge_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4201c3c5a891 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_judges_v1_observability_judges_getop.py b/src/mistralai/client/models/get_judges_v1_observability_judges_getop.py index b5d0980e1..f0d15cf57 100644 --- a/src/mistralai/client/models/get_judges_v1_observability_judges_getop.py +++ b/src/mistralai/client/models/get_judges_v1_observability_judges_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fa04e3db7781 from __future__ import annotations from .judgeoutputtype import JudgeOutputType diff --git a/src/mistralai/client/models/get_log_field_options_v1_observability_logs_fields_field_name_options_getop.py b/src/mistralai/client/models/get_log_field_options_v1_observability_logs_fields_field_name_options_getop.py index 0bf3b7fb1..b4a4e4062 100644 --- a/src/mistralai/client/models/get_log_field_options_v1_observability_logs_fields_field_name_options_getop.py +++ b/src/mistralai/client/models/get_log_field_options_v1_observability_logs_fields_field_name_options_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5cb47b819527 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop.py b/src/mistralai/client/models/get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop.py index 1f371effd..6429a2310 100644 --- a/src/mistralai/client/models/get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop.py +++ b/src/mistralai/client/models/get_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 05811a63319d from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_pipeline_v1_observability_pipelines_pipeline_id_getop.py b/src/mistralai/client/models/get_pipeline_v1_observability_pipelines_pipeline_id_getop.py new file mode 100644 index 000000000..30a963c8c --- /dev/null +++ b/src/mistralai/client/models/get_pipeline_v1_observability_pipelines_pipeline_id_getop.py @@ -0,0 +1,16 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata +from typing_extensions import Annotated, TypedDict + + +class GetPipelineV1ObservabilityPipelinesPipelineIDGetRequestTypedDict(TypedDict): + pipeline_id: str + + +class GetPipelineV1ObservabilityPipelinesPipelineIDGetRequest(BaseModel): + pipeline_id: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] diff --git a/src/mistralai/client/models/get_run_history_v1_workflows_runs_run_id_history_getop.py b/src/mistralai/client/models/get_run_history_v1_workflows_runs_run_id_history_getop.py index e29736791..27f89fa14 100644 --- a/src/mistralai/client/models/get_run_history_v1_workflows_runs_run_id_history_getop.py +++ b/src/mistralai/client/models/get_run_history_v1_workflows_runs_run_id_history_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9d566ab77998 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_run_v1_workflows_runs_run_id_getop.py b/src/mistralai/client/models/get_run_v1_workflows_runs_run_id_getop.py index d9b6758f1..5be104e33 100644 --- a/src/mistralai/client/models/get_run_v1_workflows_runs_run_id_getop.py +++ b/src/mistralai/client/models/get_run_v1_workflows_runs_run_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 60463c59ff01 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_schedule_v1_workflows_schedules_schedule_id_getop.py b/src/mistralai/client/models/get_schedule_v1_workflows_schedules_schedule_id_getop.py index d22d05150..3410bd464 100644 --- a/src/mistralai/client/models/get_schedule_v1_workflows_schedules_schedule_id_getop.py +++ b/src/mistralai/client/models/get_schedule_v1_workflows_schedules_schedule_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cb775bc63ffd from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_schedules_v1_workflows_schedules_getop.py b/src/mistralai/client/models/get_schedules_v1_workflows_schedules_getop.py index 1bbea001e..b8d6ae038 100644 --- a/src/mistralai/client/models/get_schedules_v1_workflows_schedules_getop.py +++ b/src/mistralai/client/models/get_schedules_v1_workflows_schedules_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b5f0210eca23 from __future__ import annotations from .workflowschedulelistresponse import ( diff --git a/src/mistralai/client/models/get_service_account_v1_service_accounts_service_account_id_getop.py b/src/mistralai/client/models/get_service_account_v1_service_accounts_service_account_id_getop.py index 1bab7b67f..8186e1427 100644 --- a/src/mistralai/client/models/get_service_account_v1_service_accounts_service_account_id_getop.py +++ b/src/mistralai/client/models/get_service_account_v1_service_accounts_service_account_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e08825b431bc from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_span_by_id_v1_observability_traces_trace_id_spans_span_id_getop.py b/src/mistralai/client/models/get_span_by_id_v1_observability_traces_trace_id_spans_span_id_getop.py index 64fc2d804..4ec11ac2a 100644 --- a/src/mistralai/client/models/get_span_by_id_v1_observability_traces_trace_id_spans_span_id_getop.py +++ b/src/mistralai/client/models/get_span_by_id_v1_observability_traces_trace_id_spans_span_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5827757f5577 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_span_evaluation_field_options_v1_observability_spans_evaluations_fields_field_name_options_getop.py b/src/mistralai/client/models/get_span_evaluation_field_options_v1_observability_spans_evaluations_fields_field_name_options_getop.py index 54b337976..06b8a9c14 100644 --- a/src/mistralai/client/models/get_span_evaluation_field_options_v1_observability_spans_evaluations_fields_field_name_options_getop.py +++ b/src/mistralai/client/models/get_span_evaluation_field_options_v1_observability_spans_evaluations_fields_field_name_options_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 366d52a81fad from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_span_field_options_v1_observability_spans_fields_field_name_options_getop.py b/src/mistralai/client/models/get_span_field_options_v1_observability_spans_fields_field_name_options_getop.py index 40aead4d6..c18124871 100644 --- a/src/mistralai/client/models/get_span_field_options_v1_observability_spans_fields_field_name_options_getop.py +++ b/src/mistralai/client/models/get_span_field_options_v1_observability_spans_fields_field_name_options_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5a4fca728b6e from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_stream_events_v1_workflows_events_stream_getop.py b/src/mistralai/client/models/get_stream_events_v1_workflows_events_stream_getop.py index 53f751977..f0d02ee31 100644 --- a/src/mistralai/client/models/get_stream_events_v1_workflows_events_stream_getop.py +++ b/src/mistralai/client/models/get_stream_events_v1_workflows_events_stream_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8dd6ce0e8d66 from __future__ import annotations from .streameventssepayload import StreamEventSsePayload, StreamEventSsePayloadTypedDict diff --git a/src/mistralai/client/models/get_trace_by_id_v1_observability_traces_trace_id_getop.py b/src/mistralai/client/models/get_trace_by_id_v1_observability_traces_trace_id_getop.py index fb84444bb..f24fd3fbf 100644 --- a/src/mistralai/client/models/get_trace_by_id_v1_observability_traces_trace_id_getop.py +++ b/src/mistralai/client/models/get_trace_by_id_v1_observability_traces_trace_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a7ad88602f1b from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_trace_field_options_v1_observability_traces_fields_field_name_options_getop.py b/src/mistralai/client/models/get_trace_field_options_v1_observability_traces_fields_field_name_options_getop.py index 0d8fc763a..03f70d050 100644 --- a/src/mistralai/client/models/get_trace_field_options_v1_observability_traces_fields_field_name_options_getop.py +++ b/src/mistralai/client/models/get_trace_field_options_v1_observability_traces_fields_field_name_options_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 56e51fef9440 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_trace_spans_v1_observability_traces_trace_id_spans_getop.py b/src/mistralai/client/models/get_trace_spans_v1_observability_traces_trace_id_spans_getop.py index c7f0e39c9..bd8c487a6 100644 --- a/src/mistralai/client/models/get_trace_spans_v1_observability_traces_trace_id_spans_getop.py +++ b/src/mistralai/client/models/get_trace_spans_v1_observability_traces_trace_id_spans_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e0cacaec1f92 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_voice_sample_audio_v1_audio_voices_voice_id_sample_getop.py b/src/mistralai/client/models/get_voice_sample_audio_v1_audio_voices_voice_id_sample_getop.py index 5d4cbbfd8..7f5c88bb0 100644 --- a/src/mistralai/client/models/get_voice_sample_audio_v1_audio_voices_voice_id_sample_getop.py +++ b/src/mistralai/client/models/get_voice_sample_audio_v1_audio_voices_voice_id_sample_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a5838063aee4 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_voice_v1_audio_voices_voice_id_getop.py b/src/mistralai/client/models/get_voice_v1_audio_voices_voice_id_getop.py index bd81442ec..65c2156a6 100644 --- a/src/mistralai/client/models/get_voice_v1_audio_voices_voice_id_getop.py +++ b/src/mistralai/client/models/get_voice_v1_audio_voices_voice_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b6ca849d5005 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_workflow_events_v1_workflows_events_list_getop.py b/src/mistralai/client/models/get_workflow_events_v1_workflows_events_list_getop.py index 186c55486..3df5cfab2 100644 --- a/src/mistralai/client/models/get_workflow_events_v1_workflows_events_list_getop.py +++ b/src/mistralai/client/models/get_workflow_events_v1_workflows_events_list_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9d6d093835d6 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/get_workflow_execution_history_v1_workflows_executions_execution_id_history_getop.py b/src/mistralai/client/models/get_workflow_execution_history_v1_workflows_executions_execution_id_history_getop.py index c71a23052..5bcbf3371 100644 --- a/src/mistralai/client/models/get_workflow_execution_history_v1_workflows_executions_execution_id_history_getop.py +++ b/src/mistralai/client/models/get_workflow_execution_history_v1_workflows_executions_execution_id_history_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8d636c8cad1e from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_workflow_execution_logsop.py b/src/mistralai/client/models/get_workflow_execution_logsop.py index 1bfe5f521..ac1937c84 100644 --- a/src/mistralai/client/models/get_workflow_execution_logsop.py +++ b/src/mistralai/client/models/get_workflow_execution_logsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 53708093eaee from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_workflow_execution_trace_eventsop.py b/src/mistralai/client/models/get_workflow_execution_trace_eventsop.py index a60fb536b..09854131c 100644 --- a/src/mistralai/client/models/get_workflow_execution_trace_eventsop.py +++ b/src/mistralai/client/models/get_workflow_execution_trace_eventsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 75438195bf19 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_workflow_execution_trace_infoop.py b/src/mistralai/client/models/get_workflow_execution_trace_infoop.py index a256ff9f0..65beb169e 100644 --- a/src/mistralai/client/models/get_workflow_execution_trace_infoop.py +++ b/src/mistralai/client/models/get_workflow_execution_trace_infoop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2e9818ffab8a from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_workflow_execution_trace_otelop.py b/src/mistralai/client/models/get_workflow_execution_trace_otelop.py index 0abdd75fc..21c1d5850 100644 --- a/src/mistralai/client/models/get_workflow_execution_trace_otelop.py +++ b/src/mistralai/client/models/get_workflow_execution_trace_otelop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f24457d6ea21 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_workflow_execution_trace_summaryop.py b/src/mistralai/client/models/get_workflow_execution_trace_summaryop.py index 54b080e0b..aedc63261 100644 --- a/src/mistralai/client/models/get_workflow_execution_trace_summaryop.py +++ b/src/mistralai/client/models/get_workflow_execution_trace_summaryop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e44e62e3c444 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_workflow_execution_v1_workflows_executions_execution_id_getop.py b/src/mistralai/client/models/get_workflow_execution_v1_workflows_executions_execution_id_getop.py index 9fc51f4f8..7067ed5b5 100644 --- a/src/mistralai/client/models/get_workflow_execution_v1_workflows_executions_execution_id_getop.py +++ b/src/mistralai/client/models/get_workflow_execution_v1_workflows_executions_execution_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 25bc5d3fec8d from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_workflow_metrics_v1_workflows_workflow_name_metrics_getop.py b/src/mistralai/client/models/get_workflow_metrics_v1_workflows_workflow_name_metrics_getop.py index 1d9c89894..641cb4fbb 100644 --- a/src/mistralai/client/models/get_workflow_metrics_v1_workflows_workflow_name_metrics_getop.py +++ b/src/mistralai/client/models/get_workflow_metrics_v1_workflows_workflow_name_metrics_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 449550c7f76a from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/get_workflow_registration_v1_workflows_registrations_workflow_registration_id_getop.py b/src/mistralai/client/models/get_workflow_registration_v1_workflows_registrations_workflow_registration_id_getop.py index fe7d639da..ea7471a08 100644 --- a/src/mistralai/client/models/get_workflow_registration_v1_workflows_registrations_workflow_registration_id_getop.py +++ b/src/mistralai/client/models/get_workflow_registration_v1_workflows_registrations_workflow_registration_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a6b7d0f559ef from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/get_workflow_registrations_v1_workflows_registrations_getop.py b/src/mistralai/client/models/get_workflow_registrations_v1_workflows_registrations_getop.py index d8cc7f6e1..0dc8679c9 100644 --- a/src/mistralai/client/models/get_workflow_registrations_v1_workflows_registrations_getop.py +++ b/src/mistralai/client/models/get_workflow_registrations_v1_workflows_registrations_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 822f256b2372 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/get_workflow_v1_workflows_workflow_identifier_getop.py b/src/mistralai/client/models/get_workflow_v1_workflows_workflow_identifier_getop.py index 20d0b6dd4..8ceb750c8 100644 --- a/src/mistralai/client/models/get_workflow_v1_workflows_workflow_identifier_getop.py +++ b/src/mistralai/client/models/get_workflow_v1_workflows_workflow_identifier_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 097af37374fd from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/get_workflows_v1_workflows_getop.py b/src/mistralai/client/models/get_workflows_v1_workflows_getop.py index 586c64174..5cc8d6c85 100644 --- a/src/mistralai/client/models/get_workflows_v1_workflows_getop.py +++ b/src/mistralai/client/models/get_workflows_v1_workflows_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a128585aee76 from __future__ import annotations from .workflowexecutionstatus import WorkflowExecutionStatus diff --git a/src/mistralai/client/models/getdeploymentsummariesresponse.py b/src/mistralai/client/models/getdeploymentsummariesresponse.py index 226369724..579d926e6 100644 --- a/src/mistralai/client/models/getdeploymentsummariesresponse.py +++ b/src/mistralai/client/models/getdeploymentsummariesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1a81c80026f1 from __future__ import annotations from .getdeploymentsummariesresponsedeployment import ( diff --git a/src/mistralai/client/models/getdeploymentsummariesresponsedeployment.py b/src/mistralai/client/models/getdeploymentsummariesresponsedeployment.py index 4665b7164..a45d7042b 100644 --- a/src/mistralai/client/models/getdeploymentsummariesresponsedeployment.py +++ b/src/mistralai/client/models/getdeploymentsummariesresponsedeployment.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bfffc470b273 from __future__ import annotations from .getdeploymentsummariesresponsevespadeployment import ( diff --git a/src/mistralai/client/models/getdeploymentsummariesresponsevespadeployment.py b/src/mistralai/client/models/getdeploymentsummariesresponsevespadeployment.py index cdc060cad..dbd93c0cd 100644 --- a/src/mistralai/client/models/getdeploymentsummariesresponsevespadeployment.py +++ b/src/mistralai/client/models/getdeploymentsummariesresponsevespadeployment.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 88b00f5b6d4d from __future__ import annotations from .getdeploymentsummariesresponsevespaindex import ( diff --git a/src/mistralai/client/models/getdeploymentsummariesresponsevespaindex.py b/src/mistralai/client/models/getdeploymentsummariesresponsevespaindex.py index d19057739..293aa556e 100644 --- a/src/mistralai/client/models/getdeploymentsummariesresponsevespaindex.py +++ b/src/mistralai/client/models/getdeploymentsummariesresponsevespaindex.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c11eec53891a from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/getfileresponse.py b/src/mistralai/client/models/getfileresponse.py index 37c29bbb4..ea11a37a9 100644 --- a/src/mistralai/client/models/getfileresponse.py +++ b/src/mistralai/client/models/getfileresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 81919086e371 from __future__ import annotations from .filepurpose import FilePurpose diff --git a/src/mistralai/client/models/getlog.py b/src/mistralai/client/models/getlog.py index 3c8890624..c38d89acc 100644 --- a/src/mistralai/client/models/getlog.py +++ b/src/mistralai/client/models/getlog.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c9beb29863bc from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/getlogfieldoptions.py b/src/mistralai/client/models/getlogfieldoptions.py index 4f5bacd66..e50db903f 100644 --- a/src/mistralai/client/models/getlogfieldoptions.py +++ b/src/mistralai/client/models/getlogfieldoptions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cdb24e2ec44c from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/getlogfields.py b/src/mistralai/client/models/getlogfields.py index e82e2cbca..7a3810328 100644 --- a/src/mistralai/client/models/getlogfields.py +++ b/src/mistralai/client/models/getlogfields.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e9f0f8c894f0 from __future__ import annotations from .otelfielddefinition import OtelFieldDefinition, OtelFieldDefinitionTypedDict diff --git a/src/mistralai/client/models/getlogs.py b/src/mistralai/client/models/getlogs.py index a6f91a87a..f73b7fd9b 100644 --- a/src/mistralai/client/models/getlogs.py +++ b/src/mistralai/client/models/getlogs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e93e67a4d749 from __future__ import annotations from .feedresultgetlog import FeedResultGetLog, FeedResultGetLogTypedDict diff --git a/src/mistralai/client/models/getsignedurlresponse.py b/src/mistralai/client/models/getsignedurlresponse.py index 4ba95894f..5af0306c7 100644 --- a/src/mistralai/client/models/getsignedurlresponse.py +++ b/src/mistralai/client/models/getsignedurlresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cee4e4197372 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/getspan.py b/src/mistralai/client/models/getspan.py index d8bd90763..a7d4330e9 100644 --- a/src/mistralai/client/models/getspan.py +++ b/src/mistralai/client/models/getspan.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: eebc129308d2 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/getspanevaluation.py b/src/mistralai/client/models/getspanevaluation.py index 44e63d6f0..0cd5baaf9 100644 --- a/src/mistralai/client/models/getspanevaluation.py +++ b/src/mistralai/client/models/getspanevaluation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 274e902cefd1 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/getspanevaluationfieldoptions.py b/src/mistralai/client/models/getspanevaluationfieldoptions.py index 5e91348fd..635b102d8 100644 --- a/src/mistralai/client/models/getspanevaluationfieldoptions.py +++ b/src/mistralai/client/models/getspanevaluationfieldoptions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 345fd459adff from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/getspanevaluationfields.py b/src/mistralai/client/models/getspanevaluationfields.py index 06a117790..8fc538efd 100644 --- a/src/mistralai/client/models/getspanevaluationfields.py +++ b/src/mistralai/client/models/getspanevaluationfields.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a35c5328a90e from __future__ import annotations from .otelfielddefinition import OtelFieldDefinition, OtelFieldDefinitionTypedDict diff --git a/src/mistralai/client/models/getspanevaluations.py b/src/mistralai/client/models/getspanevaluations.py index 742fdc0a0..59f7b3a6c 100644 --- a/src/mistralai/client/models/getspanevaluations.py +++ b/src/mistralai/client/models/getspanevaluations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 91934f70cd68 from __future__ import annotations from .feedresultgetspanevaluation import ( diff --git a/src/mistralai/client/models/getspanfieldoptions.py b/src/mistralai/client/models/getspanfieldoptions.py index ac7b91a61..cd57f2189 100644 --- a/src/mistralai/client/models/getspanfieldoptions.py +++ b/src/mistralai/client/models/getspanfieldoptions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 44b61b93e49c from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/getspanfields.py b/src/mistralai/client/models/getspanfields.py index 09bd81716..072380957 100644 --- a/src/mistralai/client/models/getspanfields.py +++ b/src/mistralai/client/models/getspanfields.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 81804f477af7 from __future__ import annotations from .otelfielddefinition import OtelFieldDefinition, OtelFieldDefinitionTypedDict diff --git a/src/mistralai/client/models/getspans.py b/src/mistralai/client/models/getspans.py index 5878cb5c3..1e3fc8588 100644 --- a/src/mistralai/client/models/getspans.py +++ b/src/mistralai/client/models/getspans.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c95cbe1b0843 from __future__ import annotations from .feedresultgetspan import FeedResultGetSpan, FeedResultGetSpanTypedDict diff --git a/src/mistralai/client/models/gettrace.py b/src/mistralai/client/models/gettrace.py index 572d74406..a39240122 100644 --- a/src/mistralai/client/models/gettrace.py +++ b/src/mistralai/client/models/gettrace.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3c7e1abbc64a from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/gettracefieldoptions.py b/src/mistralai/client/models/gettracefieldoptions.py index 1dd9e51c4..cddfecba1 100644 --- a/src/mistralai/client/models/gettracefieldoptions.py +++ b/src/mistralai/client/models/gettracefieldoptions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9b0f5432d5ef from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/gettracefields.py b/src/mistralai/client/models/gettracefields.py index 085641a06..852951620 100644 --- a/src/mistralai/client/models/gettracefields.py +++ b/src/mistralai/client/models/gettracefields.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 528937f57e92 from __future__ import annotations from .otelfielddefinition import OtelFieldDefinition, OtelFieldDefinitionTypedDict diff --git a/src/mistralai/client/models/gettraces.py b/src/mistralai/client/models/gettraces.py index 86d87ddd1..12350d285 100644 --- a/src/mistralai/client/models/gettraces.py +++ b/src/mistralai/client/models/gettraces.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d94016253ab3 from __future__ import annotations from .feedresultgettrace import FeedResultGetTrace, FeedResultGetTraceTypedDict diff --git a/src/mistralai/client/models/gitcommitauthor.py b/src/mistralai/client/models/gitcommitauthor.py index da0a0b760..20d03cd8a 100644 --- a/src/mistralai/client/models/gitcommitauthor.py +++ b/src/mistralai/client/models/gitcommitauthor.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d400cc33a7a2 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/gitcommitmetadata.py b/src/mistralai/client/models/gitcommitmetadata.py index da5a5ead7..049cb5303 100644 --- a/src/mistralai/client/models/gitcommitmetadata.py +++ b/src/mistralai/client/models/gitcommitmetadata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 74d6a74eca43 from __future__ import annotations from .gitcommitauthor import GitCommitAuthor, GitCommitAuthorTypedDict diff --git a/src/mistralai/client/models/globalheadervalue.py b/src/mistralai/client/models/globalheadervalue.py index b28634694..4b1d075f7 100644 --- a/src/mistralai/client/models/globalheadervalue.py +++ b/src/mistralai/client/models/globalheadervalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6c436fc1a2af from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/granularity.py b/src/mistralai/client/models/granularity.py index 9dbac6325..69cff1182 100644 --- a/src/mistralai/client/models/granularity.py +++ b/src/mistralai/client/models/granularity.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5230c577800b from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/grep_index_v1_rag_managed_indexes_index_name_grep_postop.py b/src/mistralai/client/models/grep_index_v1_rag_managed_indexes_index_name_grep_postop.py new file mode 100644 index 000000000..e7dcb73c5 --- /dev/null +++ b/src/mistralai/client/models/grep_index_v1_rag_managed_indexes_index_name_grep_postop.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .greprequest import GrepRequest, GrepRequestTypedDict +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata, RequestMetadata +from typing_extensions import Annotated, TypedDict + + +class GrepIndexV1RagManagedIndexesIndexNameGrepPostRequestTypedDict(TypedDict): + index_name: str + grep_request: GrepRequestTypedDict + + +class GrepIndexV1RagManagedIndexesIndexNameGrepPostRequest(BaseModel): + index_name: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] + + grep_request: Annotated[ + GrepRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] diff --git a/src/mistralai/client/models/grepmode.py b/src/mistralai/client/models/grepmode.py new file mode 100644 index 000000000..329b0dbc7 --- /dev/null +++ b/src/mistralai/client/models/grepmode.py @@ -0,0 +1,10 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +GrepMode = Literal[ + "phrase", + "term", +] diff --git a/src/mistralai/client/models/greprequest.py b/src/mistralai/client/models/greprequest.py new file mode 100644 index 000000000..b43d2f0f5 --- /dev/null +++ b/src/mistralai/client/models/greprequest.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .grepmode import GrepMode +from mistralai.client.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class GrepRequestTypedDict(TypedDict): + source_id: str + pattern: str + mode: NotRequired[GrepMode] + top_k: NotRequired[int] + content_type: NotRequired[str] + + +class GrepRequest(BaseModel): + source_id: str + + pattern: str + + mode: Optional[GrepMode] = None + + top_k: Optional[int] = 5 + + content_type: Optional[str] = "content" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["mode", "top_k", "content_type"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/mistralai/client/models/guardrailconfig.py b/src/mistralai/client/models/guardrailconfig.py index d152ec367..8f28a6fd4 100644 --- a/src/mistralai/client/models/guardrailconfig.py +++ b/src/mistralai/client/models/guardrailconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c72b74412547 from __future__ import annotations from .moderationllmv1config import ModerationLlmv1Config, ModerationLlmv1ConfigTypedDict diff --git a/src/mistralai/client/models/httpconnector.py b/src/mistralai/client/models/httpconnector.py index 46db351d3..e1e45762a 100644 --- a/src/mistralai/client/models/httpconnector.py +++ b/src/mistralai/client/models/httpconnector.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 39da59bad2cf from __future__ import annotations from .authenticationconfiguration import ( diff --git a/src/mistralai/client/models/httpstatus.py b/src/mistralai/client/models/httpstatus.py index db35637a8..c496b7d33 100644 --- a/src/mistralai/client/models/httpstatus.py +++ b/src/mistralai/client/models/httpstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 56faca222b54 from __future__ import annotations from mistralai.client.types import UnrecognizedInt diff --git a/src/mistralai/client/models/imagecontent.py b/src/mistralai/client/models/imagecontent.py index e6363daa7..2dcd959bb 100644 --- a/src/mistralai/client/models/imagecontent.py +++ b/src/mistralai/client/models/imagecontent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3abe7faee278 from __future__ import annotations from .annotations import Annotations, AnnotationsTypedDict diff --git a/src/mistralai/client/models/imagedetail.py b/src/mistralai/client/models/imagedetail.py index 1982d3572..5e2038062 100644 --- a/src/mistralai/client/models/imagedetail.py +++ b/src/mistralai/client/models/imagedetail.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c1084b549abb from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/imagegenerationtool.py b/src/mistralai/client/models/imagegenerationtool.py index 0dd4a4d2a..473a5b2dd 100644 --- a/src/mistralai/client/models/imagegenerationtool.py +++ b/src/mistralai/client/models/imagegenerationtool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e1532275faa0 from __future__ import annotations from .toolconfiguration import ToolConfiguration, ToolConfigurationTypedDict diff --git a/src/mistralai/client/models/imageurl.py b/src/mistralai/client/models/imageurl.py index 32efa67ba..55f8d1df3 100644 --- a/src/mistralai/client/models/imageurl.py +++ b/src/mistralai/client/models/imageurl.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e4bbf5881fbf from __future__ import annotations from .imagedetail import ImageDetail diff --git a/src/mistralai/client/models/imageurlchunk.py b/src/mistralai/client/models/imageurlchunk.py index 55a2023ef..e78dae8d6 100644 --- a/src/mistralai/client/models/imageurlchunk.py +++ b/src/mistralai/client/models/imageurlchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 746fde62f637 from __future__ import annotations from .imageurl import ImageURL, ImageURLTypedDict diff --git a/src/mistralai/client/models/importdatasetfromdatasetrequest.py b/src/mistralai/client/models/importdatasetfromdatasetrequest.py index ebf2a649f..d9bf0861b 100644 --- a/src/mistralai/client/models/importdatasetfromdatasetrequest.py +++ b/src/mistralai/client/models/importdatasetfromdatasetrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 77aea4882ccb from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/importdatasetfromfilerequest.py b/src/mistralai/client/models/importdatasetfromfilerequest.py index 9a4867765..97b126996 100644 --- a/src/mistralai/client/models/importdatasetfromfilerequest.py +++ b/src/mistralai/client/models/importdatasetfromfilerequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b2882fa57029 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/importdatasetfromplaygroundrequest.py b/src/mistralai/client/models/importdatasetfromplaygroundrequest.py index f5bd720db..f83fcd70c 100644 --- a/src/mistralai/client/models/importdatasetfromplaygroundrequest.py +++ b/src/mistralai/client/models/importdatasetfromplaygroundrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8d809b14b144 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/importdatasetfromspansrequest.py b/src/mistralai/client/models/importdatasetfromspansrequest.py new file mode 100644 index 000000000..3599ae3fa --- /dev/null +++ b/src/mistralai/client/models/importdatasetfromspansrequest.py @@ -0,0 +1,39 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .spandatasetmappingcontract import ( + SpanDatasetMappingContract, + SpanDatasetMappingContractTypedDict, +) +from .telemetryspanreference import ( + TelemetrySpanReference, + TelemetrySpanReferenceTypedDict, +) +from mistralai.client.types import BaseModel +from typing import List +from typing_extensions import TypedDict + + +class ImportDatasetFromSpansRequestTypedDict(TypedDict): + span_references: List[TelemetrySpanReferenceTypedDict] + r"""Spans to attempt to import; unavailable references are skipped, and trace and span IDs are attached as record properties automatically.""" + mapping_contract: SpanDatasetMappingContractTypedDict + r"""Mapping rules applied independently to every requested telemetry span. + + Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array + source omits the target key. JSON object and array strings become structured values; + scalar-looking and malformed JSON strings remain strings. + """ + + +class ImportDatasetFromSpansRequest(BaseModel): + span_references: List[TelemetrySpanReference] + r"""Spans to attempt to import; unavailable references are skipped, and trace and span IDs are attached as record properties automatically.""" + + mapping_contract: SpanDatasetMappingContract + r"""Mapping rules applied independently to every requested telemetry span. + + Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array + source omits the target key. JSON object and array strings become structured values; + scalar-looking and malformed JSON strings remain strings. + """ diff --git a/src/mistralai/client/models/in_.py b/src/mistralai/client/models/in_.py index 8e73b70fd..9311a9510 100644 --- a/src/mistralai/client/models/in_.py +++ b/src/mistralai/client/models/in_.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 42dfc5af9d54 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/inboundauthenticationtype.py b/src/mistralai/client/models/inboundauthenticationtype.py index 9e78a4995..bd7acb1c9 100644 --- a/src/mistralai/client/models/inboundauthenticationtype.py +++ b/src/mistralai/client/models/inboundauthenticationtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0c9f48e0518f from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/ingest_documents_v1_rag_managed_indexes_index_name_documents_postop.py b/src/mistralai/client/models/ingest_documents_v1_rag_managed_indexes_index_name_documents_postop.py index 33fa5627f..65b0c1ab7 100644 --- a/src/mistralai/client/models/ingest_documents_v1_rag_managed_indexes_index_name_documents_postop.py +++ b/src/mistralai/client/models/ingest_documents_v1_rag_managed_indexes_index_name_documents_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6a8cb50e33f4 from __future__ import annotations from .ingestdocumentsrequest import ( diff --git a/src/mistralai/client/models/ingestdocumentsrequest.py b/src/mistralai/client/models/ingestdocumentsrequest.py index e4050ebb7..a794b8650 100644 --- a/src/mistralai/client/models/ingestdocumentsrequest.py +++ b/src/mistralai/client/models/ingestdocumentsrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c8fcd14c0f70 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/ingestdocumentsresponse.py b/src/mistralai/client/models/ingestdocumentsresponse.py index 65b688357..0268484f6 100644 --- a/src/mistralai/client/models/ingestdocumentsresponse.py +++ b/src/mistralai/client/models/ingestdocumentsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a070c9745855 from __future__ import annotations from .accepteddocumentresponse import ( diff --git a/src/mistralai/client/models/ingestionpipelineconfiguration.py b/src/mistralai/client/models/ingestionpipelineconfiguration.py index 5289c66d7..851463d8e 100644 --- a/src/mistralai/client/models/ingestionpipelineconfiguration.py +++ b/src/mistralai/client/models/ingestionpipelineconfiguration.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b4746c0f2c1c from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/ingestionpipelinetargetindexref.py b/src/mistralai/client/models/ingestionpipelinetargetindexref.py index 3456be8b2..0d3579011 100644 --- a/src/mistralai/client/models/ingestionpipelinetargetindexref.py +++ b/src/mistralai/client/models/ingestionpipelinetargetindexref.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 88ade440ca40 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/inputentries.py b/src/mistralai/client/models/inputentries.py index e2da5a80a..572b689f1 100644 --- a/src/mistralai/client/models/inputentries.py +++ b/src/mistralai/client/models/inputentries.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 44727997dacb from __future__ import annotations from .agenthandoffentry import AgentHandoffEntry, AgentHandoffEntryTypedDict diff --git a/src/mistralai/client/models/inputs.py b/src/mistralai/client/models/inputs.py index 9ecd7f484..2d9dd31c3 100644 --- a/src/mistralai/client/models/inputs.py +++ b/src/mistralai/client/models/inputs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 84a8007518c7 from __future__ import annotations from .instructrequest import InstructRequest, InstructRequestTypedDict diff --git a/src/mistralai/client/models/instructrequest.py b/src/mistralai/client/models/instructrequest.py index e5f9cccf1..73d482d84 100644 --- a/src/mistralai/client/models/instructrequest.py +++ b/src/mistralai/client/models/instructrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6d3ad9f896c7 from __future__ import annotations from .assistantmessage import AssistantMessage, AssistantMessageTypedDict diff --git a/src/mistralai/client/models/intarrayfielddefinition.py b/src/mistralai/client/models/intarrayfielddefinition.py index 7dccd558d..f099f5e15 100644 --- a/src/mistralai/client/models/intarrayfielddefinition.py +++ b/src/mistralai/client/models/intarrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 55a2d67fe66c from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/intfielddefinition.py b/src/mistralai/client/models/intfielddefinition.py index f004bfdd4..8f1d21b94 100644 --- a/src/mistralai/client/models/intfielddefinition.py +++ b/src/mistralai/client/models/intfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 155b2f0ff656 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/jobs_api_routes_batch_cancel_batch_jobop.py b/src/mistralai/client/models/jobs_api_routes_batch_cancel_batch_jobop.py index de2e63472..21a04f731 100644 --- a/src/mistralai/client/models/jobs_api_routes_batch_cancel_batch_jobop.py +++ b/src/mistralai/client/models/jobs_api_routes_batch_cancel_batch_jobop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b56cb6c17c95 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jobs_api_routes_batch_delete_batch_jobop.py b/src/mistralai/client/models/jobs_api_routes_batch_delete_batch_jobop.py index 9fc4a7e77..ea857b23c 100644 --- a/src/mistralai/client/models/jobs_api_routes_batch_delete_batch_jobop.py +++ b/src/mistralai/client/models/jobs_api_routes_batch_delete_batch_jobop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8c43af108342 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobop.py b/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobop.py index 683da4af5..2804b0c17 100644 --- a/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobop.py +++ b/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 36b5a6b3ceee from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobsop.py b/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobsop.py index f0649f3af..6d9fe59ac 100644 --- a/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobsop.py +++ b/src/mistralai/client/models/jobs_api_routes_batch_get_batch_jobsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d8f0af99c94d from __future__ import annotations from .batchjobstatus import BatchJobStatus diff --git a/src/mistralai/client/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py b/src/mistralai/client/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py index 9fa99837d..4536b7384 100644 --- a/src/mistralai/client/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py +++ b/src/mistralai/client/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 34f89d2af0ec from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py b/src/mistralai/client/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py index fd01fe694..e1be0ac00 100644 --- a/src/mistralai/client/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py +++ b/src/mistralai/client/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7cc1c80335a9 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py b/src/mistralai/client/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py index 296070b42..e1b9cc00a 100644 --- a/src/mistralai/client/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +++ b/src/mistralai/client/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6d9dc624aafd from __future__ import annotations from .classifierfinetunedmodel import ( diff --git a/src/mistralai/client/models/jsonfielddefinition.py b/src/mistralai/client/models/jsonfielddefinition.py index 2140b4f45..22ebbdb3a 100644 --- a/src/mistralai/client/models/jsonfielddefinition.py +++ b/src/mistralai/client/models/jsonfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d38f9a988908 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/jsonpatch.py b/src/mistralai/client/models/jsonpatch.py index d67657f54..4de15cec0 100644 --- a/src/mistralai/client/models/jsonpatch.py +++ b/src/mistralai/client/models/jsonpatch.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b7521bc9a558 from __future__ import annotations from .jsonpatchadd import JSONPatchAdd, JSONPatchAddTypedDict diff --git a/src/mistralai/client/models/jsonpatchadd.py b/src/mistralai/client/models/jsonpatchadd.py index d4242f11b..4e2bfcdab 100644 --- a/src/mistralai/client/models/jsonpatchadd.py +++ b/src/mistralai/client/models/jsonpatchadd.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fb2a1e58a6a5 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jsonpatchappend.py b/src/mistralai/client/models/jsonpatchappend.py index 185f7bb72..8ac78b6c7 100644 --- a/src/mistralai/client/models/jsonpatchappend.py +++ b/src/mistralai/client/models/jsonpatchappend.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 61801f21f4b0 from __future__ import annotations from .encryptedpatchvalue import EncryptedPatchValue, EncryptedPatchValueTypedDict diff --git a/src/mistralai/client/models/jsonpatchpayloadresponse.py b/src/mistralai/client/models/jsonpatchpayloadresponse.py index a0301f9a7..cee628d48 100644 --- a/src/mistralai/client/models/jsonpatchpayloadresponse.py +++ b/src/mistralai/client/models/jsonpatchpayloadresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1b39f46f529f from __future__ import annotations from .encodedpayloadoptions import EncodedPayloadOptions diff --git a/src/mistralai/client/models/jsonpatchpayloadvalueresponse.py b/src/mistralai/client/models/jsonpatchpayloadvalueresponse.py index d6ac1b6b0..b79af6c84 100644 --- a/src/mistralai/client/models/jsonpatchpayloadvalueresponse.py +++ b/src/mistralai/client/models/jsonpatchpayloadvalueresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6cf0e3599e2c from __future__ import annotations from .jsonpatch import JSONPatch, JSONPatchTypedDict diff --git a/src/mistralai/client/models/jsonpatchremove.py b/src/mistralai/client/models/jsonpatchremove.py index 5bcedf879..5e7533920 100644 --- a/src/mistralai/client/models/jsonpatchremove.py +++ b/src/mistralai/client/models/jsonpatchremove.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e472e5b752ec from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jsonpatchreplace.py b/src/mistralai/client/models/jsonpatchreplace.py index 3dd7aee65..f5d4a9428 100644 --- a/src/mistralai/client/models/jsonpatchreplace.py +++ b/src/mistralai/client/models/jsonpatchreplace.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 816f9df2f3c9 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/jsonpayloadresponse.py b/src/mistralai/client/models/jsonpayloadresponse.py index 9de73d2c5..579423caf 100644 --- a/src/mistralai/client/models/jsonpayloadresponse.py +++ b/src/mistralai/client/models/jsonpayloadresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ba3265f85453 from __future__ import annotations from .encodedpayloadoptions import EncodedPayloadOptions diff --git a/src/mistralai/client/models/jsonschema.py b/src/mistralai/client/models/jsonschema.py index bc0bd6c41..bcd535a2a 100644 --- a/src/mistralai/client/models/jsonschema.py +++ b/src/mistralai/client/models/jsonschema.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e1fc1d8a434a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/judge.py b/src/mistralai/client/models/judge.py index 036aabb71..234b4af19 100644 --- a/src/mistralai/client/models/judge.py +++ b/src/mistralai/client/models/judge.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d6adc687c2d9 from __future__ import annotations from .judgeclassificationoutput import ( diff --git a/src/mistralai/client/models/judge_conversation_v1_observability_judges_judge_id_live_judging_postop.py b/src/mistralai/client/models/judge_conversation_v1_observability_judges_judge_id_live_judging_postop.py index 4f211dd34..01ed30ad5 100644 --- a/src/mistralai/client/models/judge_conversation_v1_observability_judges_judge_id_live_judging_postop.py +++ b/src/mistralai/client/models/judge_conversation_v1_observability_judges_judge_id_live_judging_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a958f3e6b122 from __future__ import annotations from .judgeconversationrequest import ( diff --git a/src/mistralai/client/models/judge_dataset_record_v1_observability_dataset_records_dataset_record_id_live_judging_postop.py b/src/mistralai/client/models/judge_dataset_record_v1_observability_dataset_records_dataset_record_id_live_judging_postop.py index 4d54fa42a..c3bcc6170 100644 --- a/src/mistralai/client/models/judge_dataset_record_v1_observability_dataset_records_dataset_record_id_live_judging_postop.py +++ b/src/mistralai/client/models/judge_dataset_record_v1_observability_dataset_records_dataset_record_id_live_judging_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4749566fd16d from __future__ import annotations from .judgedatasetrecordrequest import ( diff --git a/src/mistralai/client/models/judgeclassificationoutput.py b/src/mistralai/client/models/judgeclassificationoutput.py index aa799682d..ffe91383a 100644 --- a/src/mistralai/client/models/judgeclassificationoutput.py +++ b/src/mistralai/client/models/judgeclassificationoutput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 683ae72d0efa from __future__ import annotations from .judgeclassificationoutputoption import ( diff --git a/src/mistralai/client/models/judgeclassificationoutputoption.py b/src/mistralai/client/models/judgeclassificationoutputoption.py index 64fad49fa..a197de76c 100644 --- a/src/mistralai/client/models/judgeclassificationoutputoption.py +++ b/src/mistralai/client/models/judgeclassificationoutputoption.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c238f17d786b from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/judgeconversationrequest.py b/src/mistralai/client/models/judgeconversationrequest.py index 2c93f7b7c..2966b1abd 100644 --- a/src/mistralai/client/models/judgeconversationrequest.py +++ b/src/mistralai/client/models/judgeconversationrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b8bfdade89a2 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/judgedatasetrecordrequest.py b/src/mistralai/client/models/judgedatasetrecordrequest.py index 11499067e..4d95c4d72 100644 --- a/src/mistralai/client/models/judgedatasetrecordrequest.py +++ b/src/mistralai/client/models/judgedatasetrecordrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9ad8915328dd from __future__ import annotations from .createjudgerequest import CreateJudgeRequest, CreateJudgeRequestTypedDict diff --git a/src/mistralai/client/models/judgedefinition.py b/src/mistralai/client/models/judgedefinition.py index 6d50baffb..586e4387d 100644 --- a/src/mistralai/client/models/judgedefinition.py +++ b/src/mistralai/client/models/judgedefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6f9c96450465 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/judgeoutput.py b/src/mistralai/client/models/judgeoutput.py index 2224a7970..3d54d5a2b 100644 --- a/src/mistralai/client/models/judgeoutput.py +++ b/src/mistralai/client/models/judgeoutput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8c8099403e62 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/judgeoutputtype.py b/src/mistralai/client/models/judgeoutputtype.py index 4fa99498f..d9b614c6a 100644 --- a/src/mistralai/client/models/judgeoutputtype.py +++ b/src/mistralai/client/models/judgeoutputtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3f07e1eb25f9 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/judgeregressionoutput.py b/src/mistralai/client/models/judgeregressionoutput.py index 9bb8f9c12..185fe36b8 100644 --- a/src/mistralai/client/models/judgeregressionoutput.py +++ b/src/mistralai/client/models/judgeregressionoutput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c61d451066dc from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/keywordarrayfielddefinition.py b/src/mistralai/client/models/keywordarrayfielddefinition.py index 305e50502..8fa5d91e8 100644 --- a/src/mistralai/client/models/keywordarrayfielddefinition.py +++ b/src/mistralai/client/models/keywordarrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c304e69e359c from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/keywordfielddefinition.py b/src/mistralai/client/models/keywordfielddefinition.py index 566167814..9c1a2b29c 100644 --- a/src/mistralai/client/models/keywordfielddefinition.py +++ b/src/mistralai/client/models/keywordfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ad53689434fb from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/keywordretriever.py b/src/mistralai/client/models/keywordretriever.py index c3e0c73b8..6b6711064 100644 --- a/src/mistralai/client/models/keywordretriever.py +++ b/src/mistralai/client/models/keywordretriever.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 350ec57ccfde from __future__ import annotations from .and_ import And, AndTypedDict @@ -42,7 +41,7 @@ class KeywordRetrieverTypedDict(TypedDict): - r"""Retrieve document chunks with similar keywrods to the given query.""" + r"""Retrieve document chunks with similar keywords to the given query.""" query: str top_k: NotRequired[int] @@ -52,7 +51,7 @@ class KeywordRetrieverTypedDict(TypedDict): class KeywordRetriever(BaseModel): - r"""Retrieve document chunks with similar keywrods to the given query.""" + r"""Retrieve document chunks with similar keywords to the given query.""" query: str diff --git a/src/mistralai/client/models/libraries_delete_v1op.py b/src/mistralai/client/models/libraries_delete_v1op.py index 893ab53b1..fa447de06 100644 --- a/src/mistralai/client/models/libraries_delete_v1op.py +++ b/src/mistralai/client/models/libraries_delete_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b2e8bbd19baa from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_delete_v1op.py b/src/mistralai/client/models/libraries_documents_delete_v1op.py index 0495832ef..bc5ec6e54 100644 --- a/src/mistralai/client/models/libraries_documents_delete_v1op.py +++ b/src/mistralai/client/models/libraries_documents_delete_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 81eb34382a3d from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_get_extracted_text_signed_url_v1op.py b/src/mistralai/client/models/libraries_documents_get_extracted_text_signed_url_v1op.py index 186baaed8..24ed897d3 100644 --- a/src/mistralai/client/models/libraries_documents_get_extracted_text_signed_url_v1op.py +++ b/src/mistralai/client/models/libraries_documents_get_extracted_text_signed_url_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a7417ebd6040 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_get_signed_url_v1op.py b/src/mistralai/client/models/libraries_documents_get_signed_url_v1op.py index ebcf85d77..350c8e739 100644 --- a/src/mistralai/client/models/libraries_documents_get_signed_url_v1op.py +++ b/src/mistralai/client/models/libraries_documents_get_signed_url_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d4b7b47913ba from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_get_status_v1op.py b/src/mistralai/client/models/libraries_documents_get_status_v1op.py index 1f4847874..92b077d3b 100644 --- a/src/mistralai/client/models/libraries_documents_get_status_v1op.py +++ b/src/mistralai/client/models/libraries_documents_get_status_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f314f73e909c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_get_text_content_v1op.py b/src/mistralai/client/models/libraries_documents_get_text_content_v1op.py index 3d2ad43d8..5276792b7 100644 --- a/src/mistralai/client/models/libraries_documents_get_text_content_v1op.py +++ b/src/mistralai/client/models/libraries_documents_get_text_content_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1ca4e0c41321 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/libraries_documents_get_v1op.py b/src/mistralai/client/models/libraries_documents_get_v1op.py index 857dfbe60..a67e687ea 100644 --- a/src/mistralai/client/models/libraries_documents_get_v1op.py +++ b/src/mistralai/client/models/libraries_documents_get_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 26ff35f0c69d from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_list_v1op.py b/src/mistralai/client/models/libraries_documents_list_v1op.py index 57e2736b9..60fc8c75d 100644 --- a/src/mistralai/client/models/libraries_documents_list_v1op.py +++ b/src/mistralai/client/models/libraries_documents_list_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 756f26de3cbe from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/libraries_documents_patch_v1op.py b/src/mistralai/client/models/libraries_documents_patch_v1op.py index 0ae4efaf7..a28a61649 100644 --- a/src/mistralai/client/models/libraries_documents_patch_v1op.py +++ b/src/mistralai/client/models/libraries_documents_patch_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 31b2201bbfe2 from __future__ import annotations from .updatedocumentrequest import UpdateDocumentRequest, UpdateDocumentRequestTypedDict diff --git a/src/mistralai/client/models/libraries_documents_reprocess_v1op.py b/src/mistralai/client/models/libraries_documents_reprocess_v1op.py index a2f9ba2a0..8aee75522 100644 --- a/src/mistralai/client/models/libraries_documents_reprocess_v1op.py +++ b/src/mistralai/client/models/libraries_documents_reprocess_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dbbeb02fc336 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_documents_update_v1op.py b/src/mistralai/client/models/libraries_documents_update_v1op.py index 7ad4231f7..4460a1ccf 100644 --- a/src/mistralai/client/models/libraries_documents_update_v1op.py +++ b/src/mistralai/client/models/libraries_documents_update_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 734ba6c19f5f from __future__ import annotations from .updatedocumentrequest import UpdateDocumentRequest, UpdateDocumentRequestTypedDict diff --git a/src/mistralai/client/models/libraries_documents_upload_v1op.py b/src/mistralai/client/models/libraries_documents_upload_v1op.py index 388633d1c..18a5b7802 100644 --- a/src/mistralai/client/models/libraries_documents_upload_v1op.py +++ b/src/mistralai/client/models/libraries_documents_upload_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 744466971862 from __future__ import annotations from .file import File, FileTypedDict diff --git a/src/mistralai/client/models/libraries_get_v1op.py b/src/mistralai/client/models/libraries_get_v1op.py index 7a51d6053..83ae377d2 100644 --- a/src/mistralai/client/models/libraries_get_v1op.py +++ b/src/mistralai/client/models/libraries_get_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d493f39e7ebb from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_list_v1op.py b/src/mistralai/client/models/libraries_list_v1op.py index 1d5a86cb9..851e326ff 100644 --- a/src/mistralai/client/models/libraries_list_v1op.py +++ b/src/mistralai/client/models/libraries_list_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2d9b1b4deeb0 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/libraries_patch_v1op.py b/src/mistralai/client/models/libraries_patch_v1op.py index 2fbaea675..23713b171 100644 --- a/src/mistralai/client/models/libraries_patch_v1op.py +++ b/src/mistralai/client/models/libraries_patch_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2b189be3c57a from __future__ import annotations from .updatelibraryrequest import UpdateLibraryRequest, UpdateLibraryRequestTypedDict diff --git a/src/mistralai/client/models/libraries_share_create_v1op.py b/src/mistralai/client/models/libraries_share_create_v1op.py index 9751045c0..bdbcbca9b 100644 --- a/src/mistralai/client/models/libraries_share_create_v1op.py +++ b/src/mistralai/client/models/libraries_share_create_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: feaacfd46dd3 from __future__ import annotations from .sharingrequest import SharingRequest, SharingRequestTypedDict diff --git a/src/mistralai/client/models/libraries_share_delete_v1op.py b/src/mistralai/client/models/libraries_share_delete_v1op.py index eca3f86a6..620527d50 100644 --- a/src/mistralai/client/models/libraries_share_delete_v1op.py +++ b/src/mistralai/client/models/libraries_share_delete_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7f3a679ca384 from __future__ import annotations from .sharingdelete import SharingDelete, SharingDeleteTypedDict diff --git a/src/mistralai/client/models/libraries_share_list_v1op.py b/src/mistralai/client/models/libraries_share_list_v1op.py index 895a25905..fd5d9d33c 100644 --- a/src/mistralai/client/models/libraries_share_list_v1op.py +++ b/src/mistralai/client/models/libraries_share_list_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8f0af379bf1c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/libraries_update_v1op.py b/src/mistralai/client/models/libraries_update_v1op.py index 54b0ab708..bc69710e5 100644 --- a/src/mistralai/client/models/libraries_update_v1op.py +++ b/src/mistralai/client/models/libraries_update_v1op.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 92c8d4132252 from __future__ import annotations from .updatelibraryrequest import UpdateLibraryRequest, UpdateLibraryRequestTypedDict diff --git a/src/mistralai/client/models/library.py b/src/mistralai/client/models/library.py index 4ec8604c5..ee64c7528 100644 --- a/src/mistralai/client/models/library.py +++ b/src/mistralai/client/models/library.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 028a34b08f9c from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/list_assignable_service_account_roles_v1_service_accounts_assignable_roles_getop.py b/src/mistralai/client/models/list_assignable_service_account_roles_v1_service_accounts_assignable_roles_getop.py index 0b0c7c958..71c9d24c8 100644 --- a/src/mistralai/client/models/list_assignable_service_account_roles_v1_service_accounts_assignable_roles_getop.py +++ b/src/mistralai/client/models/list_assignable_service_account_roles_v1_service_accounts_assignable_roles_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: db0879173604 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/list_deployment_workers_v1_workflows_deployments_name_workers_getop.py b/src/mistralai/client/models/list_deployment_workers_v1_workflows_deployments_name_workers_getop.py index 8e499fe8a..fe6cacacc 100644 --- a/src/mistralai/client/models/list_deployment_workers_v1_workflows_deployments_name_workers_getop.py +++ b/src/mistralai/client/models/list_deployment_workers_v1_workflows_deployments_name_workers_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6f9aeac1e00a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/list_deployments_v1_workflows_deployments_getop.py b/src/mistralai/client/models/list_deployments_v1_workflows_deployments_getop.py index e2dde7b44..68e4ea96b 100644 --- a/src/mistralai/client/models/list_deployments_v1_workflows_deployments_getop.py +++ b/src/mistralai/client/models/list_deployments_v1_workflows_deployments_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0c6586ffcab0 from __future__ import annotations from .locationtype import LocationType @@ -37,6 +36,8 @@ class ListDeploymentsV1WorkflowsDeploymentsGetRequestTypedDict(TypedDict): workflow_name: NotRequired[Nullable[str]] created_by: NotRequired[Nullable[str]] r"""Filter deployments by creator's user id""" + owner: NotRequired[Nullable[str]] + r"""Filter deployments by owner's user id""" location_types: NotRequired[Nullable[List[LocationType]]] r"""Filter deployments with at least one worker on any of these location types (OR)""" search: NotRequired[Nullable[str]] @@ -76,6 +77,12 @@ class ListDeploymentsV1WorkflowsDeploymentsGetRequest(BaseModel): ] = UNSET r"""Filter deployments by creator's user id""" + owner: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter deployments by owner's user id""" + location_types: Annotated[ OptionalNullable[List[LocationType]], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), @@ -126,6 +133,7 @@ def serialize_model(self, handler): "is_hardened", "workflow_name", "created_by", + "owner", "location_types", "search", "order_by", @@ -140,6 +148,7 @@ def serialize_model(self, handler): "is_hardened", "workflow_name", "created_by", + "owner", "location_types", "search", "order_by", diff --git a/src/mistralai/client/models/list_indexes_v1_rag_managed_indexes_getop.py b/src/mistralai/client/models/list_indexes_v1_rag_managed_indexes_getop.py index 2650ffe6e..56139419d 100644 --- a/src/mistralai/client/models/list_indexes_v1_rag_managed_indexes_getop.py +++ b/src/mistralai/client/models/list_indexes_v1_rag_managed_indexes_getop.py @@ -1,11 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0f9c1145d61c from __future__ import annotations from .listmanagedindexesresponse import ( ListManagedIndexesResponse, ListManagedIndexesResponseTypedDict, ) +from .managedindexstatus import ManagedIndexStatus from mistralai.client.types import ( BaseModel, Nullable, @@ -24,6 +24,12 @@ class ListIndexesV1RagManagedIndexesGetRequestTypedDict(TypedDict): r"""Maximum number of indexes to return""" page_token: NotRequired[Nullable[str]] r"""Cursor returned as next_page_token by the previous page""" + name: NotRequired[Nullable[str]] + r"""Case-insensitive substring to match against index names""" + status: NotRequired[Nullable[ManagedIndexStatus]] + r"""Status to match""" + creator_id: NotRequired[Nullable[str]] + r"""Creator ID to match""" class ListIndexesV1RagManagedIndexesGetRequest(BaseModel): @@ -39,10 +45,30 @@ class ListIndexesV1RagManagedIndexesGetRequest(BaseModel): ] = UNSET r"""Cursor returned as next_page_token by the previous page""" + name: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Case-insensitive substring to match against index names""" + + status: Annotated[ + OptionalNullable[ManagedIndexStatus], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Status to match""" + + creator_id: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Creator ID to match""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["page_size", "page_token"]) - nullable_fields = set(["page_token"]) + optional_fields = set( + ["page_size", "page_token", "name", "status", "creator_id"] + ) + nullable_fields = set(["page_token", "name", "status", "creator_id"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/list_models_v1_models_getop.py b/src/mistralai/client/models/list_models_v1_models_getop.py index 1a42d9b08..ed3eb2fc1 100644 --- a/src/mistralai/client/models/list_models_v1_models_getop.py +++ b/src/mistralai/client/models/list_models_v1_models_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1843a7aa68e5 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/list_pipeline_configs_v1_observability_pipeline_configs_getop.py b/src/mistralai/client/models/list_pipeline_configs_v1_observability_pipeline_configs_getop.py index 0cf3469b6..aa39fa9cb 100644 --- a/src/mistralai/client/models/list_pipeline_configs_v1_observability_pipeline_configs_getop.py +++ b/src/mistralai/client/models/list_pipeline_configs_v1_observability_pipeline_configs_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f53d231d04dc from __future__ import annotations from .pipelinekind import PipelineKind diff --git a/src/mistralai/client/models/list_pipelines_v1_observability_pipelines_getop.py b/src/mistralai/client/models/list_pipelines_v1_observability_pipelines_getop.py new file mode 100644 index 000000000..249ac6364 --- /dev/null +++ b/src/mistralai/client/models/list_pipelines_v1_observability_pipelines_getop.py @@ -0,0 +1,68 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from mistralai.client.utils import FieldMetadata, QueryParamMetadata +from pydantic import model_serializer +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class ListPipelinesV1ObservabilityPipelinesGetRequestTypedDict(TypedDict): + enabled: NotRequired[Nullable[bool]] + page_size: NotRequired[int] + page: NotRequired[int] + q: NotRequired[Nullable[str]] + + +class ListPipelinesV1ObservabilityPipelinesGetRequest(BaseModel): + enabled: Annotated[ + OptionalNullable[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + + page_size: Annotated[ + Optional[int], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = 50 + + page: Annotated[ + Optional[int], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = 1 + + q: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["enabled", "page_size", "page", "q"]) + nullable_fields = set(["enabled", "q"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/list_runs_v1_workflows_runs_getop.py b/src/mistralai/client/models/list_runs_v1_workflows_runs_getop.py index 48f50bd49..a46b9123e 100644 --- a/src/mistralai/client/models/list_runs_v1_workflows_runs_getop.py +++ b/src/mistralai/client/models/list_runs_v1_workflows_runs_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2f1b225158c3 from __future__ import annotations from .workflowexecutionlistresponse import ( @@ -83,7 +82,7 @@ class ListRunsV1WorkflowsRunsGetRequestTypedDict(TypedDict): next_page_token: NotRequired[Nullable[str]] r"""Token for the next page of results""" search_key: NotRequired[Nullable[List[str]]] - r"""Filter executions by search key as repeated 'key:value' entries. Each entry matches an exact key and a similar value; multiple entries are AND'd together (max 3).""" + r"""Filter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null.""" class ListRunsV1WorkflowsRunsGetRequest(BaseModel): @@ -187,7 +186,7 @@ class ListRunsV1WorkflowsRunsGetRequest(BaseModel): OptionalNullable[List[str]], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = UNSET - r"""Filter executions by search key as repeated 'key:value' entries. Each entry matches an exact key and a similar value; multiple entries are AND'd together (max 3).""" + r"""Filter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null.""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/mistralai/client/models/list_service_account_roles_v1_service_accounts_service_account_id_roles_getop.py b/src/mistralai/client/models/list_service_account_roles_v1_service_accounts_service_account_id_roles_getop.py index 156ca2575..3148f4c13 100644 --- a/src/mistralai/client/models/list_service_account_roles_v1_service_accounts_service_account_id_roles_getop.py +++ b/src/mistralai/client/models/list_service_account_roles_v1_service_accounts_service_account_id_roles_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 86d3fc22b3f1 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/list_service_accounts_v1_service_accounts_getop.py b/src/mistralai/client/models/list_service_accounts_v1_service_accounts_getop.py index 08443599a..db35a10e5 100644 --- a/src/mistralai/client/models/list_service_accounts_v1_service_accounts_getop.py +++ b/src/mistralai/client/models/list_service_accounts_v1_service_accounts_getop.py @@ -1,11 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 298f42dfbf34 from __future__ import annotations from .listserviceaccountsresponse import ( ListServiceAccountsResponse, ListServiceAccountsResponseTypedDict, ) +from .sortorder import SortOrder from mistralai.client.types import ( BaseModel, Nullable, @@ -24,6 +24,9 @@ class ListServiceAccountsV1ServiceAccountsGetRequestTypedDict(TypedDict): limit: int workspace_id: NotRequired[Nullable[str]] include_deleted: NotRequired[bool] + q: NotRequired[Nullable[str]] + order: NotRequired[SortOrder] + r"""Direction to sort a service-account listing by creation time.""" class ListServiceAccountsV1ServiceAccountsGetRequest(BaseModel): @@ -45,10 +48,21 @@ class ListServiceAccountsV1ServiceAccountsGetRequest(BaseModel): FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = False + q: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + + order: Annotated[ + Optional[SortOrder], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""Direction to sort a service-account listing by creation time.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["workspace_id", "include_deleted"]) - nullable_fields = set(["workspace_id"]) + optional_fields = set(["workspace_id", "include_deleted", "q", "order"]) + nullable_fields = set(["workspace_id", "q"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/list_voices_v1_audio_voices_getop.py b/src/mistralai/client/models/list_voices_v1_audio_voices_getop.py index 30161b334..b2b6fb338 100644 --- a/src/mistralai/client/models/list_voices_v1_audio_voices_getop.py +++ b/src/mistralai/client/models/list_voices_v1_audio_voices_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6b3ce5be1294 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/listassignableserviceaccountrolesresponse.py b/src/mistralai/client/models/listassignableserviceaccountrolesresponse.py index 80d9ff3f0..6f68411ea 100644 --- a/src/mistralai/client/models/listassignableserviceaccountrolesresponse.py +++ b/src/mistralai/client/models/listassignableserviceaccountrolesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f9e27c17e68f from __future__ import annotations from .assignableserviceaccountrole import ( diff --git a/src/mistralai/client/models/listbatchjobsresponse.py b/src/mistralai/client/models/listbatchjobsresponse.py index 77265322d..0c34c25bf 100644 --- a/src/mistralai/client/models/listbatchjobsresponse.py +++ b/src/mistralai/client/models/listbatchjobsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 99d94c86a871 from __future__ import annotations from .batchjob import BatchJob, BatchJobTypedDict diff --git a/src/mistralai/client/models/listdatasetimporttasksresponse.py b/src/mistralai/client/models/listdatasetimporttasksresponse.py index 15bea396f..5839e52b9 100644 --- a/src/mistralai/client/models/listdatasetimporttasksresponse.py +++ b/src/mistralai/client/models/listdatasetimporttasksresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f635c1a3d02b from __future__ import annotations from .paginatedresultdatasetimporttask import ( diff --git a/src/mistralai/client/models/listdatasetrecordsresponse.py b/src/mistralai/client/models/listdatasetrecordsresponse.py index 2341577a0..7abfa9ac8 100644 --- a/src/mistralai/client/models/listdatasetrecordsresponse.py +++ b/src/mistralai/client/models/listdatasetrecordsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 13b97e8095c4 from __future__ import annotations from .paginatedresultdatasetrecord import ( diff --git a/src/mistralai/client/models/listdatasetsresponse.py b/src/mistralai/client/models/listdatasetsresponse.py index a35e9a73e..cc5aeac7f 100644 --- a/src/mistralai/client/models/listdatasetsresponse.py +++ b/src/mistralai/client/models/listdatasetsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e18de4849423 from __future__ import annotations from .paginatedresultdatasetpreview import ( diff --git a/src/mistralai/client/models/listdocumentsresponse.py b/src/mistralai/client/models/listdocumentsresponse.py index c48b8c051..35daaf7cd 100644 --- a/src/mistralai/client/models/listdocumentsresponse.py +++ b/src/mistralai/client/models/listdocumentsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f593d8e66833 from __future__ import annotations from .document import Document, DocumentTypedDict diff --git a/src/mistralai/client/models/listfilesresponse.py b/src/mistralai/client/models/listfilesresponse.py index 37787dae3..ede90f5f9 100644 --- a/src/mistralai/client/models/listfilesresponse.py +++ b/src/mistralai/client/models/listfilesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 85d6d24c1a19 from __future__ import annotations from .fileschema import FileSchema, FileSchemaTypedDict diff --git a/src/mistralai/client/models/listjudgesresponse.py b/src/mistralai/client/models/listjudgesresponse.py index 0284cb993..5ecaea1ed 100644 --- a/src/mistralai/client/models/listjudgesresponse.py +++ b/src/mistralai/client/models/listjudgesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: db389a8abc34 from __future__ import annotations from .paginatedresultjudgepreview import ( diff --git a/src/mistralai/client/models/listlibrariesresponse.py b/src/mistralai/client/models/listlibrariesresponse.py index dc3b3afc2..6be6f94ba 100644 --- a/src/mistralai/client/models/listlibrariesresponse.py +++ b/src/mistralai/client/models/listlibrariesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: df556a618365 from __future__ import annotations from .library import Library, LibraryTypedDict @@ -20,7 +19,7 @@ class ListLibrariesResponseTypedDict(TypedDict): data: List[LibraryTypedDict] pagination: NotRequired[Nullable[PaginationInfoTypedDict]] - r"""Deprecated: offset pagination metadata. Only populated for callers using the deprecated `page` parameter; omitted when `page_token` is used. While RBAC filtering is being rolled out `total_items` is a rough estimate (candidate count before per-library checks). Use `next_page_token` instead — this field will be removed once offset paging is retired.""" + r"""Deprecated: offset pagination metadata. Only returned for requests using the deprecated `page` parameter; omitted when `page_token` is used. Use `next_page_token` instead — this field will be removed once offset paging is retired.""" next_page_token: NotRequired[Nullable[str]] r"""Opaque continuation token for the next page. Pass it back as `page_token` to fetch the next page. Null when there are no more results. Prefer this over the deprecated offset `page` parameter.""" @@ -34,7 +33,7 @@ class ListLibrariesResponse(BaseModel): deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." ), ] = UNSET - r"""Deprecated: offset pagination metadata. Only populated for callers using the deprecated `page` parameter; omitted when `page_token` is used. While RBAC filtering is being rolled out `total_items` is a rough estimate (candidate count before per-library checks). Use `next_page_token` instead — this field will be removed once offset paging is retired.""" + r"""Deprecated: offset pagination metadata. Only returned for requests using the deprecated `page` parameter; omitted when `page_token` is used. Use `next_page_token` instead — this field will be removed once offset paging is retired.""" next_page_token: OptionalNullable[str] = UNSET r"""Opaque continuation token for the next page. Pass it back as `page_token` to fetch the next page. Null when there are no more results. Prefer this over the deprecated offset `page` parameter.""" diff --git a/src/mistralai/client/models/listmanagedindexesresponse.py b/src/mistralai/client/models/listmanagedindexesresponse.py index 8b5a9348b..a6fd23da2 100644 --- a/src/mistralai/client/models/listmanagedindexesresponse.py +++ b/src/mistralai/client/models/listmanagedindexesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: aec7637c4652 from __future__ import annotations from .managedindexresponse import ManagedIndexResponse, ManagedIndexResponseTypedDict diff --git a/src/mistralai/client/models/listorganizationsresponse.py b/src/mistralai/client/models/listorganizationsresponse.py index 2c1f9682d..48d2be5fb 100644 --- a/src/mistralai/client/models/listorganizationsresponse.py +++ b/src/mistralai/client/models/listorganizationsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 026b2281e5a2 from __future__ import annotations from .userorganization import UserOrganization, UserOrganizationTypedDict diff --git a/src/mistralai/client/models/listpromptsresponse.py b/src/mistralai/client/models/listpromptsresponse.py index 702832f1a..5e02c0ff9 100644 --- a/src/mistralai/client/models/listpromptsresponse.py +++ b/src/mistralai/client/models/listpromptsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 45e30bdd1633 from __future__ import annotations from .prompt import Prompt, PromptTypedDict diff --git a/src/mistralai/client/models/listpromptversionsresponse.py b/src/mistralai/client/models/listpromptversionsresponse.py index 90e9aaf83..2483f8992 100644 --- a/src/mistralai/client/models/listpromptversionsresponse.py +++ b/src/mistralai/client/models/listpromptversionsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d5efd40c8c73 from __future__ import annotations from .promptversion import PromptVersion, PromptVersionTypedDict diff --git a/src/mistralai/client/models/listserviceaccountrolesresponse.py b/src/mistralai/client/models/listserviceaccountrolesresponse.py index 1686fbd68..a8d67dd03 100644 --- a/src/mistralai/client/models/listserviceaccountrolesresponse.py +++ b/src/mistralai/client/models/listserviceaccountrolesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6a5f297148cf from __future__ import annotations from .serviceaccountrole import ServiceAccountRole, ServiceAccountRoleTypedDict diff --git a/src/mistralai/client/models/listserviceaccountsresponse.py b/src/mistralai/client/models/listserviceaccountsresponse.py index 26477575f..887f0c529 100644 --- a/src/mistralai/client/models/listserviceaccountsresponse.py +++ b/src/mistralai/client/models/listserviceaccountsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 952ffea71fc7 from __future__ import annotations from .serviceaccount import ServiceAccount, ServiceAccountTypedDict diff --git a/src/mistralai/client/models/listsharingresponse.py b/src/mistralai/client/models/listsharingresponse.py index f3e6dc871..76f3e71eb 100644 --- a/src/mistralai/client/models/listsharingresponse.py +++ b/src/mistralai/client/models/listsharingresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 487c6addf089 from __future__ import annotations from .sharing import Sharing, SharingTypedDict diff --git a/src/mistralai/client/models/listskillsresponse.py b/src/mistralai/client/models/listskillsresponse.py index 90e2eefd6..66e77c3a1 100644 --- a/src/mistralai/client/models/listskillsresponse.py +++ b/src/mistralai/client/models/listskillsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8bb718493f49 from __future__ import annotations from .skill import Skill, SkillTypedDict diff --git a/src/mistralai/client/models/listskillversionsresponse.py b/src/mistralai/client/models/listskillversionsresponse.py index 8c501d40d..76224353d 100644 --- a/src/mistralai/client/models/listskillversionsresponse.py +++ b/src/mistralai/client/models/listskillversionsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7d5c6bc92aab from __future__ import annotations from .skillversion import SkillVersion, SkillVersionTypedDict diff --git a/src/mistralai/client/models/listsortdirection.py b/src/mistralai/client/models/listsortdirection.py index fd7e3e401..567b0d1db 100644 --- a/src/mistralai/client/models/listsortdirection.py +++ b/src/mistralai/client/models/listsortdirection.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d0c804031d6c from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/listsortfield.py b/src/mistralai/client/models/listsortfield.py index 9b3019b23..cf7738a4a 100644 --- a/src/mistralai/client/models/listsortfield.py +++ b/src/mistralai/client/models/listsortfield.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3c1f2de4fc89 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/listworkfloweventresponse.py b/src/mistralai/client/models/listworkfloweventresponse.py index be99ccea4..cb5d9b069 100644 --- a/src/mistralai/client/models/listworkfloweventresponse.py +++ b/src/mistralai/client/models/listworkfloweventresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 20a423148117 from __future__ import annotations from .activitytaskcompletedresponse import ( diff --git a/src/mistralai/client/models/listworkspacesresponse.py b/src/mistralai/client/models/listworkspacesresponse.py index 7ad776404..fcc7de9ad 100644 --- a/src/mistralai/client/models/listworkspacesresponse.py +++ b/src/mistralai/client/models/listworkspacesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6a78ac51c241 from __future__ import annotations from .userworkspace import UserWorkspace, UserWorkspaceTypedDict diff --git a/src/mistralai/client/models/locationtype.py b/src/mistralai/client/models/locationtype.py index dd66eb0ee..7ddfa09fc 100644 --- a/src/mistralai/client/models/locationtype.py +++ b/src/mistralai/client/models/locationtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 72a73946b20e from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/logicalexpression.py b/src/mistralai/client/models/logicalexpression.py index 1b87693c0..c92c62bac 100644 --- a/src/mistralai/client/models/logicalexpression.py +++ b/src/mistralai/client/models/logicalexpression.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48d46c10b453 from __future__ import annotations from .toolproperties import ToolProperties, ToolPropertiesTypedDict diff --git a/src/mistralai/client/models/logsrequest.py b/src/mistralai/client/models/logsrequest.py index e52d47129..f21fdd11c 100644 --- a/src/mistralai/client/models/logsrequest.py +++ b/src/mistralai/client/models/logsrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2972072d4ad2 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/longarrayfielddefinition.py b/src/mistralai/client/models/longarrayfielddefinition.py index a9cc96839..ab27d59d8 100644 --- a/src/mistralai/client/models/longarrayfielddefinition.py +++ b/src/mistralai/client/models/longarrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9a60cdbb9e71 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/longfielddefinition.py b/src/mistralai/client/models/longfielddefinition.py index 75a8b4015..3e9119c31 100644 --- a/src/mistralai/client/models/longfielddefinition.py +++ b/src/mistralai/client/models/longfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dbaa9195612b from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/manageddeploymentresponse.py b/src/mistralai/client/models/manageddeploymentresponse.py index 6f0536709..e4d2da4cc 100644 --- a/src/mistralai/client/models/manageddeploymentresponse.py +++ b/src/mistralai/client/models/manageddeploymentresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bc7d5ee5c606 from __future__ import annotations from .deploymentobservedstate import ( @@ -14,6 +13,7 @@ DeploymentWorkerSpecResponse, DeploymentWorkerSpecResponseTypedDict, ) +from .principaltype import PrincipalType from datetime import datetime from mistralai.client.types import ( BaseModel, @@ -42,6 +42,8 @@ class ManagedDeploymentResponseTypedDict(TypedDict): deployed_by: NotRequired[Nullable[str]] deployed_at: NotRequired[Nullable[datetime]] is_hardened: NotRequired[bool] + runtime_credential_id: NotRequired[Nullable[str]] + runtime_principal_type: NotRequired[Nullable[PrincipalType]] class ManagedDeploymentResponse(BaseModel): @@ -73,6 +75,10 @@ class ManagedDeploymentResponse(BaseModel): is_hardened: Optional[bool] = False + runtime_credential_id: OptionalNullable[str] = UNSET + + runtime_principal_type: OptionalNullable[PrincipalType] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -84,10 +90,20 @@ def serialize_model(self, handler): "deployed_by", "deployed_at", "is_hardened", + "runtime_credential_id", + "runtime_principal_type", ] ) nullable_fields = set( - ["rollout_status", "created_by", "updated_by", "deployed_by", "deployed_at"] + [ + "rollout_status", + "created_by", + "updated_by", + "deployed_by", + "deployed_at", + "runtime_credential_id", + "runtime_principal_type", + ] ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/managedindexconfig.py b/src/mistralai/client/models/managedindexconfig.py index c987efa0c..52eef7e6f 100644 --- a/src/mistralai/client/models/managedindexconfig.py +++ b/src/mistralai/client/models/managedindexconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9e9e16c89c27 from __future__ import annotations from .customembeddingmodel import CustomEmbeddingModel, CustomEmbeddingModelTypedDict diff --git a/src/mistralai/client/models/managedindexfields.py b/src/mistralai/client/models/managedindexfields.py index fe06f81f3..67896a934 100644 --- a/src/mistralai/client/models/managedindexfields.py +++ b/src/mistralai/client/models/managedindexfields.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1c789d1f932e from __future__ import annotations from .boolarrayfielddefinition import ( diff --git a/src/mistralai/client/models/managedindexresponse.py b/src/mistralai/client/models/managedindexresponse.py index 11c745f2b..9c184516f 100644 --- a/src/mistralai/client/models/managedindexresponse.py +++ b/src/mistralai/client/models/managedindexresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dbe9d8d63b41 from __future__ import annotations from .managedindexconfig import ManagedIndexConfig, ManagedIndexConfigTypedDict @@ -23,6 +22,7 @@ class ManagedIndexResponseTypedDict(TypedDict): id: str name: str + creator_id: str status: ManagedIndexStatus r"""Lifecycle of an index. Derived, not stored -- see ``managed_index_from_row``.""" schema_: ManagedIndexFieldsTypedDict @@ -39,6 +39,8 @@ class ManagedIndexResponse(BaseModel): name: str + creator_id: str + status: ManagedIndexStatus r"""Lifecycle of an index. Derived, not stored -- see ``managed_index_from_row``.""" diff --git a/src/mistralai/client/models/managedindexstatus.py b/src/mistralai/client/models/managedindexstatus.py index ea7378d64..436cb5728 100644 --- a/src/mistralai/client/models/managedindexstatus.py +++ b/src/mistralai/client/models/managedindexstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fea33d85d5a7 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/mcpconnector.py b/src/mistralai/client/models/mcpconnector.py index c007bbcc8..455baad7c 100644 --- a/src/mistralai/client/models/mcpconnector.py +++ b/src/mistralai/client/models/mcpconnector.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d0095b841444 from __future__ import annotations from .authenticationconfiguration import ( diff --git a/src/mistralai/client/models/mcpprompt.py b/src/mistralai/client/models/mcpprompt.py index fd5fb0d87..486ae318e 100644 --- a/src/mistralai/client/models/mcpprompt.py +++ b/src/mistralai/client/models/mcpprompt.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: eac4133413b2 from __future__ import annotations from .mcpservericon import MCPServerIcon, MCPServerIconTypedDict diff --git a/src/mistralai/client/models/mcpresource.py b/src/mistralai/client/models/mcpresource.py index 77df58571..1b1d15679 100644 --- a/src/mistralai/client/models/mcpresource.py +++ b/src/mistralai/client/models/mcpresource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4922063d1d29 from __future__ import annotations from .annotations import Annotations, AnnotationsTypedDict diff --git a/src/mistralai/client/models/mcpserverauthenticationrequirement.py b/src/mistralai/client/models/mcpserverauthenticationrequirement.py index 280315a71..a573fe51f 100644 --- a/src/mistralai/client/models/mcpserverauthenticationrequirement.py +++ b/src/mistralai/client/models/mcpserverauthenticationrequirement.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 688772457c1d from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/mcpservercard.py b/src/mistralai/client/models/mcpservercard.py index 9ff2309cd..db7a45e9d 100644 --- a/src/mistralai/client/models/mcpservercard.py +++ b/src/mistralai/client/models/mcpservercard.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3d8e787f97f3 from __future__ import annotations from .clientcapabilities import ClientCapabilities, ClientCapabilitiesTypedDict diff --git a/src/mistralai/client/models/mcpservercardmeta.py b/src/mistralai/client/models/mcpservercardmeta.py index daf592f9d..912eeea43 100644 --- a/src/mistralai/client/models/mcpservercardmeta.py +++ b/src/mistralai/client/models/mcpservercardmeta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0f095765c6aa from __future__ import annotations from .turbinemeta import TurbineMeta, TurbineMetaTypedDict diff --git a/src/mistralai/client/models/mcpservercardtool.py b/src/mistralai/client/models/mcpservercardtool.py index 44429c838..3751bbe91 100644 --- a/src/mistralai/client/models/mcpservercardtool.py +++ b/src/mistralai/client/models/mcpservercardtool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9e4300b5c045 from __future__ import annotations from .mcpservericon import MCPServerIcon, MCPServerIconTypedDict diff --git a/src/mistralai/client/models/mcpservericon.py b/src/mistralai/client/models/mcpservericon.py index 293ab3750..87198262c 100644 --- a/src/mistralai/client/models/mcpservericon.py +++ b/src/mistralai/client/models/mcpservericon.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a5b508a322d7 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/mcpserverremote.py b/src/mistralai/client/models/mcpserverremote.py index 9099207c8..8a5d548be 100644 --- a/src/mistralai/client/models/mcpserverremote.py +++ b/src/mistralai/client/models/mcpserverremote.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b20e4512dbe2 from __future__ import annotations from .mcpserverauthenticationrequirement import ( diff --git a/src/mistralai/client/models/mcpserverremoteheader.py b/src/mistralai/client/models/mcpserverremoteheader.py index efd1c1fd6..68022b8b6 100644 --- a/src/mistralai/client/models/mcpserverremoteheader.py +++ b/src/mistralai/client/models/mcpserverremoteheader.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: adaf8d89cbcb from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/mcpserverrepository.py b/src/mistralai/client/models/mcpserverrepository.py index eb564992d..440e01448 100644 --- a/src/mistralai/client/models/mcpserverrepository.py +++ b/src/mistralai/client/models/mcpserverrepository.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 431ce897e113 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/mcptool.py b/src/mistralai/client/models/mcptool.py index 908ff8ce2..ade245da5 100644 --- a/src/mistralai/client/models/mcptool.py +++ b/src/mistralai/client/models/mcptool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5a696c8478cb from __future__ import annotations from .mcpservericon import MCPServerIcon, MCPServerIconTypedDict diff --git a/src/mistralai/client/models/mcptoolmeta.py b/src/mistralai/client/models/mcptoolmeta.py index edbf39a9b..325f676bf 100644 --- a/src/mistralai/client/models/mcptoolmeta.py +++ b/src/mistralai/client/models/mcptoolmeta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 07cf1c0762c9 from __future__ import annotations from .mcpuitoolmeta import MCPUIToolMeta, MCPUIToolMetaTypedDict diff --git a/src/mistralai/client/models/mcpuitoolmeta.py b/src/mistralai/client/models/mcpuitoolmeta.py index 287192a67..b2581d53e 100644 --- a/src/mistralai/client/models/mcpuitoolmeta.py +++ b/src/mistralai/client/models/mcpuitoolmeta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7c54fb6157a9 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/messageentries.py b/src/mistralai/client/models/messageentries.py index a95098e01..9b1706dee 100644 --- a/src/mistralai/client/models/messageentries.py +++ b/src/mistralai/client/models/messageentries.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e13f9009902b from __future__ import annotations from .messageinputentry import MessageInputEntry, MessageInputEntryTypedDict diff --git a/src/mistralai/client/models/messageinputcontentchunks.py b/src/mistralai/client/models/messageinputcontentchunks.py index 63cf14e7f..e90d8aa03 100644 --- a/src/mistralai/client/models/messageinputcontentchunks.py +++ b/src/mistralai/client/models/messageinputcontentchunks.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 01025c12866a from __future__ import annotations from .documenturlchunk import DocumentURLChunk, DocumentURLChunkTypedDict diff --git a/src/mistralai/client/models/messageinputentry.py b/src/mistralai/client/models/messageinputentry.py index be271e317..fc8fe2d78 100644 --- a/src/mistralai/client/models/messageinputentry.py +++ b/src/mistralai/client/models/messageinputentry.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c0a4b5179095 from __future__ import annotations from .messageinputcontentchunks import ( diff --git a/src/mistralai/client/models/messageoutputcontentchunks.py b/src/mistralai/client/models/messageoutputcontentchunks.py index def7a4d27..136a7608e 100644 --- a/src/mistralai/client/models/messageoutputcontentchunks.py +++ b/src/mistralai/client/models/messageoutputcontentchunks.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2ed248515035 from __future__ import annotations from .documenturlchunk import DocumentURLChunk, DocumentURLChunkTypedDict diff --git a/src/mistralai/client/models/messageoutputentry.py b/src/mistralai/client/models/messageoutputentry.py index fd683ad31..3210d9ace 100644 --- a/src/mistralai/client/models/messageoutputentry.py +++ b/src/mistralai/client/models/messageoutputentry.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a07577d2268d from __future__ import annotations from .messageoutputcontentchunks import ( diff --git a/src/mistralai/client/models/messageoutputevent.py b/src/mistralai/client/models/messageoutputevent.py index 8f5ecd436..513809176 100644 --- a/src/mistralai/client/models/messageoutputevent.py +++ b/src/mistralai/client/models/messageoutputevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a2bbf63615c6 from __future__ import annotations from .outputcontentchunks import OutputContentChunks, OutputContentChunksTypedDict diff --git a/src/mistralai/client/models/messageresponse.py b/src/mistralai/client/models/messageresponse.py index c8fbdff77..42fb7b7fc 100644 --- a/src/mistralai/client/models/messageresponse.py +++ b/src/mistralai/client/models/messageresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6b388bc155dd from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/messagetokens.py b/src/mistralai/client/models/messagetokens.py index a3864640a..7326311b6 100644 --- a/src/mistralai/client/models/messagetokens.py +++ b/src/mistralai/client/models/messagetokens.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e2a5171d27c5 from __future__ import annotations from .roles import Roles diff --git a/src/mistralai/client/models/metricaggregation.py b/src/mistralai/client/models/metricaggregation.py index 7a26fbbdb..d23ae3482 100644 --- a/src/mistralai/client/models/metricaggregation.py +++ b/src/mistralai/client/models/metricaggregation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d83c8202faad from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/metricdefinition.py b/src/mistralai/client/models/metricdefinition.py index e6c950414..a10565d4f 100644 --- a/src/mistralai/client/models/metricdefinition.py +++ b/src/mistralai/client/models/metricdefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 37663cc0cc75 from __future__ import annotations from .metricaggregation import MetricAggregation diff --git a/src/mistralai/client/models/mistralembeddingmodel.py b/src/mistralai/client/models/mistralembeddingmodel.py index 24f7c6463..8a57f9e19 100644 --- a/src/mistralai/client/models/mistralembeddingmodel.py +++ b/src/mistralai/client/models/mistralembeddingmodel.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bac0b4caf749 from __future__ import annotations from .distancemetric import DistanceMetric diff --git a/src/mistralai/client/models/mistralpromptmode.py b/src/mistralai/client/models/mistralpromptmode.py index 9b91323e7..7008fc055 100644 --- a/src/mistralai/client/models/mistralpromptmode.py +++ b/src/mistralai/client/models/mistralpromptmode.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 95abc4ec799a from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/modelcapabilities.py b/src/mistralai/client/models/modelcapabilities.py index 04e58ad32..81ab0ed02 100644 --- a/src/mistralai/client/models/modelcapabilities.py +++ b/src/mistralai/client/models/modelcapabilities.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 64d8a422ea29 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/modelconversation.py b/src/mistralai/client/models/modelconversation.py index 72ca957f0..e878242c9 100644 --- a/src/mistralai/client/models/modelconversation.py +++ b/src/mistralai/client/models/modelconversation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fea0a651f888 from __future__ import annotations from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict diff --git a/src/mistralai/client/models/modellist.py b/src/mistralai/client/models/modellist.py index a60201001..d4236a3bd 100644 --- a/src/mistralai/client/models/modellist.py +++ b/src/mistralai/client/models/modellist.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 00693c7eec60 from __future__ import annotations from .basemodelcard import BaseModelCard, BaseModelCardTypedDict diff --git a/src/mistralai/client/models/moderationdefinition.py b/src/mistralai/client/models/moderationdefinition.py index c7499eff0..6267c98ab 100644 --- a/src/mistralai/client/models/moderationdefinition.py +++ b/src/mistralai/client/models/moderationdefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e6071054e8ec from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/moderationllmaction.py b/src/mistralai/client/models/moderationllmaction.py index a2553f304..01a6001d2 100644 --- a/src/mistralai/client/models/moderationllmaction.py +++ b/src/mistralai/client/models/moderationllmaction.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7b18ccbd8ca9 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/moderationllmv1categorythresholds.py b/src/mistralai/client/models/moderationllmv1categorythresholds.py index 9a947d111..d3f859d84 100644 --- a/src/mistralai/client/models/moderationllmv1categorythresholds.py +++ b/src/mistralai/client/models/moderationllmv1categorythresholds.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0c51d6766440 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/moderationllmv1config.py b/src/mistralai/client/models/moderationllmv1config.py index fe597a9b9..1b7efa8af 100644 --- a/src/mistralai/client/models/moderationllmv1config.py +++ b/src/mistralai/client/models/moderationllmv1config.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 483378b56394 from __future__ import annotations from .moderationllmaction import ModerationLLMAction diff --git a/src/mistralai/client/models/moderationllmv2categorythresholds.py b/src/mistralai/client/models/moderationllmv2categorythresholds.py index 2ca952c52..3244c9d95 100644 --- a/src/mistralai/client/models/moderationllmv2categorythresholds.py +++ b/src/mistralai/client/models/moderationllmv2categorythresholds.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4c2a8ff4d52b from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/moderationllmv2config.py b/src/mistralai/client/models/moderationllmv2config.py index 5cd8b7ca1..fa52d1187 100644 --- a/src/mistralai/client/models/moderationllmv2config.py +++ b/src/mistralai/client/models/moderationllmv2config.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bb511e7c628b from __future__ import annotations from .moderationllmaction import ModerationLLMAction diff --git a/src/mistralai/client/models/moderationobject.py b/src/mistralai/client/models/moderationobject.py index 66f6a84bf..82008982d 100644 --- a/src/mistralai/client/models/moderationobject.py +++ b/src/mistralai/client/models/moderationobject.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 132faad0549a from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/moderationresponse.py b/src/mistralai/client/models/moderationresponse.py index a8a8ec3d8..288c8d82d 100644 --- a/src/mistralai/client/models/moderationresponse.py +++ b/src/mistralai/client/models/moderationresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 06bab279cb31 from __future__ import annotations from .moderationobject import ModerationObject, ModerationObjectTypedDict diff --git a/src/mistralai/client/models/navigate_index_v1_rag_managed_indexes_index_name_navigate_postop.py b/src/mistralai/client/models/navigate_index_v1_rag_managed_indexes_index_name_navigate_postop.py new file mode 100644 index 000000000..8e3c13017 --- /dev/null +++ b/src/mistralai/client/models/navigate_index_v1_rag_managed_indexes_index_name_navigate_postop.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .navigaterequest import NavigateRequest, NavigateRequestTypedDict +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata, RequestMetadata +from typing_extensions import Annotated, TypedDict + + +class NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequestTypedDict(TypedDict): + index_name: str + navigate_request: NavigateRequestTypedDict + + +class NavigateIndexV1RagManagedIndexesIndexNameNavigatePostRequest(BaseModel): + index_name: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] + + navigate_request: Annotated[ + NavigateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] diff --git a/src/mistralai/client/models/navigaterequest.py b/src/mistralai/client/models/navigaterequest.py new file mode 100644 index 000000000..bcdd28480 --- /dev/null +++ b/src/mistralai/client/models/navigaterequest.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .navigationdirection import NavigationDirection +from mistralai.client.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class NavigateRequestTypedDict(TypedDict): + source_id: str + start_offset: int + end_offset: int + direction: NavigationDirection + top_k: NotRequired[int] + content_type: NotRequired[str] + + +class NavigateRequest(BaseModel): + source_id: str + + start_offset: int + + end_offset: int + + direction: NavigationDirection + + top_k: Optional[int] = 1 + + content_type: Optional[str] = "content" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["top_k", "content_type"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/mistralai/client/models/navigationchunkresponse.py b/src/mistralai/client/models/navigationchunkresponse.py new file mode 100644 index 000000000..b42d96b56 --- /dev/null +++ b/src/mistralai/client/models/navigationchunkresponse.py @@ -0,0 +1,91 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import ConfigDict, model_serializer +from typing import Any, Dict, Optional +from typing_extensions import NotRequired, TypedDict + + +class NavigationChunkResponseTypedDict(TypedDict): + r"""Wire chunk for navigation: same atom fields as search, no rank fields.""" + + id: str + source_id: str + locator: str + start_offset: Nullable[int] + end_offset: Nullable[int] + chunk_type: str + content: str + parent_ref: NotRequired[Nullable[str]] + metadata: NotRequired[Dict[str, Any]] + + +class NavigationChunkResponse(BaseModel): + r"""Wire chunk for navigation: same atom fields as search, no rank fields.""" + + model_config = ConfigDict( + populate_by_name=True, arbitrary_types_allowed=True, extra="allow" + ) + __pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False) + + id: str + + source_id: str + + locator: str + + start_offset: Nullable[int] + + end_offset: Nullable[int] + + chunk_type: str + + content: str + + parent_ref: OptionalNullable[str] = UNSET + + metadata: Optional[Dict[str, Any]] = None + + @property + def additional_properties(self): + return self.__pydantic_extra__ + + @additional_properties.setter + def additional_properties(self, value): + self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride] + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["parent_ref", "metadata"]) + nullable_fields = set(["start_offset", "end_offset", "parent_ref"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + serialized.pop(k, serialized.pop(n, None)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + for k, v in serialized.items(): + m[k] = v + + return m diff --git a/src/mistralai/client/models/navigationdirection.py b/src/mistralai/client/models/navigationdirection.py new file mode 100644 index 000000000..812f8f4f0 --- /dev/null +++ b/src/mistralai/client/models/navigationdirection.py @@ -0,0 +1,10 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +NavigationDirection = Literal[ + "next", + "previous", +] diff --git a/src/mistralai/client/models/navigationresponse.py b/src/mistralai/client/models/navigationresponse.py new file mode 100644 index 000000000..79e20a55f --- /dev/null +++ b/src/mistralai/client/models/navigationresponse.py @@ -0,0 +1,22 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .navigationchunkresponse import ( + NavigationChunkResponse, + NavigationChunkResponseTypedDict, +) +from mistralai.client.types import BaseModel +from typing import List +from typing_extensions import TypedDict + + +class NavigationResponseTypedDict(TypedDict): + r"""Unranked chunk list in reading order (ascending start_offset).""" + + chunks: List[NavigationChunkResponseTypedDict] + + +class NavigationResponse(BaseModel): + r"""Unranked chunk list in reading order (ascending start_offset).""" + + chunks: List[NavigationChunkResponse] diff --git a/src/mistralai/client/models/nearestneighbourretriever.py b/src/mistralai/client/models/nearestneighbourretriever.py index 7e3f41684..f0f93f65a 100644 --- a/src/mistralai/client/models/nearestneighbourretriever.py +++ b/src/mistralai/client/models/nearestneighbourretriever.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0eda9ae35fc4 from __future__ import annotations from .and_ import And, AndTypedDict @@ -50,6 +49,7 @@ class NearestNeighbourRetrieverTypedDict(TypedDict): query_embedding: NotRequired[Nullable[List[float]]] field: NotRequired[Nullable[str]] filter_: NotRequired[Nullable[NearestNeighbourRetrieverFilterTypedDict]] + max_candidates: NotRequired[Nullable[int]] class NearestNeighbourRetriever(BaseModel): @@ -76,10 +76,16 @@ class NearestNeighbourRetriever(BaseModel): pydantic.Field(alias="filter"), ] = UNSET + max_candidates: OptionalNullable[int] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["top_k", "query", "query_embedding", "field", "filter"]) - nullable_fields = set(["query", "query_embedding", "field", "filter"]) + optional_fields = set( + ["top_k", "query", "query_embedding", "field", "filter", "max_candidates"] + ) + nullable_fields = set( + ["query", "query_embedding", "field", "filter", "max_candidates"] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/networkencodedinput.py b/src/mistralai/client/models/networkencodedinput.py index 70d924143..6975f4a7e 100644 --- a/src/mistralai/client/models/networkencodedinput.py +++ b/src/mistralai/client/models/networkencodedinput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6dc5321dbe77 from __future__ import annotations from .encodedpayloadoptions import EncodedPayloadOptions diff --git a/src/mistralai/client/models/noneauthmethod.py b/src/mistralai/client/models/noneauthmethod.py index f54eb68b9..71e693b0f 100644 --- a/src/mistralai/client/models/noneauthmethod.py +++ b/src/mistralai/client/models/noneauthmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 778b07305fac from __future__ import annotations from .connectorauthenticationheader import ( diff --git a/src/mistralai/client/models/not_.py b/src/mistralai/client/models/not_.py index ccbc9909c..3b02ecbdd 100644 --- a/src/mistralai/client/models/not_.py +++ b/src/mistralai/client/models/not_.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 460e484fe1f6 from __future__ import annotations from .equal import Equal, EqualTypedDict diff --git a/src/mistralai/client/models/oauth2authmethod.py b/src/mistralai/client/models/oauth2authmethod.py index 72db24eba..72da2b89c 100644 --- a/src/mistralai/client/models/oauth2authmethod.py +++ b/src/mistralai/client/models/oauth2authmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 691c741af832 from __future__ import annotations from .oauth2authorizationcodeauthmethod import ( diff --git a/src/mistralai/client/models/oauth2authorizationcodeauthmethod.py b/src/mistralai/client/models/oauth2authorizationcodeauthmethod.py index 2145eb47a..9d21a9cee 100644 --- a/src/mistralai/client/models/oauth2authorizationcodeauthmethod.py +++ b/src/mistralai/client/models/oauth2authorizationcodeauthmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6025140afacd from __future__ import annotations from .authdata import AuthData, AuthDataTypedDict diff --git a/src/mistralai/client/models/oauth2clientcredentialsauthmethod.py b/src/mistralai/client/models/oauth2clientcredentialsauthmethod.py index 234430108..be97fa142 100644 --- a/src/mistralai/client/models/oauth2clientcredentialsauthmethod.py +++ b/src/mistralai/client/models/oauth2clientcredentialsauthmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1da3cadc812b from __future__ import annotations from .connectorauthenticationheader import ( diff --git a/src/mistralai/client/models/oauth2clientcredentialsinput.py b/src/mistralai/client/models/oauth2clientcredentialsinput.py index e41854b1a..da740a791 100644 --- a/src/mistralai/client/models/oauth2clientcredentialsinput.py +++ b/src/mistralai/client/models/oauth2clientcredentialsinput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f5b85707c55b from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/oauth2granttype.py b/src/mistralai/client/models/oauth2granttype.py index df6ee871e..e4aeb0a9f 100644 --- a/src/mistralai/client/models/oauth2granttype.py +++ b/src/mistralai/client/models/oauth2granttype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 920d382c238f from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/oauth2metadatasecrets.py b/src/mistralai/client/models/oauth2metadatasecrets.py index d624d9e22..b35f72024 100644 --- a/src/mistralai/client/models/oauth2metadatasecrets.py +++ b/src/mistralai/client/models/oauth2metadatasecrets.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 20d0c8c24a9d from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/oauth2tokenauth.py b/src/mistralai/client/models/oauth2tokenauth.py index 76ebfd0de..1e9186460 100644 --- a/src/mistralai/client/models/oauth2tokenauth.py +++ b/src/mistralai/client/models/oauth2tokenauth.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 167c3b8a104e from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/oauth2tokenendpointauthmethod.py b/src/mistralai/client/models/oauth2tokenendpointauthmethod.py index 97f50bcb3..9847d8830 100644 --- a/src/mistralai/client/models/oauth2tokenendpointauthmethod.py +++ b/src/mistralai/client/models/oauth2tokenendpointauthmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f19e23ce8b2d from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/oauthmetadatasource.py b/src/mistralai/client/models/oauthmetadatasource.py index 94bca3e2c..91c2360d5 100644 --- a/src/mistralai/client/models/oauthmetadatasource.py +++ b/src/mistralai/client/models/oauthmetadatasource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4eb609cdba91 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/observabilityerrorcode.py b/src/mistralai/client/models/observabilityerrorcode.py index f9ec4fd2b..14f1f52db 100644 --- a/src/mistralai/client/models/observabilityerrorcode.py +++ b/src/mistralai/client/models/observabilityerrorcode.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ae572b470a30 from __future__ import annotations from mistralai.client.types import UnrecognizedStr @@ -48,6 +47,8 @@ "PROJECT_NAME_ALREADY_EXISTS", "PIPELINE_CONFIG_NOT_FOUND", "PIPELINE_CONFIG_ALREADY_EXISTS", + "PIPELINE_NOT_FOUND", + "PIPELINE_ALREADY_EXISTS", "SCORER_NOT_FOUND", "SCORER_ALREADY_EXISTS", "SCORER_CONFIG_KIND_MISMATCH", diff --git a/src/mistralai/client/models/observabilityerrordetail.py b/src/mistralai/client/models/observabilityerrordetail.py index f1535352a..a0928c2c1 100644 --- a/src/mistralai/client/models/observabilityerrordetail.py +++ b/src/mistralai/client/models/observabilityerrordetail.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cb6e8a484a38 from __future__ import annotations from .observabilityerrorcode import ObservabilityErrorCode diff --git a/src/mistralai/client/models/ocrasidetextblock.py b/src/mistralai/client/models/ocrasidetextblock.py index fed38e0f9..90ba673d7 100644 --- a/src/mistralai/client/models/ocrasidetextblock.py +++ b/src/mistralai/client/models/ocrasidetextblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1960ecdcc21a from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrblockconfidencescores.py b/src/mistralai/client/models/ocrblockconfidencescores.py index 08a1fa03b..dc67cf4f2 100644 --- a/src/mistralai/client/models/ocrblockconfidencescores.py +++ b/src/mistralai/client/models/ocrblockconfidencescores.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 27e42b07192d from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/ocrcaptionblock.py b/src/mistralai/client/models/ocrcaptionblock.py index 80086d469..eca4938b2 100644 --- a/src/mistralai/client/models/ocrcaptionblock.py +++ b/src/mistralai/client/models/ocrcaptionblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 84933d3975dd from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrcodeblock.py b/src/mistralai/client/models/ocrcodeblock.py index 1425cc337..8a9e496df 100644 --- a/src/mistralai/client/models/ocrcodeblock.py +++ b/src/mistralai/client/models/ocrcodeblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bacdc04c0c8d from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrconfidencescore.py b/src/mistralai/client/models/ocrconfidencescore.py index 7fab8c9b5..279f31a78 100644 --- a/src/mistralai/client/models/ocrconfidencescore.py +++ b/src/mistralai/client/models/ocrconfidencescore.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 15b75862a7bd from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/ocrequationblock.py b/src/mistralai/client/models/ocrequationblock.py index 11f9356bc..3dcc528d5 100644 --- a/src/mistralai/client/models/ocrequationblock.py +++ b/src/mistralai/client/models/ocrequationblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e8856fb2a77f from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrfooterblock.py b/src/mistralai/client/models/ocrfooterblock.py index 8c8b0860d..7cd514410 100644 --- a/src/mistralai/client/models/ocrfooterblock.py +++ b/src/mistralai/client/models/ocrfooterblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9435c879d4c4 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrheaderblock.py b/src/mistralai/client/models/ocrheaderblock.py index 5a7ce42a4..0e99e6056 100644 --- a/src/mistralai/client/models/ocrheaderblock.py +++ b/src/mistralai/client/models/ocrheaderblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 86d4b90e4056 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrimageblock.py b/src/mistralai/client/models/ocrimageblock.py index b90cdbb7e..25d30146b 100644 --- a/src/mistralai/client/models/ocrimageblock.py +++ b/src/mistralai/client/models/ocrimageblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9700f3ab6b59 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrimageobject.py b/src/mistralai/client/models/ocrimageobject.py index 583cc38bf..54ba8e582 100644 --- a/src/mistralai/client/models/ocrimageobject.py +++ b/src/mistralai/client/models/ocrimageobject.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 685faeb41a80 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/ocrlistblock.py b/src/mistralai/client/models/ocrlistblock.py index 2d6cffcff..ad2e1bd52 100644 --- a/src/mistralai/client/models/ocrlistblock.py +++ b/src/mistralai/client/models/ocrlistblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 20bdae8ad688 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrpageconfidencescores.py b/src/mistralai/client/models/ocrpageconfidencescores.py index 74e3b3750..c5affa596 100644 --- a/src/mistralai/client/models/ocrpageconfidencescores.py +++ b/src/mistralai/client/models/ocrpageconfidencescores.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7e4a07e4bdfd from __future__ import annotations from .ocrconfidencescore import OCRConfidenceScore, OCRConfidenceScoreTypedDict diff --git a/src/mistralai/client/models/ocrpagedimensions.py b/src/mistralai/client/models/ocrpagedimensions.py index 847205c6c..f4fc11e09 100644 --- a/src/mistralai/client/models/ocrpagedimensions.py +++ b/src/mistralai/client/models/ocrpagedimensions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 02f763afbc9f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/ocrpageobject.py b/src/mistralai/client/models/ocrpageobject.py index 662326b0d..a69e21f4e 100644 --- a/src/mistralai/client/models/ocrpageobject.py +++ b/src/mistralai/client/models/ocrpageobject.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 07a099f89487 from __future__ import annotations from .ocrasidetextblock import OCRAsideTextBlock, OCRAsideTextBlockTypedDict diff --git a/src/mistralai/client/models/ocrreferencesblock.py b/src/mistralai/client/models/ocrreferencesblock.py index f59a6f871..782318a5f 100644 --- a/src/mistralai/client/models/ocrreferencesblock.py +++ b/src/mistralai/client/models/ocrreferencesblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 24b57f5f1f99 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrrequest.py b/src/mistralai/client/models/ocrrequest.py index 4a377f796..4697faf73 100644 --- a/src/mistralai/client/models/ocrrequest.py +++ b/src/mistralai/client/models/ocrrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 36f204c64074 from __future__ import annotations from .documenturlchunk import DocumentURLChunk, DocumentURLChunkTypedDict diff --git a/src/mistralai/client/models/ocrresponse.py b/src/mistralai/client/models/ocrresponse.py index ff4b96c30..86a930b25 100644 --- a/src/mistralai/client/models/ocrresponse.py +++ b/src/mistralai/client/models/ocrresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2fdfc881ca56 from __future__ import annotations from .ocrpageobject import OCRPageObject, OCRPageObjectTypedDict diff --git a/src/mistralai/client/models/ocrsignatureblock.py b/src/mistralai/client/models/ocrsignatureblock.py index af0695d50..4f6c9b990 100644 --- a/src/mistralai/client/models/ocrsignatureblock.py +++ b/src/mistralai/client/models/ocrsignatureblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2e2939942241 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrtableblock.py b/src/mistralai/client/models/ocrtableblock.py index 5831af82e..098b36106 100644 --- a/src/mistralai/client/models/ocrtableblock.py +++ b/src/mistralai/client/models/ocrtableblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dada7ebd13b0 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrtableobject.py b/src/mistralai/client/models/ocrtableobject.py index 1cb59527b..28ede149d 100644 --- a/src/mistralai/client/models/ocrtableobject.py +++ b/src/mistralai/client/models/ocrtableobject.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d74dd0d2ddac from __future__ import annotations from .ocrconfidencescore import OCRConfidenceScore, OCRConfidenceScoreTypedDict diff --git a/src/mistralai/client/models/ocrtextblock.py b/src/mistralai/client/models/ocrtextblock.py index e3381740e..fd39f4e78 100644 --- a/src/mistralai/client/models/ocrtextblock.py +++ b/src/mistralai/client/models/ocrtextblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d329f1be53f7 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrtitleblock.py b/src/mistralai/client/models/ocrtitleblock.py index bdb91c823..166ec660c 100644 --- a/src/mistralai/client/models/ocrtitleblock.py +++ b/src/mistralai/client/models/ocrtitleblock.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1a397a673c85 from __future__ import annotations from .ocrblockconfidencescores import ( diff --git a/src/mistralai/client/models/ocrusageinfo.py b/src/mistralai/client/models/ocrusageinfo.py index bfd748e00..880923b2c 100644 --- a/src/mistralai/client/models/ocrusageinfo.py +++ b/src/mistralai/client/models/ocrusageinfo.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 272b7e1785d5 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/or_.py b/src/mistralai/client/models/or_.py index 152a27e1a..98854a131 100644 --- a/src/mistralai/client/models/or_.py +++ b/src/mistralai/client/models/or_.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: faf1cc13bc60 from __future__ import annotations from .equal import Equal, EqualTypedDict diff --git a/src/mistralai/client/models/orderbyclause.py b/src/mistralai/client/models/orderbyclause.py index aa94f6ab6..3a1e3461c 100644 --- a/src/mistralai/client/models/orderbyclause.py +++ b/src/mistralai/client/models/orderbyclause.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c7a6d0430f04 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/otelfielddefinition.py b/src/mistralai/client/models/otelfielddefinition.py index f3062c0a8..d629a4fd3 100644 --- a/src/mistralai/client/models/otelfielddefinition.py +++ b/src/mistralai/client/models/otelfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4bf75d7f4f70 from __future__ import annotations from .metricaggregation import MetricAggregation @@ -69,6 +68,8 @@ class OtelFieldDefinitionTypedDict(TypedDict): supported_operators: List[SupportedOperator] supported_aggregations: List[MetricAggregation] group: NotRequired[Nullable[str]] + source_attribute_key: NotRequired[Nullable[str]] + r"""Raw OpenTelemetry attribute key this field is projected from, whether a span attribute (e.g. `gen_ai.request.model` for `request_model`) or a resource attribute (e.g. `service.name` for `service_name`). None when the field is a native OTLP field (like `span_name` or `trace_id`) or a nested attribute map (like `span_attributes`).""" class OtelFieldDefinition(BaseModel): @@ -84,10 +85,13 @@ class OtelFieldDefinition(BaseModel): group: OptionalNullable[str] = UNSET + source_attribute_key: OptionalNullable[str] = UNSET + r"""Raw OpenTelemetry attribute key this field is projected from, whether a span attribute (e.g. `gen_ai.request.model` for `request_model`) or a resource attribute (e.g. `service.name` for `service_name`). None when the field is a native OTLP field (like `span_name` or `trace_id`) or a nested attribute map (like `span_attributes`).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["group"]) - nullable_fields = set(["group"]) + optional_fields = set(["group", "source_attribute_key"]) + nullable_fields = set(["group", "source_attribute_key"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/otlpdestination.py b/src/mistralai/client/models/otlpdestination.py index f1c331fec..d698537a2 100644 --- a/src/mistralai/client/models/otlpdestination.py +++ b/src/mistralai/client/models/otlpdestination.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e20b168770d8 from __future__ import annotations from .pipelineconfigheader import PipelineConfigHeader, PipelineConfigHeaderTypedDict diff --git a/src/mistralai/client/models/outboundauthenticationtype.py b/src/mistralai/client/models/outboundauthenticationtype.py index 0175ebbb0..49a259dca 100644 --- a/src/mistralai/client/models/outboundauthenticationtype.py +++ b/src/mistralai/client/models/outboundauthenticationtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 705e7172ba40 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/outputcontentchunks.py b/src/mistralai/client/models/outputcontentchunks.py index 1a115fe8b..ad0c087e0 100644 --- a/src/mistralai/client/models/outputcontentchunks.py +++ b/src/mistralai/client/models/outputcontentchunks.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9ad9741f4975 from __future__ import annotations from .documenturlchunk import DocumentURLChunk, DocumentURLChunkTypedDict diff --git a/src/mistralai/client/models/paginatedconnectors.py b/src/mistralai/client/models/paginatedconnectors.py index 291da1115..3cb87b3d4 100644 --- a/src/mistralai/client/models/paginatedconnectors.py +++ b/src/mistralai/client/models/paginatedconnectors.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 17e125b1022c from __future__ import annotations from .connector import Connector, ConnectorTypedDict diff --git a/src/mistralai/client/models/paginatedresultdatasetimporttask.py b/src/mistralai/client/models/paginatedresultdatasetimporttask.py index 4b9f48817..3082abc1a 100644 --- a/src/mistralai/client/models/paginatedresultdatasetimporttask.py +++ b/src/mistralai/client/models/paginatedresultdatasetimporttask.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8fd0a8bad4e7 from __future__ import annotations from .datasetimporttask import DatasetImportTask, DatasetImportTaskTypedDict diff --git a/src/mistralai/client/models/paginatedresultdatasetpreview.py b/src/mistralai/client/models/paginatedresultdatasetpreview.py index 81746f355..245a3d518 100644 --- a/src/mistralai/client/models/paginatedresultdatasetpreview.py +++ b/src/mistralai/client/models/paginatedresultdatasetpreview.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bf20489474ce from __future__ import annotations from .datasetpreview import DatasetPreview, DatasetPreviewTypedDict diff --git a/src/mistralai/client/models/paginatedresultdatasetrecord.py b/src/mistralai/client/models/paginatedresultdatasetrecord.py index d9aa8c8e8..4c736386c 100644 --- a/src/mistralai/client/models/paginatedresultdatasetrecord.py +++ b/src/mistralai/client/models/paginatedresultdatasetrecord.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2556a91b48c4 from __future__ import annotations from .datasetrecord import DatasetRecord, DatasetRecordTypedDict diff --git a/src/mistralai/client/models/paginatedresultjudgepreview.py b/src/mistralai/client/models/paginatedresultjudgepreview.py index c61382f99..bb26784a5 100644 --- a/src/mistralai/client/models/paginatedresultjudgepreview.py +++ b/src/mistralai/client/models/paginatedresultjudgepreview.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4d5aab2705a0 from __future__ import annotations from .judge import Judge, JudgeTypedDict diff --git a/src/mistralai/client/models/paginatedresultpipeline.py b/src/mistralai/client/models/paginatedresultpipeline.py new file mode 100644 index 000000000..7d9da80b5 --- /dev/null +++ b/src/mistralai/client/models/paginatedresultpipeline.py @@ -0,0 +1,56 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .pipeline import Pipeline, PipelineTypedDict +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class PaginatedResultPipelineTypedDict(TypedDict): + count: int + results: NotRequired[List[PipelineTypedDict]] + next: NotRequired[Nullable[str]] + previous: NotRequired[Nullable[str]] + + +class PaginatedResultPipeline(BaseModel): + count: int + + results: Optional[List[Pipeline]] = None + + next: OptionalNullable[str] = UNSET + + previous: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["results", "next", "previous"]) + nullable_fields = set(["next", "previous"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/paginatedresultpipelineconfig.py b/src/mistralai/client/models/paginatedresultpipelineconfig.py index 20e4fef17..dd8ce5f30 100644 --- a/src/mistralai/client/models/paginatedresultpipelineconfig.py +++ b/src/mistralai/client/models/paginatedresultpipelineconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c7c960621a80 from __future__ import annotations from .pipelineconfig import PipelineConfig, PipelineConfigTypedDict diff --git a/src/mistralai/client/models/paginationinfo.py b/src/mistralai/client/models/paginationinfo.py index 2b9dab625..0252f4482 100644 --- a/src/mistralai/client/models/paginationinfo.py +++ b/src/mistralai/client/models/paginationinfo.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48851e82d67e from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/paginationresponse.py b/src/mistralai/client/models/paginationresponse.py index a60640aae..0c7fcffaa 100644 --- a/src/mistralai/client/models/paginationresponse.py +++ b/src/mistralai/client/models/paginationresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d64678967bf0 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/partialscheduledefinition.py b/src/mistralai/client/models/partialscheduledefinition.py index 1120dd141..fa9d104f1 100644 --- a/src/mistralai/client/models/partialscheduledefinition.py +++ b/src/mistralai/client/models/partialscheduledefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ce1ded792ff5 from __future__ import annotations from .schedulecalendar import ScheduleCalendar, ScheduleCalendarTypedDict diff --git a/src/mistralai/client/models/pause_schedule_v1_workflows_schedules_schedule_id_pause_postop.py b/src/mistralai/client/models/pause_schedule_v1_workflows_schedules_schedule_id_pause_postop.py index 2a53eaecc..48cf0e249 100644 --- a/src/mistralai/client/models/pause_schedule_v1_workflows_schedules_schedule_id_pause_postop.py +++ b/src/mistralai/client/models/pause_schedule_v1_workflows_schedules_schedule_id_pause_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 53799174e259 from __future__ import annotations from .workflowschedulepauserequest import ( diff --git a/src/mistralai/client/models/pipeline.py b/src/mistralai/client/models/pipeline.py new file mode 100644 index 000000000..11cb857d3 --- /dev/null +++ b/src/mistralai/client/models/pipeline.py @@ -0,0 +1,69 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .pipelineconfig import PipelineConfig, PipelineConfigTypedDict +from .pipelineconfigselector import ( + PipelineConfigSelector, + PipelineConfigSelectorTypedDict, +) +from datetime import datetime +from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from pydantic import model_serializer +from typing import List +from typing_extensions import TypedDict + + +class PipelineTypedDict(TypedDict): + r"""Pipeline response schema. Pipelines are hard-deleted — no deleted_at field.""" + + id: str + created_at: datetime + updated_at: datetime + workspace_id: str + name: str + slug: str + description: Nullable[str] + selectors: List[PipelineConfigSelectorTypedDict] + enabled: bool + creator_id: Nullable[str] + pipeline_configs: List[PipelineConfigTypedDict] + + +class Pipeline(BaseModel): + r"""Pipeline response schema. Pipelines are hard-deleted — no deleted_at field.""" + + id: str + + created_at: datetime + + updated_at: datetime + + workspace_id: str + + name: str + + slug: str + + description: Nullable[str] + + selectors: List[PipelineConfigSelector] + + enabled: bool + + creator_id: Nullable[str] + + pipeline_configs: List[PipelineConfig] + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + m[k] = val + + return m diff --git a/src/mistralai/client/models/pipelineconfig.py b/src/mistralai/client/models/pipelineconfig.py index de82e45a1..621f0b814 100644 --- a/src/mistralai/client/models/pipelineconfig.py +++ b/src/mistralai/client/models/pipelineconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e916ec5e788e from __future__ import annotations from .pipelineconfigdefinition import ( @@ -21,7 +20,7 @@ UNSET_SENTINEL, ) from pydantic import model_serializer -from typing import List +from typing import List, Optional from typing_extensions import NotRequired, TypedDict @@ -36,8 +35,9 @@ class PipelineConfigTypedDict(TypedDict): pipeline_kind: PipelineKind selectors: List[PipelineConfigSelectorTypedDict] enabled: bool - definitions: List[PipelineConfigDefinitionTypedDict] + definition: PipelineConfigDefinitionTypedDict description: NotRequired[Nullable[str]] + definitions: NotRequired[List[PipelineConfigDefinitionTypedDict]] class PipelineConfig(BaseModel): @@ -61,13 +61,15 @@ class PipelineConfig(BaseModel): enabled: bool - definitions: List[PipelineConfigDefinition] + definition: PipelineConfigDefinition description: OptionalNullable[str] = UNSET + definitions: Optional[List[PipelineConfigDefinition]] = None + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["description"]) + optional_fields = set(["description", "definitions"]) nullable_fields = set(["deleted_at", "description"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/pipelineconfigdefinition.py b/src/mistralai/client/models/pipelineconfigdefinition.py index 6d4ce08fb..beea83cf9 100644 --- a/src/mistralai/client/models/pipelineconfigdefinition.py +++ b/src/mistralai/client/models/pipelineconfigdefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3d1ca715aa2e from __future__ import annotations from .detectiondefinition import DetectionDefinition, DetectionDefinitionTypedDict diff --git a/src/mistralai/client/models/pipelineconfigheader.py b/src/mistralai/client/models/pipelineconfigheader.py index 0ff859a4a..94fca51bb 100644 --- a/src/mistralai/client/models/pipelineconfigheader.py +++ b/src/mistralai/client/models/pipelineconfigheader.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 41e7c8bb476a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/pipelineconfigscope.py b/src/mistralai/client/models/pipelineconfigscope.py index b670f6aec..a09b5a0c5 100644 --- a/src/mistralai/client/models/pipelineconfigscope.py +++ b/src/mistralai/client/models/pipelineconfigscope.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6bcce0eab743 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/pipelineconfigselector.py b/src/mistralai/client/models/pipelineconfigselector.py index a9904826e..e3c3f4ae3 100644 --- a/src/mistralai/client/models/pipelineconfigselector.py +++ b/src/mistralai/client/models/pipelineconfigselector.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8b7482b277e3 from __future__ import annotations from .sourcekind import SourceKind diff --git a/src/mistralai/client/models/pipelineconfigsresponse.py b/src/mistralai/client/models/pipelineconfigsresponse.py index cd9eeb989..0bf379456 100644 --- a/src/mistralai/client/models/pipelineconfigsresponse.py +++ b/src/mistralai/client/models/pipelineconfigsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7dd919c6163e from __future__ import annotations from .paginatedresultpipelineconfig import ( diff --git a/src/mistralai/client/models/pipelinekind.py b/src/mistralai/client/models/pipelinekind.py index 07c529523..0a514eb98 100644 --- a/src/mistralai/client/models/pipelinekind.py +++ b/src/mistralai/client/models/pipelinekind.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 292c0b162d85 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/pipelinesresponse.py b/src/mistralai/client/models/pipelinesresponse.py new file mode 100644 index 000000000..40ec3dc12 --- /dev/null +++ b/src/mistralai/client/models/pipelinesresponse.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .paginatedresultpipeline import ( + PaginatedResultPipeline, + PaginatedResultPipelineTypedDict, +) +from mistralai.client.types import BaseModel +from typing_extensions import TypedDict + + +class PipelinesResponseTypedDict(TypedDict): + pipelines: PaginatedResultPipelineTypedDict + + +class PipelinesResponse(BaseModel): + pipelines: PaginatedResultPipeline diff --git a/src/mistralai/client/models/post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop.py b/src/mistralai/client/models/post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop.py index aac48bd62..e962f7122 100644 --- a/src/mistralai/client/models/post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop.py +++ b/src/mistralai/client/models/post_dataset_records_from_dataset_v1_observability_datasets_dataset_id_imports_from_dataset_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d396e018c804 from __future__ import annotations from .importdatasetfromdatasetrequest import ( diff --git a/src/mistralai/client/models/post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop.py b/src/mistralai/client/models/post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop.py index 17f90d486..bce82dfbc 100644 --- a/src/mistralai/client/models/post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop.py +++ b/src/mistralai/client/models/post_dataset_records_from_file_v1_observability_datasets_dataset_id_imports_from_file_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6e93e5363630 from __future__ import annotations from .importdatasetfromfilerequest import ( diff --git a/src/mistralai/client/models/post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop.py b/src/mistralai/client/models/post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop.py index 7423375af..44961ec8b 100644 --- a/src/mistralai/client/models/post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop.py +++ b/src/mistralai/client/models/post_dataset_records_from_playground_v1_observability_datasets_dataset_id_imports_from_playground_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 09334d96c26d from __future__ import annotations from .importdatasetfromplaygroundrequest import ( diff --git a/src/mistralai/client/models/post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop.py b/src/mistralai/client/models/post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop.py new file mode 100644 index 000000000..d95c6c30b --- /dev/null +++ b/src/mistralai/client/models/post_dataset_records_from_spans_v1_observability_datasets_dataset_id_imports_from_spans_postop.py @@ -0,0 +1,30 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .importdatasetfromspansrequest import ( + ImportDatasetFromSpansRequest, + ImportDatasetFromSpansRequestTypedDict, +) +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata, RequestMetadata +from typing_extensions import Annotated, TypedDict + + +class PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequestTypedDict( + TypedDict +): + dataset_id: str + import_dataset_from_spans_request: ImportDatasetFromSpansRequestTypedDict + + +class PostDatasetRecordsFromSpansV1ObservabilityDatasetsDatasetIDImportsFromSpansPostRequest( + BaseModel +): + dataset_id: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] + + import_dataset_from_spans_request: Annotated[ + ImportDatasetFromSpansRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] diff --git a/src/mistralai/client/models/prediction.py b/src/mistralai/client/models/prediction.py index 614f48117..f73b9a7c1 100644 --- a/src/mistralai/client/models/prediction.py +++ b/src/mistralai/client/models/prediction.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1cc842a069a5 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/principaltype.py b/src/mistralai/client/models/principaltype.py new file mode 100644 index 000000000..de5e17c69 --- /dev/null +++ b/src/mistralai/client/models/principaltype.py @@ -0,0 +1,15 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import UnrecognizedStr +from typing import Literal, Union + + +PrincipalType = Union[ + Literal[ + "api_key", + "service_account", + "user", + ], + UnrecognizedStr, +] diff --git a/src/mistralai/client/models/processingstatus.py b/src/mistralai/client/models/processingstatus.py index 73308b465..b0faf22ef 100644 --- a/src/mistralai/client/models/processingstatus.py +++ b/src/mistralai/client/models/processingstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 28146eaecfcf from __future__ import annotations from .processstatus import ProcessStatus diff --git a/src/mistralai/client/models/processstatus.py b/src/mistralai/client/models/processstatus.py index 15bdce205..b54291a16 100644 --- a/src/mistralai/client/models/processstatus.py +++ b/src/mistralai/client/models/processstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0205512146e6 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/prompt.py b/src/mistralai/client/models/prompt.py index 3679093e2..41605eda2 100644 --- a/src/mistralai/client/models/prompt.py +++ b/src/mistralai/client/models/prompt.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 488f0cfc226c from __future__ import annotations from .promptdefinition import PromptDefinition, PromptDefinitionTypedDict diff --git a/src/mistralai/client/models/promptargument.py b/src/mistralai/client/models/promptargument.py index 1f73b59f3..4e321254d 100644 --- a/src/mistralai/client/models/promptargument.py +++ b/src/mistralai/client/models/promptargument.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 52e5c885f761 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/promptdefinition.py b/src/mistralai/client/models/promptdefinition.py index 4ea1cebbe..92d1681fe 100644 --- a/src/mistralai/client/models/promptdefinition.py +++ b/src/mistralai/client/models/promptdefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 17bc48088cdf from __future__ import annotations from .promptvariable import PromptVariable, PromptVariableTypedDict diff --git a/src/mistralai/client/models/prompts_create_versionop.py b/src/mistralai/client/models/prompts_create_versionop.py index e27f4eb37..3fa9fbfb0 100644 --- a/src/mistralai/client/models/prompts_create_versionop.py +++ b/src/mistralai/client/models/prompts_create_versionop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ed1ab96e4d47 from __future__ import annotations from .promptdefinition import PromptDefinition, PromptDefinitionTypedDict diff --git a/src/mistralai/client/models/prompts_deleteop.py b/src/mistralai/client/models/prompts_deleteop.py index effbe5d64..1f0b54fb4 100644 --- a/src/mistralai/client/models/prompts_deleteop.py +++ b/src/mistralai/client/models/prompts_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 818345e7f5f0 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/prompts_get_versionop.py b/src/mistralai/client/models/prompts_get_versionop.py index 2df2773e3..edb8b91fd 100644 --- a/src/mistralai/client/models/prompts_get_versionop.py +++ b/src/mistralai/client/models/prompts_get_versionop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d5f2a0403cdd from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/prompts_getop.py b/src/mistralai/client/models/prompts_getop.py index 1fcefc542..3e6654ec9 100644 --- a/src/mistralai/client/models/prompts_getop.py +++ b/src/mistralai/client/models/prompts_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3a39540b6332 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/prompts_list_versionsop.py b/src/mistralai/client/models/prompts_list_versionsop.py index b09b7d175..33b322221 100644 --- a/src/mistralai/client/models/prompts_list_versionsop.py +++ b/src/mistralai/client/models/prompts_list_versionsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 245ce159d0b5 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/prompts_listop.py b/src/mistralai/client/models/prompts_listop.py index 2abd2daf1..38b026d2b 100644 --- a/src/mistralai/client/models/prompts_listop.py +++ b/src/mistralai/client/models/prompts_listop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48f5a4a8009b from __future__ import annotations from .listpromptsresponse import ListPromptsResponse, ListPromptsResponseTypedDict diff --git a/src/mistralai/client/models/prompts_update_version_metadataop.py b/src/mistralai/client/models/prompts_update_version_metadataop.py index 0e7861fdc..09bbe57fc 100644 --- a/src/mistralai/client/models/prompts_update_version_metadataop.py +++ b/src/mistralai/client/models/prompts_update_version_metadataop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ca583af2c2fc from __future__ import annotations from .aliaslist import AliasList, AliasListTypedDict diff --git a/src/mistralai/client/models/prompts_updateop.py b/src/mistralai/client/models/prompts_updateop.py index dc0792b80..d49908c82 100644 --- a/src/mistralai/client/models/prompts_updateop.py +++ b/src/mistralai/client/models/prompts_updateop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 45d598d57587 from __future__ import annotations from .registrysharingscope import RegistrySharingScope diff --git a/src/mistralai/client/models/promptscapability.py b/src/mistralai/client/models/promptscapability.py index f4ddf63ed..2efb5b2db 100644 --- a/src/mistralai/client/models/promptscapability.py +++ b/src/mistralai/client/models/promptscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 15c552f53adf from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/prompttokensdetails.py b/src/mistralai/client/models/prompttokensdetails.py index fe158c372..d9204fcdc 100644 --- a/src/mistralai/client/models/prompttokensdetails.py +++ b/src/mistralai/client/models/prompttokensdetails.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e6be33f2cd2d from __future__ import annotations from .messagetokens import MessageTokens, MessageTokensTypedDict diff --git a/src/mistralai/client/models/promptvariable.py b/src/mistralai/client/models/promptvariable.py index ea5afa23d..876161c37 100644 --- a/src/mistralai/client/models/promptvariable.py +++ b/src/mistralai/client/models/promptvariable.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c86c2b89e3ce from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/promptversion.py b/src/mistralai/client/models/promptversion.py index 2591f8862..351b143bd 100644 --- a/src/mistralai/client/models/promptversion.py +++ b/src/mistralai/client/models/promptversion.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b26cebd4ea99 from __future__ import annotations from .promptdefinition import PromptDefinition, PromptDefinitionTypedDict diff --git a/src/mistralai/client/models/publicauthenticationmethod.py b/src/mistralai/client/models/publicauthenticationmethod.py index 7868f4efc..6fbde91f8 100644 --- a/src/mistralai/client/models/publicauthenticationmethod.py +++ b/src/mistralai/client/models/publicauthenticationmethod.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 545ab7f24523 from __future__ import annotations from .connectorauthenticationheader import ( diff --git a/src/mistralai/client/models/publicconnectionconfig.py b/src/mistralai/client/models/publicconnectionconfig.py index 94fd67083..33b9528c4 100644 --- a/src/mistralai/client/models/publicconnectionconfig.py +++ b/src/mistralai/client/models/publicconnectionconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 03c2460e04ac from __future__ import annotations from .connectionconfigtype import ConnectionConfigType diff --git a/src/mistralai/client/models/publicconnectorexecutiondata.py b/src/mistralai/client/models/publicconnectorexecutiondata.py index 9e6bbd582..537de2c22 100644 --- a/src/mistralai/client/models/publicconnectorexecutiondata.py +++ b/src/mistralai/client/models/publicconnectorexecutiondata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 60d7f9e91ee6 from __future__ import annotations from .executiontool import ExecutionTool, ExecutionToolTypedDict diff --git a/src/mistralai/client/models/publicexecutionconnectionconfig.py b/src/mistralai/client/models/publicexecutionconnectionconfig.py index c6a4cd145..30b18d34c 100644 --- a/src/mistralai/client/models/publicexecutionconnectionconfig.py +++ b/src/mistralai/client/models/publicexecutionconnectionconfig.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c905833ce251 from __future__ import annotations from .connectionconfigtype import ConnectionConfigType diff --git a/src/mistralai/client/models/publicexecutionconnector.py b/src/mistralai/client/models/publicexecutionconnector.py index 0223968ff..cbc8ef943 100644 --- a/src/mistralai/client/models/publicexecutionconnector.py +++ b/src/mistralai/client/models/publicexecutionconnector.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c2a70c48a9c6 from __future__ import annotations from .publicexecutionconnectionconfig import ( diff --git a/src/mistralai/client/models/publicexecutionenv.py b/src/mistralai/client/models/publicexecutionenv.py index 69f08df6f..924e96ecf 100644 --- a/src/mistralai/client/models/publicexecutionenv.py +++ b/src/mistralai/client/models/publicexecutionenv.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e0bc735fbadc from __future__ import annotations from .publicconnectorexecutiondata import ( diff --git a/src/mistralai/client/models/publicresourcevisibility.py b/src/mistralai/client/models/publicresourcevisibility.py index 145f0188f..a7beae940 100644 --- a/src/mistralai/client/models/publicresourcevisibility.py +++ b/src/mistralai/client/models/publicresourcevisibility.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a11aef93fd11 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/query_workflow_execution_v1_workflows_executions_execution_id_queries_postop.py b/src/mistralai/client/models/query_workflow_execution_v1_workflows_executions_execution_id_queries_postop.py index 5598c4b6f..98f2459fd 100644 --- a/src/mistralai/client/models/query_workflow_execution_v1_workflows_executions_execution_id_queries_postop.py +++ b/src/mistralai/client/models/query_workflow_execution_v1_workflows_executions_execution_id_queries_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 73826dbd3f5b from __future__ import annotations from .queryinvocationbody import QueryInvocationBody, QueryInvocationBodyTypedDict diff --git a/src/mistralai/client/models/querydefinition.py b/src/mistralai/client/models/querydefinition.py index bc9b4f20c..ac08ff12d 100644 --- a/src/mistralai/client/models/querydefinition.py +++ b/src/mistralai/client/models/querydefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9648273c8b7d from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/queryinvocationbody.py b/src/mistralai/client/models/queryinvocationbody.py index 550e1d7b5..a8841bfe8 100644 --- a/src/mistralai/client/models/queryinvocationbody.py +++ b/src/mistralai/client/models/queryinvocationbody.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d78662a1a9bf from __future__ import annotations from .networkencodedinput import NetworkEncodedInput, NetworkEncodedInputTypedDict diff --git a/src/mistralai/client/models/queryworkflowresponse.py b/src/mistralai/client/models/queryworkflowresponse.py index aed982d5b..8f3d7083d 100644 --- a/src/mistralai/client/models/queryworkflowresponse.py +++ b/src/mistralai/client/models/queryworkflowresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 30281fcedce6 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/range.py b/src/mistralai/client/models/range.py index 44326eff1..d14c3c609 100644 --- a/src/mistralai/client/models/range.py +++ b/src/mistralai/client/models/range.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ecbb09b0c865 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/read_index_v1_rag_managed_indexes_index_name_read_postop.py b/src/mistralai/client/models/read_index_v1_rag_managed_indexes_index_name_read_postop.py new file mode 100644 index 000000000..8e3464d56 --- /dev/null +++ b/src/mistralai/client/models/read_index_v1_rag_managed_indexes_index_name_read_postop.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .readrequest import ReadRequest, ReadRequestTypedDict +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata, RequestMetadata +from typing_extensions import Annotated, TypedDict + + +class ReadIndexV1RagManagedIndexesIndexNameReadPostRequestTypedDict(TypedDict): + index_name: str + read_request: ReadRequestTypedDict + + +class ReadIndexV1RagManagedIndexesIndexNameReadPostRequest(BaseModel): + index_name: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] + + read_request: Annotated[ + ReadRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] diff --git a/src/mistralai/client/models/readrequest.py b/src/mistralai/client/models/readrequest.py new file mode 100644 index 000000000..d318e1846 --- /dev/null +++ b/src/mistralai/client/models/readrequest.py @@ -0,0 +1,58 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class ReadRequestTypedDict(TypedDict): + source_id: str + start_offset: NotRequired[Nullable[int]] + end_offset: NotRequired[Nullable[int]] + top_k: NotRequired[int] + content_type: NotRequired[str] + + +class ReadRequest(BaseModel): + source_id: str + + start_offset: OptionalNullable[int] = UNSET + + end_offset: OptionalNullable[int] = UNSET + + top_k: Optional[int] = 20 + + content_type: Optional[str] = "content" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["start_offset", "end_offset", "top_k", "content_type"]) + nullable_fields = set(["start_offset", "end_offset"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/realtimetranscriptionerror.py b/src/mistralai/client/models/realtimetranscriptionerror.py index 8ea1d4259..e9eeb1244 100644 --- a/src/mistralai/client/models/realtimetranscriptionerror.py +++ b/src/mistralai/client/models/realtimetranscriptionerror.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8c2267378f48 from __future__ import annotations from .realtimetranscriptionerrordetail import ( diff --git a/src/mistralai/client/models/realtimetranscriptionerrordetail.py b/src/mistralai/client/models/realtimetranscriptionerrordetail.py index cec1f6eab..e1f483798 100644 --- a/src/mistralai/client/models/realtimetranscriptionerrordetail.py +++ b/src/mistralai/client/models/realtimetranscriptionerrordetail.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5bd25cdf9c7a from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/realtimetranscriptioninputaudioappend.py b/src/mistralai/client/models/realtimetranscriptioninputaudioappend.py index 82ce59fcc..d9d4a2329 100644 --- a/src/mistralai/client/models/realtimetranscriptioninputaudioappend.py +++ b/src/mistralai/client/models/realtimetranscriptioninputaudioappend.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8b03cde6e115 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/realtimetranscriptioninputaudioend.py b/src/mistralai/client/models/realtimetranscriptioninputaudioend.py index 9b0a87099..37db0e282 100644 --- a/src/mistralai/client/models/realtimetranscriptioninputaudioend.py +++ b/src/mistralai/client/models/realtimetranscriptioninputaudioend.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c187ba1b551d from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/realtimetranscriptioninputaudioflush.py b/src/mistralai/client/models/realtimetranscriptioninputaudioflush.py index fe7286330..a54c9cce6 100644 --- a/src/mistralai/client/models/realtimetranscriptioninputaudioflush.py +++ b/src/mistralai/client/models/realtimetranscriptioninputaudioflush.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b27b600c310e from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/realtimetranscriptionsession.py b/src/mistralai/client/models/realtimetranscriptionsession.py index e23c07ec9..c643e6d6d 100644 --- a/src/mistralai/client/models/realtimetranscriptionsession.py +++ b/src/mistralai/client/models/realtimetranscriptionsession.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 02517fa5411a from __future__ import annotations from .audioformat import AudioFormat, AudioFormatTypedDict diff --git a/src/mistralai/client/models/realtimetranscriptionsessioncreated.py b/src/mistralai/client/models/realtimetranscriptionsessioncreated.py index 88da8764f..6d0057dd9 100644 --- a/src/mistralai/client/models/realtimetranscriptionsessioncreated.py +++ b/src/mistralai/client/models/realtimetranscriptionsessioncreated.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4e3731f63a3c from __future__ import annotations from .realtimetranscriptionsession import ( diff --git a/src/mistralai/client/models/realtimetranscriptionsessionupdated.py b/src/mistralai/client/models/realtimetranscriptionsessionupdated.py index 474b2fa70..07f0d7f59 100644 --- a/src/mistralai/client/models/realtimetranscriptionsessionupdated.py +++ b/src/mistralai/client/models/realtimetranscriptionsessionupdated.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 686dc4f2450f from __future__ import annotations from .realtimetranscriptionsession import ( diff --git a/src/mistralai/client/models/realtimetranscriptionsessionupdatemessage.py b/src/mistralai/client/models/realtimetranscriptionsessionupdatemessage.py index 4013d6381..9bad75d26 100644 --- a/src/mistralai/client/models/realtimetranscriptionsessionupdatemessage.py +++ b/src/mistralai/client/models/realtimetranscriptionsessionupdatemessage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4e1b3fd7c5a3 from __future__ import annotations from .realtimetranscriptionsessionupdatepayload import ( diff --git a/src/mistralai/client/models/realtimetranscriptionsessionupdatepayload.py b/src/mistralai/client/models/realtimetranscriptionsessionupdatepayload.py index d4ce43f77..fc3e6195b 100644 --- a/src/mistralai/client/models/realtimetranscriptionsessionupdatepayload.py +++ b/src/mistralai/client/models/realtimetranscriptionsessionupdatepayload.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7033fdb33ad4 from __future__ import annotations from .audioformat import AudioFormat, AudioFormatTypedDict diff --git a/src/mistralai/client/models/reasoningeffort.py b/src/mistralai/client/models/reasoningeffort.py index 5683ffbda..bb1060c8f 100644 --- a/src/mistralai/client/models/reasoningeffort.py +++ b/src/mistralai/client/models/reasoningeffort.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b930a0a20654 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/referencechunk.py b/src/mistralai/client/models/referencechunk.py index 0ed4a7370..818293536 100644 --- a/src/mistralai/client/models/referencechunk.py +++ b/src/mistralai/client/models/referencechunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 921acd3a224a from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/registerdeploymentrequestdeployment.py b/src/mistralai/client/models/registerdeploymentrequestdeployment.py index 0874dee10..154e8d5e5 100644 --- a/src/mistralai/client/models/registerdeploymentrequestdeployment.py +++ b/src/mistralai/client/models/registerdeploymentrequestdeployment.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9dcec21cfd06 from __future__ import annotations from .registerdeploymentrequestvespadeployment import ( diff --git a/src/mistralai/client/models/registerdeploymentrequestvespadeployment.py b/src/mistralai/client/models/registerdeploymentrequestvespadeployment.py index 685df138a..f392f9248 100644 --- a/src/mistralai/client/models/registerdeploymentrequestvespadeployment.py +++ b/src/mistralai/client/models/registerdeploymentrequestvespadeployment.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 002c9695c4b0 from __future__ import annotations from .registerdeploymentrequestvespaindex import ( diff --git a/src/mistralai/client/models/registerdeploymentrequestvespafield.py b/src/mistralai/client/models/registerdeploymentrequestvespafield.py index a2a4d6b79..697bca648 100644 --- a/src/mistralai/client/models/registerdeploymentrequestvespafield.py +++ b/src/mistralai/client/models/registerdeploymentrequestvespafield.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4a62bce4e1d5 from __future__ import annotations from .schemafielddatatype import SchemaFieldDataType diff --git a/src/mistralai/client/models/registerdeploymentrequestvespaindex.py b/src/mistralai/client/models/registerdeploymentrequestvespaindex.py index b8ea5946a..12676603f 100644 --- a/src/mistralai/client/models/registerdeploymentrequestvespaindex.py +++ b/src/mistralai/client/models/registerdeploymentrequestvespaindex.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2fb0584f27cf from __future__ import annotations from .registerdeploymentrequestvespafield import ( diff --git a/src/mistralai/client/models/registersearchindexresponseindex.py b/src/mistralai/client/models/registersearchindexresponseindex.py index 35486c044..cd4bced7c 100644 --- a/src/mistralai/client/models/registersearchindexresponseindex.py +++ b/src/mistralai/client/models/registersearchindexresponseindex.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e66c7b574b75 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/registrysharingscope.py b/src/mistralai/client/models/registrysharingscope.py index f384bc59a..e62d65e3c 100644 --- a/src/mistralai/client/models/registrysharingscope.py +++ b/src/mistralai/client/models/registrysharingscope.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c1151df8930f from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/rejecteddocumentresponse.py b/src/mistralai/client/models/rejecteddocumentresponse.py index b9263ee7d..912510bd4 100644 --- a/src/mistralai/client/models/rejecteddocumentresponse.py +++ b/src/mistralai/client/models/rejecteddocumentresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 363409d8356a from __future__ import annotations from .documentfielderrorresponse import ( diff --git a/src/mistralai/client/models/requestedservicetier.py b/src/mistralai/client/models/requestedservicetier.py index 50bb94a6c..dfe1b9eb9 100644 --- a/src/mistralai/client/models/requestedservicetier.py +++ b/src/mistralai/client/models/requestedservicetier.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 662ec7931b9e from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/requestsource.py b/src/mistralai/client/models/requestsource.py index fc4433cb4..7b0a35c44 100644 --- a/src/mistralai/client/models/requestsource.py +++ b/src/mistralai/client/models/requestsource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3f2774d9e609 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/reset_workflow_v1_workflows_executions_execution_id_reset_postop.py b/src/mistralai/client/models/reset_workflow_v1_workflows_executions_execution_id_reset_postop.py index eda20e536..35f5497d6 100644 --- a/src/mistralai/client/models/reset_workflow_v1_workflows_executions_execution_id_reset_postop.py +++ b/src/mistralai/client/models/reset_workflow_v1_workflows_executions_execution_id_reset_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3e9d229cd8ba from __future__ import annotations from .resetinvocationbody import ResetInvocationBody, ResetInvocationBodyTypedDict diff --git a/src/mistralai/client/models/resetinvocationbody.py b/src/mistralai/client/models/resetinvocationbody.py index 26c3389f9..9f23bf234 100644 --- a/src/mistralai/client/models/resetinvocationbody.py +++ b/src/mistralai/client/models/resetinvocationbody.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3c0a985a5a77 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/resourcelink.py b/src/mistralai/client/models/resourcelink.py index 890c5be1d..b20ad6149 100644 --- a/src/mistralai/client/models/resourcelink.py +++ b/src/mistralai/client/models/resourcelink.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4251cc3c7797 from __future__ import annotations from .annotations import Annotations, AnnotationsTypedDict diff --git a/src/mistralai/client/models/resourcescapability.py b/src/mistralai/client/models/resourcescapability.py index 39bd1a0b7..f46371810 100644 --- a/src/mistralai/client/models/resourcescapability.py +++ b/src/mistralai/client/models/resourcescapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d109cd5fe17d from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/resourcevisibility.py b/src/mistralai/client/models/resourcevisibility.py index 56f91f154..630a58b28 100644 --- a/src/mistralai/client/models/resourcevisibility.py +++ b/src/mistralai/client/models/resourcevisibility.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b5819dd5f981 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/responsedoneevent.py b/src/mistralai/client/models/responsedoneevent.py index 89a58bf77..26128a32f 100644 --- a/src/mistralai/client/models/responsedoneevent.py +++ b/src/mistralai/client/models/responsedoneevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cf8a686bf82c from __future__ import annotations from .conversationusageinfo import ConversationUsageInfo, ConversationUsageInfoTypedDict diff --git a/src/mistralai/client/models/responseerrorevent.py b/src/mistralai/client/models/responseerrorevent.py index 5326c4e82..8a0e0ef2e 100644 --- a/src/mistralai/client/models/responseerrorevent.py +++ b/src/mistralai/client/models/responseerrorevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b286d74e8724 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/responseformat.py b/src/mistralai/client/models/responseformat.py index 951413942..2ebd50d74 100644 --- a/src/mistralai/client/models/responseformat.py +++ b/src/mistralai/client/models/responseformat.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6ab8bc8d22c0 from __future__ import annotations from .jsonschema import JSONSchema, JSONSchemaTypedDict diff --git a/src/mistralai/client/models/responseformats.py b/src/mistralai/client/models/responseformats.py index 21345778a..b98cd0984 100644 --- a/src/mistralai/client/models/responseformats.py +++ b/src/mistralai/client/models/responseformats.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c4462a05fb08 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/responsestartedevent.py b/src/mistralai/client/models/responsestartedevent.py index ca3750421..a8e5ac60c 100644 --- a/src/mistralai/client/models/responsestartedevent.py +++ b/src/mistralai/client/models/responsestartedevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 24f54ee8b0f2 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/restart_deployment_v1_workflows_deployments_name_restart_postop.py b/src/mistralai/client/models/restart_deployment_v1_workflows_deployments_name_restart_postop.py index 42f8ce858..c8b0503d9 100644 --- a/src/mistralai/client/models/restart_deployment_v1_workflows_deployments_name_restart_postop.py +++ b/src/mistralai/client/models/restart_deployment_v1_workflows_deployments_name_restart_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a24431d44971 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/resume_schedule_v1_workflows_schedules_schedule_id_resume_postop.py b/src/mistralai/client/models/resume_schedule_v1_workflows_schedules_schedule_id_resume_postop.py index 101bef6a0..dd87a2d22 100644 --- a/src/mistralai/client/models/resume_schedule_v1_workflows_schedules_schedule_id_resume_postop.py +++ b/src/mistralai/client/models/resume_schedule_v1_workflows_schedules_schedule_id_resume_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2daf20be73bb from __future__ import annotations from .workflowschedulepauserequest import ( diff --git a/src/mistralai/client/models/retrieve_model_v1_models_model_id_getop.py b/src/mistralai/client/models/retrieve_model_v1_models_model_id_getop.py index cd5955c1e..eaaf010c5 100644 --- a/src/mistralai/client/models/retrieve_model_v1_models_model_id_getop.py +++ b/src/mistralai/client/models/retrieve_model_v1_models_model_id_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6fefa90ca351 from __future__ import annotations from .basemodelcard import BaseModelCard, BaseModelCardTypedDict diff --git a/src/mistralai/client/models/roles.py b/src/mistralai/client/models/roles.py index ff36ebd72..42263b5d1 100644 --- a/src/mistralai/client/models/roles.py +++ b/src/mistralai/client/models/roles.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e41c04cf7422 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/rootscapability.py b/src/mistralai/client/models/rootscapability.py index 37b25d65f..ff4ef8d9b 100644 --- a/src/mistralai/client/models/rootscapability.py +++ b/src/mistralai/client/models/rootscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f1514b6dd416 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/rrfretriever.py b/src/mistralai/client/models/rrfretriever.py new file mode 100644 index 000000000..5b02081c0 --- /dev/null +++ b/src/mistralai/client/models/rrfretriever.py @@ -0,0 +1,120 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .and_ import And, AndTypedDict +from .equal import Equal, EqualTypedDict +from .in_ import In, InTypedDict +from .keywordretriever import KeywordRetriever, KeywordRetrieverTypedDict +from .nearestneighbourretriever import ( + NearestNeighbourRetriever, + NearestNeighbourRetrieverTypedDict, +) +from .not_ import Not, NotTypedDict +from .or_ import Or, OrTypedDict +from .range import Range, RangeTypedDict +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from mistralai.client.utils import validate_const +import pydantic +from pydantic import Field, SerializeAsAny, model_serializer +from pydantic.functional_validators import AfterValidator +from typing import List, Literal, Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +RRFRetrieverRetrieverTypedDict = TypeAliasType( + "RRFRetrieverRetrieverTypedDict", + Union[KeywordRetrieverTypedDict, NearestNeighbourRetrieverTypedDict], +) + + +RRFRetrieverRetriever = Annotated[ + Union[KeywordRetriever, NearestNeighbourRetriever], Field(discriminator="type") +] + + +RRFRetrieverFilterTypedDict = TypeAliasType( + "RRFRetrieverFilterTypedDict", + Union[ + AndTypedDict, + OrTypedDict, + NotTypedDict, + EqualTypedDict, + InTypedDict, + RangeTypedDict, + ], +) + + +RRFRetrieverFilter = Annotated[ + Union[And, Equal, In, Not, Or, Range], Field(discriminator="type") +] + + +class RRFRetrieverTypedDict(TypedDict): + r"""Fuse child retriever rankings via reciprocal rank fusion.""" + + retrievers: List[RRFRetrieverRetrieverTypedDict] + top_k: NotRequired[int] + type: Literal["rrf"] + weights: NotRequired[Nullable[List[float]]] + rank_constant: NotRequired[int] + filter_: NotRequired[Nullable[RRFRetrieverFilterTypedDict]] + + +class RRFRetriever(BaseModel): + r"""Fuse child retriever rankings via reciprocal rank fusion.""" + + retrievers: List[RRFRetrieverRetriever] + + top_k: Optional[int] = 20 + + type: Annotated[ + Annotated[Literal["rrf"], AfterValidator(validate_const("rrf"))], + pydantic.Field(alias="type"), + ] = "rrf" + + weights: OptionalNullable[List[float]] = UNSET + + rank_constant: Optional[int] = 60 + + filter_: Annotated[ + SerializeAsAny[OptionalNullable[RRFRetrieverFilter]], + pydantic.Field(alias="filter"), + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["top_k", "weights", "rank_constant", "filter"]) + nullable_fields = set(["weights", "filter"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + RRFRetriever.model_rebuild() +except NameError: + pass diff --git a/src/mistralai/client/models/sampletype.py b/src/mistralai/client/models/sampletype.py index dfec7cce1..e0727b028 100644 --- a/src/mistralai/client/models/sampletype.py +++ b/src/mistralai/client/models/sampletype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a9309422fed7 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/samplingcapability.py b/src/mistralai/client/models/samplingcapability.py index 46aa3be51..15fa8729e 100644 --- a/src/mistralai/client/models/samplingcapability.py +++ b/src/mistralai/client/models/samplingcapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0a7af0cc3968 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/scalarmetric.py b/src/mistralai/client/models/scalarmetric.py index b9c70a771..9a2b385bd 100644 --- a/src/mistralai/client/models/scalarmetric.py +++ b/src/mistralai/client/models/scalarmetric.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ae8eb1017da6 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/schedulecalendar.py b/src/mistralai/client/models/schedulecalendar.py index 2cb179eb2..12bf73cfd 100644 --- a/src/mistralai/client/models/schedulecalendar.py +++ b/src/mistralai/client/models/schedulecalendar.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 76d72d187023 from __future__ import annotations from .schedulerange import ScheduleRange, ScheduleRangeTypedDict diff --git a/src/mistralai/client/models/scheduledefinition.py b/src/mistralai/client/models/scheduledefinition.py index 3c018552d..f24b28060 100644 --- a/src/mistralai/client/models/scheduledefinition.py +++ b/src/mistralai/client/models/scheduledefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6ea58a356f77 from __future__ import annotations from .schedulecalendar import ScheduleCalendar, ScheduleCalendarTypedDict diff --git a/src/mistralai/client/models/scheduledefinitionoutput.py b/src/mistralai/client/models/scheduledefinitionoutput.py index ffde39207..65d18d710 100644 --- a/src/mistralai/client/models/scheduledefinitionoutput.py +++ b/src/mistralai/client/models/scheduledefinitionoutput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 69dc15b9a0d6 from __future__ import annotations from .schedulecalendar import ScheduleCalendar, ScheduleCalendarTypedDict diff --git a/src/mistralai/client/models/schedulefutureexecution.py b/src/mistralai/client/models/schedulefutureexecution.py index 50f0491e7..f58a9d95c 100644 --- a/src/mistralai/client/models/schedulefutureexecution.py +++ b/src/mistralai/client/models/schedulefutureexecution.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 44bb85af3d44 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/scheduleinterval.py b/src/mistralai/client/models/scheduleinterval.py index c01cf8522..10abe3977 100644 --- a/src/mistralai/client/models/scheduleinterval.py +++ b/src/mistralai/client/models/scheduleinterval.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1d89c2043566 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/scheduleoverlappolicy.py b/src/mistralai/client/models/scheduleoverlappolicy.py index 13db39471..37e33e179 100644 --- a/src/mistralai/client/models/scheduleoverlappolicy.py +++ b/src/mistralai/client/models/scheduleoverlappolicy.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a729c26f9c43 from __future__ import annotations from mistralai.client.types import UnrecognizedInt diff --git a/src/mistralai/client/models/schedulepolicy.py b/src/mistralai/client/models/schedulepolicy.py index 9a507656a..3c3bfe378 100644 --- a/src/mistralai/client/models/schedulepolicy.py +++ b/src/mistralai/client/models/schedulepolicy.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f326afe63958 from __future__ import annotations from .scheduleoverlappolicy import ScheduleOverlapPolicy diff --git a/src/mistralai/client/models/schedulerange.py b/src/mistralai/client/models/schedulerange.py index e30eed16b..d27c2862b 100644 --- a/src/mistralai/client/models/schedulerange.py +++ b/src/mistralai/client/models/schedulerange.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f9d442a062b5 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/schedulerecentexecution.py b/src/mistralai/client/models/schedulerecentexecution.py index ad46a70d3..787592312 100644 --- a/src/mistralai/client/models/schedulerecentexecution.py +++ b/src/mistralai/client/models/schedulerecentexecution.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 745d146d9413 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/schemafielddatatype.py b/src/mistralai/client/models/schemafielddatatype.py index aaa334590..f2bd97282 100644 --- a/src/mistralai/client/models/schemafielddatatype.py +++ b/src/mistralai/client/models/schemafielddatatype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c391391d0988 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/schemafieldindex.py b/src/mistralai/client/models/schemafieldindex.py index e1ef8b12e..62b1d17e2 100644 --- a/src/mistralai/client/models/schemafieldindex.py +++ b/src/mistralai/client/models/schemafieldindex.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9501fc2b7fa1 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/schemafieldrankingtype.py b/src/mistralai/client/models/schemafieldrankingtype.py index fc9cf182d..9bde1b4f2 100644 --- a/src/mistralai/client/models/schemafieldrankingtype.py +++ b/src/mistralai/client/models/schemafieldrankingtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a21364283a70 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/schemafieldstorage.py b/src/mistralai/client/models/schemafieldstorage.py index 544e1909c..06d02c5b3 100644 --- a/src/mistralai/client/models/schemafieldstorage.py +++ b/src/mistralai/client/models/schemafieldstorage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6ec367e3cfe5 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/search_index_v1_rag_managed_indexes_index_name_search_postop.py b/src/mistralai/client/models/search_index_v1_rag_managed_indexes_index_name_search_postop.py index eeeea0816..e58de14bd 100644 --- a/src/mistralai/client/models/search_index_v1_rag_managed_indexes_index_name_search_postop.py +++ b/src/mistralai/client/models/search_index_v1_rag_managed_indexes_index_name_search_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f3dbcffbc450 from __future__ import annotations from .searchrequest import SearchRequest, SearchRequestTypedDict diff --git a/src/mistralai/client/models/search_latest_span_evaluations_v1_observability_spans_evaluations_search_latest_postop.py b/src/mistralai/client/models/search_latest_span_evaluations_v1_observability_spans_evaluations_search_latest_postop.py index d88c434c9..4adf59c03 100644 --- a/src/mistralai/client/models/search_latest_span_evaluations_v1_observability_spans_evaluations_search_latest_postop.py +++ b/src/mistralai/client/models/search_latest_span_evaluations_v1_observability_spans_evaluations_search_latest_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 26821a9e16a7 from __future__ import annotations from .spanevaluationsrequest import ( diff --git a/src/mistralai/client/models/search_logs_v1_observability_logs_search_postop.py b/src/mistralai/client/models/search_logs_v1_observability_logs_search_postop.py index fb63879db..b13b94056 100644 --- a/src/mistralai/client/models/search_logs_v1_observability_logs_search_postop.py +++ b/src/mistralai/client/models/search_logs_v1_observability_logs_search_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 601f46c3df14 from __future__ import annotations from .logsrequest import LogsRequest, LogsRequestTypedDict diff --git a/src/mistralai/client/models/search_span_evaluations_v1_observability_spans_evaluations_search_postop.py b/src/mistralai/client/models/search_span_evaluations_v1_observability_spans_evaluations_search_postop.py index 8647b6302..a357f27ea 100644 --- a/src/mistralai/client/models/search_span_evaluations_v1_observability_spans_evaluations_search_postop.py +++ b/src/mistralai/client/models/search_span_evaluations_v1_observability_spans_evaluations_search_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 13b5c72c2e76 from __future__ import annotations from .spanevaluationsrequest import ( diff --git a/src/mistralai/client/models/search_spans_v1_observability_spans_search_postop.py b/src/mistralai/client/models/search_spans_v1_observability_spans_search_postop.py index 158475f17..b52f80b1e 100644 --- a/src/mistralai/client/models/search_spans_v1_observability_spans_search_postop.py +++ b/src/mistralai/client/models/search_spans_v1_observability_spans_search_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0d9b8600ae11 from __future__ import annotations from .spansrequest import SpansRequest, SpansRequestTypedDict diff --git a/src/mistralai/client/models/search_traces_v1_observability_traces_search_postop.py b/src/mistralai/client/models/search_traces_v1_observability_traces_search_postop.py index ad4d368fd..d91b4ad5b 100644 --- a/src/mistralai/client/models/search_traces_v1_observability_traces_search_postop.py +++ b/src/mistralai/client/models/search_traces_v1_observability_traces_search_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b7758d63781e from __future__ import annotations from .tracesrequest import TracesRequest, TracesRequestTypedDict diff --git a/src/mistralai/client/models/searchchunkresponse.py b/src/mistralai/client/models/searchchunkresponse.py index 49574a43a..6114ca906 100644 --- a/src/mistralai/client/models/searchchunkresponse.py +++ b/src/mistralai/client/models/searchchunkresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3a83dccb886b from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/searchhitresponse.py b/src/mistralai/client/models/searchhitresponse.py index 7ae8cd51d..93252d482 100644 --- a/src/mistralai/client/models/searchhitresponse.py +++ b/src/mistralai/client/models/searchhitresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5962624e92e3 from __future__ import annotations from .searchchunkresponse import SearchChunkResponse, SearchChunkResponseTypedDict diff --git a/src/mistralai/client/models/searchrequest.py b/src/mistralai/client/models/searchrequest.py index d2bd190c0..0e353edfd 100644 --- a/src/mistralai/client/models/searchrequest.py +++ b/src/mistralai/client/models/searchrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 317839369fe7 from __future__ import annotations from .keywordretriever import KeywordRetriever, KeywordRetrieverTypedDict @@ -7,26 +6,32 @@ NearestNeighbourRetriever, NearestNeighbourRetrieverTypedDict, ) +from .rrfretriever import RRFRetriever, RRFRetrieverTypedDict from mistralai.client.types import BaseModel from pydantic import Field from typing import Union from typing_extensions import Annotated, TypeAliasType, TypedDict -RetrieverTypedDict = TypeAliasType( - "RetrieverTypedDict", - Union[KeywordRetrieverTypedDict, NearestNeighbourRetrieverTypedDict], +SearchRequestRetrieverTypedDict = TypeAliasType( + "SearchRequestRetrieverTypedDict", + Union[ + KeywordRetrieverTypedDict, + RRFRetrieverTypedDict, + NearestNeighbourRetrieverTypedDict, + ], ) -Retriever = Annotated[ - Union[KeywordRetriever, NearestNeighbourRetriever], Field(discriminator="type") +SearchRequestRetriever = Annotated[ + Union[KeywordRetriever, NearestNeighbourRetriever, RRFRetriever], + Field(discriminator="type"), ] class SearchRequestTypedDict(TypedDict): - retriever: RetrieverTypedDict + retriever: SearchRequestRetrieverTypedDict class SearchRequest(BaseModel): - retriever: Retriever + retriever: SearchRequestRetriever diff --git a/src/mistralai/client/models/searchresponse.py b/src/mistralai/client/models/searchresponse.py index 172a812d2..9a0575362 100644 --- a/src/mistralai/client/models/searchresponse.py +++ b/src/mistralai/client/models/searchresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 57923d3e043c from __future__ import annotations from .searchhitresponse import SearchHitResponse, SearchHitResponseTypedDict diff --git a/src/mistralai/client/models/security.py b/src/mistralai/client/models/security.py index 36b129533..1730fca1f 100644 --- a/src/mistralai/client/models/security.py +++ b/src/mistralai/client/models/security.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c2ca0e2a36b7 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/servercapabilities.py b/src/mistralai/client/models/servercapabilities.py index ccfbf932f..1de3321f1 100644 --- a/src/mistralai/client/models/servercapabilities.py +++ b/src/mistralai/client/models/servercapabilities.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9e5832ea005a from __future__ import annotations from .promptscapability import PromptsCapability, PromptsCapabilityTypedDict diff --git a/src/mistralai/client/models/serverlocale.py b/src/mistralai/client/models/serverlocale.py index 1b73a7494..b99349664 100644 --- a/src/mistralai/client/models/serverlocale.py +++ b/src/mistralai/client/models/serverlocale.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5b70fcb88050 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/servertaskscapability.py b/src/mistralai/client/models/servertaskscapability.py index 7d2c29274..382a6ea59 100644 --- a/src/mistralai/client/models/servertaskscapability.py +++ b/src/mistralai/client/models/servertaskscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fff9567cb403 from __future__ import annotations from .servertasksrequestscapability import ( diff --git a/src/mistralai/client/models/servertasksrequestscapability.py b/src/mistralai/client/models/servertasksrequestscapability.py index 2568507f1..8b5a21858 100644 --- a/src/mistralai/client/models/servertasksrequestscapability.py +++ b/src/mistralai/client/models/servertasksrequestscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 23cc8415f619 from __future__ import annotations from .taskstoolscapability import TasksToolsCapability, TasksToolsCapabilityTypedDict diff --git a/src/mistralai/client/models/serviceaccount.py b/src/mistralai/client/models/serviceaccount.py index 7f9ae37d1..86f41fef0 100644 --- a/src/mistralai/client/models/serviceaccount.py +++ b/src/mistralai/client/models/serviceaccount.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3714bc3656c3 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/serviceaccountrole.py b/src/mistralai/client/models/serviceaccountrole.py index 8d5bb8ede..0e58dfe1f 100644 --- a/src/mistralai/client/models/serviceaccountrole.py +++ b/src/mistralai/client/models/serviceaccountrole.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7e2e20a11014 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/set_service_account_roles_v1_service_accounts_service_account_id_roles_putop.py b/src/mistralai/client/models/set_service_account_roles_v1_service_accounts_service_account_id_roles_putop.py index c0f979df6..cb889f1a6 100644 --- a/src/mistralai/client/models/set_service_account_roles_v1_service_accounts_service_account_id_roles_putop.py +++ b/src/mistralai/client/models/set_service_account_roles_v1_service_accounts_service_account_id_roles_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 624009945aea from __future__ import annotations from .setserviceaccountrolesrequest import ( diff --git a/src/mistralai/client/models/setserviceaccountrolesrequest.py b/src/mistralai/client/models/setserviceaccountrolesrequest.py index b35d80700..d3cba8cad 100644 --- a/src/mistralai/client/models/setserviceaccountrolesrequest.py +++ b/src/mistralai/client/models/setserviceaccountrolesrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0dfe4be85ebc from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/shareenum.py b/src/mistralai/client/models/shareenum.py index 08ffeb7e4..ca1b96245 100644 --- a/src/mistralai/client/models/shareenum.py +++ b/src/mistralai/client/models/shareenum.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a0e2a7a16bf8 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/sharerelation.py b/src/mistralai/client/models/sharerelation.py index 2c4baeb89..02eba1a92 100644 --- a/src/mistralai/client/models/sharerelation.py +++ b/src/mistralai/client/models/sharerelation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a8e438cb6650 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/sharing.py b/src/mistralai/client/models/sharing.py index 4260f1751..eb378eb71 100644 --- a/src/mistralai/client/models/sharing.py +++ b/src/mistralai/client/models/sharing.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 324f5ac27249 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/sharingdelete.py b/src/mistralai/client/models/sharingdelete.py index 67399831d..43535c22e 100644 --- a/src/mistralai/client/models/sharingdelete.py +++ b/src/mistralai/client/models/sharingdelete.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f5ecce372e06 from __future__ import annotations from .entitytype import EntityType diff --git a/src/mistralai/client/models/sharingrequest.py b/src/mistralai/client/models/sharingrequest.py index 94de31c1d..2be379421 100644 --- a/src/mistralai/client/models/sharingrequest.py +++ b/src/mistralai/client/models/sharingrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2439b732dfae from __future__ import annotations from .entitytype import EntityType diff --git a/src/mistralai/client/models/signal_workflow_execution_v1_workflows_executions_execution_id_signals_postop.py b/src/mistralai/client/models/signal_workflow_execution_v1_workflows_executions_execution_id_signals_postop.py index c61ed0194..eb17031ea 100644 --- a/src/mistralai/client/models/signal_workflow_execution_v1_workflows_executions_execution_id_signals_postop.py +++ b/src/mistralai/client/models/signal_workflow_execution_v1_workflows_executions_execution_id_signals_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 16c54f54e60f from __future__ import annotations from .signalinvocationbody import SignalInvocationBody, SignalInvocationBodyTypedDict diff --git a/src/mistralai/client/models/signaldefinition.py b/src/mistralai/client/models/signaldefinition.py index 434e12309..90767839c 100644 --- a/src/mistralai/client/models/signaldefinition.py +++ b/src/mistralai/client/models/signaldefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f1c1ac98a427 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/signalinvocationbody.py b/src/mistralai/client/models/signalinvocationbody.py index 3b7a1ff1d..dc34f5ec6 100644 --- a/src/mistralai/client/models/signalinvocationbody.py +++ b/src/mistralai/client/models/signalinvocationbody.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0fd96a7c058b from __future__ import annotations from .encodedpayloadoptions import EncodedPayloadOptions diff --git a/src/mistralai/client/models/signalworkflowresponse.py b/src/mistralai/client/models/signalworkflowresponse.py index 2d9ea356f..5deecdf3a 100644 --- a/src/mistralai/client/models/signalworkflowresponse.py +++ b/src/mistralai/client/models/signalworkflowresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e1844a7da20b from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/skill.py b/src/mistralai/client/models/skill.py index 9adb46e95..39800ab80 100644 --- a/src/mistralai/client/models/skill.py +++ b/src/mistralai/client/models/skill.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3f0496dc5b60 from __future__ import annotations from .registrysharingscope import RegistrySharingScope diff --git a/src/mistralai/client/models/skillassetcontent.py b/src/mistralai/client/models/skillassetcontent.py index 88bdce9ed..3d1e9d497 100644 --- a/src/mistralai/client/models/skillassetcontent.py +++ b/src/mistralai/client/models/skillassetcontent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0e26217feeb9 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/skilldefinition.py b/src/mistralai/client/models/skilldefinition.py index fa6f5bb04..d03bb6a43 100644 --- a/src/mistralai/client/models/skilldefinition.py +++ b/src/mistralai/client/models/skilldefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 246bcca78e10 from __future__ import annotations from .skillassetcontent import SkillAssetContent, SkillAssetContentTypedDict diff --git a/src/mistralai/client/models/skills_create_versionop.py b/src/mistralai/client/models/skills_create_versionop.py index 04725eb07..052e0a600 100644 --- a/src/mistralai/client/models/skills_create_versionop.py +++ b/src/mistralai/client/models/skills_create_versionop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1e87cf43e50f from __future__ import annotations from .skilldefinition import SkillDefinition, SkillDefinitionTypedDict diff --git a/src/mistralai/client/models/skills_deleteop.py b/src/mistralai/client/models/skills_deleteop.py index 7b5e49999..1e9a8e5a4 100644 --- a/src/mistralai/client/models/skills_deleteop.py +++ b/src/mistralai/client/models/skills_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2d91d8419da1 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/skills_get_versionop.py b/src/mistralai/client/models/skills_get_versionop.py index f23cdfc79..cfeb91dda 100644 --- a/src/mistralai/client/models/skills_get_versionop.py +++ b/src/mistralai/client/models/skills_get_versionop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d337e7fadaf1 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/skills_getop.py b/src/mistralai/client/models/skills_getop.py index be95a977a..1d45e5921 100644 --- a/src/mistralai/client/models/skills_getop.py +++ b/src/mistralai/client/models/skills_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f1939bb21376 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/skills_list_versionsop.py b/src/mistralai/client/models/skills_list_versionsop.py index e60648a90..b179e2daa 100644 --- a/src/mistralai/client/models/skills_list_versionsop.py +++ b/src/mistralai/client/models/skills_list_versionsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 620d89bcbb10 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/skills_listop.py b/src/mistralai/client/models/skills_listop.py index f5a43bc5b..56f9ba336 100644 --- a/src/mistralai/client/models/skills_listop.py +++ b/src/mistralai/client/models/skills_listop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b3600a24a06d from __future__ import annotations from .listskillsresponse import ListSkillsResponse, ListSkillsResponseTypedDict diff --git a/src/mistralai/client/models/skills_update_version_metadataop.py b/src/mistralai/client/models/skills_update_version_metadataop.py index 21eae47b6..0fd0d94e7 100644 --- a/src/mistralai/client/models/skills_update_version_metadataop.py +++ b/src/mistralai/client/models/skills_update_version_metadataop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ae5f5535c372 from __future__ import annotations from .aliaslist import AliasList, AliasListTypedDict diff --git a/src/mistralai/client/models/skills_updateop.py b/src/mistralai/client/models/skills_updateop.py index e3f5c984f..fb4299976 100644 --- a/src/mistralai/client/models/skills_updateop.py +++ b/src/mistralai/client/models/skills_updateop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0a4f50bb358b from __future__ import annotations from .registrysharingscope import RegistrySharingScope diff --git a/src/mistralai/client/models/skillversion.py b/src/mistralai/client/models/skillversion.py index 8042b8d72..916d405ce 100644 --- a/src/mistralai/client/models/skillversion.py +++ b/src/mistralai/client/models/skillversion.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5b123200157e from __future__ import annotations from .skilldefinition import SkillDefinition, SkillDefinitionTypedDict diff --git a/src/mistralai/client/models/sortorder.py b/src/mistralai/client/models/sortorder.py new file mode 100644 index 000000000..2403b093d --- /dev/null +++ b/src/mistralai/client/models/sortorder.py @@ -0,0 +1,11 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +SortOrder = Literal[ + "asc", + "desc", +] +r"""Direction to sort a service-account listing by creation time.""" diff --git a/src/mistralai/client/models/source.py b/src/mistralai/client/models/source.py index fcea403cd..181b327ea 100644 --- a/src/mistralai/client/models/source.py +++ b/src/mistralai/client/models/source.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fcee60a4ea0d from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/sourcekind.py b/src/mistralai/client/models/sourcekind.py index deb1fa315..9f0f3d658 100644 --- a/src/mistralai/client/models/sourcekind.py +++ b/src/mistralai/client/models/sourcekind.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7be8b65d07f4 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/spandatasetmapping.py b/src/mistralai/client/models/spandatasetmapping.py new file mode 100644 index 000000000..c7dd7abdb --- /dev/null +++ b/src/mistralai/client/models/spandatasetmapping.py @@ -0,0 +1,22 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .spandatasetsourcereference import ( + SpanDatasetSourceReference, + SpanDatasetSourceReferenceTypedDict, +) +from mistralai.client.types import BaseModel +from typing_extensions import TypedDict + + +class SpanDatasetMappingTypedDict(TypedDict): + target_field: str + r"""Literal top-level key to create in the dataset record payload.""" + source_field: SpanDatasetSourceReferenceTypedDict + + +class SpanDatasetMapping(BaseModel): + target_field: str + r"""Literal top-level key to create in the dataset record payload.""" + + source_field: SpanDatasetSourceReference diff --git a/src/mistralai/client/models/spandatasetmappingcontract.py b/src/mistralai/client/models/spandatasetmappingcontract.py new file mode 100644 index 000000000..a22977a64 --- /dev/null +++ b/src/mistralai/client/models/spandatasetmappingcontract.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .spandatasetmapping import SpanDatasetMapping, SpanDatasetMappingTypedDict +from mistralai.client.types import BaseModel +from mistralai.client.utils import validate_const +import pydantic +from pydantic.functional_validators import AfterValidator +from typing import List, Literal +from typing_extensions import Annotated, TypedDict + + +class SpanDatasetMappingContractTypedDict(TypedDict): + r"""Mapping rules applied independently to every requested telemetry span. + + Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array + source omits the target key. JSON object and array strings become structured values; + scalar-looking and malformed JSON strings remain strings. + """ + + mappings: List[SpanDatasetMappingTypedDict] + version: Literal[1] + + +class SpanDatasetMappingContract(BaseModel): + r"""Mapping rules applied independently to every requested telemetry span. + + Version 1 mappings are optional per span: a missing, null, blank-string, or empty-array + source omits the target key. JSON object and array strings become structured values; + scalar-looking and malformed JSON strings remain strings. + """ + + mappings: List[SpanDatasetMapping] + + version: Annotated[ + Annotated[Literal[1], AfterValidator(validate_const(1))], + pydantic.Field(alias="version"), + ] = 1 + + +try: + SpanDatasetMappingContract.model_rebuild() +except NameError: + pass diff --git a/src/mistralai/client/models/spandatasetsourcenamespace.py b/src/mistralai/client/models/spandatasetsourcenamespace.py new file mode 100644 index 000000000..9adef6cbc --- /dev/null +++ b/src/mistralai/client/models/spandatasetsourcenamespace.py @@ -0,0 +1,11 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +SpanDatasetSourceNamespace = Literal[ + "span_attributes", + "resource_attributes", +] +r"""Attribute maps that may supply dataset payload values.""" diff --git a/src/mistralai/client/models/spandatasetsourcereference.py b/src/mistralai/client/models/spandatasetsourcereference.py new file mode 100644 index 000000000..605be553d --- /dev/null +++ b/src/mistralai/client/models/spandatasetsourcereference.py @@ -0,0 +1,21 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .spandatasetsourcenamespace import SpanDatasetSourceNamespace +from mistralai.client.types import BaseModel +from typing_extensions import TypedDict + + +class SpanDatasetSourceReferenceTypedDict(TypedDict): + namespace: SpanDatasetSourceNamespace + r"""Attribute maps that may supply dataset payload values.""" + key: str + r"""Literal attribute dictionary key; dots do not denote a nested path.""" + + +class SpanDatasetSourceReference(BaseModel): + namespace: SpanDatasetSourceNamespace + r"""Attribute maps that may supply dataset payload values.""" + + key: str + r"""Literal attribute dictionary key; dots do not denote a nested path.""" diff --git a/src/mistralai/client/models/spanevaluationsrequest.py b/src/mistralai/client/models/spanevaluationsrequest.py index 08f020c5c..5d1386a6c 100644 --- a/src/mistralai/client/models/spanevaluationsrequest.py +++ b/src/mistralai/client/models/spanevaluationsrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 89836411323a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/spansrequest.py b/src/mistralai/client/models/spansrequest.py index 5f34709ba..0c219575f 100644 --- a/src/mistralai/client/models/spansrequest.py +++ b/src/mistralai/client/models/spansrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: aca856aff5b4 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/speech_v1_audio_speech_postop.py b/src/mistralai/client/models/speech_v1_audio_speech_postop.py index 3dbd044cd..ff0e0f873 100644 --- a/src/mistralai/client/models/speech_v1_audio_speech_postop.py +++ b/src/mistralai/client/models/speech_v1_audio_speech_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7ab5c1250642 from __future__ import annotations from .speechstreamaudiodelta import ( diff --git a/src/mistralai/client/models/speechoutputformat.py b/src/mistralai/client/models/speechoutputformat.py index f564d2aff..1a252290a 100644 --- a/src/mistralai/client/models/speechoutputformat.py +++ b/src/mistralai/client/models/speechoutputformat.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e6be9ec9e74c from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/speechrequest.py b/src/mistralai/client/models/speechrequest.py index 3db35f6ff..a13bc10e7 100644 --- a/src/mistralai/client/models/speechrequest.py +++ b/src/mistralai/client/models/speechrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cf3bc148e629 from __future__ import annotations from .speechoutputformat import SpeechOutputFormat diff --git a/src/mistralai/client/models/speechstreamaudiodelta.py b/src/mistralai/client/models/speechstreamaudiodelta.py index e3cc7053c..7fdd1b5a5 100644 --- a/src/mistralai/client/models/speechstreamaudiodelta.py +++ b/src/mistralai/client/models/speechstreamaudiodelta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ac66815396b1 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/speechstreamdone.py b/src/mistralai/client/models/speechstreamdone.py index 2febda7b6..5d29dd86c 100644 --- a/src/mistralai/client/models/speechstreamdone.py +++ b/src/mistralai/client/models/speechstreamdone.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2164b6526a81 from __future__ import annotations from .usageinfo_dollar_defs import UsageInfoDollarDefs, UsageInfoDollarDefsTypedDict diff --git a/src/mistralai/client/models/speechstreameventtypes.py b/src/mistralai/client/models/speechstreameventtypes.py index 723a571b5..a2e7dcc59 100644 --- a/src/mistralai/client/models/speechstreameventtypes.py +++ b/src/mistralai/client/models/speechstreameventtypes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b76eee4fdf6a from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/ssetypes.py b/src/mistralai/client/models/ssetypes.py index 0add960bc..ac2722f1c 100644 --- a/src/mistralai/client/models/ssetypes.py +++ b/src/mistralai/client/models/ssetypes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1733e4765106 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/start_deployment_v1_workflows_deployments_name_start_postop.py b/src/mistralai/client/models/start_deployment_v1_workflows_deployments_name_start_postop.py index d4f9a29a0..6c58efaf3 100644 --- a/src/mistralai/client/models/start_deployment_v1_workflows_deployments_name_start_postop.py +++ b/src/mistralai/client/models/start_deployment_v1_workflows_deployments_name_start_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a130112def7d from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/stop_deployment_v1_workflows_deployments_name_stop_postop.py b/src/mistralai/client/models/stop_deployment_v1_workflows_deployments_name_stop_postop.py index 0b82ba107..4f783df11 100644 --- a/src/mistralai/client/models/stop_deployment_v1_workflows_deployments_name_stop_postop.py +++ b/src/mistralai/client/models/stop_deployment_v1_workflows_deployments_name_stop_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c6e21688bc0c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/stream_deployment_logsop.py b/src/mistralai/client/models/stream_deployment_logsop.py index 4bf76da59..58e13d6da 100644 --- a/src/mistralai/client/models/stream_deployment_logsop.py +++ b/src/mistralai/client/models/stream_deployment_logsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0d66b14b5200 from __future__ import annotations from .deploymentlogrecord import DeploymentLogRecord, DeploymentLogRecordTypedDict diff --git a/src/mistralai/client/models/stream_v1_workflows_executions_execution_id_stream_getop.py b/src/mistralai/client/models/stream_v1_workflows_executions_execution_id_stream_getop.py index b87f630a5..8bbf422bb 100644 --- a/src/mistralai/client/models/stream_v1_workflows_executions_execution_id_stream_getop.py +++ b/src/mistralai/client/models/stream_v1_workflows_executions_execution_id_stream_getop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 793a9301522f from __future__ import annotations from .eventsource import EventSource diff --git a/src/mistralai/client/models/stream_workflow_execution_logsop.py b/src/mistralai/client/models/stream_workflow_execution_logsop.py index 653d2a5bd..722a35245 100644 --- a/src/mistralai/client/models/stream_workflow_execution_logsop.py +++ b/src/mistralai/client/models/stream_workflow_execution_logsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 33528845f8f2 from __future__ import annotations from .executionlogrecord import ExecutionLogRecord, ExecutionLogRecordTypedDict diff --git a/src/mistralai/client/models/streamerror.py b/src/mistralai/client/models/streamerror.py index 7ef83aca4..a10a5651a 100644 --- a/src/mistralai/client/models/streamerror.py +++ b/src/mistralai/client/models/streamerror.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2632e221b587 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/streameventssepayload.py b/src/mistralai/client/models/streameventssepayload.py index 2c662a65b..74da7740e 100644 --- a/src/mistralai/client/models/streameventssepayload.py +++ b/src/mistralai/client/models/streameventssepayload.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c6becbbd80bc from __future__ import annotations from .activitytaskcompletedresponse import ( diff --git a/src/mistralai/client/models/streameventworkflowcontext.py b/src/mistralai/client/models/streameventworkflowcontext.py index f24de860f..d3e3a3e12 100644 --- a/src/mistralai/client/models/streameventworkflowcontext.py +++ b/src/mistralai/client/models/streameventworkflowcontext.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 14c00c79de78 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/systemmessage.py b/src/mistralai/client/models/systemmessage.py index 2602cd2db..a557a0861 100644 --- a/src/mistralai/client/models/systemmessage.py +++ b/src/mistralai/client/models/systemmessage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 500ef6e85ba1 from __future__ import annotations from .systemmessagecontentchunks import ( diff --git a/src/mistralai/client/models/systemmessagecontentchunks.py b/src/mistralai/client/models/systemmessagecontentchunks.py index d480a219e..7a7973796 100644 --- a/src/mistralai/client/models/systemmessagecontentchunks.py +++ b/src/mistralai/client/models/systemmessagecontentchunks.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 297e8905d5af from __future__ import annotations from .textchunk import TextChunk, TextChunkTypedDict diff --git a/src/mistralai/client/models/taskselicitationcapability.py b/src/mistralai/client/models/taskselicitationcapability.py index 768f36f1a..33da3ed50 100644 --- a/src/mistralai/client/models/taskselicitationcapability.py +++ b/src/mistralai/client/models/taskselicitationcapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 19504f19f5f3 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/taskssamplingcapability.py b/src/mistralai/client/models/taskssamplingcapability.py index e051fd75e..f4f62ab96 100644 --- a/src/mistralai/client/models/taskssamplingcapability.py +++ b/src/mistralai/client/models/taskssamplingcapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fe3e6aaee007 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/taskstoolscapability.py b/src/mistralai/client/models/taskstoolscapability.py index 88d799c11..6bc320237 100644 --- a/src/mistralai/client/models/taskstoolscapability.py +++ b/src/mistralai/client/models/taskstoolscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ac9448f661ce from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/telemetryspanreference.py b/src/mistralai/client/models/telemetryspanreference.py new file mode 100644 index 000000000..4076d9ce4 --- /dev/null +++ b/src/mistralai/client/models/telemetryspanreference.py @@ -0,0 +1,20 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import BaseModel +from typing_extensions import TypedDict + + +class TelemetrySpanReferenceTypedDict(TypedDict): + r"""Immutable provenance used to identify a telemetry span.""" + + trace_id: str + span_id: str + + +class TelemetrySpanReference(BaseModel): + r"""Immutable provenance used to identify a telemetry span.""" + + trace_id: str + + span_id: str diff --git a/src/mistralai/client/models/tempogettraceresponse.py b/src/mistralai/client/models/tempogettraceresponse.py index 8575b9543..3f8b93a12 100644 --- a/src/mistralai/client/models/tempogettraceresponse.py +++ b/src/mistralai/client/models/tempogettraceresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8bb3c013aa76 from __future__ import annotations from .tempotracebatch import TempoTraceBatch, TempoTraceBatchTypedDict diff --git a/src/mistralai/client/models/tempotraceattribute.py b/src/mistralai/client/models/tempotraceattribute.py index bc2da3e0e..5c09144e1 100644 --- a/src/mistralai/client/models/tempotraceattribute.py +++ b/src/mistralai/client/models/tempotraceattribute.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7d0ec3402dc0 from __future__ import annotations from .tempotraceattributearrayvalue import ( diff --git a/src/mistralai/client/models/tempotraceattributearraycontainer.py b/src/mistralai/client/models/tempotraceattributearraycontainer.py index 082060373..d246c672c 100644 --- a/src/mistralai/client/models/tempotraceattributearraycontainer.py +++ b/src/mistralai/client/models/tempotraceattributearraycontainer.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: afca3b2e0b21 from __future__ import annotations from .tempotraceattributearrayelement import ( diff --git a/src/mistralai/client/models/tempotraceattributearrayelement.py b/src/mistralai/client/models/tempotraceattributearrayelement.py index f506b40ee..fe10fcc37 100644 --- a/src/mistralai/client/models/tempotraceattributearrayelement.py +++ b/src/mistralai/client/models/tempotraceattributearrayelement.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4f3b1d9264a3 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/tempotraceattributearrayvalue.py b/src/mistralai/client/models/tempotraceattributearrayvalue.py index 95fe337ec..f7e1adcdc 100644 --- a/src/mistralai/client/models/tempotraceattributearrayvalue.py +++ b/src/mistralai/client/models/tempotraceattributearrayvalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d75dd416f9e3 from __future__ import annotations from .tempotraceattributearraycontainer import ( diff --git a/src/mistralai/client/models/tempotraceattributeboolvalue.py b/src/mistralai/client/models/tempotraceattributeboolvalue.py index 72fb79d02..ec2453710 100644 --- a/src/mistralai/client/models/tempotraceattributeboolvalue.py +++ b/src/mistralai/client/models/tempotraceattributeboolvalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c7c383a6c05f from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/tempotraceattributedoublevalue.py b/src/mistralai/client/models/tempotraceattributedoublevalue.py index b64dd452b..6fad2a527 100644 --- a/src/mistralai/client/models/tempotraceattributedoublevalue.py +++ b/src/mistralai/client/models/tempotraceattributedoublevalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 36888aa89238 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/tempotraceattributeintvalue.py b/src/mistralai/client/models/tempotraceattributeintvalue.py index 6ffe7efe5..fb9b7ae6f 100644 --- a/src/mistralai/client/models/tempotraceattributeintvalue.py +++ b/src/mistralai/client/models/tempotraceattributeintvalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c4659ad7a2a5 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/tempotraceattributestringvalue.py b/src/mistralai/client/models/tempotraceattributestringvalue.py index f4dea6395..001e76011 100644 --- a/src/mistralai/client/models/tempotraceattributestringvalue.py +++ b/src/mistralai/client/models/tempotraceattributestringvalue.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2dcdd05a5115 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/tempotracebatch.py b/src/mistralai/client/models/tempotracebatch.py index 7f5080474..d615e9d98 100644 --- a/src/mistralai/client/models/tempotracebatch.py +++ b/src/mistralai/client/models/tempotracebatch.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 969acd9d6220 from __future__ import annotations from .tempotraceresource import TempoTraceResource, TempoTraceResourceTypedDict diff --git a/src/mistralai/client/models/tempotraceevent.py b/src/mistralai/client/models/tempotraceevent.py index bda2115aa..74af82771 100644 --- a/src/mistralai/client/models/tempotraceevent.py +++ b/src/mistralai/client/models/tempotraceevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 98dd1b838524 from __future__ import annotations from .tempotraceattribute import TempoTraceAttribute, TempoTraceAttributeTypedDict diff --git a/src/mistralai/client/models/tempotraceresource.py b/src/mistralai/client/models/tempotraceresource.py index 42c4d56ad..0157eb83c 100644 --- a/src/mistralai/client/models/tempotraceresource.py +++ b/src/mistralai/client/models/tempotraceresource.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cc8a7ff3feea from __future__ import annotations from .tempotraceattribute import TempoTraceAttribute, TempoTraceAttributeTypedDict diff --git a/src/mistralai/client/models/tempotracescope.py b/src/mistralai/client/models/tempotracescope.py index 3e302f812..f372185c5 100644 --- a/src/mistralai/client/models/tempotracescope.py +++ b/src/mistralai/client/models/tempotracescope.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a2da1a3b8198 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/tempotracescopekind.py b/src/mistralai/client/models/tempotracescopekind.py index a26d5c38c..a50d2b669 100644 --- a/src/mistralai/client/models/tempotracescopekind.py +++ b/src/mistralai/client/models/tempotracescopekind.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 40c697c1e617 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/tempotracescopespan.py b/src/mistralai/client/models/tempotracescopespan.py index 362f3c997..409f8845a 100644 --- a/src/mistralai/client/models/tempotracescopespan.py +++ b/src/mistralai/client/models/tempotracescopespan.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cb248e9c0a00 from __future__ import annotations from .tempotracescope import TempoTraceScope, TempoTraceScopeTypedDict diff --git a/src/mistralai/client/models/tempotracespan.py b/src/mistralai/client/models/tempotracespan.py index 51b181ba4..e17d00a36 100644 --- a/src/mistralai/client/models/tempotracespan.py +++ b/src/mistralai/client/models/tempotracespan.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f36568c83a96 from __future__ import annotations from .tempotraceattribute import TempoTraceAttribute, TempoTraceAttributeTypedDict diff --git a/src/mistralai/client/models/terminate_workflow_execution_v1_workflows_executions_execution_id_terminate_postop.py b/src/mistralai/client/models/terminate_workflow_execution_v1_workflows_executions_execution_id_terminate_postop.py index 771c16503..cb6dd26a0 100644 --- a/src/mistralai/client/models/terminate_workflow_execution_v1_workflows_executions_execution_id_terminate_postop.py +++ b/src/mistralai/client/models/terminate_workflow_execution_v1_workflows_executions_execution_id_terminate_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 458eee7d2603 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/textarrayfielddefinition.py b/src/mistralai/client/models/textarrayfielddefinition.py index 414a4256f..2abef0f32 100644 --- a/src/mistralai/client/models/textarrayfielddefinition.py +++ b/src/mistralai/client/models/textarrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0ee00c96aed5 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/textchunk.py b/src/mistralai/client/models/textchunk.py index bae970f3c..1c9c020b8 100644 --- a/src/mistralai/client/models/textchunk.py +++ b/src/mistralai/client/models/textchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9c96fb86a9ab from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/textcontent.py b/src/mistralai/client/models/textcontent.py index 03de48d36..f70bf8c79 100644 --- a/src/mistralai/client/models/textcontent.py +++ b/src/mistralai/client/models/textcontent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 60805b9f7050 from __future__ import annotations from .annotations import Annotations, AnnotationsTypedDict diff --git a/src/mistralai/client/models/textfielddefinition.py b/src/mistralai/client/models/textfielddefinition.py index c3ec68e66..53eb4c8bb 100644 --- a/src/mistralai/client/models/textfielddefinition.py +++ b/src/mistralai/client/models/textfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7868e52049a0 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/textresourcecontents.py b/src/mistralai/client/models/textresourcecontents.py index c3f26a657..c753192b9 100644 --- a/src/mistralai/client/models/textresourcecontents.py +++ b/src/mistralai/client/models/textresourcecontents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 58fe427f427f from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/thinkchunk.py b/src/mistralai/client/models/thinkchunk.py index d2af3da69..772339d5c 100644 --- a/src/mistralai/client/models/thinkchunk.py +++ b/src/mistralai/client/models/thinkchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 294bfce193a4 from __future__ import annotations from .referencechunk import ReferenceChunk, ReferenceChunkTypedDict diff --git a/src/mistralai/client/models/timedimension.py b/src/mistralai/client/models/timedimension.py index ca582175d..95bb56d45 100644 --- a/src/mistralai/client/models/timedimension.py +++ b/src/mistralai/client/models/timedimension.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9bb5104c991f from __future__ import annotations from .granularity import Granularity diff --git a/src/mistralai/client/models/timeseriesmetric.py b/src/mistralai/client/models/timeseriesmetric.py index a0eb0c9ca..9bcc2ba09 100644 --- a/src/mistralai/client/models/timeseriesmetric.py +++ b/src/mistralai/client/models/timeseriesmetric.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7f91751795ac from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/timestamparrayfielddefinition.py b/src/mistralai/client/models/timestamparrayfielddefinition.py index 5252a7f54..533e325e2 100644 --- a/src/mistralai/client/models/timestamparrayfielddefinition.py +++ b/src/mistralai/client/models/timestamparrayfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c78a957c59dc from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/timestampfielddefinition.py b/src/mistralai/client/models/timestampfielddefinition.py index 4d51036ae..045dbb4c3 100644 --- a/src/mistralai/client/models/timestampfielddefinition.py +++ b/src/mistralai/client/models/timestampfielddefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4eea6b96376c from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/timestampgranularity.py b/src/mistralai/client/models/timestampgranularity.py index 8d3773752..5bda890f5 100644 --- a/src/mistralai/client/models/timestampgranularity.py +++ b/src/mistralai/client/models/timestampgranularity.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 68ddf8d702ea from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/tool.py b/src/mistralai/client/models/tool.py index 08342b5a8..f2095109d 100644 --- a/src/mistralai/client/models/tool.py +++ b/src/mistralai/client/models/tool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48b4f6f50fe9 from __future__ import annotations from .function import Function, FunctionTypedDict diff --git a/src/mistralai/client/models/toolannotations.py b/src/mistralai/client/models/toolannotations.py index b2e9b9480..c0266c5af 100644 --- a/src/mistralai/client/models/toolannotations.py +++ b/src/mistralai/client/models/toolannotations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2ae257a35b01 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/toolcall.py b/src/mistralai/client/models/toolcall.py index 82ca4c2bd..4412ae142 100644 --- a/src/mistralai/client/models/toolcall.py +++ b/src/mistralai/client/models/toolcall.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fb34a1a3f3c2 from __future__ import annotations from .functioncall import FunctionCall, FunctionCallTypedDict diff --git a/src/mistralai/client/models/toolcallconfirmation.py b/src/mistralai/client/models/toolcallconfirmation.py index fd6eca50a..fda3da8ee 100644 --- a/src/mistralai/client/models/toolcallconfirmation.py +++ b/src/mistralai/client/models/toolcallconfirmation.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f2e953cfb4fe from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/toolchoice.py b/src/mistralai/client/models/toolchoice.py index 11e4a3b1e..aa76525f7 100644 --- a/src/mistralai/client/models/toolchoice.py +++ b/src/mistralai/client/models/toolchoice.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 14f7e4cc35b6 from __future__ import annotations from .functionname import FunctionName, FunctionNameTypedDict diff --git a/src/mistralai/client/models/toolchoiceenum.py b/src/mistralai/client/models/toolchoiceenum.py index d66c3d070..ba8195b80 100644 --- a/src/mistralai/client/models/toolchoiceenum.py +++ b/src/mistralai/client/models/toolchoiceenum.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c7798801f860 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/toolconfiguration.py b/src/mistralai/client/models/toolconfiguration.py index eb3d14e55..f90e358b9 100644 --- a/src/mistralai/client/models/toolconfiguration.py +++ b/src/mistralai/client/models/toolconfiguration.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: faec24b75066 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/toolexecution.py b/src/mistralai/client/models/toolexecution.py index 9c55e7bb9..8d73eb2c4 100644 --- a/src/mistralai/client/models/toolexecution.py +++ b/src/mistralai/client/models/toolexecution.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 69fcb691327a from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/toolexecutionconfiguration.py b/src/mistralai/client/models/toolexecutionconfiguration.py index ce65ad314..b8210b33f 100644 --- a/src/mistralai/client/models/toolexecutionconfiguration.py +++ b/src/mistralai/client/models/toolexecutionconfiguration.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1c9369616b21 from __future__ import annotations from .logicalexpression import LogicalExpression, LogicalExpressionTypedDict diff --git a/src/mistralai/client/models/toolexecutiondeltaevent.py b/src/mistralai/client/models/toolexecutiondeltaevent.py index c2e409507..df60d710d 100644 --- a/src/mistralai/client/models/toolexecutiondeltaevent.py +++ b/src/mistralai/client/models/toolexecutiondeltaevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: df8f17cf3e07 from __future__ import annotations from .builtinconnectors import BuiltInConnectors diff --git a/src/mistralai/client/models/toolexecutiondoneevent.py b/src/mistralai/client/models/toolexecutiondoneevent.py index ec3b69183..f8e468553 100644 --- a/src/mistralai/client/models/toolexecutiondoneevent.py +++ b/src/mistralai/client/models/toolexecutiondoneevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 514fdee7d99f from __future__ import annotations from .builtinconnectors import BuiltInConnectors diff --git a/src/mistralai/client/models/toolexecutionentry.py b/src/mistralai/client/models/toolexecutionentry.py index 226adce18..709f4c913 100644 --- a/src/mistralai/client/models/toolexecutionentry.py +++ b/src/mistralai/client/models/toolexecutionentry.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 76db69eebe41 from __future__ import annotations from .builtinconnectors import BuiltInConnectors diff --git a/src/mistralai/client/models/toolexecutionstartedevent.py b/src/mistralai/client/models/toolexecutionstartedevent.py index a4af27b85..3b686f804 100644 --- a/src/mistralai/client/models/toolexecutionstartedevent.py +++ b/src/mistralai/client/models/toolexecutionstartedevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 40fadb8e49a1 from __future__ import annotations from .builtinconnectors import BuiltInConnectors diff --git a/src/mistralai/client/models/toolfilechunk.py b/src/mistralai/client/models/toolfilechunk.py index 1d9e6118a..1c2f3a897 100644 --- a/src/mistralai/client/models/toolfilechunk.py +++ b/src/mistralai/client/models/toolfilechunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 26c8aadf416a from __future__ import annotations from .builtinconnectors import BuiltInConnectors diff --git a/src/mistralai/client/models/toolmessage.py b/src/mistralai/client/models/toolmessage.py index 0dc9e92f5..c5f1311ee 100644 --- a/src/mistralai/client/models/toolmessage.py +++ b/src/mistralai/client/models/toolmessage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 15f1af161031 from __future__ import annotations from .contentchunk import ContentChunk, ContentChunkTypedDict diff --git a/src/mistralai/client/models/toolproperties.py b/src/mistralai/client/models/toolproperties.py index d3bf9789b..c1003229e 100644 --- a/src/mistralai/client/models/toolproperties.py +++ b/src/mistralai/client/models/toolproperties.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3a33561f76fc from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/toolreferencechunk.py b/src/mistralai/client/models/toolreferencechunk.py index 391724edb..bbb091b1b 100644 --- a/src/mistralai/client/models/toolreferencechunk.py +++ b/src/mistralai/client/models/toolreferencechunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 822e9f3e70de from __future__ import annotations from .builtinconnectors import BuiltInConnectors diff --git a/src/mistralai/client/models/toolscapability.py b/src/mistralai/client/models/toolscapability.py index 94e5ddc80..0b4be45c0 100644 --- a/src/mistralai/client/models/toolscapability.py +++ b/src/mistralai/client/models/toolscapability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2feda23ea584 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/tooltype.py b/src/mistralai/client/models/tooltype.py index 1a7781fc2..7592612fa 100644 --- a/src/mistralai/client/models/tooltype.py +++ b/src/mistralai/client/models/tooltype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cbe8c44aee50 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/tooltypes.py b/src/mistralai/client/models/tooltypes.py index e601c1967..abb26c258 100644 --- a/src/mistralai/client/models/tooltypes.py +++ b/src/mistralai/client/models/tooltypes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 86c3b54272fd from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/tracesrequest.py b/src/mistralai/client/models/tracesrequest.py index ac646efbb..299451498 100644 --- a/src/mistralai/client/models/tracesrequest.py +++ b/src/mistralai/client/models/tracesrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: df80914625df from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/transcriptionresponse.py b/src/mistralai/client/models/transcriptionresponse.py index c512a3453..1489c49d8 100644 --- a/src/mistralai/client/models/transcriptionresponse.py +++ b/src/mistralai/client/models/transcriptionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 60896dbc6345 from __future__ import annotations from .transcriptionsegmentchunk import ( diff --git a/src/mistralai/client/models/transcriptionsegmentchunk.py b/src/mistralai/client/models/transcriptionsegmentchunk.py index 260e73f8f..8e593016e 100644 --- a/src/mistralai/client/models/transcriptionsegmentchunk.py +++ b/src/mistralai/client/models/transcriptionsegmentchunk.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d1e6f3bdc74b from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/transcriptionstreamdone.py b/src/mistralai/client/models/transcriptionstreamdone.py index 89357277e..907294199 100644 --- a/src/mistralai/client/models/transcriptionstreamdone.py +++ b/src/mistralai/client/models/transcriptionstreamdone.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 066a9158ed09 from __future__ import annotations from .transcriptionsegmentchunk import ( diff --git a/src/mistralai/client/models/transcriptionstreamevents.py b/src/mistralai/client/models/transcriptionstreamevents.py index 073fd99ae..4df0f9821 100644 --- a/src/mistralai/client/models/transcriptionstreamevents.py +++ b/src/mistralai/client/models/transcriptionstreamevents.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b50b3d74f16f from __future__ import annotations from .transcriptionstreamdone import ( diff --git a/src/mistralai/client/models/transcriptionstreameventtypes.py b/src/mistralai/client/models/transcriptionstreameventtypes.py index c74bbb748..cb6b28898 100644 --- a/src/mistralai/client/models/transcriptionstreameventtypes.py +++ b/src/mistralai/client/models/transcriptionstreameventtypes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6f71f6fbf4c5 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/transcriptionstreamlanguage.py b/src/mistralai/client/models/transcriptionstreamlanguage.py index b6c619068..a981c04fb 100644 --- a/src/mistralai/client/models/transcriptionstreamlanguage.py +++ b/src/mistralai/client/models/transcriptionstreamlanguage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e94333e4bc27 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/transcriptionstreamsegmentdelta.py b/src/mistralai/client/models/transcriptionstreamsegmentdelta.py index 0bdf01e0b..12755a6e5 100644 --- a/src/mistralai/client/models/transcriptionstreamsegmentdelta.py +++ b/src/mistralai/client/models/transcriptionstreamsegmentdelta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c0a882ce57e5 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/transcriptionstreamtextdelta.py b/src/mistralai/client/models/transcriptionstreamtextdelta.py index 42f0ffb7f..8cf56d99b 100644 --- a/src/mistralai/client/models/transcriptionstreamtextdelta.py +++ b/src/mistralai/client/models/transcriptionstreamtextdelta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6086dc081147 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/trigger_schedule_v1_workflows_schedules_schedule_id_trigger_postop.py b/src/mistralai/client/models/trigger_schedule_v1_workflows_schedules_schedule_id_trigger_postop.py index 46a68a008..aac161457 100644 --- a/src/mistralai/client/models/trigger_schedule_v1_workflows_schedules_schedule_id_trigger_postop.py +++ b/src/mistralai/client/models/trigger_schedule_v1_workflows_schedules_schedule_id_trigger_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 99d0d53968f6 from __future__ import annotations from .workflowscheduletriggerrequest import ( diff --git a/src/mistralai/client/models/turbinemeta.py b/src/mistralai/client/models/turbinemeta.py index 5084c05f7..0b5eef1a2 100644 --- a/src/mistralai/client/models/turbinemeta.py +++ b/src/mistralai/client/models/turbinemeta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 084d588caa1e from __future__ import annotations from .serverlocale import ServerLocale, ServerLocaleTypedDict diff --git a/src/mistralai/client/models/turbinetoollocale.py b/src/mistralai/client/models/turbinetoollocale.py index 42682ee15..fc09d9e10 100644 --- a/src/mistralai/client/models/turbinetoollocale.py +++ b/src/mistralai/client/models/turbinetoollocale.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2699936a7546 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/turbinetoolmeta.py b/src/mistralai/client/models/turbinetoolmeta.py index bcd4d5f2d..61ce8cc4b 100644 --- a/src/mistralai/client/models/turbinetoolmeta.py +++ b/src/mistralai/client/models/turbinetoolmeta.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cdb07c3837f7 from __future__ import annotations from .tooltype import ToolType diff --git a/src/mistralai/client/models/unarchive_workflow_v1_workflows_workflow_identifier_unarchive_putop.py b/src/mistralai/client/models/unarchive_workflow_v1_workflows_workflow_identifier_unarchive_putop.py index 3dc55512a..31aa9657d 100644 --- a/src/mistralai/client/models/unarchive_workflow_v1_workflows_workflow_identifier_unarchive_putop.py +++ b/src/mistralai/client/models/unarchive_workflow_v1_workflows_workflow_identifier_unarchive_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9df426343c2c from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/unarchivemodelresponse.py b/src/mistralai/client/models/unarchivemodelresponse.py index 5cab4c2ef..bbfeadcad 100644 --- a/src/mistralai/client/models/unarchivemodelresponse.py +++ b/src/mistralai/client/models/unarchivemodelresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 22e2ccbb0c80 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop.py b/src/mistralai/client/models/unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop.py new file mode 100644 index 000000000..7123a9cca --- /dev/null +++ b/src/mistralai/client/models/unharden_deployment_v1_workflows_deployments_deployment_id_unharden_postop.py @@ -0,0 +1,60 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from mistralai.client.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata +from pydantic import model_serializer +from typing_extensions import Annotated, NotRequired, TypedDict + + +class UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequestTypedDict( + TypedDict +): + deployment_id: str + workspace_id: NotRequired[Nullable[str]] + r"""Workspace ID to scope the request to. Defaults to the caller's context.""" + + +class UnhardenDeploymentV1WorkflowsDeploymentsDeploymentIDUnhardenPostRequest( + BaseModel +): + deployment_id: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] + + workspace_id: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Workspace ID to scope the request to. Defaults to the caller's context.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["workspace_id"]) + nullable_fields = set(["workspace_id"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/unregister_deployment_v1_rag_deployments_deployment_id_deleteop.py b/src/mistralai/client/models/unregister_deployment_v1_rag_deployments_deployment_id_deleteop.py index ddb670d80..4a33c7f27 100644 --- a/src/mistralai/client/models/unregister_deployment_v1_rag_deployments_deployment_id_deleteop.py +++ b/src/mistralai/client/models/unregister_deployment_v1_rag_deployments_deployment_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f26a43e68fa6 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/unschedule_workflow_v1_workflows_schedules_schedule_id_deleteop.py b/src/mistralai/client/models/unschedule_workflow_v1_workflows_schedules_schedule_id_deleteop.py index eac992d59..fa472adf7 100644 --- a/src/mistralai/client/models/unschedule_workflow_v1_workflows_schedules_schedule_id_deleteop.py +++ b/src/mistralai/client/models/unschedule_workflow_v1_workflows_schedules_schedule_id_deleteop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 114f67717003 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/update_dataset_record_payload_v1_observability_dataset_records_dataset_record_id_payload_putop.py b/src/mistralai/client/models/update_dataset_record_payload_v1_observability_dataset_records_dataset_record_id_payload_putop.py index d5a2bd9da..14a4d7182 100644 --- a/src/mistralai/client/models/update_dataset_record_payload_v1_observability_dataset_records_dataset_record_id_payload_putop.py +++ b/src/mistralai/client/models/update_dataset_record_payload_v1_observability_dataset_records_dataset_record_id_payload_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fa5d55a9d6cf from __future__ import annotations from .updatedatasetrecordpayloadrequest import ( diff --git a/src/mistralai/client/models/update_dataset_record_properties_v1_observability_dataset_records_dataset_record_id_properties_putop.py b/src/mistralai/client/models/update_dataset_record_properties_v1_observability_dataset_records_dataset_record_id_properties_putop.py index b828aa80d..b573790d5 100644 --- a/src/mistralai/client/models/update_dataset_record_properties_v1_observability_dataset_records_dataset_record_id_properties_putop.py +++ b/src/mistralai/client/models/update_dataset_record_properties_v1_observability_dataset_records_dataset_record_id_properties_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b0af26e00bfa from __future__ import annotations from .updatedatasetrecordpropertiesrequest import ( diff --git a/src/mistralai/client/models/update_dataset_v1_observability_datasets_dataset_id_patchop.py b/src/mistralai/client/models/update_dataset_v1_observability_datasets_dataset_id_patchop.py index 5a4405645..c0e5a3d40 100644 --- a/src/mistralai/client/models/update_dataset_v1_observability_datasets_dataset_id_patchop.py +++ b/src/mistralai/client/models/update_dataset_v1_observability_datasets_dataset_id_patchop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7bb459765cba from __future__ import annotations from .updatedatasetrequest import UpdateDatasetRequest, UpdateDatasetRequestTypedDict diff --git a/src/mistralai/client/models/update_deployment_v1_workflows_deployments_name_patchop.py b/src/mistralai/client/models/update_deployment_v1_workflows_deployments_name_patchop.py index e8662c69b..83479f1e2 100644 --- a/src/mistralai/client/models/update_deployment_v1_workflows_deployments_name_patchop.py +++ b/src/mistralai/client/models/update_deployment_v1_workflows_deployments_name_patchop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 10af4960601c from __future__ import annotations from .updatedeploymentrequest import ( diff --git a/src/mistralai/client/models/update_index_metrics_v1_rag_deployments_deployment_id_metrics_putop.py b/src/mistralai/client/models/update_index_metrics_v1_rag_deployments_deployment_id_metrics_putop.py index db99fabfb..499ed3703 100644 --- a/src/mistralai/client/models/update_index_metrics_v1_rag_deployments_deployment_id_metrics_putop.py +++ b/src/mistralai/client/models/update_index_metrics_v1_rag_deployments_deployment_id_metrics_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6c5dcb958c34 from __future__ import annotations from .updatemetricsrequestdeploymentmetricsoffline import ( diff --git a/src/mistralai/client/models/update_index_v1_rag_managed_indexes_index_name_putop.py b/src/mistralai/client/models/update_index_v1_rag_managed_indexes_index_name_putop.py index 35e92f08f..7244ccb61 100644 --- a/src/mistralai/client/models/update_index_v1_rag_managed_indexes_index_name_putop.py +++ b/src/mistralai/client/models/update_index_v1_rag_managed_indexes_index_name_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8843198a8121 from __future__ import annotations from .updatemanagedindexrequest import ( diff --git a/src/mistralai/client/models/update_judge_v1_observability_judges_judge_id_putop.py b/src/mistralai/client/models/update_judge_v1_observability_judges_judge_id_putop.py index 41c3a3657..3da59f353 100644 --- a/src/mistralai/client/models/update_judge_v1_observability_judges_judge_id_putop.py +++ b/src/mistralai/client/models/update_judge_v1_observability_judges_judge_id_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a1bace5342e6 from __future__ import annotations from .updatejudgerequest import UpdateJudgeRequest, UpdateJudgeRequestTypedDict diff --git a/src/mistralai/client/models/update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop.py b/src/mistralai/client/models/update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop.py index bb11c652c..2de5ac01c 100644 --- a/src/mistralai/client/models/update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop.py +++ b/src/mistralai/client/models/update_pipeline_config_v1_observability_pipeline_configs_pipeline_config_id_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c535dc9dce5d from __future__ import annotations from .updatepipelineconfigrequest import ( diff --git a/src/mistralai/client/models/update_pipeline_v1_observability_pipelines_pipeline_id_putop.py b/src/mistralai/client/models/update_pipeline_v1_observability_pipelines_pipeline_id_putop.py new file mode 100644 index 000000000..f3207a4ba --- /dev/null +++ b/src/mistralai/client/models/update_pipeline_v1_observability_pipelines_pipeline_id_putop.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .updatepipelinerequest import UpdatePipelineRequest, UpdatePipelineRequestTypedDict +from mistralai.client.types import BaseModel +from mistralai.client.utils import FieldMetadata, PathParamMetadata, RequestMetadata +from typing_extensions import Annotated, TypedDict + + +class UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequestTypedDict(TypedDict): + pipeline_id: str + update_pipeline_request: UpdatePipelineRequestTypedDict + + +class UpdatePipelineV1ObservabilityPipelinesPipelineIDPutRequest(BaseModel): + pipeline_id: Annotated[ + str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) + ] + + update_pipeline_request: Annotated[ + UpdatePipelineRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] diff --git a/src/mistralai/client/models/update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop.py b/src/mistralai/client/models/update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop.py index 6b7d24d46..c3fe2279b 100644 --- a/src/mistralai/client/models/update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop.py +++ b/src/mistralai/client/models/update_run_info_v1_rag_ingestion_pipeline_configurations_id_run_info_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2a14ebf4ef57 from __future__ import annotations from .updateruninfo import UpdateRunInfo, UpdateRunInfoTypedDict diff --git a/src/mistralai/client/models/update_schedule_v1_workflows_schedules_schedule_id_patchop.py b/src/mistralai/client/models/update_schedule_v1_workflows_schedules_schedule_id_patchop.py index 5e3a1be42..27a184e63 100644 --- a/src/mistralai/client/models/update_schedule_v1_workflows_schedules_schedule_id_patchop.py +++ b/src/mistralai/client/models/update_schedule_v1_workflows_schedules_schedule_id_patchop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6aaa918af7f4 from __future__ import annotations from .workflowscheduleupdaterequest import ( diff --git a/src/mistralai/client/models/update_service_account_v1_service_accounts_service_account_id_patchop.py b/src/mistralai/client/models/update_service_account_v1_service_accounts_service_account_id_patchop.py index 67c944621..5e21d4812 100644 --- a/src/mistralai/client/models/update_service_account_v1_service_accounts_service_account_id_patchop.py +++ b/src/mistralai/client/models/update_service_account_v1_service_accounts_service_account_id_patchop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 830fc7c196a1 from __future__ import annotations from .updateserviceaccountrequest import ( diff --git a/src/mistralai/client/models/update_voice_v1_audio_voices_voice_id_patchop.py b/src/mistralai/client/models/update_voice_v1_audio_voices_voice_id_patchop.py index a11b626a9..513dc84b9 100644 --- a/src/mistralai/client/models/update_voice_v1_audio_voices_voice_id_patchop.py +++ b/src/mistralai/client/models/update_voice_v1_audio_voices_voice_id_patchop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 399da05bd75e from __future__ import annotations from .voiceupdaterequest import VoiceUpdateRequest, VoiceUpdateRequestTypedDict diff --git a/src/mistralai/client/models/update_workflow_execution_v1_workflows_executions_execution_id_updates_postop.py b/src/mistralai/client/models/update_workflow_execution_v1_workflows_executions_execution_id_updates_postop.py index 30ff2baef..ecf1d0be2 100644 --- a/src/mistralai/client/models/update_workflow_execution_v1_workflows_executions_execution_id_updates_postop.py +++ b/src/mistralai/client/models/update_workflow_execution_v1_workflows_executions_execution_id_updates_postop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5799cc4ab66e from __future__ import annotations from .updateinvocationbody import UpdateInvocationBody, UpdateInvocationBodyTypedDict diff --git a/src/mistralai/client/models/update_workflow_v1_workflows_workflow_identifier_putop.py b/src/mistralai/client/models/update_workflow_v1_workflows_workflow_identifier_putop.py index 9ee9b6d2d..428af3c0f 100644 --- a/src/mistralai/client/models/update_workflow_v1_workflows_workflow_identifier_putop.py +++ b/src/mistralai/client/models/update_workflow_v1_workflows_workflow_identifier_putop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c537bd5a9dd1 from __future__ import annotations from .workflowupdaterequest import WorkflowUpdateRequest, WorkflowUpdateRequestTypedDict diff --git a/src/mistralai/client/models/updateagentrequest.py b/src/mistralai/client/models/updateagentrequest.py index 7bb9686b9..e95121cde 100644 --- a/src/mistralai/client/models/updateagentrequest.py +++ b/src/mistralai/client/models/updateagentrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 914b4b2be67a from __future__ import annotations from .codeinterpretertool import CodeInterpreterTool, CodeInterpreterToolTypedDict diff --git a/src/mistralai/client/models/updatedatasetrecordpayloadrequest.py b/src/mistralai/client/models/updatedatasetrecordpayloadrequest.py index d938eb159..d554991eb 100644 --- a/src/mistralai/client/models/updatedatasetrecordpayloadrequest.py +++ b/src/mistralai/client/models/updatedatasetrecordpayloadrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bd45f357a538 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/updatedatasetrecordpropertiesrequest.py b/src/mistralai/client/models/updatedatasetrecordpropertiesrequest.py index ccba4a5c7..fae76d5e5 100644 --- a/src/mistralai/client/models/updatedatasetrecordpropertiesrequest.py +++ b/src/mistralai/client/models/updatedatasetrecordpropertiesrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c457ead40a69 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/updatedatasetrequest.py b/src/mistralai/client/models/updatedatasetrequest.py index ddbaad123..6333a69ff 100644 --- a/src/mistralai/client/models/updatedatasetrequest.py +++ b/src/mistralai/client/models/updatedatasetrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bbb067caa23f from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/updatedefinition.py b/src/mistralai/client/models/updatedefinition.py index e878c8764..fb55453e4 100644 --- a/src/mistralai/client/models/updatedefinition.py +++ b/src/mistralai/client/models/updatedefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 143f97683a02 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/updatedeploymentrequest.py b/src/mistralai/client/models/updatedeploymentrequest.py index b93518fd7..853aa9b94 100644 --- a/src/mistralai/client/models/updatedeploymentrequest.py +++ b/src/mistralai/client/models/updatedeploymentrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f13927d84169 from __future__ import annotations from .deploymentresourceconfigupdate import ( diff --git a/src/mistralai/client/models/updatedocumentrequest.py b/src/mistralai/client/models/updatedocumentrequest.py index 07c6f5e36..a85590425 100644 --- a/src/mistralai/client/models/updatedocumentrequest.py +++ b/src/mistralai/client/models/updatedocumentrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a8cfda07d337 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/updatehttpconnectorrequest.py b/src/mistralai/client/models/updatehttpconnectorrequest.py index bb7099d51..20ebf1964 100644 --- a/src/mistralai/client/models/updatehttpconnectorrequest.py +++ b/src/mistralai/client/models/updatehttpconnectorrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f2f49d4766b1 from __future__ import annotations from .authenticationmethodcreateorupdaterequest import ( diff --git a/src/mistralai/client/models/updateinvocationbody.py b/src/mistralai/client/models/updateinvocationbody.py index a300bd200..8f5557852 100644 --- a/src/mistralai/client/models/updateinvocationbody.py +++ b/src/mistralai/client/models/updateinvocationbody.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b8558eff0be0 from __future__ import annotations from .networkencodedinput import NetworkEncodedInput, NetworkEncodedInputTypedDict diff --git a/src/mistralai/client/models/updatejudgerequest.py b/src/mistralai/client/models/updatejudgerequest.py index 04c86ab65..1d02c4ff3 100644 --- a/src/mistralai/client/models/updatejudgerequest.py +++ b/src/mistralai/client/models/updatejudgerequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f6ad6fb901a0 from __future__ import annotations from .judgeclassificationoutput import ( diff --git a/src/mistralai/client/models/updatelibraryrequest.py b/src/mistralai/client/models/updatelibraryrequest.py index 64af28c59..5d8da385a 100644 --- a/src/mistralai/client/models/updatelibraryrequest.py +++ b/src/mistralai/client/models/updatelibraryrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 51bc63885337 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/updatemanagedindexrequest.py b/src/mistralai/client/models/updatemanagedindexrequest.py index 14d5ef5c3..675e6be34 100644 --- a/src/mistralai/client/models/updatemanagedindexrequest.py +++ b/src/mistralai/client/models/updatemanagedindexrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 74e61d1413aa from __future__ import annotations from .managedindexfields import ManagedIndexFields, ManagedIndexFieldsTypedDict diff --git a/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsoffline.py b/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsoffline.py index 506e6799e..c4d2447e6 100644 --- a/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsoffline.py +++ b/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsoffline.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7e7972591620 from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsonline.py b/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsonline.py index 960389669..c099f60d9 100644 --- a/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsonline.py +++ b/src/mistralai/client/models/updatemetricsrequestdeploymentmetricsonline.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 56bb6df51918 from __future__ import annotations from .updatemetricsrequestindexmetrics import ( diff --git a/src/mistralai/client/models/updatemetricsrequestindexmetrics.py b/src/mistralai/client/models/updatemetricsrequestindexmetrics.py index 607e90f8f..f0c34210a 100644 --- a/src/mistralai/client/models/updatemetricsrequestindexmetrics.py +++ b/src/mistralai/client/models/updatemetricsrequestindexmetrics.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 070491b02fb5 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/updatemodelrequest.py b/src/mistralai/client/models/updatemodelrequest.py index 0179ba140..1cce099fe 100644 --- a/src/mistralai/client/models/updatemodelrequest.py +++ b/src/mistralai/client/models/updatemodelrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: fe649967751e from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/updatepipelineconfigrequest.py b/src/mistralai/client/models/updatepipelineconfigrequest.py index 04bc15993..5fc62fa33 100644 --- a/src/mistralai/client/models/updatepipelineconfigrequest.py +++ b/src/mistralai/client/models/updatepipelineconfigrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: eb8f4ba88757 from __future__ import annotations from .pipelineconfigdefinition import ( @@ -27,7 +26,7 @@ class UpdatePipelineConfigRequestTypedDict(TypedDict): name: str pipeline_kind: PipelineKind selectors: List[PipelineConfigSelectorTypedDict] - definitions: List[PipelineConfigDefinitionTypedDict] + definition: PipelineConfigDefinitionTypedDict enabled: bool description: NotRequired[Nullable[str]] @@ -39,7 +38,7 @@ class UpdatePipelineConfigRequest(BaseModel): selectors: List[PipelineConfigSelector] - definitions: List[PipelineConfigDefinition] + definition: PipelineConfigDefinition enabled: bool diff --git a/src/mistralai/client/models/updatepipelinerequest.py b/src/mistralai/client/models/updatepipelinerequest.py new file mode 100644 index 000000000..b7ee4bddf --- /dev/null +++ b/src/mistralai/client/models/updatepipelinerequest.py @@ -0,0 +1,63 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .judgedefinition import JudgeDefinition, JudgeDefinitionTypedDict +from .pipelineconfigselector import ( + PipelineConfigSelector, + PipelineConfigSelectorTypedDict, +) +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing import List +from typing_extensions import NotRequired, TypedDict + + +class UpdatePipelineRequestTypedDict(TypedDict): + name: str + selectors: List[PipelineConfigSelectorTypedDict] + definitions: List[JudgeDefinitionTypedDict] + enabled: bool + description: NotRequired[Nullable[str]] + + +class UpdatePipelineRequest(BaseModel): + name: str + + selectors: List[PipelineConfigSelector] + + definitions: List[JudgeDefinition] + + enabled: bool + + description: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["description"]) + nullable_fields = set(["description"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/updateruninfo.py b/src/mistralai/client/models/updateruninfo.py index 91038d1d8..8094cc750 100644 --- a/src/mistralai/client/models/updateruninfo.py +++ b/src/mistralai/client/models/updateruninfo.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4330bdaa00b9 from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/updateserviceaccountrequest.py b/src/mistralai/client/models/updateserviceaccountrequest.py index 666c6cbf6..daaa63daa 100644 --- a/src/mistralai/client/models/updateserviceaccountrequest.py +++ b/src/mistralai/client/models/updateserviceaccountrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5cec60f5e388 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/updateworkflowresponse.py b/src/mistralai/client/models/updateworkflowresponse.py index 699bef98d..909daef03 100644 --- a/src/mistralai/client/models/updateworkflowresponse.py +++ b/src/mistralai/client/models/updateworkflowresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f5dcf717a0a1 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/usageinfo.py b/src/mistralai/client/models/usageinfo.py index 5b09dafad..e8978e852 100644 --- a/src/mistralai/client/models/usageinfo.py +++ b/src/mistralai/client/models/usageinfo.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 54adb9a3af16 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/usageinfo_dollar_defs.py b/src/mistralai/client/models/usageinfo_dollar_defs.py index 20686bff2..25ffc4e40 100644 --- a/src/mistralai/client/models/usageinfo_dollar_defs.py +++ b/src/mistralai/client/models/usageinfo_dollar_defs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d543506af998 from __future__ import annotations from .completiontokensdetails import ( @@ -27,6 +26,8 @@ class UsageInfoDollarDefsTypedDict(TypedDict): request_count: NotRequired[Nullable[int]] prompt_tokens_details: NotRequired[Nullable[PromptTokensDetailsTypedDict]] completion_tokens_details: NotRequired[Nullable[CompletionTokensDetailsTypedDict]] + service_tier: NotRequired[Nullable[str]] + r"""The service tier at which the request was processed: standard or priority.""" prompt_token_details: NotRequired[Nullable[PromptTokensDetailsTypedDict]] num_cached_tokens: NotRequired[Nullable[int]] @@ -46,6 +47,9 @@ class UsageInfoDollarDefs(BaseModel): completion_tokens_details: OptionalNullable[CompletionTokensDetails] = UNSET + service_tier: OptionalNullable[str] = UNSET + r"""The service tier at which the request was processed: standard or priority.""" + prompt_token_details: OptionalNullable[PromptTokensDetails] = UNSET num_cached_tokens: OptionalNullable[int] = UNSET @@ -61,6 +65,7 @@ def serialize_model(self, handler): "request_count", "prompt_tokens_details", "completion_tokens_details", + "service_tier", "prompt_token_details", "num_cached_tokens", ] @@ -72,6 +77,7 @@ def serialize_model(self, handler): "request_count", "prompt_tokens_details", "completion_tokens_details", + "service_tier", "prompt_token_details", "num_cached_tokens", ] diff --git a/src/mistralai/client/models/useridentity.py b/src/mistralai/client/models/useridentity.py index 7da7bff3c..c706546ef 100644 --- a/src/mistralai/client/models/useridentity.py +++ b/src/mistralai/client/models/useridentity.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8b1effdfe1ba from __future__ import annotations from .useridentityapikey import UserIdentityAPIKey, UserIdentityAPIKeyTypedDict diff --git a/src/mistralai/client/models/useridentityapikey.py b/src/mistralai/client/models/useridentityapikey.py index 2cdbc0f89..98a6955b3 100644 --- a/src/mistralai/client/models/useridentityapikey.py +++ b/src/mistralai/client/models/useridentityapikey.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 163a67bef05a from __future__ import annotations from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL diff --git a/src/mistralai/client/models/useridentityorganization.py b/src/mistralai/client/models/useridentityorganization.py index a62208214..28122e1e6 100644 --- a/src/mistralai/client/models/useridentityorganization.py +++ b/src/mistralai/client/models/useridentityorganization.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 646f6c60c670 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/useridentityworkspace.py b/src/mistralai/client/models/useridentityworkspace.py index 8bd8561c5..83c8ab1ba 100644 --- a/src/mistralai/client/models/useridentityworkspace.py +++ b/src/mistralai/client/models/useridentityworkspace.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b0f8ef23c566 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/usermessage.py b/src/mistralai/client/models/usermessage.py index 7b4b55630..74cd5b83e 100644 --- a/src/mistralai/client/models/usermessage.py +++ b/src/mistralai/client/models/usermessage.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: cb583483acf4 from __future__ import annotations from .contentchunk import ContentChunk, ContentChunkTypedDict diff --git a/src/mistralai/client/models/userorganization.py b/src/mistralai/client/models/userorganization.py index 4dbae055c..bb047d51a 100644 --- a/src/mistralai/client/models/userorganization.py +++ b/src/mistralai/client/models/userorganization.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7d9e0649c16e from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/users_api_get_identityop.py b/src/mistralai/client/models/users_api_get_identityop.py index f15cb2ee4..0fbb6e2de 100644 --- a/src/mistralai/client/models/users_api_get_identityop.py +++ b/src/mistralai/client/models/users_api_get_identityop.py @@ -1,19 +1,21 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c2f2ad3f3d91 from __future__ import annotations -from mistralai.client.types import BaseModel +from mistralai.client.types import BaseModel, UNSET_SENTINEL from mistralai.client.utils import FieldMetadata, SecurityMetadata -from typing_extensions import Annotated, TypedDict +from pydantic import model_serializer +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict class UsersAPIGetIdentitySecurityTypedDict(TypedDict): - dashboard_user_context_auth: str + dashboard_user_context_auth: NotRequired[str] + bearer_user_context_auth: NotRequired[str] class UsersAPIGetIdentitySecurity(BaseModel): dashboard_user_context_auth: Annotated[ - str, + Optional[str], FieldMetadata( security=SecurityMetadata( scheme=True, @@ -22,4 +24,32 @@ class UsersAPIGetIdentitySecurity(BaseModel): field_name="x-api-key", ) ), - ] + ] = None + + bearer_user_context_auth: Annotated[ + Optional[str], + FieldMetadata( + security=SecurityMetadata( + scheme=True, + scheme_type="http", + sub_type="bearer", + field_name="Authorization", + ) + ), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["DashboardUserContextAuth", "BearerUserContextAuth"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/mistralai/client/models/users_api_list_organizationsop.py b/src/mistralai/client/models/users_api_list_organizationsop.py index 46ad22a75..208009959 100644 --- a/src/mistralai/client/models/users_api_list_organizationsop.py +++ b/src/mistralai/client/models/users_api_list_organizationsop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dae93bc89ca4 from __future__ import annotations from .listorganizationsresponse import ( @@ -14,12 +13,13 @@ class UsersAPIListOrganizationsSecurityTypedDict(TypedDict): - dashboard_user_context_auth: str + dashboard_user_context_auth: NotRequired[str] + bearer_user_context_auth: NotRequired[str] class UsersAPIListOrganizationsSecurity(BaseModel): dashboard_user_context_auth: Annotated[ - str, + Optional[str], FieldMetadata( security=SecurityMetadata( scheme=True, @@ -28,7 +28,35 @@ class UsersAPIListOrganizationsSecurity(BaseModel): field_name="x-api-key", ) ), - ] + ] = None + + bearer_user_context_auth: Annotated[ + Optional[str], + FieldMetadata( + security=SecurityMetadata( + scheme=True, + scheme_type="http", + sub_type="bearer", + field_name="Authorization", + ) + ), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["DashboardUserContextAuth", "BearerUserContextAuth"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m class UsersAPIListOrganizationsRequestTypedDict(TypedDict): diff --git a/src/mistralai/client/models/users_api_list_workspacesop.py b/src/mistralai/client/models/users_api_list_workspacesop.py index acee8b8b2..ab994d63e 100644 --- a/src/mistralai/client/models/users_api_list_workspacesop.py +++ b/src/mistralai/client/models/users_api_list_workspacesop.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 03c86035bb00 from __future__ import annotations from .listworkspacesresponse import ( @@ -20,12 +19,13 @@ class UsersAPIListWorkspacesSecurityTypedDict(TypedDict): - dashboard_user_context_auth: str + dashboard_user_context_auth: NotRequired[str] + bearer_user_context_auth: NotRequired[str] class UsersAPIListWorkspacesSecurity(BaseModel): dashboard_user_context_auth: Annotated[ - str, + Optional[str], FieldMetadata( security=SecurityMetadata( scheme=True, @@ -34,7 +34,35 @@ class UsersAPIListWorkspacesSecurity(BaseModel): field_name="x-api-key", ) ), - ] + ] = None + + bearer_user_context_auth: Annotated[ + Optional[str], + FieldMetadata( + security=SecurityMetadata( + scheme=True, + scheme_type="http", + sub_type="bearer", + field_name="Authorization", + ) + ), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["DashboardUserContextAuth", "BearerUserContextAuth"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m class UsersAPIListWorkspacesRequestTypedDict(TypedDict): diff --git a/src/mistralai/client/models/userworkspace.py b/src/mistralai/client/models/userworkspace.py index b48b7b853..7b0104553 100644 --- a/src/mistralai/client/models/userworkspace.py +++ b/src/mistralai/client/models/userworkspace.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6878232e26d9 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/validationerror.py b/src/mistralai/client/models/validationerror.py index 5fe796db9..6ad4d1b53 100644 --- a/src/mistralai/client/models/validationerror.py +++ b/src/mistralai/client/models/validationerror.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 15df3c7368ab from __future__ import annotations from mistralai.client.types import BaseModel, UNSET_SENTINEL diff --git a/src/mistralai/client/models/vectordtype.py b/src/mistralai/client/models/vectordtype.py index ad1b4e2dc..8e4c8432d 100644 --- a/src/mistralai/client/models/vectordtype.py +++ b/src/mistralai/client/models/vectordtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f0e8694b67b2 from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/voicecreaterequest.py b/src/mistralai/client/models/voicecreaterequest.py index b76c60253..c9bf384ba 100644 --- a/src/mistralai/client/models/voicecreaterequest.py +++ b/src/mistralai/client/models/voicecreaterequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9a1752117dec from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/voicegender.py b/src/mistralai/client/models/voicegender.py new file mode 100644 index 000000000..2a78480e7 --- /dev/null +++ b/src/mistralai/client/models/voicegender.py @@ -0,0 +1,11 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +VoiceGender = Literal[ + "female", + "male", + "neutral", +] diff --git a/src/mistralai/client/models/voicelistpage.py b/src/mistralai/client/models/voicelistpage.py new file mode 100644 index 000000000..03c3bd339 --- /dev/null +++ b/src/mistralai/client/models/voicelistpage.py @@ -0,0 +1,52 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .voiceresponse import VoiceResponse, VoiceResponseTypedDict +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing import List +from typing_extensions import NotRequired, TypedDict + + +class VoiceListPageTypedDict(TypedDict): + data: List[VoiceResponseTypedDict] + next_page_token: NotRequired[Nullable[str]] + r"""Cursor for the next page, null on the last page""" + + +class VoiceListPage(BaseModel): + data: List[VoiceResponse] + + next_page_token: OptionalNullable[str] = UNSET + r"""Cursor for the next page, null on the last page""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["next_page_token"]) + nullable_fields = set(["next_page_token"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/voicelistresponse.py b/src/mistralai/client/models/voicelistresponse.py index eda768f53..2ccbccf9c 100644 --- a/src/mistralai/client/models/voicelistresponse.py +++ b/src/mistralai/client/models/voicelistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: df4b1182d193 from __future__ import annotations from .voiceresponse import VoiceResponse, VoiceResponseTypedDict diff --git a/src/mistralai/client/models/voiceresponse.py b/src/mistralai/client/models/voiceresponse.py index 5b76a72f8..06444cc98 100644 --- a/src/mistralai/client/models/voiceresponse.py +++ b/src/mistralai/client/models/voiceresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 24138e419fae from __future__ import annotations from datetime import datetime diff --git a/src/mistralai/client/models/voiceupdaterequest.py b/src/mistralai/client/models/voiceupdaterequest.py index cff906db4..9f82465e5 100644 --- a/src/mistralai/client/models/voiceupdaterequest.py +++ b/src/mistralai/client/models/voiceupdaterequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 798f8ff225de from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/websearchpremiumtool.py b/src/mistralai/client/models/websearchpremiumtool.py index 5c929e94c..6d51e7ab8 100644 --- a/src/mistralai/client/models/websearchpremiumtool.py +++ b/src/mistralai/client/models/websearchpremiumtool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bfe88af887e3 from __future__ import annotations from .toolconfiguration import ToolConfiguration, ToolConfigurationTypedDict diff --git a/src/mistralai/client/models/websearchtool.py b/src/mistralai/client/models/websearchtool.py index f82b6ec1c..5254d1719 100644 --- a/src/mistralai/client/models/websearchtool.py +++ b/src/mistralai/client/models/websearchtool.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 26b0903423e5 from __future__ import annotations from .toolconfiguration import ToolConfiguration, ToolConfigurationTypedDict diff --git a/src/mistralai/client/models/workflow.py b/src/mistralai/client/models/workflow.py index 4c614b2f6..ad551d026 100644 --- a/src/mistralai/client/models/workflow.py +++ b/src/mistralai/client/models/workflow.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1548cd73984e from __future__ import annotations from .workflowtype import WorkflowType diff --git a/src/mistralai/client/models/workflowarchiveresponse.py b/src/mistralai/client/models/workflowarchiveresponse.py index 18eeccf26..74571c808 100644 --- a/src/mistralai/client/models/workflowarchiveresponse.py +++ b/src/mistralai/client/models/workflowarchiveresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 64c479b7f9da from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowbasicdefinition.py b/src/mistralai/client/models/workflowbasicdefinition.py index 780abfb00..8a2e854fd 100644 --- a/src/mistralai/client/models/workflowbasicdefinition.py +++ b/src/mistralai/client/models/workflowbasicdefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 34623036478d from __future__ import annotations from .workflowmetadata import WorkflowMetadata, WorkflowMetadataTypedDict diff --git a/src/mistralai/client/models/workflowbulkarchiverequest.py b/src/mistralai/client/models/workflowbulkarchiverequest.py index fb2089192..b887be801 100644 --- a/src/mistralai/client/models/workflowbulkarchiverequest.py +++ b/src/mistralai/client/models/workflowbulkarchiverequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0e0bf7feeede from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/workflowbulkarchiveresponse.py b/src/mistralai/client/models/workflowbulkarchiveresponse.py index 506724b3f..6d7dbb6f4 100644 --- a/src/mistralai/client/models/workflowbulkarchiveresponse.py +++ b/src/mistralai/client/models/workflowbulkarchiveresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 132f69064b86 from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowbulkerror.py b/src/mistralai/client/models/workflowbulkerror.py index 076c938a5..8819776f4 100644 --- a/src/mistralai/client/models/workflowbulkerror.py +++ b/src/mistralai/client/models/workflowbulkerror.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 61b9b62c7fd6 from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowbulkunarchiverequest.py b/src/mistralai/client/models/workflowbulkunarchiverequest.py index 6ffecd91d..bef953073 100644 --- a/src/mistralai/client/models/workflowbulkunarchiverequest.py +++ b/src/mistralai/client/models/workflowbulkunarchiverequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b04414883bed from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/workflowbulkunarchiveresponse.py b/src/mistralai/client/models/workflowbulkunarchiveresponse.py index f2ab37272..40e6431e4 100644 --- a/src/mistralai/client/models/workflowbulkunarchiveresponse.py +++ b/src/mistralai/client/models/workflowbulkunarchiveresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 34554c6df2e3 from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowcodedefinition.py b/src/mistralai/client/models/workflowcodedefinition.py index 1f3009bf8..1ec4e54a7 100644 --- a/src/mistralai/client/models/workflowcodedefinition.py +++ b/src/mistralai/client/models/workflowcodedefinition.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 36fd5b898ddd from __future__ import annotations from .querydefinition import QueryDefinition, QueryDefinitionTypedDict diff --git a/src/mistralai/client/models/workfloweventtype.py b/src/mistralai/client/models/workfloweventtype.py index 8c386b01b..4f891f477 100644 --- a/src/mistralai/client/models/workfloweventtype.py +++ b/src/mistralai/client/models/workfloweventtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b4aeeb03b57a from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/workflowexecutioncanceledattributes.py b/src/mistralai/client/models/workflowexecutioncanceledattributes.py index 69327cdc7..478fc0dac 100644 --- a/src/mistralai/client/models/workflowexecutioncanceledattributes.py +++ b/src/mistralai/client/models/workflowexecutioncanceledattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c0802a5de5e5 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/workflowexecutioncanceledresponse.py b/src/mistralai/client/models/workflowexecutioncanceledresponse.py index fd57d6cb1..35f522490 100644 --- a/src/mistralai/client/models/workflowexecutioncanceledresponse.py +++ b/src/mistralai/client/models/workflowexecutioncanceledresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bcc392d67222 from __future__ import annotations from .workflowexecutioncanceledattributes import ( WorkflowExecutionCanceledAttributes, WorkflowExecutionCanceledAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowExecutionCanceledResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class WorkflowExecutionCanceledResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class WorkflowExecutionCanceledResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowExecutionCanceledAttributesTypedDict r"""Attributes for workflow execution canceled events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_EXECUTION_CANCELED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class WorkflowExecutionCanceledResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class WorkflowExecutionCanceledResponse(BaseModel): attributes: WorkflowExecutionCanceledAttributes r"""Attributes for workflow execution canceled events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_EXECUTION_CANCELED"]], @@ -102,7 +107,15 @@ class WorkflowExecutionCanceledResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py b/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py index f35e3007c..bc90400e7 100644 --- a/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py +++ b/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f831331b0eb1 from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/workflowexecutioncompletedresponse.py b/src/mistralai/client/models/workflowexecutioncompletedresponse.py index 8dc4616eb..de3cb1ff8 100644 --- a/src/mistralai/client/models/workflowexecutioncompletedresponse.py +++ b/src/mistralai/client/models/workflowexecutioncompletedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a1bec20dfb0e from __future__ import annotations from .workflowexecutioncompletedattributesresponse import ( WorkflowExecutionCompletedAttributesResponse, WorkflowExecutionCompletedAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowExecutionCompletedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class WorkflowExecutionCompletedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class WorkflowExecutionCompletedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowExecutionCompletedAttributesResponseTypedDict r"""Attributes for workflow execution completed events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_EXECUTION_COMPLETED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class WorkflowExecutionCompletedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class WorkflowExecutionCompletedResponse(BaseModel): attributes: WorkflowExecutionCompletedAttributesResponse r"""Attributes for workflow execution completed events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_EXECUTION_COMPLETED"]], @@ -102,7 +107,15 @@ class WorkflowExecutionCompletedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowexecutioncontinuedasnewattributesresponse.py b/src/mistralai/client/models/workflowexecutioncontinuedasnewattributesresponse.py index 2ddbf0af4..dac7b1dea 100644 --- a/src/mistralai/client/models/workflowexecutioncontinuedasnewattributesresponse.py +++ b/src/mistralai/client/models/workflowexecutioncontinuedasnewattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2dd61dcd7b48 from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py b/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py index 3c2e5588f..0c0e1e13d 100644 --- a/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py +++ b/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: be26cd87dcb3 from __future__ import annotations from .workflowexecutioncontinuedasnewattributesresponse import ( WorkflowExecutionContinuedAsNewAttributesResponse, WorkflowExecutionContinuedAsNewAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowExecutionContinuedAsNewResponseTypedDict(TypedDict): @@ -30,14 +35,6 @@ class WorkflowExecutionContinuedAsNewResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -46,6 +43,14 @@ class WorkflowExecutionContinuedAsNewResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowExecutionContinuedAsNewAttributesResponseTypedDict r"""Attributes for workflow execution continued-as-new events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_EXECUTION_CONTINUED_AS_NEW"] r"""Event type discriminator.""" @@ -69,18 +74,6 @@ class WorkflowExecutionContinuedAsNewResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -93,6 +86,18 @@ class WorkflowExecutionContinuedAsNewResponse(BaseModel): attributes: WorkflowExecutionContinuedAsNewAttributesResponse r"""Attributes for workflow execution continued-as-new events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_EXECUTION_CONTINUED_AS_NEW"]], @@ -104,7 +109,15 @@ class WorkflowExecutionContinuedAsNewResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowexecutionfailedattributes.py b/src/mistralai/client/models/workflowexecutionfailedattributes.py index 440b6c7a3..45737252a 100644 --- a/src/mistralai/client/models/workflowexecutionfailedattributes.py +++ b/src/mistralai/client/models/workflowexecutionfailedattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dbb7fb36a4fd from __future__ import annotations from .failure import Failure, FailureTypedDict diff --git a/src/mistralai/client/models/workflowexecutionfailedresponse.py b/src/mistralai/client/models/workflowexecutionfailedresponse.py index d0480238a..3db69a3a2 100644 --- a/src/mistralai/client/models/workflowexecutionfailedresponse.py +++ b/src/mistralai/client/models/workflowexecutionfailedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a0836009f9de from __future__ import annotations from .workflowexecutionfailedattributes import ( WorkflowExecutionFailedAttributes, WorkflowExecutionFailedAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowExecutionFailedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class WorkflowExecutionFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class WorkflowExecutionFailedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowExecutionFailedAttributesTypedDict r"""Attributes for workflow execution failed events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_EXECUTION_FAILED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class WorkflowExecutionFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class WorkflowExecutionFailedResponse(BaseModel): attributes: WorkflowExecutionFailedAttributes r"""Attributes for workflow execution failed events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_EXECUTION_FAILED"]], @@ -102,7 +107,15 @@ class WorkflowExecutionFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowexecutionlistresponse.py b/src/mistralai/client/models/workflowexecutionlistresponse.py index b992bc8e6..fa21a2b98 100644 --- a/src/mistralai/client/models/workflowexecutionlistresponse.py +++ b/src/mistralai/client/models/workflowexecutionlistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c2b2e1ab4821 from __future__ import annotations from .workflowexecutionwithoutresultresponse import ( diff --git a/src/mistralai/client/models/workflowexecutionprogresstraceevent.py b/src/mistralai/client/models/workflowexecutionprogresstraceevent.py index ffebdb82a..f22a4ae9d 100644 --- a/src/mistralai/client/models/workflowexecutionprogresstraceevent.py +++ b/src/mistralai/client/models/workflowexecutionprogresstraceevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6ea7078aaca3 from __future__ import annotations from .eventprogressstatus import EventProgressStatus diff --git a/src/mistralai/client/models/workflowexecutionrequest.py b/src/mistralai/client/models/workflowexecutionrequest.py index a7b3381f3..6e086a95d 100644 --- a/src/mistralai/client/models/workflowexecutionrequest.py +++ b/src/mistralai/client/models/workflowexecutionrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 806340497ed4 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/workflowexecutionresponse.py b/src/mistralai/client/models/workflowexecutionresponse.py index 4ac13c7e8..f43338992 100644 --- a/src/mistralai/client/models/workflowexecutionresponse.py +++ b/src/mistralai/client/models/workflowexecutionresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 758786637be5 from __future__ import annotations from .workflowexecutionstatus import WorkflowExecutionStatus diff --git a/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py b/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py index 728cc9544..24d4cad18 100644 --- a/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py +++ b/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d2276919a895 from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict diff --git a/src/mistralai/client/models/workflowexecutionstartedresponse.py b/src/mistralai/client/models/workflowexecutionstartedresponse.py index 87ec36224..f8b7122af 100644 --- a/src/mistralai/client/models/workflowexecutionstartedresponse.py +++ b/src/mistralai/client/models/workflowexecutionstartedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e1a597c911ea from __future__ import annotations from .workflowexecutionstartedattributesresponse import ( WorkflowExecutionStartedAttributesResponse, WorkflowExecutionStartedAttributesResponseTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowExecutionStartedResponseTypedDict(TypedDict): @@ -29,14 +34,6 @@ class WorkflowExecutionStartedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -45,6 +42,14 @@ class WorkflowExecutionStartedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowExecutionStartedAttributesResponseTypedDict r"""Attributes for workflow execution started events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_EXECUTION_STARTED"] r"""Event type discriminator.""" @@ -67,18 +72,6 @@ class WorkflowExecutionStartedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -91,6 +84,18 @@ class WorkflowExecutionStartedResponse(BaseModel): attributes: WorkflowExecutionStartedAttributesResponse r"""Attributes for workflow execution started events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_EXECUTION_STARTED"]], @@ -102,7 +107,15 @@ class WorkflowExecutionStartedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowexecutionstatus.py b/src/mistralai/client/models/workflowexecutionstatus.py index 611f3aa1a..251ecc7c3 100644 --- a/src/mistralai/client/models/workflowexecutionstatus.py +++ b/src/mistralai/client/models/workflowexecutionstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 56a16810d5de from __future__ import annotations from mistralai.client.types import UnrecognizedStr diff --git a/src/mistralai/client/models/workflowexecutionsyncresponse.py b/src/mistralai/client/models/workflowexecutionsyncresponse.py index 6ed0f038c..81c2e28cf 100644 --- a/src/mistralai/client/models/workflowexecutionsyncresponse.py +++ b/src/mistralai/client/models/workflowexecutionsyncresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ef77c54a11b5 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/workflowexecutiontraceevent.py b/src/mistralai/client/models/workflowexecutiontraceevent.py index f74cd5ab6..e32732d0f 100644 --- a/src/mistralai/client/models/workflowexecutiontraceevent.py +++ b/src/mistralai/client/models/workflowexecutiontraceevent.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 584e0a98082a from __future__ import annotations from .eventtype import EventType diff --git a/src/mistralai/client/models/workflowexecutiontraceeventsresponse.py b/src/mistralai/client/models/workflowexecutiontraceeventsresponse.py index 3dc90c60c..a531cfa4f 100644 --- a/src/mistralai/client/models/workflowexecutiontraceeventsresponse.py +++ b/src/mistralai/client/models/workflowexecutiontraceeventsresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 94d92762ccb7 from __future__ import annotations from .workflowexecutionprogresstraceevent import ( diff --git a/src/mistralai/client/models/workflowexecutiontraceotelresponse.py b/src/mistralai/client/models/workflowexecutiontraceotelresponse.py index 84cef4252..46dafd734 100644 --- a/src/mistralai/client/models/workflowexecutiontraceotelresponse.py +++ b/src/mistralai/client/models/workflowexecutiontraceotelresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7531bf461dc2 from __future__ import annotations from .tempogettraceresponse import TempoGetTraceResponse, TempoGetTraceResponseTypedDict diff --git a/src/mistralai/client/models/workflowexecutiontracesummaryattributesvalues.py b/src/mistralai/client/models/workflowexecutiontracesummaryattributesvalues.py index 1957662ca..b9db80ef5 100644 --- a/src/mistralai/client/models/workflowexecutiontracesummaryattributesvalues.py +++ b/src/mistralai/client/models/workflowexecutiontracesummaryattributesvalues.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5e3448a39a40 from __future__ import annotations from typing import Any, List, Union diff --git a/src/mistralai/client/models/workflowexecutiontracesummaryresponse.py b/src/mistralai/client/models/workflowexecutiontracesummaryresponse.py index 46676720e..08d482165 100644 --- a/src/mistralai/client/models/workflowexecutiontracesummaryresponse.py +++ b/src/mistralai/client/models/workflowexecutiontracesummaryresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2ea199810f5f from __future__ import annotations from .workflowexecutionstatus import WorkflowExecutionStatus diff --git a/src/mistralai/client/models/workflowexecutiontracesummaryspan.py b/src/mistralai/client/models/workflowexecutiontracesummaryspan.py index e80db90fe..0b881fe93 100644 --- a/src/mistralai/client/models/workflowexecutiontracesummaryspan.py +++ b/src/mistralai/client/models/workflowexecutiontracesummaryspan.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 750353cbd052 from __future__ import annotations from .workflowexecutiontraceevent import ( diff --git a/src/mistralai/client/models/workflowexecutionwithoutresultresponse.py b/src/mistralai/client/models/workflowexecutionwithoutresultresponse.py index 110c3174b..e34bb42ad 100644 --- a/src/mistralai/client/models/workflowexecutionwithoutresultresponse.py +++ b/src/mistralai/client/models/workflowexecutionwithoutresultresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: dd70ba8def79 from __future__ import annotations from .workflowexecutionstatus import WorkflowExecutionStatus diff --git a/src/mistralai/client/models/workflowgetresponse.py b/src/mistralai/client/models/workflowgetresponse.py index ef1391c93..43be71820 100644 --- a/src/mistralai/client/models/workflowgetresponse.py +++ b/src/mistralai/client/models/workflowgetresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 230f55a36ebf from __future__ import annotations from .workflowwithworkerstatus import ( diff --git a/src/mistralai/client/models/workflowlistresponse.py b/src/mistralai/client/models/workflowlistresponse.py index a6497e825..e0841ef24 100644 --- a/src/mistralai/client/models/workflowlistresponse.py +++ b/src/mistralai/client/models/workflowlistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b255b05e7395 from __future__ import annotations from .workflowbasicdefinition import ( diff --git a/src/mistralai/client/models/workflowmetadata.py b/src/mistralai/client/models/workflowmetadata.py index 597525395..46000786e 100644 --- a/src/mistralai/client/models/workflowmetadata.py +++ b/src/mistralai/client/models/workflowmetadata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0435707d6944 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/workflowmetrics.py b/src/mistralai/client/models/workflowmetrics.py index d80bb3db6..0dd500396 100644 --- a/src/mistralai/client/models/workflowmetrics.py +++ b/src/mistralai/client/models/workflowmetrics.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 471fb1e10716 from __future__ import annotations from .scalarmetric import ScalarMetric, ScalarMetricTypedDict diff --git a/src/mistralai/client/models/workflowregistration.py b/src/mistralai/client/models/workflowregistration.py index 61df9d852..73787fc58 100644 --- a/src/mistralai/client/models/workflowregistration.py +++ b/src/mistralai/client/models/workflowregistration.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2b937728c88b from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowregistrationgetresponse.py b/src/mistralai/client/models/workflowregistrationgetresponse.py index 3105856d9..eb4d7c174 100644 --- a/src/mistralai/client/models/workflowregistrationgetresponse.py +++ b/src/mistralai/client/models/workflowregistrationgetresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f063656f22ae from __future__ import annotations from .workflowregistrationwithworkerstatus import ( diff --git a/src/mistralai/client/models/workflowregistrationlistresponse.py b/src/mistralai/client/models/workflowregistrationlistresponse.py index e66f219b2..3a143df12 100644 --- a/src/mistralai/client/models/workflowregistrationlistresponse.py +++ b/src/mistralai/client/models/workflowregistrationlistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3752e5b776db from __future__ import annotations from .workflowregistration import WorkflowRegistration, WorkflowRegistrationTypedDict diff --git a/src/mistralai/client/models/workflowregistrationwithworkerstatus.py b/src/mistralai/client/models/workflowregistrationwithworkerstatus.py index 0b43a2e9b..cd1a6ea67 100644 --- a/src/mistralai/client/models/workflowregistrationwithworkerstatus.py +++ b/src/mistralai/client/models/workflowregistrationwithworkerstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 23b661b9496f from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowschedulelistresponse.py b/src/mistralai/client/models/workflowschedulelistresponse.py index 21341ecad..2ce4a7900 100644 --- a/src/mistralai/client/models/workflowschedulelistresponse.py +++ b/src/mistralai/client/models/workflowschedulelistresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e5247c5183bb from __future__ import annotations from .scheduledefinitionoutput import ( diff --git a/src/mistralai/client/models/workflowschedulepauserequest.py b/src/mistralai/client/models/workflowschedulepauserequest.py index a27f2e90c..d3fc672f6 100644 --- a/src/mistralai/client/models/workflowschedulepauserequest.py +++ b/src/mistralai/client/models/workflowschedulepauserequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: da7b9a522bcb from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/workflowschedulerequest.py b/src/mistralai/client/models/workflowschedulerequest.py index 2ded66b98..c6226e92a 100644 --- a/src/mistralai/client/models/workflowschedulerequest.py +++ b/src/mistralai/client/models/workflowschedulerequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2d8256704c6b from __future__ import annotations from .scheduledefinition import ScheduleDefinition, ScheduleDefinitionTypedDict diff --git a/src/mistralai/client/models/workflowscheduleresponse.py b/src/mistralai/client/models/workflowscheduleresponse.py index d74ba1dae..088c628e0 100644 --- a/src/mistralai/client/models/workflowscheduleresponse.py +++ b/src/mistralai/client/models/workflowscheduleresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c77172c4a9f6 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/workflowscheduletriggerrequest.py b/src/mistralai/client/models/workflowscheduletriggerrequest.py index 38e3cc67c..46e422b8f 100644 --- a/src/mistralai/client/models/workflowscheduletriggerrequest.py +++ b/src/mistralai/client/models/workflowscheduletriggerrequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 794505d95b73 from __future__ import annotations from .scheduleoverlappolicy import ScheduleOverlapPolicy diff --git a/src/mistralai/client/models/workflowscheduleupdaterequest.py b/src/mistralai/client/models/workflowscheduleupdaterequest.py index b43dc96f3..9ba413a5f 100644 --- a/src/mistralai/client/models/workflowscheduleupdaterequest.py +++ b/src/mistralai/client/models/workflowscheduleupdaterequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 72ca0f5e6c08 from __future__ import annotations from .partialscheduledefinition import ( diff --git a/src/mistralai/client/models/workflowstreamerror.py b/src/mistralai/client/models/workflowstreamerror.py index 94e5b89c1..bb2125ebd 100644 --- a/src/mistralai/client/models/workflowstreamerror.py +++ b/src/mistralai/client/models/workflowstreamerror.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: deb3c58716b9 from __future__ import annotations from mistralai.client.types import BaseModel diff --git a/src/mistralai/client/models/workflowsworkerspecupdate.py b/src/mistralai/client/models/workflowsworkerspecupdate.py index ae689484b..95df520bc 100644 --- a/src/mistralai/client/models/workflowsworkerspecupdate.py +++ b/src/mistralai/client/models/workflowsworkerspecupdate.py @@ -1,14 +1,9 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 97b61c6693ee from __future__ import annotations -from .deploymentk8sbackendspec import ( - DeploymentK8sBackendSpec, - DeploymentK8sBackendSpecTypedDict, -) -from .deploymentkoyebbackendspec import ( - DeploymentKoyebBackendSpec, - DeploymentKoyebBackendSpecTypedDict, +from .deploymentmistralcloudbackendspec import ( + DeploymentMistralCloudBackendSpec, + DeploymentMistralCloudBackendSpecTypedDict, ) from mistralai.client.types import ( BaseModel, @@ -17,33 +12,15 @@ UNSET, UNSET_SENTINEL, ) -import pydantic -from pydantic import Field, SerializeAsAny, model_serializer -from typing import Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -WorkflowsWorkerSpecUpdateBackendSpecTypedDict = TypeAliasType( - "WorkflowsWorkerSpecUpdateBackendSpecTypedDict", - Union[DeploymentK8sBackendSpecTypedDict, DeploymentKoyebBackendSpecTypedDict], -) - - -WorkflowsWorkerSpecUpdateBackendSpec = Annotated[ - Union[DeploymentKoyebBackendSpec, DeploymentK8sBackendSpec], - Field(discriminator="type"), -] +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict class WorkflowsWorkerSpecUpdateTypedDict(TypedDict): github_url: NotRequired[Nullable[str]] revision: NotRequired[Nullable[str]] - backend_spec: NotRequired[Nullable[WorkflowsWorkerSpecUpdateBackendSpecTypedDict]] - r"""Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'.""" - entrypoint: NotRequired[Nullable[str]] - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" - working_dir: NotRequired[Nullable[str]] - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" + backend_spec: NotRequired[Nullable[DeploymentMistralCloudBackendSpecTypedDict]] + r"""Backend-specific configuration for the Mistral Cloud backend.""" class WorkflowsWorkerSpecUpdate(BaseModel): @@ -51,35 +28,13 @@ class WorkflowsWorkerSpecUpdate(BaseModel): revision: OptionalNullable[str] = UNSET - backend_spec: SerializeAsAny[ - OptionalNullable[WorkflowsWorkerSpecUpdateBackendSpec] - ] = UNSET - r"""Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'.""" - - entrypoint: Annotated[ - OptionalNullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] = UNSET - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" - - working_dir: Annotated[ - OptionalNullable[str], - pydantic.Field( - deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." - ), - ] = UNSET - r"""Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422.""" + backend_spec: OptionalNullable[DeploymentMistralCloudBackendSpec] = UNSET + r"""Backend-specific configuration for the Mistral Cloud backend.""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set( - ["github_url", "revision", "backend_spec", "entrypoint", "working_dir"] - ) - nullable_fields = set( - ["github_url", "revision", "backend_spec", "entrypoint", "working_dir"] - ) + optional_fields = set(["github_url", "revision", "backend_spec"]) + nullable_fields = set(["github_url", "revision", "backend_spec"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowtaskfailedattributes.py b/src/mistralai/client/models/workflowtaskfailedattributes.py index 49444347a..fbdf8bc1e 100644 --- a/src/mistralai/client/models/workflowtaskfailedattributes.py +++ b/src/mistralai/client/models/workflowtaskfailedattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c4c09c4d5ea7 from __future__ import annotations from .failure import Failure, FailureTypedDict diff --git a/src/mistralai/client/models/workflowtaskfailedresponse.py b/src/mistralai/client/models/workflowtaskfailedresponse.py index c44dcf110..d2e85b3b6 100644 --- a/src/mistralai/client/models/workflowtaskfailedresponse.py +++ b/src/mistralai/client/models/workflowtaskfailedresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a02b01867b7f from __future__ import annotations from .workflowtaskfailedattributes import ( WorkflowTaskFailedAttributes, WorkflowTaskFailedAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowTaskFailedResponseTypedDict(TypedDict): @@ -30,14 +35,6 @@ class WorkflowTaskFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -46,6 +43,14 @@ class WorkflowTaskFailedResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowTaskFailedAttributesTypedDict r"""Attributes for workflow task failed events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_TASK_FAILED"] r"""Event type discriminator.""" @@ -69,18 +74,6 @@ class WorkflowTaskFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -93,6 +86,18 @@ class WorkflowTaskFailedResponse(BaseModel): attributes: WorkflowTaskFailedAttributes r"""Attributes for workflow task failed events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_TASK_FAILED"]], @@ -104,7 +109,15 @@ class WorkflowTaskFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowtasktimedoutattributes.py b/src/mistralai/client/models/workflowtasktimedoutattributes.py index 1824990e1..593f41212 100644 --- a/src/mistralai/client/models/workflowtasktimedoutattributes.py +++ b/src/mistralai/client/models/workflowtasktimedoutattributes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 43369570cb96 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/workflowtasktimedoutresponse.py b/src/mistralai/client/models/workflowtasktimedoutresponse.py index 1aac6d70e..5fc45dcb9 100644 --- a/src/mistralai/client/models/workflowtasktimedoutresponse.py +++ b/src/mistralai/client/models/workflowtasktimedoutresponse.py @@ -1,18 +1,23 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8b7540c47083 from __future__ import annotations from .workflowtasktimedoutattributes import ( WorkflowTaskTimedOutAttributes, WorkflowTaskTimedOutAttributesTypedDict, ) -from mistralai.client.types import BaseModel, Nullable, UNSET_SENTINEL +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) from mistralai.client.utils import validate_const import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator from typing import Literal, Optional -from typing_extensions import Annotated, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class WorkflowTaskTimedOutResponseTypedDict(TypedDict): @@ -30,14 +35,6 @@ class WorkflowTaskTimedOutResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -46,6 +43,14 @@ class WorkflowTaskTimedOutResponseTypedDict(TypedDict): r"""The registered name of the workflow that emitted this event.""" attributes: WorkflowTaskTimedOutAttributesTypedDict r"""Attributes for workflow task timed out events.""" + continued_run_id: NotRequired[Nullable[str]] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: NotRequired[Nullable[str]] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + chain_run_id: NotRequired[Nullable[str]] + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + schedule_id: NotRequired[Nullable[str]] + r"""Temporal schedule ID that triggered this execution, if any.""" event_type: Literal["WORKFLOW_TASK_TIMED_OUT"] r"""Event type discriminator.""" @@ -69,18 +74,6 @@ class WorkflowTaskTimedOutResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" - continued_run_id: Nullable[str] - r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" - - first_execution_run_id: Nullable[str] - r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" - - chain_run_id: Nullable[str] - r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" - - schedule_id: Nullable[str] - r"""Temporal schedule ID that triggered this execution, if any.""" - workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -93,6 +86,18 @@ class WorkflowTaskTimedOutResponse(BaseModel): attributes: WorkflowTaskTimedOutAttributes r"""Attributes for workflow task timed out events.""" + continued_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: OptionalNullable[str] = UNSET + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on a fresh start. Continue-as-new, retry and reset runs keep the original value.""" + + chain_run_id: OptionalNullable[str] = UNSET + r"""Identifies one start of an execution. Shared by its continue-as-new, retry and reset runs, and by every sub-workflow below it. Starting the same execution ID again gives a new value.""" + + schedule_id: OptionalNullable[str] = UNSET + r"""Temporal schedule ID that triggered this execution, if any.""" + event_type: Annotated[ Annotated[ Optional[Literal["WORKFLOW_TASK_TIMED_OUT"]], @@ -104,7 +109,15 @@ class WorkflowTaskTimedOutResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["event_type"]) + optional_fields = set( + [ + "continued_run_id", + "first_execution_run_id", + "chain_run_id", + "schedule_id", + "event_type", + ] + ) nullable_fields = set( [ "parent_workflow_exec_id", diff --git a/src/mistralai/client/models/workflowtype.py b/src/mistralai/client/models/workflowtype.py index 67858c88f..aafc52439 100644 --- a/src/mistralai/client/models/workflowtype.py +++ b/src/mistralai/client/models/workflowtype.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 01f37d193b17 from __future__ import annotations from typing import Literal diff --git a/src/mistralai/client/models/workflowunarchiveresponse.py b/src/mistralai/client/models/workflowunarchiveresponse.py index 16717856c..2cb95b7c4 100644 --- a/src/mistralai/client/models/workflowunarchiveresponse.py +++ b/src/mistralai/client/models/workflowunarchiveresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 30bdd050feac from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowupdaterequest.py b/src/mistralai/client/models/workflowupdaterequest.py index 747c47741..a511ef9d3 100644 --- a/src/mistralai/client/models/workflowupdaterequest.py +++ b/src/mistralai/client/models/workflowupdaterequest.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8f3878d3c7c7 from __future__ import annotations from mistralai.client.types import ( diff --git a/src/mistralai/client/models/workflowupdateresponse.py b/src/mistralai/client/models/workflowupdateresponse.py index 3336e448b..dc3501110 100644 --- a/src/mistralai/client/models/workflowupdateresponse.py +++ b/src/mistralai/client/models/workflowupdateresponse.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 0ae165cc7a82 from __future__ import annotations from .workflow import Workflow, WorkflowTypedDict diff --git a/src/mistralai/client/models/workflowwithworkerstatus.py b/src/mistralai/client/models/workflowwithworkerstatus.py index cb8f97ef3..144c88601 100644 --- a/src/mistralai/client/models/workflowwithworkerstatus.py +++ b/src/mistralai/client/models/workflowwithworkerstatus.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e1055203af7d from __future__ import annotations from .workflowtype import WorkflowType diff --git a/src/mistralai/client/models_.py b/src/mistralai/client/models_.py index 4e4a43211..1e6587302 100644 --- a/src/mistralai/client/models_.py +++ b/src/mistralai/client/models_.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1d277958a843 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/observability.py b/src/mistralai/client/observability.py index 32f0eca08..e93c6b5c1 100644 --- a/src/mistralai/client/observability.py +++ b/src/mistralai/client/observability.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 453a1d06d130 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/ocr.py b/src/mistralai/client/ocr.py index f149d6b53..c9f6d7f76 100644 --- a/src/mistralai/client/ocr.py +++ b/src/mistralai/client/ocr.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2f804a12fc62 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/rag.py b/src/mistralai/client/rag.py index 6a20dc2cb..eb3346f17 100644 --- a/src/mistralai/client/rag.py +++ b/src/mistralai/client/rag.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2c2b641de1b6 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/realtime.py b/src/mistralai/client/realtime.py index 98c90d345..519d5d5ba 100644 --- a/src/mistralai/client/realtime.py +++ b/src/mistralai/client/realtime.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: f7605d0d828f from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/records.py b/src/mistralai/client/records.py index 03e5279f7..aad772f64 100644 --- a/src/mistralai/client/records.py +++ b/src/mistralai/client/records.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 10f90c990bd8 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/runs.py b/src/mistralai/client/runs.py index 84742115f..c65d5d7c6 100644 --- a/src/mistralai/client/runs.py +++ b/src/mistralai/client/runs.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 4297d58aeb21 from .basesdk import BaseSDK from datetime import datetime @@ -61,7 +60,7 @@ def list_runs( :param include_internal: Include runs of internal/technical workflows (e.g. parallel-execution) :param page_size: Number of items per page :param next_page_token: Token for the next page of results - :param search_key: Filter executions by search key as repeated 'key:value' entries. Each entry matches an exact key and a similar value; multiple entries are AND'd together (max 3). + :param search_key: Filter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -256,7 +255,7 @@ async def list_runs_async( :param include_internal: Include runs of internal/technical workflows (e.g. parallel-execution) :param page_size: Number of items per page :param next_page_token: Token for the next page of results - :param search_key: Filter executions by search key as repeated 'key:value' entries. Each entry matches an exact key and a similar value; multiple entries are AND'd together (max 3). + :param search_key: Filter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds diff --git a/src/mistralai/client/schedules.py b/src/mistralai/client/schedules.py index 7a5bbc4af..d162c754c 100644 --- a/src/mistralai/client/schedules.py +++ b/src/mistralai/client/schedules.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d3b4fe452390 from .basesdk import BaseSDK from jsonpath import JSONPath diff --git a/src/mistralai/client/sdk.py b/src/mistralai/client/sdk.py index a5ff2a851..01d27d120 100644 --- a/src/mistralai/client/sdk.py +++ b/src/mistralai/client/sdk.py @@ -1,12 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 48edbcb38d7e from .basesdk import BaseSDK from .httpclient import AsyncHttpClient, ClientOwner, HttpClient, close_clients from .sdkconfiguration import SDKConfiguration from .utils.logger import Logger, get_default_logger from .utils.retries import RetryConfig -import httpx +import httpx2 as httpx import importlib from mistralai.client import models as models_, utils from mistralai.client._hooks import SDKHooks diff --git a/src/mistralai/client/sdkconfiguration.py b/src/mistralai/client/sdkconfiguration.py index 999e27172..d91c93e74 100644 --- a/src/mistralai/client/sdkconfiguration.py +++ b/src/mistralai/client/sdkconfiguration.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b7dd68a0235e from ._version import ( __gen_version__, diff --git a/src/mistralai/client/search_indexes.py b/src/mistralai/client/search_indexes.py index 92c35aff1..678d56b57 100644 --- a/src/mistralai/client/search_indexes.py +++ b/src/mistralai/client/search_indexes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c5a0a7df993a from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/service_accounts.py b/src/mistralai/client/service_accounts.py index 078bea881..d0289caab 100644 --- a/src/mistralai/client/service_accounts.py +++ b/src/mistralai/client/service_accounts.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1be960e89335 from .basesdk import BaseSDK from jsonpath import JSONPath @@ -233,6 +232,8 @@ def list( limit: int, workspace_id: OptionalNullable[str] = UNSET, include_deleted: Optional[bool] = False, + q: OptionalNullable[str] = UNSET, + order: Optional[models.SortOrder] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -246,10 +247,15 @@ def list( it. Omitting the workspace lists the whole organization and requires the Organization admin (`organization_admin`) role instead. + ``q`` narrows the list to accounts whose name or description contains it. ``order`` + sorts by creation time (ascending by default). + :param offset: :param limit: :param workspace_id: :param include_deleted: + :param q: + :param order: Direction to sort a service-account listing by creation time. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -271,6 +277,8 @@ def list( request = models.ListServiceAccountsV1ServiceAccountsGetRequest( workspace_id=workspace_id, include_deleted=include_deleted, + q=q, + order=order, offset=offset, limit=limit, ) @@ -339,6 +347,8 @@ def next_func() -> ( limit=limit, workspace_id=workspace_id, include_deleted=include_deleted, + q=q, + order=order, retries=retries, server_url=server_url, timeout_ms=timeout_ms, @@ -374,6 +384,8 @@ async def list_async( limit: int, workspace_id: OptionalNullable[str] = UNSET, include_deleted: Optional[bool] = False, + q: OptionalNullable[str] = UNSET, + order: Optional[models.SortOrder] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -387,10 +399,15 @@ async def list_async( it. Omitting the workspace lists the whole organization and requires the Organization admin (`organization_admin`) role instead. + ``q`` narrows the list to accounts whose name or description contains it. ``order`` + sorts by creation time (ascending by default). + :param offset: :param limit: :param workspace_id: :param include_deleted: + :param q: + :param order: Direction to sort a service-account listing by creation time. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -412,6 +429,8 @@ async def list_async( request = models.ListServiceAccountsV1ServiceAccountsGetRequest( workspace_id=workspace_id, include_deleted=include_deleted, + q=q, + order=order, offset=offset, limit=limit, ) @@ -483,6 +502,8 @@ async def empty_result(): limit=limit, workspace_id=workspace_id, include_deleted=include_deleted, + q=q, + order=order, retries=retries, server_url=server_url, timeout_ms=timeout_ms, diff --git a/src/mistralai/client/sessions.py b/src/mistralai/client/sessions.py index f879ce6a9..6570e7e28 100644 --- a/src/mistralai/client/sessions.py +++ b/src/mistralai/client/sessions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 2869dfa1d203 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/skills.py b/src/mistralai/client/skills.py index c5e3df58d..8765d9bef 100644 --- a/src/mistralai/client/skills.py +++ b/src/mistralai/client/skills.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d00f9eb877ec from .basesdk import BaseSDK from jsonpath import JSONPath diff --git a/src/mistralai/client/spans.py b/src/mistralai/client/spans.py index 9a21ebf25..59cead7d8 100644 --- a/src/mistralai/client/spans.py +++ b/src/mistralai/client/spans.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 408477ccb9d4 from .basesdk import BaseSDK from datetime import datetime @@ -506,6 +505,276 @@ async def aggregate_async( raise errors.SDKError("Unexpected response received", http_res) + def aggregate_span_evaluations( + self, + *, + metric: Union[models.MetricDefinition, models.MetricDefinitionTypedDict], + from_: OptionalNullable[datetime] = UNSET, + to: OptionalNullable[datetime] = UNSET, + dimensions: Optional[Iterable[str]] = None, + time_dimension: OptionalNullable[ + Union[models.TimeDimension, models.TimeDimensionTypedDict] + ] = UNSET, + search_expression: OptionalNullable[str] = UNSET, + order_by: OptionalNullable[ + Union[ + Iterable[models.OrderByClause], Iterable[models.OrderByClauseTypedDict] + ] + ] = UNSET, + limit: Optional[int] = 1000, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Aggregation: + r"""Aggregate span evaluations + + :param metric: + :param from_: + :param to: + :param dimensions: + :param time_dimension: + :param search_expression: + :param order_by: + :param limit: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest( + from_=from_, + to=to, + aggregation_request=models.AggregationRequest( + metric=utils.get_pydantic_model(metric, models.MetricDefinition), + dimensions=utils.unmarshal(dimensions, Optional[List[str]]), + time_dimension=utils.get_pydantic_model( + time_dimension, OptionalNullable[models.TimeDimension] + ), + search_expression=search_expression, + order_by=utils.get_pydantic_model( + order_by, OptionalNullable[List[models.OrderByClause]] + ), + limit=limit, + ), + ) + + req = self._build_request( + method="POST", + path="/v1/observability/spans/evaluations/aggregate", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.aggregation_request, + False, + False, + "json", + models.AggregationRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.spans"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.Aggregation, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def aggregate_span_evaluations_async( + self, + *, + metric: Union[models.MetricDefinition, models.MetricDefinitionTypedDict], + from_: OptionalNullable[datetime] = UNSET, + to: OptionalNullable[datetime] = UNSET, + dimensions: Optional[Iterable[str]] = None, + time_dimension: OptionalNullable[ + Union[models.TimeDimension, models.TimeDimensionTypedDict] + ] = UNSET, + search_expression: OptionalNullable[str] = UNSET, + order_by: OptionalNullable[ + Union[ + Iterable[models.OrderByClause], Iterable[models.OrderByClauseTypedDict] + ] + ] = UNSET, + limit: Optional[int] = 1000, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.Aggregation: + r"""Aggregate span evaluations + + :param metric: + :param from_: + :param to: + :param dimensions: + :param time_dimension: + :param search_expression: + :param order_by: + :param limit: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AggregateSpanEvaluationsV1ObservabilitySpansEvaluationsAggregatePostRequest( + from_=from_, + to=to, + aggregation_request=models.AggregationRequest( + metric=utils.get_pydantic_model(metric, models.MetricDefinition), + dimensions=utils.unmarshal(dimensions, Optional[List[str]]), + time_dimension=utils.get_pydantic_model( + time_dimension, OptionalNullable[models.TimeDimension] + ), + search_expression=search_expression, + order_by=utils.get_pydantic_model( + order_by, OptionalNullable[List[models.OrderByClause]] + ), + limit=limit, + ), + ) + + req = self._build_request_async( + method="POST", + path="/v1/observability/spans/evaluations/aggregate", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.aggregation_request, + False, + False, + "json", + models.AggregationRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="aggregate_span_evaluations_v1_observability_spans_evaluations_aggregate_post", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["beta.observability.spans"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.Aggregation, http_res) + if utils.match_response( + http_res, ["400", "404", "408", "409", "422"], "application/json" + ): + response_data = unmarshal_json_response( + errors.ObservabilityErrorData, http_res + ) + raise errors.ObservabilityError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + def search_span_evaluations( self, *, diff --git a/src/mistralai/client/speech.py b/src/mistralai/client/speech.py index 148c913c6..d8b678ffa 100644 --- a/src/mistralai/client/speech.py +++ b/src/mistralai/client/speech.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5c1f1109aa5e from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/traces.py b/src/mistralai/client/traces.py index eb7e83be1..23d91ff19 100644 --- a/src/mistralai/client/traces.py +++ b/src/mistralai/client/traces.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 8af61cbcf718 from .basesdk import BaseSDK from datetime import datetime diff --git a/src/mistralai/client/transcriptions.py b/src/mistralai/client/transcriptions.py index 6c1c60b15..e68fa7d2a 100644 --- a/src/mistralai/client/transcriptions.py +++ b/src/mistralai/client/transcriptions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 75b45780c978 from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/client/types/__init__.py b/src/mistralai/client/types/__init__.py index 0e0f807f2..faa268137 100644 --- a/src/mistralai/client/types/__init__.py +++ b/src/mistralai/client/types/__init__.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 000b943f821c from .base64fileinput import Base64EncodedString, Base64FileInput from .basemodel import ( diff --git a/src/mistralai/client/types/base64fileinput.py b/src/mistralai/client/types/base64fileinput.py index 27bed6a2a..862566fe2 100644 --- a/src/mistralai/client/types/base64fileinput.py +++ b/src/mistralai/client/types/base64fileinput.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e41cc272a307 from __future__ import annotations diff --git a/src/mistralai/client/types/basemodel.py b/src/mistralai/client/types/basemodel.py index 4e889aa0f..a9a640a1a 100644 --- a/src/mistralai/client/types/basemodel.py +++ b/src/mistralai/client/types/basemodel.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 7ec465a1d3ff from pydantic import ConfigDict, model_serializer from pydantic import BaseModel as PydanticBaseModel diff --git a/src/mistralai/client/users.py b/src/mistralai/client/users.py index 1e76424ca..7a8e0388e 100644 --- a/src/mistralai/client/users.py +++ b/src/mistralai/client/users.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 81be4772253e from .basesdk import BaseSDK from jsonpath import JSONPath diff --git a/src/mistralai/client/utils/__init__.py b/src/mistralai/client/utils/__init__.py index cf432d806..6120a33ee 100644 --- a/src/mistralai/client/utils/__init__.py +++ b/src/mistralai/client/utils/__init__.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b69505f4b269 from typing import Any, TYPE_CHECKING, Callable, TypeVar import asyncio diff --git a/src/mistralai/client/utils/annotations.py b/src/mistralai/client/utils/annotations.py index 4b60ab8e7..12e0aa4f1 100644 --- a/src/mistralai/client/utils/annotations.py +++ b/src/mistralai/client/utils/annotations.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1ffdedfc66a2 from enum import Enum from typing import Any, Optional diff --git a/src/mistralai/client/utils/datetimes.py b/src/mistralai/client/utils/datetimes.py index 4338ad435..adad24762 100644 --- a/src/mistralai/client/utils/datetimes.py +++ b/src/mistralai/client/utils/datetimes.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: c40066d868c9 from datetime import datetime, timedelta import sys diff --git a/src/mistralai/client/utils/dynamic_imports.py b/src/mistralai/client/utils/dynamic_imports.py index 969f2fc71..673edf82a 100644 --- a/src/mistralai/client/utils/dynamic_imports.py +++ b/src/mistralai/client/utils/dynamic_imports.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ac9918d925c0 from importlib import import_module import builtins diff --git a/src/mistralai/client/utils/enums.py b/src/mistralai/client/utils/enums.py index d897495f0..3324e1bc2 100644 --- a/src/mistralai/client/utils/enums.py +++ b/src/mistralai/client/utils/enums.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: a0735873b5ac import enum import sys diff --git a/src/mistralai/client/utils/eventstreaming.py b/src/mistralai/client/utils/eventstreaming.py index 2dc728982..07fdb309e 100644 --- a/src/mistralai/client/utils/eventstreaming.py +++ b/src/mistralai/client/utils/eventstreaming.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3263d7502030 import re import json @@ -15,7 +14,7 @@ AsyncGenerator, Tuple, ) -import httpx +import httpx2 as httpx T = TypeVar("T") diff --git a/src/mistralai/client/utils/forms.py b/src/mistralai/client/utils/forms.py index c021ebd91..193f26496 100644 --- a/src/mistralai/client/utils/forms.py +++ b/src/mistralai/client/utils/forms.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 58842e905fce import io from typing import ( diff --git a/src/mistralai/client/utils/headers.py b/src/mistralai/client/utils/headers.py index 649118723..be6bacd51 100644 --- a/src/mistralai/client/utils/headers.py +++ b/src/mistralai/client/utils/headers.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 9066de2ead8b from typing import ( Any, @@ -7,7 +6,7 @@ List, Optional, ) -from httpx import Headers +from httpx2 import Headers from pydantic import BaseModel from pydantic.fields import FieldInfo diff --git a/src/mistralai/client/utils/logger.py b/src/mistralai/client/utils/logger.py index 3edad8307..5bad616b3 100644 --- a/src/mistralai/client/utils/logger.py +++ b/src/mistralai/client/utils/logger.py @@ -1,7 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 745023607a1f -import httpx +import httpx2 as httpx import logging import os from typing import Any, Protocol diff --git a/src/mistralai/client/utils/metadata.py b/src/mistralai/client/utils/metadata.py index 3850a6ffb..5abddd588 100644 --- a/src/mistralai/client/utils/metadata.py +++ b/src/mistralai/client/utils/metadata.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d49d535ae52c from typing import Optional, Type, TypeVar, Union from dataclasses import dataclass diff --git a/src/mistralai/client/utils/queryparams.py b/src/mistralai/client/utils/queryparams.py index 0b78c5482..c04e0db82 100644 --- a/src/mistralai/client/utils/queryparams.py +++ b/src/mistralai/client/utils/queryparams.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bb77d4664844 from typing import ( Any, diff --git a/src/mistralai/client/utils/requestbodies.py b/src/mistralai/client/utils/requestbodies.py index 22270e218..591415af8 100644 --- a/src/mistralai/client/utils/requestbodies.py +++ b/src/mistralai/client/utils/requestbodies.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 946cfcd26ee4 import io from dataclasses import dataclass diff --git a/src/mistralai/client/utils/retries.py b/src/mistralai/client/utils/retries.py index 49ec48c00..2ba7ebdc0 100644 --- a/src/mistralai/client/utils/retries.py +++ b/src/mistralai/client/utils/retries.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 5f1a5b90423c import asyncio import random @@ -8,7 +7,7 @@ from email.utils import parsedate_to_datetime from typing import List, Optional -import httpx +import httpx2 as httpx class BackoffStrategy: diff --git a/src/mistralai/client/utils/security.py b/src/mistralai/client/utils/security.py index 77a4449d0..67c18570a 100644 --- a/src/mistralai/client/utils/security.py +++ b/src/mistralai/client/utils/security.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 1acb7c006265 import base64 diff --git a/src/mistralai/client/utils/serializers.py b/src/mistralai/client/utils/serializers.py index f7dfd497e..a68f09c77 100644 --- a/src/mistralai/client/utils/serializers.py +++ b/src/mistralai/client/utils/serializers.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 53c57c7f29a8 from decimal import Decimal import functools @@ -9,7 +8,7 @@ import typing_extensions from typing_extensions import get_origin -import httpx +import httpx2 as httpx from pydantic import ConfigDict, create_model from pydantic_core import from_json diff --git a/src/mistralai/client/utils/unions.py b/src/mistralai/client/utils/unions.py index f7cf5f3f8..243464023 100644 --- a/src/mistralai/client/utils/unions.py +++ b/src/mistralai/client/utils/unions.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: d23713342634 from typing import Any diff --git a/src/mistralai/client/utils/unmarshal_json_response.py b/src/mistralai/client/utils/unmarshal_json_response.py index 624433c4d..0002e115a 100644 --- a/src/mistralai/client/utils/unmarshal_json_response.py +++ b/src/mistralai/client/utils/unmarshal_json_response.py @@ -1,9 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: b13585fc5626 from typing import Any, Optional, Type, TypeVar, overload -import httpx +import httpx2 as httpx from .serializers import unmarshal_json from mistralai.client import errors diff --git a/src/mistralai/client/utils/url.py b/src/mistralai/client/utils/url.py index 27a6a3a05..c78ccbae4 100644 --- a/src/mistralai/client/utils/url.py +++ b/src/mistralai/client/utils/url.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 3c6496c17510 from decimal import Decimal from typing import ( diff --git a/src/mistralai/client/utils/values.py b/src/mistralai/client/utils/values.py index 61c1c15df..2bba1465b 100644 --- a/src/mistralai/client/utils/values.py +++ b/src/mistralai/client/utils/values.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: bb6ade7a7f82 from datetime import datetime from enum import Enum @@ -8,7 +7,7 @@ import os from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union, cast -from httpx import Response +from httpx2 import Response from pydantic import BaseModel from pydantic.fields import FieldInfo diff --git a/src/mistralai/client/voices.py b/src/mistralai/client/voices.py index 0e2bef6bb..3e526c307 100644 --- a/src/mistralai/client/voices.py +++ b/src/mistralai/client/voices.py @@ -1,20 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: ab76b1377d79 from .basesdk import BaseSDK -import httpx +import httpx2 as httpx +from jsonpath import JSONPath from mistralai.client import errors, models, utils from mistralai.client._hooks import HookContext from mistralai.client.types import OptionalNullable, UNSET from mistralai.client.utils import get_security_from_env from mistralai.client.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Iterable, List, Mapping, Optional +from typing import Any, Awaitable, Dict, Iterable, List, Mapping, Optional, Union from typing_extensions import deprecated class Voices(BaseSDK): @deprecated( - "warning: ** DEPRECATED ** - Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.." + "warning: ** DEPRECATED ** - Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.. Use search instead." ) def list( self, @@ -122,7 +122,7 @@ def list( raise errors.SDKError("Unexpected response received", http_res) @deprecated( - "warning: ** DEPRECATED ** - Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.." + "warning: ** DEPRECATED ** - Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.. Use search instead." ) async def list_async( self, @@ -1304,3 +1304,290 @@ async def get_sample_audio_async( http_res_text = await utils.stream_to_text_async(http_res) raise errors.SDKError("Unexpected response received", http_res, http_res_text) + + def search( + self, + *, + page_size: Optional[int] = 10, + page_token: OptionalNullable[str] = UNSET, + type_: Optional[models.AudioV2VoicesListType] = "all", + gender: OptionalNullable[Iterable[models.VoiceGender]] = UNSET, + language: OptionalNullable[Iterable[str]] = UNSET, + query: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> Optional[models.AudioV2VoicesListResponse]: + r"""List voices, cursor-paginated + + :param page_size: Maximum number of voices to return + :param page_token: Cursor returned as next_page_token by the previous page + :param type: Filter the voices between customs and presets + :param gender: Keep voices matching any of these genders + :param language: Keep voices supporting any of these languages + :param query: Case-insensitive match on voice name + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AudioV2VoicesListRequest( + page_size=page_size, + page_token=page_token, + type=type_, + gender=utils.unmarshal(gender, OptionalNullable[List[models.VoiceGender]]), + language=utils.unmarshal(language, OptionalNullable[List[str]]), + query=query, + ) + + req = self._build_request( + method="GET", + path="/v2/audio/voices", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="audio_v2_voices_list", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["audio.voices"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + def next_func() -> Optional[models.AudioV2VoicesListResponse]: + body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) + + next_cursor = JSONPath("$.next_page_token").parse(body) + + if len(next_cursor) == 0: + return None + + next_cursor = next_cursor[0] + if next_cursor is None or str(next_cursor).strip() == "": + return None + results = JSONPath("$.data").parse(body) + if len(results) == 0 or len(results[0]) == 0: + return None + limit_ = request.page_size if isinstance(request.page_size, int) else 10 + if len(results[0]) < limit_: + return None + + return self.search( + page_size=page_size, + page_token=next_cursor, + type_=type_, + gender=gender, + language=language, + query=query, + retries=retries, + server_url=server_url, + timeout_ms=timeout_ms, + http_headers=http_headers, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return models.AudioV2VoicesListResponse( + result=unmarshal_json_response(models.VoiceListPage, http_res), + next=next_func, + ) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) + + async def search_async( + self, + *, + page_size: Optional[int] = 10, + page_token: OptionalNullable[str] = UNSET, + type_: Optional[models.AudioV2VoicesListType] = "all", + gender: OptionalNullable[Iterable[models.VoiceGender]] = UNSET, + language: OptionalNullable[Iterable[str]] = UNSET, + query: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> Optional[models.AudioV2VoicesListResponse]: + r"""List voices, cursor-paginated + + :param page_size: Maximum number of voices to return + :param page_token: Cursor returned as next_page_token by the previous page + :param type: Filter the voices between customs and presets + :param gender: Keep voices matching any of these genders + :param language: Keep voices supporting any of these languages + :param query: Case-insensitive match on voice name + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if timeout_ms is None: + timeout_ms = 300000 + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AudioV2VoicesListRequest( + page_size=page_size, + page_token=page_token, + type=type_, + gender=utils.unmarshal(gender, OptionalNullable[List[models.VoiceGender]]), + language=utils.unmarshal(language, OptionalNullable[List[str]]), + query=query, + ) + + req = self._build_request_async( + method="GET", + path="/v2/audio/voices", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="audio_v2_voices_list", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["audio.voices"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + def next_func() -> Awaitable[Optional[models.AudioV2VoicesListResponse]]: + body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) + + async def empty_result(): + return None + + next_cursor = JSONPath("$.next_page_token").parse(body) + + if len(next_cursor) == 0: + return empty_result() + + next_cursor = next_cursor[0] + if next_cursor is None or str(next_cursor).strip() == "": + return empty_result() + results = JSONPath("$.data").parse(body) + if len(results) == 0 or len(results[0]) == 0: + return empty_result() + limit_ = request.page_size if isinstance(request.page_size, int) else 10 + if len(results[0]) < limit_: + return empty_result() + + return self.search_async( + page_size=page_size, + page_token=next_cursor, + type_=type_, + gender=gender, + language=language, + query=query, + retries=retries, + server_url=server_url, + timeout_ms=timeout_ms, + http_headers=http_headers, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return models.AudioV2VoicesListResponse( + result=unmarshal_json_response(models.VoiceListPage, http_res), + next=next_func, + ) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + errors.HTTPValidationErrorData, http_res + ) + raise errors.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.SDKError("API error occurred", http_res, http_res_text) + + raise errors.SDKError("Unexpected response received", http_res) diff --git a/src/mistralai/client/workflows.py b/src/mistralai/client/workflows.py index 2d1bd94bb..642f59509 100644 --- a/src/mistralai/client/workflows.py +++ b/src/mistralai/client/workflows.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: e2a0381191f6 from .basesdk import BaseSDK from .sdkconfiguration import SDKConfiguration diff --git a/src/mistralai/client/workflows_events.py b/src/mistralai/client/workflows_events.py index 298824491..91e6cad8b 100644 --- a/src/mistralai/client/workflows_events.py +++ b/src/mistralai/client/workflows_events.py @@ -1,5 +1,4 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -# @generated-id: 6d4f674ce8ef from .basesdk import BaseSDK from mistralai.client import errors, models, utils diff --git a/src/mistralai/extra/batch/client.py b/src/mistralai/extra/batch/client.py index d32e33650..7dba889ae 100644 --- a/src/mistralai/extra/batch/client.py +++ b/src/mistralai/extra/batch/client.py @@ -57,7 +57,9 @@ Tuple, TypeVar, Union, + cast, ) +from uuid import UUID from pydantic import ValidationError @@ -77,6 +79,7 @@ ReqBodyT = TypeVar("ReqBodyT", bound=BaseModel) RespBodyT = TypeVar("RespBodyT", bound=BaseModel) +ResourceID = Union[str, UUID] # A job is still in flight while in one of these; anything else (including an # unrecognized future status) is treated as terminal so a poll loop can stop. @@ -169,7 +172,7 @@ class BatchInputFile(Generic[ReqBodyT]): phantom marker recording the request-body type the file's lines carry, so ``BatchClient`` can type-check it against its endpoint.""" - file_id: str + file_id: ResourceID @dataclass(frozen=True) @@ -268,15 +271,14 @@ def _parse_output_obj( ) -def _file_id(value: OptionalNullable[str]) -> Optional[str]: - """Narrow a generated model's ``OptionalNullable[str]`` file id to ``Optional[str]``. +def _file_id(value: OptionalNullable[ResourceID]) -> Optional[str]: + """Collapse a generated model's optional file id to a string resource id. - The generated ``BatchJob`` types its file ids as ``OptionalNullable``, so they carry - ``UNSET`` as a third state alongside ``str`` and ``None``. The helpers here take - ``Optional[str]`` and already treat a missing id as "no file" -- ``UNSET`` is falsy, - so this changes no behaviour, it just states the collapse where a type checker can - see it instead of relying on truthiness at every call site.""" - return value if isinstance(value, str) else None + Before ``uuidFormat`` is regenerated these fields are strings; afterwards they are + UUIDs. Stringify either representation for the generated-client boundary and + discard only ``UNSET``/``None``. + """ + return str(value) if isinstance(value, (str, UUID)) else None def _merge_disjoint(into: dict[str, Any], items: Iterable[Tuple[str, Any]]) -> None: @@ -413,7 +415,7 @@ class BatchJobHandle(Generic[RespBodyT]): @property def id(self) -> str: - return self.job.id + return str(self.job.id) @property def status(self) -> BatchJobStatus: @@ -549,33 +551,37 @@ async def upload( return BatchInputFile(response.id) async def download( - self, file_id: str, *, http_headers: Optional[Mapping[str, str]] = None + self, file_id: ResourceID, *, http_headers: Optional[Mapping[str, str]] = None ) -> bytes: """Download a result/error file's bytes in full.""" response = await self._client.files.download_async( - file_id=file_id, **self._headers_kwarg(http_headers) + file_id=cast(Any, str(file_id)), + **self._headers_kwarg(http_headers), ) return await stream_to_bytes_async(response) async def signed_url( self, - file_id: str, + file_id: ResourceID, *, expiry_hours: int = 24, http_headers: Optional[Mapping[str, str]] = None, ) -> str: """A temporary signed URL for a file, to stream large results directly.""" response = await self._client.files.get_signed_url_async( - file_id=file_id, expiry=expiry_hours, **self._headers_kwarg(http_headers) + file_id=cast(Any, str(file_id)), + expiry=expiry_hours, + **self._headers_kwarg(http_headers), ) return response.url async def delete( - self, file_id: str, *, http_headers: Optional[Mapping[str, str]] = None + self, file_id: ResourceID, *, http_headers: Optional[Mapping[str, str]] = None ) -> None: """Delete a batch file (input, output, or error).""" await self._client.files.delete_async( - file_id=file_id, **self._headers_kwarg(http_headers) + file_id=cast(Any, str(file_id)), + **self._headers_kwarg(http_headers), ) # -- job primitives ----------------------------------------------------- @@ -603,25 +609,26 @@ async def create( if http_headers is not None: kwargs["http_headers"] = http_headers if isinstance(input, BatchInputFile): - kwargs["input_files"] = [input.file_id] + kwargs["input_files"] = [str(input.file_id)] else: kwargs["requests"] = input.to_requests() job = await self._client.batch.jobs.create_async(**kwargs) return BatchJobHandle(job) async def get( - self, job_id: str, *, http_headers: Optional[Mapping[str, str]] = None + self, job_id: ResourceID, *, http_headers: Optional[Mapping[str, str]] = None ) -> "BatchJobHandle[RespBodyT]": """Fetch a job's current state once (no polling) and wrap it in a handle. This is how you rehydrate a handle for a job created in a prior process.""" job = await self._client.batch.jobs.get_async( - job_id=job_id, **self._headers_kwarg(http_headers) + job_id=cast(Any, str(job_id)), + **self._headers_kwarg(http_headers), ) return BatchJobHandle(job) async def refresh( self, - handle: Union["BatchJobHandle[RespBodyT]", str], + handle: Union["BatchJobHandle[RespBodyT]", ResourceID], *, http_headers: Optional[Mapping[str, str]] = None, ) -> "BatchJobHandle[RespBodyT]": @@ -630,7 +637,7 @@ async def refresh( async def cancel( self, - handle: Union["BatchJobHandle[RespBodyT]", str], + handle: Union["BatchJobHandle[RespBodyT]", ResourceID], *, http_headers: Optional[Mapping[str, str]] = None, ) -> "BatchJobHandle[RespBodyT]": @@ -638,13 +645,14 @@ async def cancel( moves to CANCELLATION_REQUESTED (still in-flight, see ``RUNNING_STATUSES``) then settles on CANCELLED. Poll with ``wait``/``refresh`` to observe it.""" job = await self._client.batch.jobs.cancel_async( - job_id=self._job_id(handle), **self._headers_kwarg(http_headers) + job_id=cast(Any, self._job_id(handle)), + **self._headers_kwarg(http_headers), ) return BatchJobHandle(job) async def wait( self, - handle: Union["BatchJobHandle[RespBodyT]", str], + handle: Union["BatchJobHandle[RespBodyT]", ResourceID], *, poll_interval_seconds: float = 30.0, timeout_hours: int = 24, @@ -812,7 +820,7 @@ async def run( and not isinstance(input, BatchInputFile) else None ) - result_files: list[Optional[str]] = [] + result_files: list[Optional[ResourceID]] = [] deadline = time.monotonic() + timeout_hours * 3600 handle: Optional[BatchJobHandle[RespBodyT]] = None @@ -870,8 +878,10 @@ def _headers_kwarg( return {} if http_headers is None else {"http_headers": http_headers} @staticmethod - def _job_id(handle: Union["BatchJobHandle[RespBodyT]", str]) -> str: - return handle if isinstance(handle, str) else handle.id + def _job_id( + handle: Union["BatchJobHandle[RespBodyT]", ResourceID], + ) -> str: + return str(handle if isinstance(handle, (str, UUID)) else handle.id) @staticmethod def _coerce( @@ -931,7 +941,7 @@ async def _ensure_terminal( ) async def _delete_quietly( - self, file_id: str, http_headers: Optional[Mapping[str, str]] + self, file_id: ResourceID, http_headers: Optional[Mapping[str, str]] ) -> None: """Best-effort file delete for run()'s cleanup -- a failed delete must never mask the real result (or the real exception on the abort path).""" @@ -942,7 +952,7 @@ async def _delete_quietly( async def _delete_files_quietly( self, - file_ids: Iterable[Optional[str]], + file_ids: Iterable[Optional[ResourceID]], http_headers: Optional[Mapping[str, str]], ) -> None: """Best-effort delete of several files, skipping the empty/None ones.""" @@ -964,19 +974,22 @@ async def _cancel_quietly( pass async def _download_optional( - self, file_id: Optional[str], http_headers: Optional[Mapping[str, str]] + self, file_id: Optional[ResourceID], http_headers: Optional[Mapping[str, str]] ) -> bytes: if not file_id: return b"" return await self.download(file_id, http_headers=http_headers) async def _stream_file( - self, file_id: Optional[str], http_headers: Optional[Mapping[str, str]] + self, + file_id: Optional[ResourceID], + http_headers: Optional[Mapping[str, str]], ) -> AsyncIterator[Tuple[Optional[str], "BatchItem[RespBodyT]"]]: if not file_id: return response = await self._client.files.download_async( - file_id=file_id, **self._headers_kwarg(http_headers) + file_id=cast(Any, str(file_id)), + **self._headers_kwarg(http_headers), ) try: async for line in response.aiter_lines(): diff --git a/src/mistralai/extra/connectors_gateway.py b/src/mistralai/extra/connectors_gateway.py new file mode 100644 index 000000000..945b3109e --- /dev/null +++ b/src/mistralai/extra/connectors_gateway.py @@ -0,0 +1,191 @@ +from collections.abc import AsyncIterator +from contextlib import AbstractAsyncContextManager, asynccontextmanager +from typing import Any, Awaitable, Callable, TYPE_CHECKING +from urllib.parse import quote, unquote + +import httpx2 as httpx + +from mistralai.client import models, utils +from mistralai.client.sdkconfiguration import SDKConfiguration +from mistralai.extra.connectors_gateway_errors import ( + ConnectorsGatewayError as ConnectorsGatewayError, + raise_connectors_gateway_error, + single_connectors_gateway_error, +) + +if TYPE_CHECKING: + from mcp import ClientSession + +MCPClientContext = AbstractAsyncContextManager["ClientSession"] + +_DEFAULT_TIMEOUT_MS = 300_000 +_MCP_SSE_READ_TIMEOUT = 60 * 5 +_GATEWAY_PATH = "/v1/connectors-gateway" + + +def _request_headers( + sdk_configuration: SDKConfiguration, + *, + credentials_name: str | None, +) -> httpx.Headers: + request_headers = httpx.Headers({"user-agent": sdk_configuration.user_agent}) + if credentials_name is not None: + request_headers["x-credentials-name"] = credentials_name + return request_headers + + +def _security_request_hook( + sdk_configuration: SDKConfiguration, +) -> Callable[[httpx.Request], Awaitable[None]]: + async def add_security_headers(request: httpx.Request) -> None: + security_source = sdk_configuration.security + if callable(security_source): + security_source = security_source() + security = utils.get_security_from_env(security_source, models.Security) + security_headers, _ = utils.get_security(security) + for name, value in security_headers.items(): + request.headers.setdefault(name, value) + + return add_security_headers + + +def _gateway_url( + sdk_configuration: SDKConfiguration, + connector_id_or_name: str, + suffix: str, +) -> httpx.URL: + server_url, _ = sdk_configuration.get_server_details() + connector_ref = quote(connector_id_or_name, safe="") + return httpx.URL( + f"{server_url.rstrip('/')}{_GATEWAY_PATH}/{connector_ref}/{suffix.lstrip('/')}" + ) + + +def _timeout(sdk_configuration: SDKConfiguration) -> float: + effective_timeout_ms = sdk_configuration.timeout_ms + if effective_timeout_ms is None: + effective_timeout_ms = _DEFAULT_TIMEOUT_MS + return effective_timeout_ms / 1000 + + +def _ensure_allowed_url(url: httpx.URL, allowed_base_url: httpx.URL) -> None: + same_origin = ( + url.scheme == allowed_base_url.scheme + and url.host == allowed_base_url.host + and url.port == allowed_base_url.port + ) + base_path = allowed_base_url.raw_path.rstrip(b"/") + request_path = url.raw_path.split(b"?", 1)[0] + is_subpath = request_path == base_path or request_path.startswith(base_path + b"/") + relative_path = request_path[len(base_path) :].lstrip(b"/") + has_dot_segments = any( + unquote(segment.decode("ascii")) in {".", ".."} + for segment in relative_path.split(b"/") + ) + if not same_origin or not is_subpath or has_dot_segments: + raise ValueError( + "HTTP connector client requests must target the configured connector" + ) + + +def _new_httpx_client(**kwargs: Any) -> httpx.AsyncClient: + return httpx.AsyncClient(**kwargs) + + +def _create_mcp_http_client( + sdk_configuration: SDKConfiguration, + *, + credentials_name: str | None, +) -> httpx.AsyncClient: + return _new_httpx_client( + headers=_request_headers( + sdk_configuration, + credentials_name=credentials_name, + ), + timeout=httpx.Timeout( + _timeout(sdk_configuration), + read=_MCP_SSE_READ_TIMEOUT, + ), + follow_redirects=False, + event_hooks={ + "request": [_security_request_hook(sdk_configuration)], + "response": [raise_connectors_gateway_error], + }, + ) + + +@asynccontextmanager +async def mcp_client( + sdk_configuration: SDKConfiguration, + *, + connector_id_or_name: str, + credentials_name: str | None = None, +) -> AsyncIterator["ClientSession"]: + """Open an official MCP client session through the connectors gateway.""" + try: + from mcp import ClientSession + from mcp.client.streamable_http import streamable_http_client + except ImportError as exc: + raise ImportError( + "MCP support requires the 'mistralai[mcp]' optional dependency." + ) from exc + + http_client = _create_mcp_http_client( + sdk_configuration, + credentials_name=credentials_name, + ) + gateway_url = _gateway_url( + sdk_configuration, + connector_id_or_name, + "mcp", + ) + + try: + async with http_client: + async with streamable_http_client( + str(gateway_url), + http_client=http_client, + ) as (read_stream, write_stream): + async with ClientSession(read_stream, write_stream) as session: + await session.initialize() + yield session + except Exception as exc: + gateway_error = single_connectors_gateway_error(exc) + if gateway_error is not None: + raise gateway_error from None + raise + + +def http_client( + sdk_configuration: SDKConfiguration, + *, + connector_id_or_name: str, + credentials_name: str | None = None, +) -> httpx.AsyncClient: + """Create an HTTP client targeting a connector through the gateway.""" + gateway_url = _gateway_url( + sdk_configuration, + connector_id_or_name, + "http", + ) + base_url = httpx.URL(f"{str(gateway_url).rstrip('/')}/") + + async def ensure_allowed_request(request: httpx.Request) -> None: + _ensure_allowed_url(request.url, gateway_url) + + return _new_httpx_client( + base_url=base_url, + headers=_request_headers( + sdk_configuration, + credentials_name=credentials_name, + ), + timeout=_timeout(sdk_configuration), + follow_redirects=False, + event_hooks={ + "request": [ + ensure_allowed_request, + _security_request_hook(sdk_configuration), + ], + "response": [raise_connectors_gateway_error], + }, + ) diff --git a/src/mistralai/extra/connectors_gateway_errors.py b/src/mistralai/extra/connectors_gateway_errors.py new file mode 100644 index 000000000..897b0abb0 --- /dev/null +++ b/src/mistralai/extra/connectors_gateway_errors.py @@ -0,0 +1,105 @@ +import re +from typing import NamedTuple + +import httpx2 as httpx + +_GATEWAY_MEMBER = "connectors-gateway" + +# RFC 8941 grammar subset for the Proxy-Status List (RFC 9209): Token or String members, +# each followed by parameters whose values are Strings or other bare items. +_TOKEN = r"[A-Za-z*][!#$%&'*+\-.^_`|~0-9A-Za-z:/]*" +_STRING = r'"((?:[\x20\x21\x23-\x5b\x5d-\x7e]|\\["\\])*)"' +_MEMBER = re.compile(r"\s*(" + _TOKEN + "|" + _STRING + ")") +_PARAMETER = re.compile( + r"\s*;\s*([a-z*][a-z0-9_\-.*]*)(?:=(?:" + _STRING + r'|([^\s;,"]+)))?' +) +_SEPARATOR = re.compile(r"\s*,") +_STRING_ESCAPE = re.compile(r'\\(["\\])') + + +class _ProxyStatusMember(NamedTuple): + name: str + raw: str + parameters: dict[str, str] + + +def _parse_proxy_status(value: str) -> list[_ProxyStatusMember]: + """Parse members up to the first malformed one; later members are dropped.""" + members: list[_ProxyStatusMember] = [] + position = 0 + while (member := _MEMBER.match(value, position)) is not None: + start, position = member.start(1), member.end() + parameters: dict[str, str] = {} + while (parameter := _PARAMETER.match(value, position)) is not None: + key, string_item, bare_item = parameter.groups() + if string_item is not None: + parameters[key] = _STRING_ESCAPE.sub(r"\1", string_item) + else: + parameters[key] = bare_item if bare_item is not None else "?1" + position = parameter.end() + members.append( + _ProxyStatusMember(member.group(1), value[start:position], parameters) + ) + if (separator := _SEPARATOR.match(value, position)) is None: + break + position = separator.end() + return members + + +class ConnectorsGatewayError(httpx.HTTPStatusError): + """An HTTP error generated by Connectors Gateway rather than the upstream.""" + + def __init__( + self, + *, + response: httpx.Response, + proxy_status: str, + proxy_error: str, + proxy_status_code: int | None, + details: str | None, + ) -> None: + message = ( + f"Connectors Gateway request failed with status " + f"{response.status_code}: {details or proxy_error}" + ) + super().__init__(message, request=response.request, response=response) + self.proxy_status = proxy_status + self.proxy_error = proxy_error + self.proxy_status_code = proxy_status_code + self.details = details + + +async def raise_connectors_gateway_error(response: httpx.Response) -> None: + """Raise for a gateway-authored error while leaving upstream errors unchanged.""" + if not response.is_error: + return + + for value in response.headers.get_list("proxy-status"): + for member in _parse_proxy_status(value): + proxy_error = member.parameters.get("error") + if member.name != _GATEWAY_MEMBER or proxy_error is None: + continue + + await response.aread() + raw_status_code = member.parameters.get("status-code", "") + raise ConnectorsGatewayError( + response=response, + proxy_status=member.raw, + proxy_error=proxy_error, + proxy_status_code=( + int(raw_status_code) if raw_status_code.isdecimal() else None + ), + details=member.parameters.get("details"), + ) + + +def single_connectors_gateway_error( + error: BaseException, +) -> ConnectorsGatewayError | None: + """Unwrap the single-child exception groups produced by MCP's task group.""" + while not isinstance(error, ConnectorsGatewayError): + nested_errors = getattr(error, "exceptions", None) + if not isinstance(nested_errors, tuple) or len(nested_errors) != 1: + return None + error = nested_errors[0] + return error diff --git a/src/mistralai/extra/mcp/auth.py b/src/mistralai/extra/mcp/auth.py index 8a61ddab1..5e723a272 100644 --- a/src/mistralai/extra/mcp/auth.py +++ b/src/mistralai/extra/mcp/auth.py @@ -1,6 +1,6 @@ import logging -import httpx +import httpx2 as httpx from authlib.integrations.httpx_client import AsyncOAuth2Client as AsyncOAuth2ClientBase from authlib.oauth2.rfc8414 import AuthorizationServerMetadata diff --git a/src/mistralai/extra/mcp/base.py b/src/mistralai/extra/mcp/base.py index 115eff61d..fd9335666 100644 --- a/src/mistralai/extra/mcp/base.py +++ b/src/mistralai/extra/mcp/base.py @@ -87,7 +87,7 @@ async def get_tools(self) -> list[FunctionTool]: function=Function( name=mcp_tool.name, description=mcp_tool.description, - parameters=mcp_tool.inputSchema, + parameters=mcp_tool.input_schema, strict=True, ), ) diff --git a/src/mistralai/extra/mcp/sse.py b/src/mistralai/extra/mcp/sse.py index b4929c546..4ae07e2b3 100644 --- a/src/mistralai/extra/mcp/sse.py +++ b/src/mistralai/extra/mcp/sse.py @@ -4,11 +4,10 @@ from functools import cached_property from typing import Any -import httpx -from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream +import httpx2 as httpx +from mcp.client._transport import TransportStreams # pyright: ignore[reportMissingImports] from authlib.oauth2.rfc6749 import OAuth2Token from mcp.client.sse import sse_client # pyright: ignore[reportMissingImports] -from mcp.shared.message import SessionMessage # pyright: ignore[reportMissingImports] from mistralai.extra.exceptions import MCPAuthException from mistralai.extra.mcp.base import ( @@ -139,10 +138,7 @@ async def requires_auth(self) -> bool: async def _get_transport( self, exit_stack: AsyncExitStack - ) -> tuple[ - MemoryObjectReceiveStream[SessionMessage | Exception], - MemoryObjectSendStream[SessionMessage], - ]: + ) -> TransportStreams: try: return await exit_stack.enter_async_context( sse_client( diff --git a/src/mistralai/extra/mcp/streamable_http.py b/src/mistralai/extra/mcp/streamable_http.py index 14bf0d2ab..4085a9d8f 100644 --- a/src/mistralai/extra/mcp/streamable_http.py +++ b/src/mistralai/extra/mcp/streamable_http.py @@ -2,10 +2,9 @@ from contextlib import AsyncExitStack from typing import Any -import httpx -from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream +import httpx2 as httpx +from mcp.client._transport import TransportStreams # pyright: ignore[reportMissingImports] from mcp.client.streamable_http import streamable_http_client # pyright: ignore[reportMissingImports] -from mcp.shared.message import SessionMessage # pyright: ignore[reportMissingImports] from mistralai.extra.mcp.base import ( MCPClientBase, @@ -22,6 +21,9 @@ class StreamableHTTPServerParams(BaseModel): url: str headers: dict[str, Any] | None = None timeout: float = 30 + # MCP 2.2 no longer applies its own SSE read timeout when a custom HTTP + # client is passed, so preserve the transport's five-minute default here. + sse_read_timeout: float = 60 * 5 # Whether the httpx client trusts the ambient environment (HTTP(S)_PROXY, # SSL_CERT_FILE/DIR, .netrc). Defaults to httpx's default (True). Set False to # reach the endpoint directly without an ambient egress proxy, e.g. for an @@ -58,10 +60,7 @@ def __init__( async def _get_transport( self, exit_stack: AsyncExitStack - ) -> tuple[ - MemoryObjectReceiveStream[SessionMessage | Exception], - MemoryObjectSendStream[SessionMessage], - ]: + ) -> TransportStreams: # trust_env controls whether the client inherits the ambient # HTTP(S)_PROXY / cert / netrc env. Set it False (see params) to reach an # in-cluster endpoint directly, bypassing a proxy meant for external @@ -72,12 +71,15 @@ async def _get_transport( http_client = await exit_stack.enter_async_context( httpx.AsyncClient( headers=self._params.headers, - timeout=self._params.timeout, + timeout=httpx.Timeout( + self._params.timeout, + read=self._params.sse_read_timeout, + ), follow_redirects=self._params.follow_redirects, trust_env=self._params.trust_env, ) ) - read_stream, write_stream, _ = await exit_stack.enter_async_context( + read_stream, write_stream = await exit_stack.enter_async_context( streamable_http_client(url=self._params.url, http_client=http_client) ) return read_stream, write_stream diff --git a/src/mistralai/extra/observability/otel.py b/src/mistralai/extra/observability/otel.py index d637350f1..ba0bf0ceb 100644 --- a/src/mistralai/extra/observability/otel.py +++ b/src/mistralai/extra/observability/otel.py @@ -13,7 +13,7 @@ from enum import Enum from typing import Any -import httpx +import httpx2 as httpx import opentelemetry.semconv._incubating.attributes.gen_ai_attributes as gen_ai_attributes import opentelemetry.semconv._incubating.attributes.http_attributes as http_attributes import opentelemetry.semconv.attributes.error_attributes as error_attributes diff --git a/src/mistralai/extra/realtime/transcription.py b/src/mistralai/extra/realtime/transcription.py index b216e6760..dd4008bf4 100644 --- a/src/mistralai/extra/realtime/transcription.py +++ b/src/mistralai/extra/realtime/transcription.py @@ -26,6 +26,10 @@ ) from mistralai.client.sdkconfiguration import SDKConfiguration from mistralai.client.utils import generate_url, get_security, get_security_from_env +from mistralai.client._hooks.service_account_auth import ( + bearer_header, + read_service_account_token, +) from ..exceptions import RealtimeTranscriptionException, RealtimeTranscriptionWSError from .connection import ( @@ -91,6 +95,16 @@ async def connect( if values: query_params[key] = values[-1] + # The websocket handshake bypasses the SDK's before-request hooks, so service-account + # auth has to be applied here too, with the same precedence. + caller_authorization = any( + name.lower() == "authorization" for name in (http_headers or {}) + ) + if self._sdk_config.security is None and not caller_authorization: + token = read_service_account_token() + if token is not None: + headers["Authorization"] = bearer_header(token) + if http_headers is not None: headers |= dict(http_headers) diff --git a/src/mistralai/extra/struct_chat.py b/src/mistralai/extra/struct_chat.py index d3fd3f5a9..4023b758d 100644 --- a/src/mistralai/extra/struct_chat.py +++ b/src/mistralai/extra/struct_chat.py @@ -1,7 +1,12 @@ import json from typing import Generic -from mistralai.client.models import AssistantMessage, ChatCompletionChoice, ChatCompletionResponse +from mistralai.client.models import ( + AssistantMessage, + ChatCompletionChoice, + ChatCompletionResponse, + TextChunk, +) from .utils.response_format import CustomPydanticModel, pydantic_model_from_json @@ -34,6 +39,16 @@ def convert_to_parsed_chat_completion_response( parsed_message.parsed = pydantic_model_from_json(json.loads(parsed_message.content), response_format) elif parsed_message.content is None: parsed_message.parsed = None + elif isinstance(parsed_message.content, list): + final_text = "".join( + chunk.text + for chunk in parsed_message.content + if isinstance(chunk, TextChunk) + ) + if not final_text: + parsed_message.parsed = None + else: + parsed_message.parsed = pydantic_model_from_json(json.loads(final_text), response_format) else: raise TypeError(f"Unexpected type for message.content: {type(parsed_message.content)}") choice_dict = choice.model_dump() diff --git a/src/mistralai/extra/tests/test_batch.py b/src/mistralai/extra/tests/test_batch.py index fdaa8c1e5..b4d0c6e92 100644 --- a/src/mistralai/extra/tests/test_batch.py +++ b/src/mistralai/extra/tests/test_batch.py @@ -1,6 +1,7 @@ import asyncio import json from typing import Any, Optional, Sequence, cast +from uuid import UUID import pytest @@ -27,17 +28,33 @@ ) +FILE_IN_ID = UUID("00000000-0000-0000-0000-000000000001") +FILE_OUT_ID = UUID("00000000-0000-0000-0000-000000000002") +FILE_ERROR_ID = UUID("00000000-0000-0000-0000-000000000003") +FILE_UPLOADED_ID = UUID("00000000-0000-0000-0000-000000000004") +FILE_XYZ_ID = UUID("00000000-0000-0000-0000-000000000005") +FILE_PREEXISTING_ID = UUID("00000000-0000-0000-0000-000000000006") +JOB_ID = UUID("00000000-0000-0000-0000-000000000101") +JOB_NINE_ID = UUID("00000000-0000-0000-0000-000000000109") +JOB_X_ID = UUID("00000000-0000-0000-0000-000000000110") +JOB_Z_ID = UUID("00000000-0000-0000-0000-000000000120") + + # --------------------------------------------------------------------------- # Fakes for the Mistral client surface the wrapper touches # --------------------------------------------------------------------------- def _make_job( - status: BatchJobStatus = "SUCCESS", *, failed=0, succeeded=1, job_id="job-1" + status: BatchJobStatus = "SUCCESS", + *, + failed=0, + succeeded=1, + job_id: str | UUID = JOB_ID, ): return BatchJob( - id=job_id, - input_files=["file-in"], + id=str(job_id), + input_files=cast(Any, [str(FILE_IN_ID)]), endpoint="/v1/embeddings", errors=[], status=status, @@ -46,8 +63,8 @@ def _make_job( completed_requests=succeeded + failed, succeeded_requests=succeeded, failed_requests=failed, - output_file="file-out", - error_file="file-err" if failed else None, + output_file=cast(Any, str(FILE_OUT_ID)), + error_file=cast(Any, str(FILE_ERROR_ID) if failed else None), ) @@ -76,7 +93,7 @@ def __init__(self, downloads=None): async def upload_async(self, **kwargs): self.calls.append(("upload", kwargs)) - return type("Resp", (), {"id": "file-uploaded"})() + return type("Resp", (), {"id": FILE_UPLOADED_ID})() async def download_async(self, **kwargs): self.calls.append(("download", kwargs)) @@ -396,7 +413,7 @@ async def test_upload_returns_handle_and_sets_purpose(): client = _embed_client(files, _FakeJobs([_make_job()])) handle = await client.upload(BatchInput.from_payload({"a": _embed_req()})) assert isinstance(handle, BatchInputFile) - assert handle.file_id == "file-uploaded" + assert handle.file_id == FILE_UPLOADED_ID _, kwargs = files.calls[0] assert kwargs["purpose"] == "batch" assert kwargs["file"].file_name == "batch_input.jsonl" @@ -426,18 +443,20 @@ async def test_upload_forwards_optional_knobs(): @pytest.mark.asyncio async def test_download_concatenates_stream(): - files = _FakeFiles(downloads={"file-out": [b"foo", b"bar"]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [b"foo", b"bar"]}) client = _embed_client(files, _FakeJobs([])) - assert await client.download("file-out") == b"foobar" + assert await client.download(FILE_OUT_ID) == b"foobar" + assert files.calls[0][1]["file_id"] == str(FILE_OUT_ID) @pytest.mark.asyncio async def test_signed_url_returns_url_and_forwards_expiry(): files = _FakeFiles() client = _embed_client(files, _FakeJobs([])) - url = await client.signed_url("file-out", expiry_hours=12) + url = await client.signed_url(FILE_OUT_ID, expiry_hours=12) assert url == "https://signed/x" _, kwargs = files.calls[0] + assert kwargs["file_id"] == str(FILE_OUT_ID) assert kwargs["expiry"] == 12 @@ -445,9 +464,9 @@ async def test_signed_url_returns_url_and_forwards_expiry(): async def test_delete_calls_delete_async(): files = _FakeFiles() client = _embed_client(files, _FakeJobs([])) - await client.delete("file-out") + await client.delete(FILE_OUT_ID) assert files.calls[0][0] == "delete" - assert files.calls[0][1]["file_id"] == "file-out" + assert files.calls[0][1]["file_id"] == str(FILE_OUT_ID) # --------------------------------------------------------------------------- @@ -457,7 +476,7 @@ async def test_delete_calls_delete_async(): @pytest.mark.asyncio async def test_create_from_input_returns_handle_and_sends_inline_requests(): - jobs = _FakeJobs([_make_job(job_id="j9")]) + jobs = _FakeJobs([_make_job(job_id=JOB_NINE_ID)]) client = _embed_client(_FakeFiles(), jobs) handle = await client.create( BatchInput.from_payload({"a": _embed_req()}), @@ -465,7 +484,7 @@ async def test_create_from_input_returns_handle_and_sends_inline_requests(): metadata={"k": "v"}, ) assert isinstance(handle, BatchJobHandle) - assert handle.id == "j9" + assert handle.id == str(JOB_NINE_ID) assert handle.status == "SUCCESS" _, kwargs = jobs.calls[0] assert "requests" in kwargs @@ -480,9 +499,9 @@ async def test_create_from_input_returns_handle_and_sends_inline_requests(): async def test_create_from_file_sends_input_files(): jobs = _FakeJobs([_make_job()]) client = _embed_client(_FakeFiles(), jobs) - await client.create(BatchInputFile("file-xyz")) + await client.create(BatchInputFile(FILE_XYZ_ID)) _, kwargs = jobs.calls[0] - assert kwargs["input_files"] == ["file-xyz"] + assert kwargs["input_files"] == [str(FILE_XYZ_ID)] assert "requests" not in kwargs @@ -490,18 +509,18 @@ async def test_create_from_file_sends_input_files(): async def test_get_returns_handle(): jobs = _FakeJobs([], poll_statuses=["RUNNING"]) client = _embed_client(_FakeFiles(), jobs) - handle = await client.get("job-1", http_headers={"a": "b"}) + handle = await client.get(JOB_ID, http_headers={"a": "b"}) assert isinstance(handle, BatchJobHandle) assert handle.status == "RUNNING" _, kwargs = jobs.calls[0] - assert kwargs["job_id"] == "job-1" + assert kwargs["job_id"] == str(JOB_ID) assert kwargs["http_headers"] == {"a": "b"} @pytest.mark.asyncio async def test_refresh_refetches_state(): jobs = _FakeJobs( - [_make_job(status="QUEUED", job_id="jx")], poll_statuses=["RUNNING"] + [_make_job(status="QUEUED", job_id=JOB_X_ID)], poll_statuses=["RUNNING"] ) client = _embed_client(_FakeFiles(), jobs) handle = await client.create(BatchInput.from_payload({"a": _embed_req()})) @@ -514,12 +533,12 @@ async def test_refresh_refetches_state(): async def test_cancel_accepts_id_and_returns_handle(): jobs = _FakeJobs([]) client = _embed_client(_FakeFiles(), jobs) - handle = await client.cancel("job-1", http_headers={"a": "b"}) + handle = await client.cancel(JOB_ID, http_headers={"a": "b"}) assert isinstance(handle, BatchJobHandle) assert handle.status == "CANCELLATION_REQUESTED" _, kwargs = jobs.calls[0] assert jobs.calls[0][0] == "cancel" - assert kwargs["job_id"] == "job-1" + assert kwargs["job_id"] == str(JOB_ID) assert kwargs["http_headers"] == {"a": "b"} @@ -527,9 +546,21 @@ async def test_cancel_accepts_id_and_returns_handle(): async def test_cancel_accepts_handle(): jobs = _FakeJobs([]) client = _embed_client(_FakeFiles(), jobs) - handle = BatchJobHandle(_make_job(status="RUNNING", job_id="jz")) + handle = BatchJobHandle(_make_job(status="RUNNING", job_id=JOB_Z_ID)) await client.cancel(handle) - assert jobs.calls[0][1]["job_id"] == "jz" + assert jobs.calls[0][1]["job_id"] == str(JOB_Z_ID) + + +@pytest.mark.asyncio +async def test_cancel_stringifies_uuid_id_from_handle(): + jobs = _FakeJobs([]) + client = _embed_client(_FakeFiles(), jobs) + job = _make_job(status="RUNNING").model_copy(update={"id": JOB_Z_ID}) + handle = BatchJobHandle(job) + + assert handle.id == str(JOB_Z_ID) + await client.cancel(handle) + assert jobs.calls[0][1]["job_id"] == str(JOB_Z_ID) @pytest.mark.asyncio @@ -562,8 +593,8 @@ async def test_wait_raises_timeout(): async def test_stream_yields_ok_and_errors(): files = _FakeFiles( downloads={ - "file-out": [_ok_line("a").encode()], - "file-err": [_err_line("b").encode()], + str(FILE_OUT_ID): [_ok_line("a").encode()], + str(FILE_ERROR_ID): [_err_line("b").encode()], } ) jobs = _FakeJobs([_make_job(failed=1, succeeded=1)]) @@ -576,9 +607,29 @@ async def test_stream_yields_ok_and_errors(): assert by_id["b"].status_code == 429 +@pytest.mark.asyncio +async def test_stream_stringifies_uuid_output_and_error_file_ids(): + files = _FakeFiles( + downloads={ + str(FILE_OUT_ID): [_ok_line("a").encode()], + str(FILE_ERROR_ID): [_err_line("b").encode()], + } + ) + job = _make_job(failed=1).model_copy( + update={"output_file": FILE_OUT_ID, "error_file": FILE_ERROR_ID} + ) + client = _embed_client(files, _FakeJobs([])) + + items = dict([item async for item in client.stream_results(BatchJobHandle(job))]) + downloaded = {c[1]["file_id"] for c in files.calls if c[0] == "download"} + assert downloaded == {str(FILE_OUT_ID), str(FILE_ERROR_ID)} + assert isinstance(items["a"], EmbeddingResponse) + assert isinstance(items["b"], BatchRequestError) + + @pytest.mark.asyncio async def test_stream_yields_response_error_for_unparseable_body(): - files = _FakeFiles(downloads={"file-out": [_bad_body_line("c").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_bad_body_line("c").encode()]}) jobs = _FakeJobs([_make_job()]) client = _embed_client(files, jobs) handle = await client.create(BatchInput.from_payload({"c": _embed_req()})) @@ -593,8 +644,8 @@ async def test_stream_is_read_only_and_never_deletes(): # creating, or deleting -- cleanup of the job and its files stays the caller's. files = _FakeFiles( downloads={ - "file-out": [_ok_line("a").encode()], - "file-err": [_err_line("b").encode()], + str(FILE_OUT_ID): [_ok_line("a").encode()], + str(FILE_ERROR_ID): [_err_line("b").encode()], } ) jobs = _FakeJobs([_make_job(failed=1, succeeded=1)]) @@ -607,7 +658,7 @@ async def test_stream_is_read_only_and_never_deletes(): @pytest.mark.asyncio async def test_stream_waits_when_not_terminal(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job(status="QUEUED")], poll_statuses=["QUEUED", "SUCCESS"]) client = _embed_client(files, jobs) handle = await client.create(BatchInput.from_payload({"a": _embed_req()})) @@ -620,7 +671,7 @@ async def test_stream_waits_when_not_terminal(): @pytest.mark.asyncio async def test_stream_forwards_http_headers_to_download(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()]) client = _embed_client(files, jobs) handle = await client.create(BatchInput.from_payload({"a": _embed_req()})) @@ -636,7 +687,7 @@ async def test_stream_forwards_http_headers_to_download(): @pytest.mark.asyncio async def test_run_small_input_inline_no_upload(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()], poll_statuses=["QUEUED", "SUCCESS"]) client = _embed_client(files, jobs) result = await client.run( @@ -663,7 +714,7 @@ async def test_run_uploads_when_over_inline_threshold(): ) assert files.calls[0][0] == "upload" _, create_kwargs = jobs.calls[0] - assert create_kwargs["input_files"] == ["file-uploaded"] + assert create_kwargs["input_files"] == [str(FILE_UPLOADED_ID)] @pytest.mark.asyncio @@ -671,9 +722,9 @@ async def test_run_input_file_passthrough_no_upload(): files = _FakeFiles() jobs = _FakeJobs([_make_job()], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) - await client.run(BatchInputFile("file-pre"), poll_interval_seconds=0) + await client.run(BatchInputFile(FILE_PREEXISTING_ID), poll_interval_seconds=0) assert not any(c[0] == "upload" for c in files.calls) - assert jobs.calls[0][1]["input_files"] == ["file-pre"] + assert jobs.calls[0][1]["input_files"] == [str(FILE_PREEXISTING_ID)] @pytest.mark.asyncio @@ -757,7 +808,7 @@ async def test_run_raises_timeout_when_deadline_passed(): @pytest.mark.asyncio async def test_run_materializes_output_downloaded_once(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) result = await client.run( @@ -773,7 +824,7 @@ async def test_run_materializes_output_downloaded_once(): @pytest.mark.asyncio async def test_run_error_output_none_when_no_error_file(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job(failed=0)], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) result = await client.run( @@ -785,7 +836,10 @@ async def test_run_error_output_none_when_no_error_file(): @pytest.mark.asyncio async def test_run_error_output_parsed_and_merged(): files = _FakeFiles( - downloads={"file-out": [b""], "file-err": [_err_line("b").encode()]} + downloads={ + str(FILE_OUT_ID): [b""], + str(FILE_ERROR_ID): [_err_line("b").encode()], + } ) jobs = _FakeJobs([_make_job(failed=1, succeeded=0)], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) @@ -805,8 +859,8 @@ async def test_run_response_errors_merged_across_files(): # response_errors(), merged across both. files = _FakeFiles( downloads={ - "file-out": [_bad_body_line("c").encode()], - "file-err": [_bad_body_line("d").encode()], + str(FILE_OUT_ID): [_bad_body_line("c").encode()], + str(FILE_ERROR_ID): [_bad_body_line("d").encode()], } ) jobs = _FakeJobs([_make_job(failed=1, succeeded=1)], poll_statuses=["SUCCESS"]) @@ -848,7 +902,7 @@ def test_by_id_same_custom_id_across_files_raises(): @pytest.mark.asyncio async def test_run_download_uses_http_headers(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) await client.run( @@ -867,7 +921,7 @@ async def test_run_download_uses_http_headers(): @pytest.mark.asyncio async def test_run_deletes_input_it_uploaded_and_result_files(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) await client.run( @@ -877,13 +931,16 @@ async def test_run_deletes_input_it_uploaded_and_result_files(): ) deleted = {c[1]["file_id"] for c in files.calls if c[0] == "delete"} # the input file run() uploaded + the job's output file are all cleaned up - assert deleted == {"file-uploaded", "file-out"} + assert deleted == {str(FILE_UPLOADED_ID), str(FILE_OUT_ID)} @pytest.mark.asyncio async def test_run_deletes_output_and_error_files(): files = _FakeFiles( - downloads={"file-out": [b""], "file-err": [_err_line("b").encode()]} + downloads={ + str(FILE_OUT_ID): [b""], + str(FILE_ERROR_ID): [_err_line("b").encode()], + } ) jobs = _FakeJobs([_make_job(failed=1, succeeded=0)], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) @@ -892,23 +949,23 @@ async def test_run_deletes_output_and_error_files(): ) deleted = {c[1]["file_id"] for c in files.calls if c[0] == "delete"} # inline input (nothing uploaded); both result files cleaned up - assert deleted == {"file-out", "file-err"} + assert deleted == {str(FILE_OUT_ID), str(FILE_ERROR_ID)} @pytest.mark.asyncio async def test_run_does_not_delete_caller_supplied_input_file(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) - await client.run(BatchInputFile("file-pre"), poll_interval_seconds=0) + await client.run(BatchInputFile(FILE_PREEXISTING_ID), poll_interval_seconds=0) deleted = {c[1]["file_id"] for c in files.calls if c[0] == "delete"} - assert "file-pre" not in deleted # the caller owns their input file - assert "file-out" in deleted + assert str(FILE_PREEXISTING_ID) not in deleted # the caller owns their input file + assert str(FILE_OUT_ID) in deleted @pytest.mark.asyncio async def test_run_delete_uses_http_headers(): - files = _FakeFiles(downloads={"file-out": [_ok_line("a").encode()]}) + files = _FakeFiles(downloads={str(FILE_OUT_ID): [_ok_line("a").encode()]}) jobs = _FakeJobs([_make_job()], poll_statuses=["SUCCESS"]) client = _embed_client(files, jobs) await client.run( @@ -988,8 +1045,8 @@ async def _boom(**kwargs): BatchInput.from_payload({"a": _embed_req()}), poll_interval_seconds=0 ) deleted = {c[1]["file_id"] for c in files.calls if c[0] == "delete"} - assert "file-out" not in deleted - assert "file-err" not in deleted + assert str(FILE_OUT_ID) not in deleted + assert str(FILE_ERROR_ID) not in deleted @pytest.mark.asyncio @@ -998,7 +1055,10 @@ async def test_run_keeps_prior_result_files_when_retry_fails(): # retry: if the next create/wait then fails, the abort path must still leave # them recoverable rather than having destroyed them eagerly. files = _FakeFiles( - downloads={"file-out": [b""], "file-err": [_err_line("b").encode()]} + downloads={ + str(FILE_OUT_ID): [b""], + str(FILE_ERROR_ID): [_err_line("b").encode()], + } ) # one failing attempt; run() wants a retry, but the 2nd create has no job to pop jobs = _FakeJobs([_make_job(failed=1, succeeded=0)], poll_statuses=["SUCCESS"]) @@ -1010,8 +1070,8 @@ async def test_run_keeps_prior_result_files_when_retry_fails(): poll_interval_seconds=0, ) deleted = {c[1]["file_id"] for c in files.calls if c[0] == "delete"} - assert "file-out" not in deleted # prior attempt's files stay recoverable - assert "file-err" not in deleted + assert str(FILE_OUT_ID) not in deleted # prior attempt's files stay recoverable + assert str(FILE_ERROR_ID) not in deleted @pytest.mark.asyncio @@ -1034,4 +1094,4 @@ async def _boom(*args, **kwargs): ) assert any(c[0] == "cancel" for c in jobs.calls) deleted = {c[1]["file_id"] for c in files.calls if c[0] == "delete"} - assert "file-uploaded" in deleted + assert str(FILE_UPLOADED_ID) in deleted diff --git a/src/mistralai/extra/tests/test_connectors_gateway.py b/src/mistralai/extra/tests/test_connectors_gateway.py new file mode 100644 index 000000000..11c76e2b8 --- /dev/null +++ b/src/mistralai/extra/tests/test_connectors_gateway.py @@ -0,0 +1,559 @@ +import json +from collections.abc import AsyncIterator, Callable +from contextlib import asynccontextmanager +from typing import Any + +import anyio +import httpx2 as httpx +import pytest +from mcp import ClientSession +from mcp.types import TextContent + +from mistralai.client import Mistral +from mistralai.extra import connectors_gateway +from mistralai.extra.connectors_gateway import ConnectorsGatewayError +from mistralai.extra.connectors_gateway_errors import ( + raise_connectors_gateway_error, +) + +ConnectorClientHandler = Callable[[httpx.Request], Any] +ConnectorClientTransport = Callable[[ConnectorClientHandler], None] + +# Contract source: connectors-gateway/connectors_gateway/helpers/proxy_status.py, +# proxy_status_headers(). Connector upstream values are stripped by +# connectors-gateway/connectors_gateway/helpers/http_headers.py. +CONNECTORS_GATEWAY_ERROR_HEADER = ( + "connectors-gateway; error=http_request_error; status-code=400; " + 'details="connector_protocol_mismatch"' +) + + +@pytest.fixture +def use_connector_transport( + monkeypatch: pytest.MonkeyPatch, +) -> ConnectorClientTransport: + def install(handler: ConnectorClientHandler) -> None: + def new_httpx_client(**kwargs: Any) -> httpx.AsyncClient: + return httpx.AsyncClient( + **kwargs, + transport=httpx.MockTransport(handler), + ) + + monkeypatch.setattr( + connectors_gateway, + "_new_httpx_client", + new_httpx_client, + ) + + return install + + +@asynccontextmanager +async def _mistral_client( + handler: Callable[[httpx.Request], Any], + *, + api_key: Any = "test-api-key", + auth: Any = None, + timeout_ms: int | None = None, +) -> AsyncIterator[Mistral]: + async_client = httpx.AsyncClient( + transport=httpx.MockTransport(handler), + auth=auth, + cookies={"sdk-cookie": "preserved"}, + ) + sync_client = httpx.Client( + transport=httpx.MockTransport( + lambda request: httpx.Response(500, request=request) + ) + ) + try: + yield Mistral( + api_key=api_key, + server_url="https://api.example.test", + client=sync_client, + async_client=async_client, + timeout_ms=timeout_ms, + ) + finally: + await async_client.aclose() + sync_client.close() + + +@pytest.mark.asyncio +async def test_mcp_client_opens_official_session_through_gateway( + use_connector_transport: ConnectorClientTransport, +) -> None: + requests: list[httpx.Request] = [] + + async def handler(request: httpx.Request) -> httpx.Response: + requests.append(request) + payload = json.loads(request.content) + method = payload["method"] + result: dict[str, Any] + + if method == "notifications/initialized": + return httpx.Response(202) + if method == "initialize": + result = { + "protocolVersion": payload["params"]["protocolVersion"], + "capabilities": {}, + "serverInfo": {"name": "connector-gateway", "version": "test"}, + } + elif method == "tools/call": + result = { + "content": [{"type": "text", "text": "done"}], + "isError": False, + "structuredContent": {"answer": 42}, + } + elif method == "tools/list": + result = { + "tools": [ + { + "name": "search", + "inputSchema": {"type": "object"}, + "outputSchema": {"type": "object"}, + } + ] + } + else: + raise AssertionError(f"Unexpected MCP method: {method}") + + return httpx.Response( + 200, + headers={"content-type": "application/json"}, + json={"jsonrpc": "2.0", "id": payload["id"], "result": result}, + ) + + use_connector_transport(handler) + + async with _mistral_client( + handler, + auth=httpx.BasicAuth("client", "password"), + timeout_ms=1_234, + ) as mistral: + async with mistral.beta.connectors.mcp_client( + connector_id_or_name="my/connector", + credentials_name="work", + ) as client: + assert type(client) is ClientSession + result = await client.call_tool("search", {"query": "mistral"}) + + assert isinstance(result.content[0], TextContent) + assert result.content[0].text == "done" + assert result.structured_content == {"answer": 42} + assert [json.loads(request.content)["method"] for request in requests] == [ + "initialize", + "notifications/initialized", + "tools/call", + "tools/list", + ] + for request in requests: + assert request.url.raw_path == b"/v1/connectors-gateway/my%2Fconnector/mcp" + assert request.headers["authorization"] == "Bearer test-api-key" + assert request.headers["x-credentials-name"] == "work" + assert request.headers["accept"] == "application/json, text/event-stream" + assert request.extensions["timeout"] == { + "connect": 1.234, + "read": 300, + "write": 1.234, + "pool": 1.234, + } + + +@pytest.mark.asyncio +async def test_mcp_client_raises_connectors_gateway_error_during_initialization( + use_connector_transport: ConnectorClientTransport, +) -> None: + async def handler(request: httpx.Request) -> httpx.Response: + return httpx.Response( + 400, + headers={"proxy-status": CONNECTORS_GATEWAY_ERROR_HEADER}, + json={"detail": "The connector does not support MCP"}, + ) + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + with pytest.raises(ConnectorsGatewayError) as exc_info: + with anyio.fail_after(1): + async with mistral.beta.connectors.mcp_client( + connector_id_or_name="http-only", + ): + pass + + error = exc_info.value + assert isinstance(error, httpx.HTTPStatusError) + assert error.response.status_code == 400 + assert error.response.json() == {"detail": "The connector does not support MCP"} + assert error.proxy_status == CONNECTORS_GATEWAY_ERROR_HEADER + assert error.proxy_error == "http_request_error" + assert error.proxy_status_code == 400 + assert error.details == "connector_protocol_mismatch" + + +@pytest.mark.asyncio +async def test_mcp_client_raises_connectors_gateway_error_for_tool_call( + use_connector_transport: ConnectorClientTransport, +) -> None: + async def handler(request: httpx.Request) -> httpx.Response: + payload = json.loads(request.content) + method = payload["method"] + if method == "notifications/initialized": + return httpx.Response(202) + if method == "initialize": + return httpx.Response( + 200, + headers={"content-type": "application/json"}, + json={ + "jsonrpc": "2.0", + "id": payload["id"], + "result": { + "protocolVersion": payload["params"]["protocolVersion"], + "capabilities": {}, + "serverInfo": { + "name": "connector-gateway", + "version": "test", + }, + }, + }, + ) + if method == "tools/call": + return httpx.Response( + 502, + headers={ + "proxy-status": ( + "connectors-gateway; error=destination_unavailable; " + 'details="upstream_unavailable"' + ) + }, + json={"detail": "Upstream MCP server unavailable"}, + ) + if method == "tools/list": + return httpx.Response( + 200, + headers={"content-type": "application/json"}, + json={ + "jsonrpc": "2.0", + "id": payload["id"], + "result": {"tools": []}, + }, + ) + raise AssertionError(f"Unexpected MCP method: {method}") + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + with pytest.raises(ConnectorsGatewayError) as exc_info: + with anyio.fail_after(1): + async with mistral.beta.connectors.mcp_client( + connector_id_or_name="unavailable", + ) as client: + await client.call_tool("search", {"query": "mistral"}) + + error = exc_info.value + assert error.response.status_code == 502 + assert error.proxy_error == "destination_unavailable" + assert error.proxy_status_code is None + assert error.details == "upstream_unavailable" + + +@pytest.mark.asyncio +async def test_http_client_targets_connector_gateway( + use_connector_transport: ConnectorClientTransport, +) -> None: + captured: list[httpx.Request] = [] + + async def handler(request: httpx.Request) -> httpx.Response: + captured.append(request) + return httpx.Response( + 418, + content=b"upstream response", + headers=[("set-cookie", "a=1"), ("set-cookie", "b=2")], + ) + + use_connector_transport(handler) + + async with _mistral_client( + handler, + auth=httpx.BasicAuth("client", "password"), + timeout_ms=1_234, + ) as mistral: + sdk_http_client = mistral.sdk_configuration.async_client + assert isinstance(sdk_http_client, httpx.AsyncClient) + + async with mistral.beta.connectors.http_client( + connector_id_or_name="http connector", + credentials_name="secondary", + ) as client: + assert isinstance(client, httpx.AsyncClient) + assert client.base_url == httpx.URL( + "https://api.example.test/v1/connectors-gateway/" + "http%20connector/http/" + ) + response = await client.post( + "/items/search?q=hello%20world", + headers={ + "authorization": "Bearer caller-value", + "content-type": "application/json", + "x-upstream-header": "value", + }, + json={"limit": 10}, + ) + assert client.cookies.get("a") == "1" + assert client.cookies.get("b") == "2" + + assert not sdk_http_client.is_closed + assert sdk_http_client.cookies.get("sdk-cookie") == "preserved" + assert sdk_http_client.cookies.get("a") is None + assert sdk_http_client.cookies.get("b") is None + + assert response.status_code == 418 + assert response.content == b"upstream response" + assert response.headers.get_list("set-cookie") == ["a=1", "b=2"] + + request = captured[0] + assert request.url.raw_path == ( + b"/v1/connectors-gateway/http%20connector/http/items/search?q=hello%20world" + ) + assert request.headers["authorization"] == "Bearer caller-value" + assert request.headers["x-credentials-name"] == "secondary" + assert request.headers["x-upstream-header"] == "value" + assert request.extensions["timeout"]["read"] == 1.234 + assert json.loads(request.content) == {"limit": 10} + + +@pytest.mark.asyncio +async def test_http_client_raises_connectors_gateway_error( + use_connector_transport: ConnectorClientTransport, +) -> None: + async def handler(request: httpx.Request) -> httpx.Response: + return httpx.Response( + 400, + headers={"proxy-status": CONNECTORS_GATEWAY_ERROR_HEADER}, + json={"detail": "The connector does not support HTTP"}, + ) + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + async with mistral.beta.connectors.http_client( + connector_id_or_name="mcp-only", + ) as client: + with pytest.raises(ConnectorsGatewayError) as exc_info: + await client.get("test") + + error = exc_info.value + assert isinstance(error, httpx.HTTPStatusError) + assert str(error) == ( + "Connectors Gateway request failed with status 400: " + "connector_protocol_mismatch" + ) + assert error.request.url.path.endswith("/mcp-only/http/test") + assert error.response.json() == {"detail": "The connector does not support HTTP"} + assert error.proxy_status == CONNECTORS_GATEWAY_ERROR_HEADER + assert error.proxy_error == "http_request_error" + assert error.proxy_status_code == 400 + assert error.details == "connector_protocol_mismatch" + + +@pytest.mark.asyncio +@pytest.mark.parametrize( + ("proxy_status", "expected"), + [ + pytest.param( + CONNECTORS_GATEWAY_ERROR_HEADER, + ("http_request_error", 400, "connector_protocol_mismatch"), + id="canonical", + ), + pytest.param( + 'connectors-gateway; details="rate_limit_reached"; ' + "error=http_request_denied", + ("http_request_denied", None, "rate_limit_reached"), + id="reordered", + ), + pytest.param( + 'connectors-gateway; error=destination_unavailable; next-hop="api.test"; ' + 'details="upstream_unavailable"; received-status=503', + ("destination_unavailable", None, "upstream_unavailable"), + id="extra-parameters", + ), + pytest.param( + "connectors-gateway; error=proxy_internal_error", + ("proxy_internal_error", None, None), + id="no-details", + ), + pytest.param( + 'cdn; error=dns_timeout, "edge proxy", ' + 'connectors-gateway; error=connection_timeout; details="upstream_timeout"', + ("connection_timeout", None, "upstream_timeout"), + id="after-other-members", + ), + pytest.param( + r'connectors-gateway; error=http_request_error; details="a \"b\" \\ c"', + ("http_request_error", None, 'a "b" \\ c'), + id="escaped-string", + ), + pytest.param( + 'upstream-proxy; error=connection_refused; details="origin"', + None, + id="other-proxy", + ), + pytest.param( + 'upstream; details="x, connectors-gateway; error=http_request_denied"', + None, + id="lookalike-inside-string", + ), + pytest.param( + "connectors-gateway; received-status=200", + None, + id="no-error", + ), + ], +) +async def test_raise_connectors_gateway_error_parses_proxy_status( + proxy_status: str, + expected: tuple[str, int | None, str | None] | None, +) -> None: + response = httpx.Response( + 502, + headers={"proxy-status": proxy_status}, + request=httpx.Request("GET", "https://api.example.test"), + ) + + if expected is None: + await raise_connectors_gateway_error(response) + return + with pytest.raises(ConnectorsGatewayError) as exc_info: + await raise_connectors_gateway_error(response) + + error = exc_info.value + assert (error.proxy_error, error.proxy_status_code, error.details) == expected + + +@pytest.mark.asyncio +async def test_http_client_ignores_other_proxy_status_members( + use_connector_transport: ConnectorClientTransport, +) -> None: + async def handler(request: httpx.Request) -> httpx.Response: + return httpx.Response( + 502, + headers={ + "proxy-status": ( + 'upstream-proxy; error=connection_refused; details="origin"' + ) + }, + ) + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + async with mistral.beta.connectors.http_client( + connector_id_or_name="github", + ) as client: + response = await client.get("test") + + assert response.status_code == 502 + with pytest.raises(httpx.HTTPStatusError) as exc_info: + response.raise_for_status() + assert not isinstance(exc_info.value, ConnectorsGatewayError) + + +@pytest.mark.asyncio +async def test_http_client_does_not_follow_redirects_by_default( + use_connector_transport: ConnectorClientTransport, +) -> None: + requests: list[httpx.Request] = [] + + async def handler(request: httpx.Request) -> httpx.Response: + requests.append(request) + return httpx.Response(302, headers={"location": "/next"}) + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + async with mistral.beta.connectors.http_client( + connector_id_or_name="github", + ) as client: + response = await client.get("start") + + assert response.status_code == 302 + assert len(requests) == 1 + + +@pytest.mark.asyncio +async def test_http_client_rejects_absolute_urls( + use_connector_transport: ConnectorClientTransport, +) -> None: + requests: list[httpx.Request] = [] + + async def handler(request: httpx.Request) -> httpx.Response: + requests.append(request) + return httpx.Response(200) + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + async with mistral.beta.connectors.http_client( + connector_id_or_name="github", + ) as client: + with pytest.raises( + ValueError, + match="must target the configured connector", + ): + await client.get("https://api.github.com/user") + + assert requests == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("url", ["../models", "/items/%2e%2e/models"]) +async def test_http_client_rejects_paths_outside_connector( + url: str, + use_connector_transport: ConnectorClientTransport, +) -> None: + requests: list[httpx.Request] = [] + + async def handler(request: httpx.Request) -> httpx.Response: + requests.append(request) + return httpx.Response(200) + + use_connector_transport(handler) + + async with _mistral_client(handler) as mistral: + async with mistral.beta.connectors.http_client( + connector_id_or_name="github", + ) as client: + with pytest.raises( + ValueError, + match="must target the configured connector", + ): + await client.get(url) + + assert requests == [] + + +@pytest.mark.asyncio +async def test_http_client_resolves_callable_api_key_for_each_request( + use_connector_transport: ConnectorClientTransport, +) -> None: + authorization_headers: list[str] = [] + api_key = {"value": "first-key"} + + async def handler(request: httpx.Request) -> httpx.Response: + authorization_headers.append(request.headers["authorization"]) + return httpx.Response(200) + + use_connector_transport(handler) + + async with _mistral_client( + handler, + api_key=lambda: api_key["value"], + ) as mistral: + async with mistral.beta.connectors.http_client( + connector_id_or_name="github", + ) as client: + await client.get("first") + api_key["value"] = "second-key" + await client.get("second") + + assert authorization_headers == ["Bearer first-key", "Bearer second-key"] diff --git a/src/mistralai/extra/tests/test_mcp_streamable_http.py b/src/mistralai/extra/tests/test_mcp_streamable_http.py index eea803258..18b117a5b 100644 --- a/src/mistralai/extra/tests/test_mcp_streamable_http.py +++ b/src/mistralai/extra/tests/test_mcp_streamable_http.py @@ -22,7 +22,7 @@ async def test_headers_are_set_on_the_http_client(self) -> None: async def fake_streamable_http_client(url: str, http_client: Any) -> AsyncIterator[Any]: captured["url"] = url captured["headers"] = dict(http_client.headers) - yield object(), object(), lambda: None + yield object(), object() client = MCPClientStreamableHTTP( params=StreamableHTTPServerParams( @@ -54,7 +54,7 @@ async def test_follow_redirects_defaults_false_and_is_configurable(self) -> None @asynccontextmanager async def fake_streamable_http_client(url: str, http_client: Any) -> AsyncIterator[Any]: captured["follow_redirects"] = http_client.follow_redirects - yield object(), object(), lambda: None + yield object(), object() with mock.patch( "mistralai.extra.mcp.streamable_http.streamable_http_client", @@ -76,6 +76,48 @@ async def fake_streamable_http_client(url: str, http_client: Any) -> AsyncIterat await opted_in_client._get_transport(stack) self.assertTrue(captured["follow_redirects"]) + async def test_sse_read_timeout_defaults_to_five_minutes_and_is_configurable(self) -> None: + captured: dict[str, Any] = {} + + @asynccontextmanager + async def fake_streamable_http_client(url: str, http_client: Any) -> AsyncIterator[Any]: + captured["timeout"] = http_client.timeout + yield object(), object() + + with mock.patch( + "mistralai.extra.mcp.streamable_http.streamable_http_client", + fake_streamable_http_client, + ): + default_client = MCPClientStreamableHTTP( + params=StreamableHTTPServerParams(url="http://mcp.example/mcp"), + name="test", + ) + async with AsyncExitStack() as stack: + await default_client._get_transport(stack) + + timeout = captured["timeout"] + self.assertEqual(timeout.connect, 30) + self.assertEqual(timeout.read, 300) + self.assertEqual(timeout.write, 30) + self.assertEqual(timeout.pool, 30) + + opted_in_client = MCPClientStreamableHTTP( + params=StreamableHTTPServerParams( + url="http://mcp.example/mcp", + timeout=10, + sse_read_timeout=600, + ), + name="test", + ) + async with AsyncExitStack() as stack: + await opted_in_client._get_transport(stack) + + timeout = captured["timeout"] + self.assertEqual(timeout.connect, 10) + self.assertEqual(timeout.read, 600) + self.assertEqual(timeout.write, 10) + self.assertEqual(timeout.pool, 10) + if __name__ == "__main__": unittest.main() diff --git a/src/mistralai/extra/tests/test_otel_tracing.py b/src/mistralai/extra/tests/test_otel_tracing.py index 11774a1b9..65ff11149 100644 --- a/src/mistralai/extra/tests/test_otel_tracing.py +++ b/src/mistralai/extra/tests/test_otel_tracing.py @@ -22,11 +22,11 @@ from typing import cast from unittest.mock import MagicMock, patch -import httpx +import httpx2 as httpx from opentelemetry import context as context_api from opentelemetry import trace from opentelemetry.baggage import set_baggage -from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor +from opentelemetry.instrumentation.httpx import HTTPX2ClientInstrumentor from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import SimpleSpanProcessor from opentelemetry.sdk.trace.export.in_memory_span_exporter import InMemorySpanExporter @@ -1922,7 +1922,7 @@ async def _run(): # -- HTTPX auto-instrumentation parenting --------------------------------- def test_app_otel_does_not_enable_mistral_span_without_mistral_telemetry(self): - instrumentor = HTTPXClientInstrumentor() + instrumentor = HTTPX2ClientInstrumentor() instrumentor.instrument() tracer = trace.get_tracer("test-workflow-parenting") @@ -1964,7 +1964,7 @@ def test_app_otel_does_not_enable_mistral_span_without_mistral_telemetry(self): self.assertEqual(post_spans[0].parent.span_id, activity.context.span_id) def test_httpx_auto_instrumented_span_is_child_of_genai_span(self): - instrumentor = HTTPXClientInstrumentor() + instrumentor = HTTPX2ClientInstrumentor() instrumentor.instrument() tracer = trace.get_tracer("test-workflow-parenting") @@ -2002,7 +2002,7 @@ def test_httpx_auto_instrumented_span_is_child_of_genai_span(self): self.assertEqual(post.parent.span_id, genai.context.span_id) def test_httpx_send_error_ends_genai_span_and_restores_parent_context(self): - instrumentor = HTTPXClientInstrumentor() + instrumentor = HTTPX2ClientInstrumentor() instrumentor.instrument() tracer = trace.get_tracer("test-workflow-parenting") @@ -2051,7 +2051,7 @@ def raise_connect_error(request: httpx.Request) -> httpx.Response: def test_concurrent_async_httpx_auto_instrumented_spans_are_genai_children( self, ): - instrumentor = HTTPXClientInstrumentor() + instrumentor = HTTPX2ClientInstrumentor() instrumentor.instrument() tracer = trace.get_tracer("test-workflow-parenting") diff --git a/src/mistralai/extra/tests/test_service_account_auth.py b/src/mistralai/extra/tests/test_service_account_auth.py new file mode 100644 index 000000000..4f43a6567 --- /dev/null +++ b/src/mistralai/extra/tests/test_service_account_auth.py @@ -0,0 +1,312 @@ +"""Tests for service-account auth over HTTP and the realtime handshake.""" + +import asyncio +from pathlib import Path +from typing import Callable, Optional, Union + +import httpx2 as httpx +import pytest + +from mistralai.client import Mistral +from mistralai.client.models import UserMessage +from mistralai.client._hooks.service_account_auth import ( + ServiceAccountTokenError, + read_service_account_token, +) +from mistralai.extra.exceptions import RealtimeTranscriptionException +from mistralai.extra.realtime import transcription + + +class _StopHandshake(Exception): + """Aborts connect() once the headers have been captured, so no socket is opened.""" + + +CHAT_RESPONSE = { + "id": "cmpl-test", + "object": "chat.completion", + "model": "mistral-small-latest", + "created": 0, + "usage": {"prompt_tokens": 1, "completion_tokens": 1, "total_tokens": 2}, + "choices": [ + { + "index": 0, + "message": {"role": "assistant", "content": "ok"}, + "finish_reason": "stop", + } + ], +} + +MESSAGES = [UserMessage(content="hi")] + + +@pytest.fixture(autouse=True) +def clean_auth_env(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.delenv("MISTRAL_API_KEY", raising=False) + monkeypatch.delenv("MISTRAL_SA_TOKEN_PATH", raising=False) + + +@pytest.fixture +def sa_token(tmp_path: Path) -> Path: + token_file = tmp_path / "token" + token_file.write_text("sa-token-v1\n") + return token_file + + +def sent_authorization( + api_key: Optional[Union[str, Callable[[], Optional[str]]]] = None, + http_headers: Optional[dict[str, str]] = None, +) -> Optional[str]: + """Drive one chat request through a mock transport and return the Authorization header.""" + seen: list[Optional[str]] = [] + + def handle(request: httpx.Request) -> httpx.Response: + seen.append(request.headers.get("Authorization")) + return httpx.Response(200, json=CHAT_RESPONSE) + + client = Mistral( + api_key=api_key, + server_url="https://api.mistral.ai", + client=httpx.Client(transport=httpx.MockTransport(handle)), + ) + client.chat.complete( + model="mistral-small-latest", messages=MESSAGES, http_headers=http_headers + ) + return seen[-1] + + +class TestReadServiceAccountToken: + def test_unset_path_reads_nothing(self) -> None: + assert read_service_account_token() is None + + def test_rereads_the_file_on_every_call( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + assert read_service_account_token() == "sa-token-v1" + + sa_token.write_text("sa-token-v2\n") + + assert read_service_account_token() == "sa-token-v2" + + def test_missing_file( + self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(tmp_path / "absent")) + + with pytest.raises(ServiceAccountTokenError, match="Failed to read"): + read_service_account_token() + + def test_empty_file(self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: + token_file = tmp_path / "token" + token_file.write_text(" \n") + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(token_file)) + + with pytest.raises(ServiceAccountTokenError, match="is empty"): + read_service_account_token() + + +class TestServiceAccountAuthHook: + def test_explicit_api_key_is_not_overridden( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "env-key") + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + assert sent_authorization(api_key="explicit-key") == "Bearer explicit-key" + + def test_callable_api_key_is_not_overridden( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + assert ( + sent_authorization(api_key=lambda: "from-callable") + == "Bearer from-callable" + ) + + def test_sa_token_is_injected_over_the_api_key( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "env-key") + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + assert sent_authorization() == "Bearer sa-token-v1" + + def test_rotated_token_is_picked_up_by_a_live_client( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + seen: list[Optional[str]] = [] + + def handle(request: httpx.Request) -> httpx.Response: + seen.append(request.headers.get("Authorization")) + return httpx.Response(200, json=CHAT_RESPONSE) + + client = Mistral( + server_url="https://api.mistral.ai", + client=httpx.Client(transport=httpx.MockTransport(handle)), + ) + client.chat.complete(model="mistral-small-latest", messages=MESSAGES) + sa_token.write_text("sa-token-v2\n") + client.chat.complete(model="mistral-small-latest", messages=MESSAGES) + + assert seen == ["Bearer sa-token-v1", "Bearer sa-token-v2"] + + def test_api_key_only(self, monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "env-key") + + assert sent_authorization() == "Bearer env-key" + + def test_api_key_already_carrying_the_bearer_prefix( + self, monkeypatch: pytest.MonkeyPatch + ) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "Bearer env-key") + + assert sent_authorization() == "Bearer env-key" + + def test_no_credentials_sends_no_header(self) -> None: + assert sent_authorization() is None + + def test_unreadable_sa_token_surfaces_the_error( + self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(tmp_path / "absent")) + + with pytest.raises(ServiceAccountTokenError): + sent_authorization() + + +class TestCallerHeaderOverride: + """A per-request http_headers Authorization outranks the ambient provider on both transports. + + http_headers is applied at request-build time, before hooks run, so the hook has to recognise + it and step aside. + """ + + def test_beats_the_sa_token( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + sent = sent_authorization(http_headers={"Authorization": "Bearer caller"}) + + assert sent == "Bearer caller" + + def test_beats_the_env_api_key(self, monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "env-key") + + sent = sent_authorization(http_headers={"Authorization": "Bearer caller"}) + + assert sent == "Bearer caller" + + def test_an_unrelated_header_does_not_suppress_the_sa_token( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + sent = sent_authorization(http_headers={"X-Trace": "abc"}) + + assert sent == "Bearer sa-token-v1" + + def test_survives_a_missing_token_file( + self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(tmp_path / "absent")) + + sent = sent_authorization(http_headers={"Authorization": "Bearer caller"}) + + assert sent == "Bearer caller" + + +class TestRealtimeHandshake: + """The websocket handshake bypasses before_request hooks, so it resolves auth on its own.""" + + @staticmethod + def handshake_headers( + monkeypatch: pytest.MonkeyPatch, + api_key: Optional[str] = None, + http_headers: Optional[dict[str, str]] = None, + ) -> dict[str, str]: + captured: dict[str, str] = {} + + async def fake_connect( + _url: str, *, additional_headers: dict[str, str], **_: object + ) -> None: + captured.update(additional_headers) + raise _StopHandshake + + monkeypatch.setattr(transcription, "connect", fake_connect) + client = Mistral(api_key=api_key, server_url="https://api.mistral.ai") + with pytest.raises(RealtimeTranscriptionException): + asyncio.run( + client.audio.realtime.connect( + model="voxtral-mini-latest", http_headers=http_headers + ) + ) + return captured + + def test_sa_token_is_used_over_the_api_key( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "env-key") + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + headers = self.handshake_headers(monkeypatch) + + assert headers["Authorization"] == "Bearer sa-token-v1" + + def test_explicit_api_key_wins( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + + headers = self.handshake_headers(monkeypatch, api_key="explicit-key") + + assert headers["Authorization"] == "Bearer explicit-key" + + def test_no_credentials_sends_no_header( + self, monkeypatch: pytest.MonkeyPatch + ) -> None: + assert "Authorization" not in self.handshake_headers(monkeypatch) + + def test_matches_the_http_path_on_a_caller_override( + self, monkeypatch: pytest.MonkeyPatch, sa_token: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + override = {"Authorization": "Bearer caller"} + + handshake = self.handshake_headers(monkeypatch, http_headers=override) + + assert handshake["Authorization"] == sent_authorization(http_headers=override) + + def test_caller_override_survives_a_missing_token_file( + self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path + ) -> None: + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(tmp_path / "absent")) + + headers = self.handshake_headers( + monkeypatch, http_headers={"authorization": "Bearer caller"} + ) + + assert headers["authorization"] == "Bearer caller" + + +@pytest.mark.asyncio +async def test_async_requests_use_the_sa_token( + monkeypatch: pytest.MonkeyPatch, sa_token: Path +) -> None: + monkeypatch.setenv("MISTRAL_API_KEY", "env-key") + monkeypatch.setenv("MISTRAL_SA_TOKEN_PATH", str(sa_token)) + seen: list[Optional[str]] = [] + + async def handle(request: httpx.Request) -> httpx.Response: + seen.append(request.headers.get("Authorization")) + return httpx.Response(200, json=CHAT_RESPONSE) + + client = Mistral( + server_url="https://api.mistral.ai", + async_client=httpx.AsyncClient(transport=httpx.MockTransport(handle)), + ) + await client.chat.complete_async(model="mistral-small-latest", messages=MESSAGES) + + assert seen == ["Bearer sa-token-v1"] diff --git a/src/mistralai/extra/tests/test_stream_error_hook.py b/src/mistralai/extra/tests/test_stream_error_hook.py index 908c3a90c..6ee7b3974 100644 --- a/src/mistralai/extra/tests/test_stream_error_hook.py +++ b/src/mistralai/extra/tests/test_stream_error_hook.py @@ -1,6 +1,6 @@ -import httpx +import httpx2 as httpx import pytest -from httpx._types import AsyncByteStream, SyncByteStream +from httpx2._types import AsyncByteStream, SyncByteStream from pydantic import SecretStr from mistralai.client import Mistral diff --git a/src/mistralai/extra/tests/test_struct_chat.py b/src/mistralai/extra/tests/test_struct_chat.py index 7b79bf773..789ce5fdc 100644 --- a/src/mistralai/extra/tests/test_struct_chat.py +++ b/src/mistralai/extra/tests/test_struct_chat.py @@ -10,6 +10,8 @@ UsageInfo, ChatCompletionChoice, AssistantMessage, + ThinkChunk, + TextChunk, ) from pydantic import BaseModel @@ -98,6 +100,71 @@ def test_convert_to_parsed_chat_completion_response(self): ) self.assertEqual(output, expected_response) + def test_convert_to_parsed_chat_completion_response_with_reasoning_chunks(self): + reasoning_response = ChatCompletionResponse( + id="chunked-response", + object="chat.completion", + model="mistral-medium-3-5", + usage=UsageInfo(prompt_tokens=10, completion_tokens=20, total_tokens=30), + created=1737727558, + choices=[ + ChatCompletionChoice( + index=0, + message=AssistantMessage( + content=[ + ThinkChunk( + thinking=[ + TextChunk(text="Compute 8x + 7 = -23 step by step.") + ] + ), + TextChunk( + text='{"steps": [], "final_answer": "x = -4"}' + ), + ], + role="assistant", + ), + finish_reason="stop", + ) + ], + ) + output = convert_to_parsed_chat_completion_response( + reasoning_response, MathDemonstration + ) + assert output.choices is not None + assert output.choices[0].message is not None + self.assertEqual(output.choices[0].message.parsed, MathDemonstration(steps=[], final_answer="x = -4")) + + def test_convert_to_parsed_chat_completion_response_with_only_reasoning_chunks(self): + reasoning_only_response = ChatCompletionResponse( + id="reasoning-only-response", + object="chat.completion", + model="mistral-medium-3-5", + usage=UsageInfo(prompt_tokens=10, completion_tokens=20, total_tokens=30), + created=1737727558, + choices=[ + ChatCompletionChoice( + index=0, + message=AssistantMessage( + content=[ + ThinkChunk( + thinking=[ + TextChunk(text="Still reasoning about the answer.") + ] + ), + ], + role="assistant", + ), + finish_reason="stop", + ) + ], + ) + output = convert_to_parsed_chat_completion_response( + reasoning_only_response, MathDemonstration + ) + assert output.choices is not None + assert output.choices[0].message is not None + self.assertIsNone(output.choices[0].message.parsed) + if __name__ == "__main__": unittest.main() diff --git a/src/mistralai/extra/tests/test_traceparent_hook.py b/src/mistralai/extra/tests/test_traceparent_hook.py index e66808521..f75ef28e4 100644 --- a/src/mistralai/extra/tests/test_traceparent_hook.py +++ b/src/mistralai/extra/tests/test_traceparent_hook.py @@ -3,7 +3,7 @@ import unittest from unittest.mock import MagicMock -import httpx +import httpx2 as httpx from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import SimpleSpanProcessor from opentelemetry.sdk.trace.export.in_memory_span_exporter import InMemorySpanExporter diff --git a/src/mistralai/extra/tests/test_workflow_encoding.py b/src/mistralai/extra/tests/test_workflow_encoding.py index 37093b869..5210324b5 100644 --- a/src/mistralai/extra/tests/test_workflow_encoding.py +++ b/src/mistralai/extra/tests/test_workflow_encoding.py @@ -76,6 +76,7 @@ def test_payload_encoder_cleanup_on_client_gc( encryption_config: WorkflowEncodingConfig, ): """Test that PayloadEncoder is cleaned up when client is garbage collected.""" + gc.collect() initial_config_count = len(_workflow_configs) # Create client and configure encoding @@ -694,7 +695,7 @@ async def test_workflow_encoding_hook_handles_gzipped_response(): causing a zlib error. The fix strips Content-Encoding when creating new Responses. """ import gzip - import httpx + import httpx2 as httpx from pydantic import SecretStr from mistralai.client import Mistral from mistralai.client._hooks.workflow_encoding_hook import ( diff --git a/src/mistralai/extra/workflows/connector_auth.py b/src/mistralai/extra/workflows/connector_auth.py index fd20b2c36..d90af47da 100644 --- a/src/mistralai/extra/workflows/connector_auth.py +++ b/src/mistralai/extra/workflows/connector_auth.py @@ -48,7 +48,7 @@ async def prompt_user(state: ConnectorAuthTaskState) -> None: Sequence, ) -import httpx +import httpx2 as httpx from pydantic import BaseModel from mistralai.client.models import ( diff --git a/uv.lock b/uv.lock index 33efa8fc5..f97fe3428 100644 --- a/uv.lock +++ b/uv.lock @@ -278,15 +278,15 @@ wheels = [ [[package]] name = "authlib" -version = "1.7.2" +version = "1.8.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ { name = "cryptography" }, { name = "joserfc" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/36/98/7d93f30d029643c0275dbc0bd6d5a6f670661ee6c9a94d93af7ab4887600/authlib-1.7.2.tar.gz", hash = "sha256:2cea25fefcd4e7173bdf1372c0afc265c8034b23a8cd5dcb6a9164b826c64231", size = 176511, upload-time = "2026-05-06T08:10:23.116Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f1/51/bc1729d3cfdc214b4935f4e886e4dd443c3065fd8e1e66423fe84b490f81/authlib-1.8.0.tar.gz", hash = "sha256:f3ecd5f1da737262fb53bf1a4d95c4ea1ad9dd509316587a255c99ab1838a4f0", size = 177759, upload-time = "2026-08-30T12:12:34.833Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/fb/95/adcb68e20c34162e9135f370d6e31737719c2b6f94bc953fe7ed1f10fe21/authlib-1.7.2-py2.py3-none-any.whl", hash = "sha256:3e1faedc9d87e7d56a164eca3ccb6ace0d61b94abe83e92242f8dc8bba9b4a9f", size = 259548, upload-time = "2026-05-06T08:10:21.436Z" }, + { url = "https://files.pythonhosted.org/packages/b8/c6/6f124bcfbbfb20fba22c939b4e43a06dccfc0e1ca20e5634ca573cb1e271/authlib-1.8.0-py2.py3-none-any.whl", hash = "sha256:88aebbd9af6757e14e912d5dc007ae1dc1f3e27e3b2152ce7c552ee2c3b3c121", size = 260804, upload-time = "2026-08-30T12:12:33.162Z" }, ] [[package]] @@ -738,62 +738,59 @@ wheels = [ [[package]] name = "cryptography" -version = "46.0.7" +version = "50.0.1" source = { registry = "https://pypi.org/simple/" } dependencies = [ { name = "cffi", marker = "platform_python_implementation != 'PyPy'" }, { name = "typing-extensions", marker = "python_full_version < '3.11'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/47/93/ac8f3d5ff04d54bc814e961a43ae5b0b146154c89c61b47bb07557679b18/cryptography-46.0.7.tar.gz", hash = "sha256:e4cfd68c5f3e0bfdad0d38e023239b96a2fe84146481852dffbcca442c245aa5", size = 750652, upload-time = "2026-04-08T01:57:54.692Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/5d/4a8f770695d73be252331e60e526291e3df0c9b27556a90a6b47bccca4c2/cryptography-46.0.7-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:ea42cbe97209df307fdc3b155f1b6fa2577c0defa8f1f7d3be7d31d189108ad4", size = 7179869, upload-time = "2026-04-08T01:56:17.157Z" }, - { url = "https://files.pythonhosted.org/packages/5f/45/6d80dc379b0bbc1f9d1e429f42e4cb9e1d319c7a8201beffd967c516ea01/cryptography-46.0.7-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b36a4695e29fe69215d75960b22577197aca3f7a25b9cf9d165dcfe9d80bc325", size = 4275492, upload-time = "2026-04-08T01:56:19.36Z" }, - { url = "https://files.pythonhosted.org/packages/4a/9a/1765afe9f572e239c3469f2cb429f3ba7b31878c893b246b4b2994ffe2fe/cryptography-46.0.7-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5ad9ef796328c5e3c4ceed237a183f5d41d21150f972455a9d926593a1dcb308", size = 4426670, upload-time = "2026-04-08T01:56:21.415Z" }, - { url = "https://files.pythonhosted.org/packages/8f/3e/af9246aaf23cd4ee060699adab1e47ced3f5f7e7a8ffdd339f817b446462/cryptography-46.0.7-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:73510b83623e080a2c35c62c15298096e2a5dc8d51c3b4e1740211839d0dea77", size = 4280275, upload-time = "2026-04-08T01:56:23.539Z" }, - { url = "https://files.pythonhosted.org/packages/0f/54/6bbbfc5efe86f9d71041827b793c24811a017c6ac0fd12883e4caa86b8ed/cryptography-46.0.7-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:cbd5fb06b62bd0721e1170273d3f4d5a277044c47ca27ee257025146c34cbdd1", size = 4928402, upload-time = "2026-04-08T01:56:25.624Z" }, - { url = "https://files.pythonhosted.org/packages/2d/cf/054b9d8220f81509939599c8bdbc0c408dbd2bdd41688616a20731371fe0/cryptography-46.0.7-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:420b1e4109cc95f0e5700eed79908cef9268265c773d3a66f7af1eef53d409ef", size = 4459985, upload-time = "2026-04-08T01:56:27.309Z" }, - { url = "https://files.pythonhosted.org/packages/f9/46/4e4e9c6040fb01c7467d47217d2f882daddeb8828f7df800cb806d8a2288/cryptography-46.0.7-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:24402210aa54baae71d99441d15bb5a1919c195398a87b563df84468160a65de", size = 3990652, upload-time = "2026-04-08T01:56:29.095Z" }, - { url = "https://files.pythonhosted.org/packages/36/5f/313586c3be5a2fbe87e4c9a254207b860155a8e1f3cca99f9910008e7d08/cryptography-46.0.7-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:8a469028a86f12eb7d2fe97162d0634026d92a21f3ae0ac87ed1c4a447886c83", size = 4279805, upload-time = "2026-04-08T01:56:30.928Z" }, - { url = "https://files.pythonhosted.org/packages/69/33/60dfc4595f334a2082749673386a4d05e4f0cf4df8248e63b2c3437585f2/cryptography-46.0.7-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:9694078c5d44c157ef3162e3bf3946510b857df5a3955458381d1c7cfc143ddb", size = 4892883, upload-time = "2026-04-08T01:56:32.614Z" }, - { url = "https://files.pythonhosted.org/packages/c7/0b/333ddab4270c4f5b972f980adef4faa66951a4aaf646ca067af597f15563/cryptography-46.0.7-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:42a1e5f98abb6391717978baf9f90dc28a743b7d9be7f0751a6f56a75d14065b", size = 4459756, upload-time = "2026-04-08T01:56:34.306Z" }, - { url = "https://files.pythonhosted.org/packages/d2/14/633913398b43b75f1234834170947957c6b623d1701ffc7a9600da907e89/cryptography-46.0.7-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:91bbcb08347344f810cbe49065914fe048949648f6bd5c2519f34619142bbe85", size = 4410244, upload-time = "2026-04-08T01:56:35.977Z" }, - { url = "https://files.pythonhosted.org/packages/10/f2/19ceb3b3dc14009373432af0c13f46aa08e3ce334ec6eff13492e1812ccd/cryptography-46.0.7-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5d1c02a14ceb9148cc7816249f64f623fbfee39e8c03b3650d842ad3f34d637e", size = 4674868, upload-time = "2026-04-08T01:56:38.034Z" }, - { url = "https://files.pythonhosted.org/packages/1a/bb/a5c213c19ee94b15dfccc48f363738633a493812687f5567addbcbba9f6f/cryptography-46.0.7-cp311-abi3-win32.whl", hash = "sha256:d23c8ca48e44ee015cd0a54aeccdf9f09004eba9fc96f38c911011d9ff1bd457", size = 3026504, upload-time = "2026-04-08T01:56:39.666Z" }, - { url = "https://files.pythonhosted.org/packages/2b/02/7788f9fefa1d060ca68717c3901ae7fffa21ee087a90b7f23c7a603c32ae/cryptography-46.0.7-cp311-abi3-win_amd64.whl", hash = "sha256:397655da831414d165029da9bc483bed2fe0e75dde6a1523ec2fe63f3c46046b", size = 3488363, upload-time = "2026-04-08T01:56:41.893Z" }, - { url = "https://files.pythonhosted.org/packages/7b/56/15619b210e689c5403bb0540e4cb7dbf11a6bf42e483b7644e471a2812b3/cryptography-46.0.7-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:d151173275e1728cf7839aaa80c34fe550c04ddb27b34f48c232193df8db5842", size = 7119671, upload-time = "2026-04-08T01:56:44Z" }, - { url = "https://files.pythonhosted.org/packages/74/66/e3ce040721b0b5599e175ba91ab08884c75928fbeb74597dd10ef13505d2/cryptography-46.0.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:db0f493b9181c7820c8134437eb8b0b4792085d37dbb24da050476ccb664e59c", size = 4268551, upload-time = "2026-04-08T01:56:46.071Z" }, - { url = "https://files.pythonhosted.org/packages/03/11/5e395f961d6868269835dee1bafec6a1ac176505a167f68b7d8818431068/cryptography-46.0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ebd6daf519b9f189f85c479427bbd6e9c9037862cf8fe89ee35503bd209ed902", size = 4408887, upload-time = "2026-04-08T01:56:47.718Z" }, - { url = "https://files.pythonhosted.org/packages/40/53/8ed1cf4c3b9c8e611e7122fb56f1c32d09e1fff0f1d77e78d9ff7c82653e/cryptography-46.0.7-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:b7b412817be92117ec5ed95f880defe9cf18a832e8cafacf0a22337dc1981b4d", size = 4271354, upload-time = "2026-04-08T01:56:49.312Z" }, - { url = "https://files.pythonhosted.org/packages/50/46/cf71e26025c2e767c5609162c866a78e8a2915bbcfa408b7ca495c6140c4/cryptography-46.0.7-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:fbfd0e5f273877695cb93baf14b185f4878128b250cc9f8e617ea0c025dfb022", size = 4905845, upload-time = "2026-04-08T01:56:50.916Z" }, - { url = "https://files.pythonhosted.org/packages/c0/ea/01276740375bac6249d0a971ebdf6b4dc9ead0ee0a34ef3b5a88c1a9b0d4/cryptography-46.0.7-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:ffca7aa1d00cf7d6469b988c581598f2259e46215e0140af408966a24cf086ce", size = 4444641, upload-time = "2026-04-08T01:56:52.882Z" }, - { url = "https://files.pythonhosted.org/packages/3d/4c/7d258f169ae71230f25d9f3d06caabcff8c3baf0978e2b7d65e0acac3827/cryptography-46.0.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:60627cf07e0d9274338521205899337c5d18249db56865f943cbe753aa96f40f", size = 3967749, upload-time = "2026-04-08T01:56:54.597Z" }, - { url = "https://files.pythonhosted.org/packages/b5/2a/2ea0767cad19e71b3530e4cad9605d0b5e338b6a1e72c37c9c1ceb86c333/cryptography-46.0.7-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:80406c3065e2c55d7f49a9550fe0c49b3f12e5bfff5dedb727e319e1afb9bf99", size = 4270942, upload-time = "2026-04-08T01:56:56.416Z" }, - { url = "https://files.pythonhosted.org/packages/41/3d/fe14df95a83319af25717677e956567a105bb6ab25641acaa093db79975d/cryptography-46.0.7-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:c5b1ccd1239f48b7151a65bc6dd54bcfcc15e028c8ac126d3fada09db0e07ef1", size = 4871079, upload-time = "2026-04-08T01:56:58.31Z" }, - { url = "https://files.pythonhosted.org/packages/9c/59/4a479e0f36f8f378d397f4eab4c850b4ffb79a2f0d58704b8fa0703ddc11/cryptography-46.0.7-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:d5f7520159cd9c2154eb61eb67548ca05c5774d39e9c2c4339fd793fe7d097b2", size = 4443999, upload-time = "2026-04-08T01:57:00.508Z" }, - { url = "https://files.pythonhosted.org/packages/28/17/b59a741645822ec6d04732b43c5d35e4ef58be7bfa84a81e5ae6f05a1d33/cryptography-46.0.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fcd8eac50d9138c1d7fc53a653ba60a2bee81a505f9f8850b6b2888555a45d0e", size = 4399191, upload-time = "2026-04-08T01:57:02.654Z" }, - { url = "https://files.pythonhosted.org/packages/59/6a/bb2e166d6d0e0955f1e9ff70f10ec4b2824c9cfcdb4da772c7dd69cc7d80/cryptography-46.0.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:65814c60f8cc400c63131584e3e1fad01235edba2614b61fbfbfa954082db0ee", size = 4655782, upload-time = "2026-04-08T01:57:04.592Z" }, - { url = "https://files.pythonhosted.org/packages/95/b6/3da51d48415bcb63b00dc17c2eff3a651b7c4fed484308d0f19b30e8cb2c/cryptography-46.0.7-cp314-cp314t-win32.whl", hash = "sha256:fdd1736fed309b4300346f88f74cd120c27c56852c3838cab416e7a166f67298", size = 3002227, upload-time = "2026-04-08T01:57:06.91Z" }, - { url = "https://files.pythonhosted.org/packages/32/a8/9f0e4ed57ec9cebe506e58db11ae472972ecb0c659e4d52bbaee80ca340a/cryptography-46.0.7-cp314-cp314t-win_amd64.whl", hash = "sha256:e06acf3c99be55aa3b516397fe42f5855597f430add9c17fa46bf2e0fb34c9bb", size = 3475332, upload-time = "2026-04-08T01:57:08.807Z" }, - { url = "https://files.pythonhosted.org/packages/a7/7f/cd42fc3614386bc0c12f0cb3c4ae1fc2bbca5c9662dfed031514911d513d/cryptography-46.0.7-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:462ad5cb1c148a22b2e3bcc5ad52504dff325d17daf5df8d88c17dda1f75f2a4", size = 7165618, upload-time = "2026-04-08T01:57:10.645Z" }, - { url = "https://files.pythonhosted.org/packages/a5/d0/36a49f0262d2319139d2829f773f1b97ef8aef7f97e6e5bd21455e5a8fb5/cryptography-46.0.7-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:84d4cced91f0f159a7ddacad249cc077e63195c36aac40b4150e7a57e84fffe7", size = 4270628, upload-time = "2026-04-08T01:57:12.885Z" }, - { url = "https://files.pythonhosted.org/packages/8a/6c/1a42450f464dda6ffbe578a911f773e54dd48c10f9895a23a7e88b3e7db5/cryptography-46.0.7-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:128c5edfe5e5938b86b03941e94fac9ee793a94452ad1365c9fc3f4f62216832", size = 4415405, upload-time = "2026-04-08T01:57:14.923Z" }, - { url = "https://files.pythonhosted.org/packages/9a/92/4ed714dbe93a066dc1f4b4581a464d2d7dbec9046f7c8b7016f5286329e2/cryptography-46.0.7-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:5e51be372b26ef4ba3de3c167cd3d1022934bc838ae9eaad7e644986d2a3d163", size = 4272715, upload-time = "2026-04-08T01:57:16.638Z" }, - { url = "https://files.pythonhosted.org/packages/b7/e6/a26b84096eddd51494bba19111f8fffe976f6a09f132706f8f1bf03f51f7/cryptography-46.0.7-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:cdf1a610ef82abb396451862739e3fc93b071c844399e15b90726ef7470eeaf2", size = 4918400, upload-time = "2026-04-08T01:57:19.021Z" }, - { url = "https://files.pythonhosted.org/packages/c7/08/ffd537b605568a148543ac3c2b239708ae0bd635064bab41359252ef88ed/cryptography-46.0.7-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1d25aee46d0c6f1a501adcddb2d2fee4b979381346a78558ed13e50aa8a59067", size = 4450634, upload-time = "2026-04-08T01:57:21.185Z" }, - { url = "https://files.pythonhosted.org/packages/16/01/0cd51dd86ab5b9befe0d031e276510491976c3a80e9f6e31810cce46c4ad/cryptography-46.0.7-cp38-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:cdfbe22376065ffcf8be74dc9a909f032df19bc58a699456a21712d6e5eabfd0", size = 3985233, upload-time = "2026-04-08T01:57:22.862Z" }, - { url = "https://files.pythonhosted.org/packages/92/49/819d6ed3a7d9349c2939f81b500a738cb733ab62fbecdbc1e38e83d45e12/cryptography-46.0.7-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:abad9dac36cbf55de6eb49badd4016806b3165d396f64925bf2999bcb67837ba", size = 4271955, upload-time = "2026-04-08T01:57:24.814Z" }, - { url = "https://files.pythonhosted.org/packages/80/07/ad9b3c56ebb95ed2473d46df0847357e01583f4c52a85754d1a55e29e4d0/cryptography-46.0.7-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:935ce7e3cfdb53e3536119a542b839bb94ec1ad081013e9ab9b7cfd478b05006", size = 4879888, upload-time = "2026-04-08T01:57:26.88Z" }, - { url = "https://files.pythonhosted.org/packages/b8/c7/201d3d58f30c4c2bdbe9b03844c291feb77c20511cc3586daf7edc12a47b/cryptography-46.0.7-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:35719dc79d4730d30f1c2b6474bd6acda36ae2dfae1e3c16f2051f215df33ce0", size = 4449961, upload-time = "2026-04-08T01:57:29.068Z" }, - { url = "https://files.pythonhosted.org/packages/a5/ef/649750cbf96f3033c3c976e112265c33906f8e462291a33d77f90356548c/cryptography-46.0.7-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:7bbc6ccf49d05ac8f7d7b5e2e2c33830d4fe2061def88210a126d130d7f71a85", size = 4401696, upload-time = "2026-04-08T01:57:31.029Z" }, - { url = "https://files.pythonhosted.org/packages/41/52/a8908dcb1a389a459a29008c29966c1d552588d4ae6d43f3a1a4512e0ebe/cryptography-46.0.7-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a1529d614f44b863a7b480c6d000fe93b59acee9c82ffa027cfadc77521a9f5e", size = 4664256, upload-time = "2026-04-08T01:57:33.144Z" }, - { url = "https://files.pythonhosted.org/packages/4b/fa/f0ab06238e899cc3fb332623f337a7364f36f4bb3f2534c2bb95a35b132c/cryptography-46.0.7-cp38-abi3-win32.whl", hash = "sha256:f247c8c1a1fb45e12586afbb436ef21ff1e80670b2861a90353d9b025583d246", size = 3013001, upload-time = "2026-04-08T01:57:34.933Z" }, - { url = "https://files.pythonhosted.org/packages/d2/f1/00ce3bde3ca542d1acd8f8cfa38e446840945aa6363f9b74746394b14127/cryptography-46.0.7-cp38-abi3-win_amd64.whl", hash = "sha256:506c4ff91eff4f82bdac7633318a526b1d1309fc07ca76a3ad182cb5b686d6d3", size = 3472985, upload-time = "2026-04-08T01:57:36.714Z" }, - { url = "https://files.pythonhosted.org/packages/63/0c/dca8abb64e7ca4f6b2978769f6fea5ad06686a190cec381f0a796fdcaaba/cryptography-46.0.7-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:fc9ab8856ae6cf7c9358430e49b368f3108f050031442eaeb6b9d87e4dcf4e4f", size = 3476879, upload-time = "2026-04-08T01:57:38.664Z" }, - { url = "https://files.pythonhosted.org/packages/3a/ea/075aac6a84b7c271578d81a2f9968acb6e273002408729f2ddff517fed4a/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:d3b99c535a9de0adced13d159c5a9cf65c325601aa30f4be08afd680643e9c15", size = 4219700, upload-time = "2026-04-08T01:57:40.625Z" }, - { url = "https://files.pythonhosted.org/packages/6c/7b/1c55db7242b5e5612b29fc7a630e91ee7a6e3c8e7bf5406d22e206875fbd/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d02c738dacda7dc2a74d1b2b3177042009d5cab7c7079db74afc19e56ca1b455", size = 4385982, upload-time = "2026-04-08T01:57:42.725Z" }, - { url = "https://files.pythonhosted.org/packages/cb/da/9870eec4b69c63ef5925bf7d8342b7e13bc2ee3d47791461c4e49ca212f4/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:04959522f938493042d595a736e7dbdff6eb6cc2339c11465b3ff89343b65f65", size = 4219115, upload-time = "2026-04-08T01:57:44.939Z" }, - { url = "https://files.pythonhosted.org/packages/f4/72/05aa5832b82dd341969e9a734d1812a6aadb088d9eb6f0430fc337cc5a8f/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:3986ac1dee6def53797289999eabe84798ad7817f3e97779b5061a95b0ee4968", size = 4385479, upload-time = "2026-04-08T01:57:46.86Z" }, - { url = "https://files.pythonhosted.org/packages/20/2a/1b016902351a523aa2bd446b50a5bc1175d7a7d1cf90fe2ef904f9b84ebc/cryptography-46.0.7-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:258514877e15963bd43b558917bc9f54cf7cf866c38aa576ebf47a77ddbc43a4", size = 3412829, upload-time = "2026-04-08T01:57:48.874Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/bb/ad/5d6702db60b1e40b41ef513b6967ff5848f307d50f8449baf1634f5908f1/cryptography-50.0.1.tar.gz", hash = "sha256:5dd9bda1c12b4162f6ff568eeb5e0ff956c28d14406e875cfe8a63a2d414ff20", size = 880381, upload-time = "2026-08-25T19:45:45.499Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/19/797e2aaac9df6a66f1550f49979dc1b1e39ecd2077501c30efa81e8d5d67/cryptography-50.0.1-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:b8f852c65863251b9e3a1b8c150ce21e59b522dbb6a7d4bc80e680d38388e986", size = 4010153, upload-time = "2026-08-25T19:44:03.155Z" }, + { url = "https://files.pythonhosted.org/packages/90/34/9ce9a62ed9dc82ca9fd6a34445b6904af56e5f38b3eae2ed32e49c36053d/cryptography-50.0.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:53e279950892dc102c6b4e52af03ae5ea92fac572a1ddab78ca73a997f62b69f", size = 4723133, upload-time = "2026-08-25T19:44:05.461Z" }, + { url = "https://files.pythonhosted.org/packages/57/26/e6d4fc8512a51a5f9ee7bfdbfb853bce1197087df40c9ad993ad370b846f/cryptography-50.0.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ff838d62ec1bfce4f9ba7fa16f4a7b554cd8d0c299e6be37502161a660c84eef", size = 4712478, upload-time = "2026-08-25T19:44:07.375Z" }, + { url = "https://files.pythonhosted.org/packages/e6/de/d3cdc2815697aae84126cbd6a030ca7b6b452e28a88b501b836bd3aa7a86/cryptography-50.0.1-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:e74591e283fe6eb956416c929eb58262a719fe0311fd9054c62c3350ed8760d8", size = 4730726, upload-time = "2026-08-25T19:44:09.294Z" }, + { url = "https://files.pythonhosted.org/packages/55/32/38c0d344b98c06d34b5df8946565a9c0d6dbf32c8e0730a7f05f0a3c6cab/cryptography-50.0.1-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:5fe002589592ed749ce77fe0695fcbd3500dd61d7d6db5858a7544c612fa8e45", size = 5353524, upload-time = "2026-08-25T19:44:11.96Z" }, + { url = "https://files.pythonhosted.org/packages/e1/1b/82f0f0d8858d4432be1af790477edf62aef90324041aa07c57e57bef1af7/cryptography-50.0.1-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:51593d180cf6d179bde5c5d065bed81386b1f381656ae7d042b7ffc87a9895ad", size = 4746720, upload-time = "2026-08-25T19:44:14.051Z" }, + { url = "https://files.pythonhosted.org/packages/29/ba/042ca458b8c64348c768284b5d23e69b92ed53d057ab779fee628564676d/cryptography-50.0.1-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:359e62deae718bce96170e223fdcb6357e4fbd3bb7a3a75f4430763532560e49", size = 4361866, upload-time = "2026-08-25T19:44:16.167Z" }, + { url = "https://files.pythonhosted.org/packages/39/3b/e96c1ef71edef71057c7e3c3d982ce8fda554e0c52d0cc19c18845cde3eb/cryptography-50.0.1-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:e2ca8fd1b6b4b82a1c4cb02841d0837e3c12336c2e24b520ab8ab3b969733d8f", size = 4730028, upload-time = "2026-08-25T19:44:18.085Z" }, + { url = "https://files.pythonhosted.org/packages/e3/38/45abd72ef63f2e7d0754a6cacf97bd8b69512ace7f6130d24c39ece65da2/cryptography-50.0.1-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:76de83fbd91ac49c0feaaa983d0748fd7a53176afac5fb3bf7478d244f0eb527", size = 5308405, upload-time = "2026-08-25T19:44:20.197Z" }, + { url = "https://files.pythonhosted.org/packages/85/66/6ccca4722987ddedaa7fc9c3f4708af7431f5535666c174350830888c6b7/cryptography-50.0.1-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:51afcfceb15597cf2635068e4ac9a56b2abde622edde17f37d85fd7b5306497a", size = 4746230, upload-time = "2026-08-25T19:44:22.376Z" }, + { url = "https://files.pythonhosted.org/packages/13/0e/b1f92e013228111413f2e6743948b80bc24dfd3c1b87ba98ceea16f5df89/cryptography-50.0.1-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:be224a65493ec5b74a158ff22a5522ce4a5ca1e543c647a3a4730d4a09e5f959", size = 4862596, upload-time = "2026-08-25T19:44:24.472Z" }, + { url = "https://files.pythonhosted.org/packages/7e/22/c3654cccc856e9d682817b04ac3ee79731cb09ca6f95996a95c904de2883/cryptography-50.0.1-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9ebcdd5519be9b652a46f507817a74591774fc3d6923ac364e4dfa64e36b291b", size = 5014082, upload-time = "2026-08-25T19:44:26.709Z" }, + { url = "https://files.pythonhosted.org/packages/42/8b/cb12b1b60c91b074ca6bf0fdd59aa8f10d8bc5f73af8faece86ef0421b37/cryptography-50.0.1-cp311-abi3-win_amd64.whl", hash = "sha256:aed8db4f6d71c51efb89530e12d9464e7bf2923d46c3205dc794a2a93f8c0648", size = 3842826, upload-time = "2026-08-25T19:44:28.784Z" }, + { url = "https://files.pythonhosted.org/packages/5b/f0/424cb557d99aa86ac55da5e2add02e2882e44047b6264f93ade1b975a993/cryptography-50.0.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:30a125032e5642a21ff816e021152bd4e7e94f03eff3f4b7fca41cd22bc3110f", size = 3973525, upload-time = "2026-08-25T19:44:30.7Z" }, + { url = "https://files.pythonhosted.org/packages/4d/72/3a2711d967977ab5fc80b782837c7e8d1ac7445e764c20c381a265c57ef3/cryptography-50.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a0b1a59e3a089064a0ec309e9428c8e3ae4e161419d20ac33600767e83fc658a", size = 4708817, upload-time = "2026-08-25T19:44:32.773Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f2/bb1f56e10815b789df0b409a69fa4992ff3d3fef9c72747f4a6b26fed38e/cryptography-50.0.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8921d58f426793c5f1b47f0b59575780de9a095214958d0eb37d909593db8367", size = 4697300, upload-time = "2026-08-25T19:44:35.144Z" }, + { url = "https://files.pythonhosted.org/packages/08/bd/ed5396be499ffcf8807a585bfe38b71a1fbdd1c342b4f9b6d0ef5162a946/cryptography-50.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a8f40ea47330e71b594a7e246898f93177c259490c63183dbaf9e571d71ed9a5", size = 4716039, upload-time = "2026-08-25T19:44:37.192Z" }, + { url = "https://files.pythonhosted.org/packages/f6/6e/1cf405c5c8e8df7545378048e954792f00b7f2367af8863ce8b8f3e10607/cryptography-50.0.1-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:a255449073358275b64b67d3f595f268bbef70e72b6edb65e0c70c735bf739c9", size = 5332388, upload-time = "2026-08-25T19:44:39.16Z" }, + { url = "https://files.pythonhosted.org/packages/47/92/b4317e8c32c4f47b062f5398bd79106b220a124546f42be83bf32b761e2a/cryptography-50.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:8df2de9102026855887e4587084f6eabd80ed0f345b8ad8a7ac27ab9bf4723e0", size = 4730293, upload-time = "2026-08-25T19:44:41.298Z" }, + { url = "https://files.pythonhosted.org/packages/39/0d/a1e7633e2c744d0f2983320a27e924ef2264c79c56e1a58d5fb0a1cfd413/cryptography-50.0.1-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:ac02b07824d4d1001bd4367599f839c19cb171924c796e52c23508ac14c2c0cc", size = 4346031, upload-time = "2026-08-25T19:44:43.245Z" }, + { url = "https://files.pythonhosted.org/packages/88/dd/b215616f9bab3fc18510c78a4e5c9f362d77838503c363dc747c7d4f5c6f/cryptography-50.0.1-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:cbf74a81765ee67413503ca6e26dcc4f6f5a519822436cc0a1b97aab6c1b8a17", size = 4715344, upload-time = "2026-08-25T19:44:45.291Z" }, + { url = "https://files.pythonhosted.org/packages/b1/1b/ec3ebd31741d0e963612c4fe43caa39341b9b1e031e469820e42e4c83918/cryptography-50.0.1-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:16c5ecd954b3330ebfb6605eca4fd952da8bef376551d5cc264534e3770a9ee6", size = 5287201, upload-time = "2026-08-25T19:44:47.297Z" }, + { url = "https://files.pythonhosted.org/packages/1a/01/0127d11a762b31a9ee0221894f540318761783f3fdc4bc5d057698caebd5/cryptography-50.0.1-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:79bf008d1f9af6071c797ad133e39915dfee7614f18f18f4db9072eb715064a3", size = 4730023, upload-time = "2026-08-25T19:44:49.435Z" }, + { url = "https://files.pythonhosted.org/packages/9e/b9/e7425ebfb599241a0c1d7000f1b466c3062da66c19d9525031315dff7213/cryptography-50.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:330fbb252391c596f1ae42c5754449dc924e6ad012dca8efe0d703f9f2d12ec6", size = 4847362, upload-time = "2026-08-25T19:44:51.94Z" }, + { url = "https://files.pythonhosted.org/packages/2d/fd/60d0ddf4defa12e482c9d5e0f554384d6e8ab25341fd15f060028fd92e6a/cryptography-50.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:42be3bb70596b3abe4ac097b75be223e8b3ab614a0e5de068e3dcc54d71d6149", size = 4999247, upload-time = "2026-08-25T19:44:53.876Z" }, + { url = "https://files.pythonhosted.org/packages/4d/56/bc4f2b209e766c93372cfcd59b781a0b2b59700f62a969580415b699c2b2/cryptography-50.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:f74455bb086a85d5e81246412602aaa97ed095e504cd40dd261ef50be42205bf", size = 3825806, upload-time = "2026-08-25T19:44:56.209Z" }, + { url = "https://files.pythonhosted.org/packages/84/a9/ee16a903f13755e914d1eecc482fe64d1f10761c3960e5d8fa6837377aff/cryptography-50.0.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ca83d00d9e69cd5eb63f2e69c3a5a59e0cecae5ae14c6ae0b35830fe3b37bad0", size = 4035307, upload-time = "2026-08-25T19:44:58.305Z" }, + { url = "https://files.pythonhosted.org/packages/5e/a5/9ec7e81e8526c0d7a387d73386b2daed3f39e10d81a85930bd1b6bfba65c/cryptography-50.0.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:05ba322c4da95b262a212c345af888ef2c37c88c0509756ea00a0e6d68850f23", size = 4751900, upload-time = "2026-08-25T19:45:00.401Z" }, + { url = "https://files.pythonhosted.org/packages/7e/3c/0e77bd5ffcf078e9dd27d3074aad6c030d9b10d0bf69329d573c927a188c/cryptography-50.0.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e22dfed744bd4002e909464cb23d2f0b05c6f3113a79ef2e9864a53db737c733", size = 4738357, upload-time = "2026-08-25T19:45:02.786Z" }, + { url = "https://files.pythonhosted.org/packages/27/3a/3c5f80daa4dcd47323c7af8a2fcb90de27a33564d4fcac69846c0972691a/cryptography-50.0.1-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:4c4188f7c0cf655be5c06342b817ed0f9595b69ffa2b12026e5353eed29dea88", size = 4758474, upload-time = "2026-08-25T19:45:04.889Z" }, + { url = "https://files.pythonhosted.org/packages/6e/2b/214cf0cf93db9628c3c20c896b229f327f6fb1b20e4b3743d8ad3f00af8b/cryptography-50.0.1-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:2ebbfb0f1fed745e91796e3e1080a1440423fdae8ece1b995a1d80883a409054", size = 5375862, upload-time = "2026-08-25T19:45:07.163Z" }, + { url = "https://files.pythonhosted.org/packages/d6/51/3f9701867a46b6c1740c9b52fc4d3bed6cbdcfedcc9b6e64305c07f39cff/cryptography-50.0.1-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:407fe2b6db00939c05c0e945e9914238f2f0a430974839429dafc82b1ee6bee5", size = 4772942, upload-time = "2026-08-25T19:45:09.396Z" }, + { url = "https://files.pythonhosted.org/packages/0d/5c/13ea642e08e2544d0f5396122055f4820cfacb3203562197b5967125ea97/cryptography-50.0.1-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:2b34d76a652ea2b6faf777c35df230c5637842cd904e04f16230c3f9f03e4361", size = 4383347, upload-time = "2026-08-25T19:45:11.659Z" }, + { url = "https://files.pythonhosted.org/packages/84/d5/7d1fe1cb93f91c428093ff234e128c89ba8ea61a6f26aab406081f9b996e/cryptography-50.0.1-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:01f41478cf33fc605a6a089cd56d28b45c6c0b45a1928b61797f2621a04bac71", size = 4758050, upload-time = "2026-08-25T19:45:13.745Z" }, + { url = "https://files.pythonhosted.org/packages/dd/04/557fc5ead96a829e0bc812a3b9dc4a52a2f27e4f7f5950da7ff27653a805/cryptography-50.0.1-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:fc3ed7ebd2a8c96f5b166de0ab9b624996bef3b07bbeb19364dfb78222c22c80", size = 5332955, upload-time = "2026-08-25T19:45:16.193Z" }, + { url = "https://files.pythonhosted.org/packages/8c/eb/5d7124083e8d8cda8f5b348f544b71ad6f707ad63193758ef4d8e569da02/cryptography-50.0.1-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:9dde0a357190eb3b1da1bb9ab750e9c85cba82ca5977aa0836cbb94e92611239", size = 4772694, upload-time = "2026-08-25T19:45:18.315Z" }, + { url = "https://files.pythonhosted.org/packages/63/8e/f1f955e0921dd2b6d22eae7e8d24a4c4b638d10735ffbf6a71f99eb0fcb8/cryptography-50.0.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd3718b960d0b5dd213cdf03f3bcb7000e69dda0de8b956061947ff6bcff5558", size = 4888413, upload-time = "2026-08-25T19:45:20.4Z" }, + { url = "https://files.pythonhosted.org/packages/1f/ab/89e2b798d2c3925f82e2bb72d5979f3d2f6da2dd22ef4a8cd8b70d920039/cryptography-50.0.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:2a93d05e34d5f67fba6f891fe85d929999baa7195e853923ea6d7576c9e68c5e", size = 5044355, upload-time = "2026-08-25T19:45:22.353Z" }, + { url = "https://files.pythonhosted.org/packages/99/89/87ef49ffe383ef4e147d27b7bf2088fb0b54ea409dd87b5a89442e5828a5/cryptography-50.0.1-cp39-abi3-win_amd64.whl", hash = "sha256:55d16b1ef3ee0958d893a977b19777887e546c9954ea81b200c3301a864013f2", size = 3875429, upload-time = "2026-08-25T19:45:24.418Z" }, + { url = "https://files.pythonhosted.org/packages/c7/27/8d207af749c453ee17ea087340b3f2b4adef75aadd1d277b1b129bdda84e/cryptography-50.0.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9cb3cb952cf5a8abd50c782a98a89d71699715e802fe349704b47f2425b42a94", size = 3974350, upload-time = "2026-08-25T19:45:26.551Z" }, + { url = "https://files.pythonhosted.org/packages/14/9a/6d3a4d7852e22d657438b7bf51f66102c7d71c0e1fafeec652281d0403e5/cryptography-50.0.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:5fe939deeb161024a6be98229c953b6591fef1f41214497a78fe793a244c017f", size = 4698675, upload-time = "2026-08-25T19:45:28.658Z" }, + { url = "https://files.pythonhosted.org/packages/73/35/5c3717edf9e68a0550ce04e28eab493fe545eccd81742af03f6a75fe260b/cryptography-50.0.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:fb4b9672d389c738b175c4166e78310f8a70358886aacd9173ee03a85ffdc671", size = 4707410, upload-time = "2026-08-25T19:45:30.816Z" }, + { url = "https://files.pythonhosted.org/packages/1d/e0/e786934472e3ac4ecdecc7b129a0ca1a2a40dffdafcf2c3ea9d4397f8def/cryptography-50.0.1-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:d63ae8f6481fec907ac0f588eee8a90aefde112c633131fe540e5711ddbb5a4e", size = 4698378, upload-time = "2026-08-25T19:45:33.043Z" }, + { url = "https://files.pythonhosted.org/packages/51/cf/5b3f53a0b74d122f023476ede40ba5d3e70d5cf475f73b899740d26a4fb2/cryptography-50.0.1-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:804728ce710890870f3aaa344b2e161172d258d768ac139d02cfd9092d0d94e6", size = 4706889, upload-time = "2026-08-25T19:45:35.086Z" }, + { url = "https://files.pythonhosted.org/packages/71/44/711e61f7d014be825ef79b285b047292d1bf893732ac1bc030a351fb517f/cryptography-50.0.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:693c99b49bd37d0d096e4334c10232c77248c415b98d35236094cdf96d57258b", size = 3824006, upload-time = "2026-08-25T19:45:37.281Z" }, ] [[package]] @@ -1025,40 +1022,42 @@ wheels = [ ] [[package]] -name = "httpcore" -version = "1.0.9" +name = "httpcore2" +version = "2.13.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "certifi" }, { name = "h11" }, + { name = "truststore" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +sdist = { url = "https://files.pythonhosted.org/packages/15/8c/e925b1c92018abb3a1863ce1549d76d2381e334d21d65d4ac8f65dabd78a/httpcore2-2.13.0.tar.gz", hash = "sha256:2adc8be4fb285fbcd6d894298db3b52c177e74b6674eda3a76bd36be3292a3db", size = 67740, upload-time = "2026-09-14T14:18:04.717Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0d/117a771a2bb91df334b66bf4da14cd02f21aefbcfe53180f336ce55e8f90/httpcore2-2.13.0-py3-none-any.whl", hash = "sha256:35ae5be347aa40467b4a5dc032ac67ebb6d27189fc97e8cebcf99616f6a1bb9e", size = 83162, upload-time = "2026-09-14T14:18:02.529Z" }, ] [[package]] -name = "httpx" -version = "0.28.1" +name = "httpx2" +version = "2.13.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "anyio" }, - { name = "certifi" }, - { name = "httpcore" }, + { name = "anyio", marker = "sys_platform != 'emscripten'" }, + { name = "httpcore2", marker = "sys_platform != 'emscripten'" }, + { name = "httpx2-jsfetch", marker = "python_full_version >= '3.12' and sys_platform == 'emscripten'" }, { name = "idna" }, + { name = "truststore", marker = "sys_platform != 'emscripten'" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b9/a0/e9deef4654132857b5a5dbe4eddd0ac59c2814500e11f2f5044cd81103ee/httpx2-2.13.0.tar.gz", hash = "sha256:81bd07dc67a3701729ef1f777a3c00c915d4539604fdb5afd327f8682f6b7b44", size = 100290, upload-time = "2026-09-14T14:18:05.486Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, + { url = "https://files.pythonhosted.org/packages/fe/d1/a0c72b0e006df654709fbc366cc5bcb53e5aee13e1e3395152c6dd293376/httpx2-2.13.0-py3-none-any.whl", hash = "sha256:fc12720cedf72faa26cca6b4ca394e05c894e7d7933fc45cafe767960804e49a", size = 95565, upload-time = "2026-09-14T14:18:03.553Z" }, ] [[package]] -name = "httpx-sse" -version = "0.4.3" +name = "httpx2-jsfetch" +version = "1.0" source = { registry = "https://pypi.org/simple/" } -sdist = { url = "https://files.pythonhosted.org/packages/0f/4c/751061ffa58615a32c31b2d82e8482be8dd4a89154f003147acee90f2be9/httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d", size = 15943, upload-time = "2025-10-10T21:48:22.271Z" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872, upload-time = "2026-08-07T00:13:07.492Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960, upload-time = "2025-10-10T21:48:21.158Z" }, + { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382, upload-time = "2026-08-07T00:13:06.567Z" }, ] [[package]] @@ -1175,15 +1174,15 @@ wheels = [ [[package]] name = "mcp" -version = "1.29.0" +version = "2.2.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ { name = "anyio" }, - { name = "httpx" }, - { name = "httpx-sse" }, + { name = "httpx2" }, { name = "jsonschema" }, + { name = "mcp-types" }, + { name = "opentelemetry-api" }, { name = "pydantic" }, - { name = "pydantic-settings" }, { name = "pyjwt", extra = ["crypto"] }, { name = "python-multipart" }, { name = "pywin32", marker = "sys_platform == 'win32'" }, @@ -1193,18 +1192,31 @@ dependencies = [ { name = "typing-inspection" }, { name = "uvicorn", marker = "sys_platform != 'emscripten'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/30/d3/f9acc21dfc886e4f78e2add1a47db46ce16884346afde53f8a064c02c891/mcp-1.29.0.tar.gz", hash = "sha256:52d01f334de1868cc3bb2d6604931126a67631f99a6c5d3b82ba47290315ec36", size = 643148, upload-time = "2026-07-28T13:41:41.939Z" } +sdist = { url = "https://files.pythonhosted.org/packages/76/31/ac54fb0fdd5b37de704486e288bba4fbbb463f24cfcfedbede407b854513/mcp-2.2.0.tar.gz", hash = "sha256:2dc37ecb1974becdcebdbf7561e7c15a07dbbf20ba21ba16c3593b3038b3afbd", size = 4084129, upload-time = "2026-09-07T16:06:23.439Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1b/ff/8e7eade68b8a28f7da0ed1085544341b51f9c935dbf6b95c76b7edfea6a0/mcp-2.2.0-py3-none-any.whl", hash = "sha256:bde982589473a060ae145e3406e9a5333fe538c97229ba841f5a7f92be004f81", size = 365656, upload-time = "2026-09-07T16:06:19.711Z" }, +] + +[[package]] +name = "mcp-types" +version = "2.2.0" +source = { registry = "https://pypi.org/simple/" } +dependencies = [ + { name = "pydantic" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ae/91/762d7755d971aff8a28d75f7961656148edf27875c8026e6385aaab08ae7/mcp_types-2.2.0.tar.gz", hash = "sha256:d3ed53703ddd10d9c6399f29d322bb66f3f67ab41348ac8556ba23e07fedefad", size = 65892, upload-time = "2026-09-07T16:06:25.187Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/01/c8/248b201f6d753d69fd5d6506011abbb35a946d9142b2ae311a948fd0be3d/mcp-1.29.0-py3-none-any.whl", hash = "sha256:f5a075bb611f23d6f4d080c6a1699fa62772eebc562ba9e66b306ddde1c755f7", size = 223436, upload-time = "2026-07-28T13:41:40.337Z" }, + { url = "https://files.pythonhosted.org/packages/8f/d7/6ffba5d8cd5dd9b8a19478875c50e04945314ba5074e84d749283f27f62d/mcp_types-2.2.0-py3-none-any.whl", hash = "sha256:ea476b73ee86709ab5abc9452385ed36cc05907e582355622e294595c9a04f13", size = 69106, upload-time = "2026-09-07T16:06:21.461Z" }, ] [[package]] name = "mistralai" -version = "2.10.1" +version = "3.0.0" source = { editable = "." } dependencies = [ { name = "eval-type-backport" }, - { name = "httpx" }, + { name = "httpx2" }, { name = "jsonpath-python" }, { name = "opentelemetry-api" }, { name = "opentelemetry-semantic-conventions" }, @@ -1223,6 +1235,9 @@ gcp = [ { name = "google-auth" }, { name = "requests" }, ] +mcp = [ + { name = "mcp" }, +] realtime = [ { name = "websockets", version = "16.1.1", source = { registry = "https://pypi.org/simple/" }, marker = "python_full_version < '3.11'" }, { name = "websockets", version = "17.0.1", source = { registry = "https://pypi.org/simple/" }, marker = "python_full_version >= '3.11'" }, @@ -1286,17 +1301,18 @@ lint = [ [package.metadata] requires-dist = [ { name = "aioboto3", marker = "extra == 'workflow-payload-offloading-s3'", specifier = ">=12.4.0,<13.0.0" }, - { name = "authlib", marker = "extra == 'agents'", specifier = ">=1.5.2,<2.0" }, + { name = "authlib", marker = "extra == 'agents'", specifier = ">=1.8.0,<2.0" }, { name = "azure-identity", marker = "extra == 'workflow-payload-offloading-azure'", specifier = ">=1.25.0,<2.0.0" }, { name = "azure-storage-blob", extras = ["aio"], marker = "extra == 'workflow-payload-offloading-azure'", specifier = ">=12.28.0,<13.0.0" }, - { name = "cryptography", marker = "extra == 'workflow-payload-encryption'", specifier = ">=41.0.0,<47.0.0" }, + { name = "cryptography", marker = "extra == 'workflow-payload-encryption'", specifier = ">=50.0.0,<51.0.0" }, { name = "eval-type-backport", specifier = ">=0.2.0" }, { name = "gcloud-aio-storage", marker = "extra == 'workflow-payload-offloading-gcs'", specifier = ">=9.3.0,<10.0.0" }, { name = "google-auth", marker = "extra == 'gcp'", specifier = ">=2.27.0" }, { name = "griffe", marker = "extra == 'agents'", specifier = ">=1.7.3,<2.0" }, - { name = "httpx", specifier = ">=0.28.1" }, + { name = "httpx2", specifier = ">=2.13.0" }, { name = "jsonpath-python", specifier = ">=1.0.6" }, - { name = "mcp", marker = "extra == 'agents'", specifier = ">=1.0,<2.0" }, + { name = "mcp", marker = "extra == 'agents'", specifier = ">=2.2.0,<3.0" }, + { name = "mcp", marker = "extra == 'mcp'", specifier = ">=2.2.0,<3.0" }, { name = "mistralai", extras = ["workflow-payload-offloading-azure"], marker = "extra == 'workflow-payload-offloading'" }, { name = "mistralai", extras = ["workflow-payload-offloading-gcs"], marker = "extra == 'workflow-payload-offloading'" }, { name = "mistralai", extras = ["workflow-payload-offloading-s3"], marker = "extra == 'workflow-payload-offloading'" }, @@ -1312,18 +1328,18 @@ requires-dist = [ { name = "websockets", marker = "extra == 'realtime'", specifier = ">=13.0" }, { name = "zstandard", marker = "extra == 'workflow-payload-compression'", specifier = ">=0.25.0,<0.26" }, ] -provides-extras = ["gcp", "agents", "realtime", "telemetry", "workflow-payload-offloading-azure", "workflow-payload-offloading-gcs", "workflow-payload-offloading-s3", "workflow-payload-offloading", "workflow-payload-encryption", "workflow-payload-compression"] +provides-extras = ["gcp", "mcp", "agents", "realtime", "telemetry", "workflow-payload-offloading-azure", "workflow-payload-offloading-gcs", "workflow-payload-offloading-s3", "workflow-payload-offloading", "workflow-payload-encryption", "workflow-payload-compression"] [package.metadata.requires-dev] dev = [ - { name = "authlib", specifier = ">=1.5.2,<2" }, + { name = "authlib", specifier = ">=1.8.0,<2" }, { name = "griffe", specifier = ">=1.7.3,<2" }, { name = "invoke", specifier = ">=2.2.0,<3" }, - { name = "mcp", specifier = ">=1.0,<2" }, + { name = "mcp", specifier = ">=2.2.0,<3" }, { name = "msgpack", specifier = ">=1.1.0,<2.0.0" }, { name = "mypy", specifier = "==1.15.0" }, { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.33.1,<2.0.0" }, - { name = "opentelemetry-instrumentation-httpx", specifier = ">=0.60b1" }, + { name = "opentelemetry-instrumentation-httpx", specifier = ">=0.65b0" }, { name = "opentelemetry-sdk", specifier = ">=1.33.1,<2.0.0" }, { name = "pylint", specifier = "==3.2.3" }, { name = "pytest", specifier = ">=9.0.3,<10" }, @@ -2086,20 +2102,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/4b/2d/69abac8f838090bbecd5df894befb2c2619e7996a98ddb949db9f3b93225/pydantic_core-2.46.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983", size = 2193071, upload-time = "2026-05-06T13:38:08.682Z" }, ] -[[package]] -name = "pydantic-settings" -version = "2.15.0" -source = { registry = "https://pypi.org/simple/" } -dependencies = [ - { name = "pydantic" }, - { name = "python-dotenv" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/68/ca/31c57507b13119d7d3cfa1576dad2911a4861e3be07b579395f4e9d393f9/pydantic_settings-2.15.0.tar.gz", hash = "sha256:694b793e84f766ba76a90ebdefc01d0a9a045dab0382bee70393da93712ad117", size = 261253, upload-time = "2026-08-07T09:24:57.419Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/30/a4/2bffa9f8e804325a09867f0e9d30795c80ea9f8d62560bd1b6ad6220eb2f/pydantic_settings-2.15.0-py3-none-any.whl", hash = "sha256:0ba092c291c94baceb5eff768aa0d56400a457585bc0175925a5a5510303da42", size = 69413, upload-time = "2026-08-07T09:24:55.839Z" }, -] - [[package]] name = "pygments" version = "2.20.0" @@ -2202,15 +2204,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" }, ] -[[package]] -name = "python-dotenv" -version = "1.2.2" -source = { registry = "https://pypi.org/simple/" } -sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, -] - [[package]] name = "python-multipart" version = "0.0.32" @@ -2750,6 +2743,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/13/bc/8c13eb66537dce1d2bd3a57132902f38d0e7f5bb46fa9f4daed9fe9d76ee/tomlkit-0.15.1-py3-none-any.whl", hash = "sha256:177a05aece5a8ca5266fd3c448abb47b8d352f09d477d3ca8332db4d89b24304", size = 49449, upload-time = "2026-07-17T01:48:05.728Z" }, ] +[[package]] +name = "truststore" +version = "0.10.4" +source = { registry = "https://pypi.org/simple/" } +sdist = { url = "https://files.pythonhosted.org/packages/53/a3/1585216310e344e8102c22482f6060c7a6ea0322b63e026372e6dcefcfd6/truststore-0.10.4.tar.gz", hash = "sha256:9d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301", size = 26169, upload-time = "2025-08-12T18:49:02.73Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/19/97/56608b2249fe206a67cd573bc93cd9896e1efb9e98bce9c163bcdc704b88/truststore-0.10.4-py3-none-any.whl", hash = "sha256:adaeaecf1cbb5f4de3b1959b42d41f6fab57b2b1666adb59e89cb0b53361d981", size = 18660, upload-time = "2025-08-12T18:49:01.46Z" }, +] + [[package]] name = "types-authlib" version = "1.7.2.20260814" From a832506699fe85e01f7629feffbf9874f22a2e43 Mon Sep 17 00:00:00 2001 From: andreaonofrei01 Date: Mon, 28 Sep 2026 20:17:50 +0200 Subject: [PATCH 2/4] docs: document service-account auth in the v3 migration guide --- MIGRATION.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 099839d1a..629163254 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -23,6 +23,21 @@ The SDK depends on `httpx2` instead of `httpx`, and the `agents` extra on `mcp>= - `mistral.beta.connectors.http_client()` returns an `httpx2.AsyncClient`. - MCP results use MCP 2.2 field names, e.g. `structured_content` instead of `structuredContent`. +## Service-Account Authentication + +`Mistral()` reads a service-account token from the file at `MISTRAL_SA_TOKEN_PATH` when one is configured. Credentials resolve in this order: + +1. An `Authorization` header you set yourself, through `http_headers` or per request +2. An explicit `api_key` or `security` passed to the client +3. The token file at `MISTRAL_SA_TOKEN_PATH` +4. `MISTRAL_API_KEY` + +Set both `MISTRAL_SA_TOKEN_PATH` and `MISTRAL_API_KEY` and the token file wins, so an environment carrying both authenticates as the service account where v2 used the API key. + +The file is re-read on every request so rotation is picked up without a restart. If `MISTRAL_SA_TOKEN_PATH` is set but the file is missing, unreadable or empty, every request that would otherwise use the token file or `MISTRAL_API_KEY` raises `ServiceAccountTokenError`, with no fallback; unset the variable rather than leaving it pointing at a path that does not exist. An explicit `api_key` or `security` short-circuits the lookup, so it is unaffected. + +The token is sent to whatever `server_url` the client is configured with. `MistralAzure` and `MistralGCP` do not read it. + ## Chat and Agents Completions `chat.complete`, `chat.stream`, `agents.complete` and `agents.stream` no longer accept the `web_search`, `web_search_premium` and `code_interpreter` tools. Use them through the Conversations API (`beta.conversations`) or an agent created with `beta.agents.create`, where `WebSearchTool`, `WebSearchPremiumTool` and `CodeInterpreterTool` remain available. From d11213a182bd068c3eadf8e885fed0e573256718 Mon Sep 17 00:00:00 2001 From: andreaonofrei01 Date: Mon, 28 Sep 2026 20:18:03 +0200 Subject: [PATCH 3/4] docs: drop the empty-target links on non-model responses --- docs/sdks/agents/README.md | 2 +- docs/sdks/betaagents/README.md | 6 +++--- docs/sdks/chat/README.md | 2 +- docs/sdks/conversations/README.md | 8 ++++---- docs/sdks/files/README.md | 2 +- docs/sdks/fim/README.md | 2 +- docs/sdks/transcriptions/README.md | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index 449d90ad7..9ecb2fef8 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -136,7 +136,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]** ### Errors diff --git a/docs/sdks/betaagents/README.md b/docs/sdks/betaagents/README.md index ca1dc5033..afd83d171 100644 --- a/docs/sdks/betaagents/README.md +++ b/docs/sdks/betaagents/README.md @@ -114,7 +114,7 @@ with Mistral( ### Response -**[List[models.Agent]](../../models/.md)** +**List[models.Agent]** ### Errors @@ -383,7 +383,7 @@ with Mistral( ### Response -**[List[models.Agent]](../../models/.md)** +**List[models.Agent]** ### Errors @@ -509,7 +509,7 @@ with Mistral( ### Response -**[List[models.AgentAliasResponse]](../../models/.md)** +**List[models.AgentAliasResponse]** ### Errors diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index e9bbc68dd..254c4cde7 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -142,7 +142,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]** ### Errors diff --git a/docs/sdks/conversations/README.md b/docs/sdks/conversations/README.md index 63cd80a4a..e6c73e23f 100644 --- a/docs/sdks/conversations/README.md +++ b/docs/sdks/conversations/README.md @@ -109,7 +109,7 @@ with Mistral( ### Response -**[List[models.AgentsAPIV1ConversationsListResponse]](../../models/.md)** +**List[models.AgentsAPIV1ConversationsListResponse]** ### Errors @@ -437,7 +437,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]** ### Errors @@ -489,7 +489,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]** ### Errors @@ -544,7 +544,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.ConversationEvents], eventstreaming.EventStreamAsync[models.ConversationEvents]]** ### Errors diff --git a/docs/sdks/files/README.md b/docs/sdks/files/README.md index 246707073..d0e88f2e3 100644 --- a/docs/sdks/files/README.md +++ b/docs/sdks/files/README.md @@ -222,7 +222,7 @@ with Mistral( ### Response -**[httpx.Response](../../models/.md)** +**httpx.Response** ### Errors diff --git a/docs/sdks/fim/README.md b/docs/sdks/fim/README.md index 7bf890837..573200843 100644 --- a/docs/sdks/fim/README.md +++ b/docs/sdks/fim/README.md @@ -106,7 +106,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.CompletionEvent], eventstreaming.EventStreamAsync[models.CompletionEvent]]** ### Errors diff --git a/docs/sdks/transcriptions/README.md b/docs/sdks/transcriptions/README.md index 97703c9b4..7357f9e90 100644 --- a/docs/sdks/transcriptions/README.md +++ b/docs/sdks/transcriptions/README.md @@ -99,7 +99,7 @@ with Mistral( ### Response -**[Union[eventstreaming.EventStream[models.TranscriptionStreamEvents], eventstreaming.EventStreamAsync[models.TranscriptionStreamEvents]]](../../models/.md)** +**Union[eventstreaming.EventStream[models.TranscriptionStreamEvents], eventstreaming.EventStreamAsync[models.TranscriptionStreamEvents]]** ### Errors From 74fa5364f9d640f87f877deae9bd070909d9354c Mon Sep 17 00:00:00 2001 From: andreaonofrei01 Date: Mon, 28 Sep 2026 20:26:19 +0200 Subject: [PATCH 4/4] chore: drop the no-op connector-id-or-name overlay --- .speakeasy/connector-id-or-name-overlay.yaml | 11 ----------- .speakeasy/workflow.lock | 2 -- 2 files changed, 13 deletions(-) delete mode 100644 .speakeasy/connector-id-or-name-overlay.yaml diff --git a/.speakeasy/connector-id-or-name-overlay.yaml b/.speakeasy/connector-id-or-name-overlay.yaml deleted file mode 100644 index 21d4b11c0..000000000 --- a/.speakeasy/connector-id-or-name-overlay.yaml +++ /dev/null @@ -1,11 +0,0 @@ -overlay: 1.0.0 -info: - title: Keep connector ID-or-name parameters as strings - version: 1.0.0 -actions: - - target: $.paths..[?(@.name == 'connector_id_or_name')].schema.anyOf - description: Connector names are not UUIDs, so this parameter cannot be UUID-only. - remove: true - - target: $.paths..[?(@.name == 'connector_id_or_name')].schema - update: - type: string diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index e8e9a72a7..4b7399bea 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -56,8 +56,6 @@ workflow: mistral-openapi: inputs: - location: ../openapi/specs/v2/main-sdk.yaml - overlays: - - location: .speakeasy/connector-id-or-name-overlay.yaml registry: location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi targets: