oci-cli 3.62.1__py3-none-any.whl → 3.63.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci_cli/cli_util.py +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/autoscaling/configuration/list.txt +7 -0
- oci_cli/help_text_producer/data_files/text/cmdref/autoscaling.txt +3 -8
- oci_cli/help_text_producer/data_files/text/cmdref/ce/cluster/create-kubeconfig.txt +0 -4
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer/get-offer-internal-detail.txt → database-management/cloud-asm/get-cloud-asm-configuration.txt} +13 -11
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer → database-management/cloud-asm}/get.txt +6 -9
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/list-cloud-asm-disk-groups.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/list-cloud-asm-users.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/summarize-cloud-asm-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm-instance/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm-instance/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm-instance/update.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer.txt → database-management/cloud-asm-instance.txt} +4 -8
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/summarize-cloud-cluster-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance/update.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-database-collection/list-cloud-databases.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-database-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home/update.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/summarize-cloud-db-node-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/create.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer → database-management/cloud-db-system}/delete.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/disable-cloud-db-system-database-management.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/disable-cloud-db-system-stack-monitoring.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/enable-cloud-db-system-database-management.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/enable-cloud-db-system-stack-monitoring.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/list.txt +156 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/summarize-cloud-db-system-availability-metrics.txt +126 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/update.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/check-cloud-db-system-connector-connection-status.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/create-cloud-db-system-connector-create-cloud-db-system-macs-connector-details.txt +170 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/attachment/attachment → database-management/cloud-db-system-connector}/create.txt +19 -20
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/update-cloud-db-system-connector-update-cloud-db-system-macs-connector-details.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/update.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/create.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/attachment/attachment → database-management/cloud-db-system-discovery}/get.txt +11 -16
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/patch.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/update.txt +168 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery.txt +24 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system.txt +32 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/list-cloud-listener-services.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/summarize-cloud-listener-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/update-result-location.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/update-sql-job-details.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/update.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job-execution/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job-run/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-pluggable-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-pluggable-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/get-awr-db-sql-report.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-pluggable-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-pluggable-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database-group/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/get-binary-log-information.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/get-general-replication-information.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/list-high-availability-members.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/list-outbound-replications.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/work-request/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/work-request/list.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-agent-tool-config.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-sql-tool-config.txt +12 -17
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-agent-tool-config.txt +202 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-sql-tool-config.txt +12 -14
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent-runtime/agent-endpoint/chat.txt +21 -3
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/attachment/attachment/delete.txt → management-agent/agent/delete-named-credential.txt} +18 -19
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent/get-named-credential.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent/update-named-credential.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential/create.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential/get-named-cred-metadata.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential/list.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/plugin/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/change-compartment.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/create-artifact-create-machine-image-artifact-details.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/create-artifact-create-stack-artifact-details.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/update-artifact-update-machine-image-artifact-details.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/update-artifact-update-stack-artifact-details.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{offer/offer-collection/list-offers.txt → available-service-collection/list-available-services.txt} +21 -33
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/available-service-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{attachment/attachment-collection/list-attachments.txt → customer-instance-report-record-collection/list-customer-instance-report-records.txt} +21 -39
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/customer-instance-report-record-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/disbursement-report-record-collection/list-disbursement-report-records.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/disbursement-report-record-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead-collection/list-leads.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing/change-compartment.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing/create.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-collection/list-listings.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/cascading-delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/change-listing-revision-to-new-status.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/clone.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{offer/offer/create.txt → listing-revision/create-listing-revision-create-lead-gen-listing-revision-details.txt} +120 -207
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/create-listing-revision-create-oci-listing-revision-details.txt +318 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/create-listing-revision-create-service-listing-revision-details.txt +312 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/create.txt +10 -51
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/get-listing-revision-icon-content.txt +105 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/publish-listing-revision-as-private.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/publish.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/submit-listing-revision-for-review.txt +6 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update-listing-revision-icon-content.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{offer/offer/update.txt → listing-revision/update-listing-revision-update-lead-gen-listing-revision-details.txt} +113 -206
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update-listing-revision-update-oci-listing-revision-details.txt +326 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update-listing-revision-update-service-listing-revision-details.txt +316 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update.txt +12 -53
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/withdraw.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-customer-success-attachment.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-related-document-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-review-support-document-attachment.txt +169 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-screen-shot-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-supported-service-attachment.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-video-attachment-details.txt +1 -4
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/get-listing-revision-attachment-content.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-content.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-customer-success-attachment.txt +195 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-related-document-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-review-support-document-attachment.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-screen-shot-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-supported-service-attachment.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-video-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment-collection/list-listing-revision-attachments.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/create.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/update.txt +166 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note-collection/list-listing-revision-notes.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/create.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/mark-listing-revision-package-as-default.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/publish.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/un-publish.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/update.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package-collection/list-listing-revision-packages.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/market-collection/list-markets.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/product-collection/list-products.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc/get-support-doc-content.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc-collection/list-support-docs.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-currency-collection/list-supported-currencies.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-currency-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-shape-collection/list-supported-shapes.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-shape-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/term/change-compartment.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{attachment/attachment/get-attachment-content.txt → term-version/get-term-version-content.txt} +13 -17
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/term-version.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher.txt +78 -28
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log → work-request-log-entry}/list.txt +1 -19
- oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control/work-request → organizations}/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
- oci_cli/version.py +1 -1
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/METADATA +2 -2
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/RECORD +249 -162
- services/autoscaling/src/oci_cli_auto_scaling/generated/autoscaling_cli.py +8 -7
- services/container_engine/src/oci_cli_container_engine/containerengine_cli_extended.py +1 -1
- services/database/src/oci_cli_database/generated/database_cli.py +98 -10
- services/database_management/src/oci_cli_db_management/dbmanagement_cli_extended.py +13 -0
- services/database_management/src/oci_cli_db_management/generated/dbmanagement_cli.py +8336 -5389
- services/database_management/src/oci_cli_managed_my_sql_databases/generated/managedmysqldatabases_cli.py +4 -4
- services/generative_ai_agent/src/oci_cli_generative_ai_agent/generated/generativeaiagent_cli.py +185 -6
- services/generative_ai_agent_runtime/src/oci_cli_generative_ai_agent_runtime/generated/generativeaiagentruntime_cli.py +10 -4
- services/management_agent/src/oci_cli_management_agent/generated/managementagent_cli.py +328 -3
- services/marketplace_publisher/__init__.py +1 -1
- services/marketplace_publisher/src/__init__.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/__init__.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/__init__.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/client_mappings.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/marketplacepublisher_cli.py +4035 -1530
- services/marketplace_publisher/tests/__init__.py +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/attachment/attachment-collection.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/attachment/attachment.txt +0 -20
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/attachment.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/offer/offer-collection.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/offer.txt +0 -29
- services/marketplace_publisher/src/oci_cli_attachment/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_attachment/generated/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_attachment/generated/attachment_cli.py +0 -307
- services/marketplace_publisher/src/oci_cli_attachment/generated/client_mappings.py +0 -14
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/marketplace_publisher_service_cli.py +0 -14
- services/marketplace_publisher/src/oci_cli_offer/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_offer/generated/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_offer/generated/client_mappings.py +0 -14
- services/marketplace_publisher/src/oci_cli_offer/generated/offer_cli.py +0 -431
- /oci_cli/help_text_producer/data_files/text/cmdref/{organizations → delegate-access-control/work-request}/work-request-log.txt +0 -0
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.62.1.dist-info → oci_cli-3.63.0.dist-info}/top_level.txt +0 -0
|
@@ -120,7 +120,7 @@ def change_mysql_database_management_type(ctx, from_json, wait_for_state, max_wa
|
|
|
120
120
|
cli_util.render_response(result, ctx)
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.get_binary_log_information.command_name', 'get-binary-log-information'), help=u"""Retrieves information pertaining to binary log of a specific MySQL server. \n[Command Reference](getBinaryLogInformation)""")
|
|
123
|
+
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.get_binary_log_information.command_name', 'get-binary-log-information'), help=u"""Retrieves information pertaining to the binary log of a specific MySQL server. \n[Command Reference](getBinaryLogInformation)""")
|
|
124
124
|
@cli_util.option('--managed-my-sql-database-id', required=True, help=u"""The OCID of the Managed MySQL Database.""")
|
|
125
125
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
126
126
|
@cli_util.help_option
|
|
@@ -142,7 +142,7 @@ def get_binary_log_information(ctx, from_json, managed_my_sql_database_id):
|
|
|
142
142
|
cli_util.render_response(result, ctx)
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.get_general_replication_information.command_name', 'get-general-replication-information'), help=u"""Retrieves general information regarding replication of a specific MySQL server. \n[Command Reference](getGeneralReplicationInformation)""")
|
|
145
|
+
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.get_general_replication_information.command_name', 'get-general-replication-information'), help=u"""Retrieves general information regarding the replication of a specific MySQL server. \n[Command Reference](getGeneralReplicationInformation)""")
|
|
146
146
|
@cli_util.option('--managed-my-sql-database-id', required=True, help=u"""The OCID of the Managed MySQL Database.""")
|
|
147
147
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
148
148
|
@cli_util.help_option
|
|
@@ -289,7 +289,7 @@ def get_my_sql_query_details(ctx, from_json, managed_my_sql_database_id, digest)
|
|
|
289
289
|
cli_util.render_response(result, ctx)
|
|
290
290
|
|
|
291
291
|
|
|
292
|
-
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.list_high_availability_members.command_name', 'list-high-availability-members'), help=u"""
|
|
292
|
+
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.list_high_availability_members.command_name', 'list-high-availability-members'), help=u"""Retrieves information about the high availability members of a specific MySQL server's replication group. \n[Command Reference](listHighAvailabilityMembers)""")
|
|
293
293
|
@cli_util.option('--managed-my-sql-database-id', required=True, help=u"""The OCID of the Managed MySQL Database.""")
|
|
294
294
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of records returned in the paginated response.""")
|
|
295
295
|
@cli_util.option('--page', help=u"""The page token representing the page from where the next set of paginated results are retrieved. This is usually retrieved from a previous list call.""")
|
|
@@ -646,7 +646,7 @@ def list_my_sql_digest_errors(ctx, from_json, all_pages, page_size, managed_my_s
|
|
|
646
646
|
cli_util.render_response(result, ctx)
|
|
647
647
|
|
|
648
648
|
|
|
649
|
-
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.list_outbound_replications.command_name', 'list-outbound-replications'), help=u"""Retrieves information pertaining to outbound replications of a specific MySQL server. \n[Command Reference](listOutboundReplications)""")
|
|
649
|
+
@managed_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.list_outbound_replications.command_name', 'list-outbound-replications'), help=u"""Retrieves information pertaining to the outbound replications of a specific MySQL server. \n[Command Reference](listOutboundReplications)""")
|
|
650
650
|
@cli_util.option('--managed-my-sql-database-id', required=True, help=u"""The OCID of the Managed MySQL Database.""")
|
|
651
651
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of records returned in the paginated response.""")
|
|
652
652
|
@cli_util.option('--page', help=u"""The page token representing the page from where the next set of paginated results are retrieved. This is usually retrieved from a previous list call.""")
|
services/generative_ai_agent/src/oci_cli_generative_ai_agent/generated/generativeaiagent_cli.py
CHANGED
|
@@ -1164,7 +1164,6 @@ def create_tool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_
|
|
|
1164
1164
|
@cli_util.option('--description', required=True, help=u"""Description about the Tool.""")
|
|
1165
1165
|
@cli_util.option('--agent-id', required=True, help=u"""The OCID of the agent that this Tool is attached to.""")
|
|
1166
1166
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
|
|
1167
|
-
@cli_util.option('--tool-config-database-schema', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1168
1167
|
@cli_util.option('--tool-config-dialect', required=True, type=custom_types.CliCaseInsensitiveChoice(["SQL_LITE", "ORACLE_SQL"]), help=u"""Dialect to be used for SQL generation.""")
|
|
1169
1168
|
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1170
1169
|
@cli_util.option('--metadata', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Key-value pairs to allow additional configurations.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -1175,6 +1174,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
1175
1174
|
|
|
1176
1175
|
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1177
1176
|
@cli_util.option('--tool-config-icl-examples', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1177
|
+
@cli_util.option('--tool-config-database-schema', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1178
1178
|
@cli_util.option('--tool-config-should-enable-sql-execution', type=click.BOOL, help=u"""To enable/disable SQL execution.""")
|
|
1179
1179
|
@cli_util.option('--tool-config-model-size', type=custom_types.CliCaseInsensitiveChoice(["SMALL", "LARGE"]), help=u"""Size of the model.""")
|
|
1180
1180
|
@cli_util.option('--tool-config-should-enable-self-correction', type=click.BOOL, help=u"""To enable/disable self correction.""")
|
|
@@ -1189,7 +1189,7 @@ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_comp
|
|
|
1189
1189
|
@click.pass_context
|
|
1190
1190
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'metadata': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'freeform-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, dict(str, object))'}, 'tool-config-icl-examples': {'module': 'generative_ai_agent', 'class': 'InputLocation'}, 'tool-config-database-schema': {'module': 'generative_ai_agent', 'class': 'InputLocation'}, 'tool-config-table-and-column-description': {'module': 'generative_ai_agent', 'class': 'InputLocation'}, 'tool-config-generation-llm-customization': {'module': 'generative_ai_agent', 'class': 'LlmCustomization'}, 'tool-config-database-connection': {'module': 'generative_ai_agent', 'class': 'DatabaseConnection'}}, output_type={'module': 'generative_ai_agent', 'class': 'Tool'})
|
|
1191
1191
|
@cli_util.wrap_exceptions
|
|
1192
|
-
def create_tool_sql_tool_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, description, agent_id, compartment_id,
|
|
1192
|
+
def create_tool_sql_tool_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, description, agent_id, compartment_id, tool_config_dialect, display_name, metadata, freeform_tags, defined_tags, tool_config_icl_examples, tool_config_database_schema, tool_config_should_enable_sql_execution, tool_config_model_size, tool_config_should_enable_self_correction, tool_config_table_and_column_description, tool_config_generation_llm_customization, tool_config_database_connection):
|
|
1193
1193
|
|
|
1194
1194
|
kwargs = {}
|
|
1195
1195
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -1199,7 +1199,6 @@ def create_tool_sql_tool_config(ctx, from_json, wait_for_state, max_wait_seconds
|
|
|
1199
1199
|
_details['description'] = description
|
|
1200
1200
|
_details['agentId'] = agent_id
|
|
1201
1201
|
_details['compartmentId'] = compartment_id
|
|
1202
|
-
_details['toolConfig']['databaseSchema'] = cli_util.parse_json_parameter("tool_config_database_schema", tool_config_database_schema)
|
|
1203
1202
|
_details['toolConfig']['dialect'] = tool_config_dialect
|
|
1204
1203
|
|
|
1205
1204
|
if display_name is not None:
|
|
@@ -1217,6 +1216,9 @@ def create_tool_sql_tool_config(ctx, from_json, wait_for_state, max_wait_seconds
|
|
|
1217
1216
|
if tool_config_icl_examples is not None:
|
|
1218
1217
|
_details['toolConfig']['iclExamples'] = cli_util.parse_json_parameter("tool_config_icl_examples", tool_config_icl_examples)
|
|
1219
1218
|
|
|
1219
|
+
if tool_config_database_schema is not None:
|
|
1220
|
+
_details['toolConfig']['databaseSchema'] = cli_util.parse_json_parameter("tool_config_database_schema", tool_config_database_schema)
|
|
1221
|
+
|
|
1220
1222
|
if tool_config_should_enable_sql_execution is not None:
|
|
1221
1223
|
_details['toolConfig']['shouldEnableSqlExecution'] = tool_config_should_enable_sql_execution
|
|
1222
1224
|
|
|
@@ -1440,6 +1442,88 @@ def create_tool_http_endpoint_tool_config(ctx, from_json, wait_for_state, max_wa
|
|
|
1440
1442
|
cli_util.render_response(result, ctx)
|
|
1441
1443
|
|
|
1442
1444
|
|
|
1445
|
+
@tool_group.command(name=cli_util.override('generative_ai_agent.create_tool_agent_tool_config.command_name', 'create-tool-agent-tool-config'), help=u"""Creates a tool. \n[Command Reference](createTool)""")
|
|
1446
|
+
@cli_util.option('--description', required=True, help=u"""Description about the Tool.""")
|
|
1447
|
+
@cli_util.option('--agent-id', required=True, help=u"""The OCID of the agent that this Tool is attached to.""")
|
|
1448
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
|
|
1449
|
+
@cli_util.option('--tool-config-agent-endpoint-id', required=True, help=u"""The AgentEndpoint OCID to be used as a tool in this agent.""")
|
|
1450
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1451
|
+
@cli_util.option('--metadata', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Key-value pairs to allow additional configurations.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1452
|
+
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
|
|
1453
|
+
|
|
1454
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1455
|
+
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
1456
|
+
|
|
1457
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1458
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
1459
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
1460
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
1461
|
+
@json_skeleton_utils.get_cli_json_input_option({'metadata': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'freeform-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, dict(str, object))'}})
|
|
1462
|
+
@cli_util.help_option
|
|
1463
|
+
@click.pass_context
|
|
1464
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'metadata': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'freeform-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'generative_ai_agent', 'class': 'Tool'})
|
|
1465
|
+
@cli_util.wrap_exceptions
|
|
1466
|
+
def create_tool_agent_tool_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, description, agent_id, compartment_id, tool_config_agent_endpoint_id, display_name, metadata, freeform_tags, defined_tags):
|
|
1467
|
+
|
|
1468
|
+
kwargs = {}
|
|
1469
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1470
|
+
|
|
1471
|
+
_details = {}
|
|
1472
|
+
_details['toolConfig'] = {}
|
|
1473
|
+
_details['description'] = description
|
|
1474
|
+
_details['agentId'] = agent_id
|
|
1475
|
+
_details['compartmentId'] = compartment_id
|
|
1476
|
+
_details['toolConfig']['agentEndpointId'] = tool_config_agent_endpoint_id
|
|
1477
|
+
|
|
1478
|
+
if display_name is not None:
|
|
1479
|
+
_details['displayName'] = display_name
|
|
1480
|
+
|
|
1481
|
+
if metadata is not None:
|
|
1482
|
+
_details['metadata'] = cli_util.parse_json_parameter("metadata", metadata)
|
|
1483
|
+
|
|
1484
|
+
if freeform_tags is not None:
|
|
1485
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
1486
|
+
|
|
1487
|
+
if defined_tags is not None:
|
|
1488
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
1489
|
+
|
|
1490
|
+
_details['toolConfig']['toolConfigType'] = 'AGENT_TOOL_CONFIG'
|
|
1491
|
+
|
|
1492
|
+
client = cli_util.build_client('generative_ai_agent', 'generative_ai_agent', ctx)
|
|
1493
|
+
result = client.create_tool(
|
|
1494
|
+
create_tool_details=_details,
|
|
1495
|
+
**kwargs
|
|
1496
|
+
)
|
|
1497
|
+
if wait_for_state:
|
|
1498
|
+
|
|
1499
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
1500
|
+
try:
|
|
1501
|
+
wait_period_kwargs = {}
|
|
1502
|
+
if max_wait_seconds is not None:
|
|
1503
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
1504
|
+
if wait_interval_seconds is not None:
|
|
1505
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
1506
|
+
if 'opc-work-request-id' not in result.headers:
|
|
1507
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
1508
|
+
cli_util.render_response(result, ctx)
|
|
1509
|
+
return
|
|
1510
|
+
|
|
1511
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
1512
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
1513
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
1514
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
1515
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1516
|
+
cli_util.render_response(result, ctx)
|
|
1517
|
+
sys.exit(2)
|
|
1518
|
+
except Exception:
|
|
1519
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1520
|
+
cli_util.render_response(result, ctx)
|
|
1521
|
+
raise
|
|
1522
|
+
else:
|
|
1523
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
1524
|
+
cli_util.render_response(result, ctx)
|
|
1525
|
+
|
|
1526
|
+
|
|
1443
1527
|
@tool_group.command(name=cli_util.override('generative_ai_agent.create_tool_rag_tool_config.command_name', 'create-tool-rag-tool-config'), help=u"""Creates a tool. \n[Command Reference](createTool)""")
|
|
1444
1528
|
@cli_util.option('--description', required=True, help=u"""Description about the Tool.""")
|
|
1445
1529
|
@cli_util.option('--agent-id', required=True, help=u"""The OCID of the agent that this Tool is attached to.""")
|
|
@@ -3469,7 +3553,6 @@ def update_tool(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_in
|
|
|
3469
3553
|
|
|
3470
3554
|
@tool_group.command(name=cli_util.override('generative_ai_agent.update_tool_sql_tool_config.command_name', 'update-tool-sql-tool-config'), help=u"""Updates a tool. \n[Command Reference](updateTool)""")
|
|
3471
3555
|
@cli_util.option('--tool-id', required=True, help=u"""The [OCID] of the Tool.""")
|
|
3472
|
-
@cli_util.option('--tool-config-database-schema', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3473
3556
|
@cli_util.option('--tool-config-dialect', required=True, type=custom_types.CliCaseInsensitiveChoice(["SQL_LITE", "ORACLE_SQL"]), help=u"""Dialect to be used for SQL generation.""")
|
|
3474
3557
|
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
3475
3558
|
@cli_util.option('--description', help=u"""Description about the Tool.""")
|
|
@@ -3482,6 +3565,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
3482
3565
|
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3483
3566
|
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
|
|
3484
3567
|
@cli_util.option('--tool-config-icl-examples', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3568
|
+
@cli_util.option('--tool-config-database-schema', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3485
3569
|
@cli_util.option('--tool-config-should-enable-sql-execution', type=click.BOOL, help=u"""To enable/disable SQL execution.""")
|
|
3486
3570
|
@cli_util.option('--tool-config-model-size', type=custom_types.CliCaseInsensitiveChoice(["SMALL", "LARGE"]), help=u"""Size of the model.""")
|
|
3487
3571
|
@cli_util.option('--tool-config-should-enable-self-correction', type=click.BOOL, help=u"""To enable/disable self correction.""")
|
|
@@ -3497,7 +3581,7 @@ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_comp
|
|
|
3497
3581
|
@click.pass_context
|
|
3498
3582
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'metadata': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'freeform-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, dict(str, object))'}, 'tool-config-icl-examples': {'module': 'generative_ai_agent', 'class': 'InputLocation'}, 'tool-config-database-schema': {'module': 'generative_ai_agent', 'class': 'InputLocation'}, 'tool-config-table-and-column-description': {'module': 'generative_ai_agent', 'class': 'InputLocation'}, 'tool-config-generation-llm-customization': {'module': 'generative_ai_agent', 'class': 'LlmCustomization'}, 'tool-config-database-connection': {'module': 'generative_ai_agent', 'class': 'DatabaseConnection'}})
|
|
3499
3583
|
@cli_util.wrap_exceptions
|
|
3500
|
-
def update_tool_sql_tool_config(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, tool_id,
|
|
3584
|
+
def update_tool_sql_tool_config(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, tool_id, tool_config_dialect, display_name, description, metadata, freeform_tags, defined_tags, if_match, tool_config_icl_examples, tool_config_database_schema, tool_config_should_enable_sql_execution, tool_config_model_size, tool_config_should_enable_self_correction, tool_config_table_and_column_description, tool_config_generation_llm_customization, tool_config_database_connection):
|
|
3501
3585
|
|
|
3502
3586
|
if isinstance(tool_id, six.string_types) and len(tool_id.strip()) == 0:
|
|
3503
3587
|
raise click.UsageError('Parameter --tool-id cannot be whitespace or empty string')
|
|
@@ -3513,7 +3597,6 @@ def update_tool_sql_tool_config(ctx, from_json, force, wait_for_state, max_wait_
|
|
|
3513
3597
|
|
|
3514
3598
|
_details = {}
|
|
3515
3599
|
_details['toolConfig'] = {}
|
|
3516
|
-
_details['toolConfig']['databaseSchema'] = cli_util.parse_json_parameter("tool_config_database_schema", tool_config_database_schema)
|
|
3517
3600
|
_details['toolConfig']['dialect'] = tool_config_dialect
|
|
3518
3601
|
|
|
3519
3602
|
if display_name is not None:
|
|
@@ -3534,6 +3617,9 @@ def update_tool_sql_tool_config(ctx, from_json, force, wait_for_state, max_wait_
|
|
|
3534
3617
|
if tool_config_icl_examples is not None:
|
|
3535
3618
|
_details['toolConfig']['iclExamples'] = cli_util.parse_json_parameter("tool_config_icl_examples", tool_config_icl_examples)
|
|
3536
3619
|
|
|
3620
|
+
if tool_config_database_schema is not None:
|
|
3621
|
+
_details['toolConfig']['databaseSchema'] = cli_util.parse_json_parameter("tool_config_database_schema", tool_config_database_schema)
|
|
3622
|
+
|
|
3537
3623
|
if tool_config_should_enable_sql_execution is not None:
|
|
3538
3624
|
_details['toolConfig']['shouldEnableSqlExecution'] = tool_config_should_enable_sql_execution
|
|
3539
3625
|
|
|
@@ -3780,6 +3866,99 @@ def update_tool_http_endpoint_tool_config(ctx, from_json, force, wait_for_state,
|
|
|
3780
3866
|
cli_util.render_response(result, ctx)
|
|
3781
3867
|
|
|
3782
3868
|
|
|
3869
|
+
@tool_group.command(name=cli_util.override('generative_ai_agent.update_tool_agent_tool_config.command_name', 'update-tool-agent-tool-config'), help=u"""Updates a tool. \n[Command Reference](updateTool)""")
|
|
3870
|
+
@cli_util.option('--tool-id', required=True, help=u"""The [OCID] of the Tool.""")
|
|
3871
|
+
@cli_util.option('--tool-config-agent-endpoint-id', required=True, help=u"""The AgentEndpoint OCID to be used as a tool in this agent.""")
|
|
3872
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
3873
|
+
@cli_util.option('--description', help=u"""Description about the Tool.""")
|
|
3874
|
+
@cli_util.option('--metadata', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Key-value pairs to allow additional configurations.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3875
|
+
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
|
|
3876
|
+
|
|
3877
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3878
|
+
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
3879
|
+
|
|
3880
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
3881
|
+
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
|
|
3882
|
+
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
3883
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
3884
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
3885
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
3886
|
+
@json_skeleton_utils.get_cli_json_input_option({'metadata': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'freeform-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, dict(str, object))'}})
|
|
3887
|
+
@cli_util.help_option
|
|
3888
|
+
@click.pass_context
|
|
3889
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'metadata': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'freeform-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai_agent', 'class': 'dict(str, dict(str, object))'}})
|
|
3890
|
+
@cli_util.wrap_exceptions
|
|
3891
|
+
def update_tool_agent_tool_config(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, tool_id, tool_config_agent_endpoint_id, display_name, description, metadata, freeform_tags, defined_tags, if_match):
|
|
3892
|
+
|
|
3893
|
+
if isinstance(tool_id, six.string_types) and len(tool_id.strip()) == 0:
|
|
3894
|
+
raise click.UsageError('Parameter --tool-id cannot be whitespace or empty string')
|
|
3895
|
+
if not force:
|
|
3896
|
+
if metadata or freeform_tags or defined_tags:
|
|
3897
|
+
if not click.confirm("WARNING: Updates to metadata and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
3898
|
+
ctx.abort()
|
|
3899
|
+
|
|
3900
|
+
kwargs = {}
|
|
3901
|
+
if if_match is not None:
|
|
3902
|
+
kwargs['if_match'] = if_match
|
|
3903
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
3904
|
+
|
|
3905
|
+
_details = {}
|
|
3906
|
+
_details['toolConfig'] = {}
|
|
3907
|
+
_details['toolConfig']['agentEndpointId'] = tool_config_agent_endpoint_id
|
|
3908
|
+
|
|
3909
|
+
if display_name is not None:
|
|
3910
|
+
_details['displayName'] = display_name
|
|
3911
|
+
|
|
3912
|
+
if description is not None:
|
|
3913
|
+
_details['description'] = description
|
|
3914
|
+
|
|
3915
|
+
if metadata is not None:
|
|
3916
|
+
_details['metadata'] = cli_util.parse_json_parameter("metadata", metadata)
|
|
3917
|
+
|
|
3918
|
+
if freeform_tags is not None:
|
|
3919
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
3920
|
+
|
|
3921
|
+
if defined_tags is not None:
|
|
3922
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
3923
|
+
|
|
3924
|
+
_details['toolConfig']['toolConfigType'] = 'AGENT_TOOL_CONFIG'
|
|
3925
|
+
|
|
3926
|
+
client = cli_util.build_client('generative_ai_agent', 'generative_ai_agent', ctx)
|
|
3927
|
+
result = client.update_tool(
|
|
3928
|
+
tool_id=tool_id,
|
|
3929
|
+
update_tool_details=_details,
|
|
3930
|
+
**kwargs
|
|
3931
|
+
)
|
|
3932
|
+
if wait_for_state:
|
|
3933
|
+
|
|
3934
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
3935
|
+
try:
|
|
3936
|
+
wait_period_kwargs = {}
|
|
3937
|
+
if max_wait_seconds is not None:
|
|
3938
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
3939
|
+
if wait_interval_seconds is not None:
|
|
3940
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
3941
|
+
if 'opc-work-request-id' not in result.headers:
|
|
3942
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
3943
|
+
cli_util.render_response(result, ctx)
|
|
3944
|
+
return
|
|
3945
|
+
|
|
3946
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
3947
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
3948
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
3949
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
3950
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
3951
|
+
cli_util.render_response(result, ctx)
|
|
3952
|
+
sys.exit(2)
|
|
3953
|
+
except Exception:
|
|
3954
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
3955
|
+
cli_util.render_response(result, ctx)
|
|
3956
|
+
raise
|
|
3957
|
+
else:
|
|
3958
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
3959
|
+
cli_util.render_response(result, ctx)
|
|
3960
|
+
|
|
3961
|
+
|
|
3783
3962
|
@tool_group.command(name=cli_util.override('generative_ai_agent.update_tool_rag_tool_config.command_name', 'update-tool-rag-tool-config'), help=u"""Updates a tool. \n[Command Reference](updateTool)""")
|
|
3784
3963
|
@cli_util.option('--tool-id', required=True, help=u"""The [OCID] of the Tool.""")
|
|
3785
3964
|
@cli_util.option('--tool-config-knowledge-base-configs', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The KnowledgeBase configurations that this RAG Tool uses""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -58,17 +58,20 @@ generative_ai_agent_runtime_root_group.add_command(agent_endpoint_group)
|
|
|
58
58
|
@cli_util.option('--user-message', help=u"""The input user message content for the chat.""")
|
|
59
59
|
@cli_util.option('--should-stream', type=click.BOOL, help=u"""Whether to stream the response.""")
|
|
60
60
|
@cli_util.option('--session-id', help=u"""Optional sessionId. If not provided, will chat without any prior context.""")
|
|
61
|
-
@cli_util.option('--tool-parameters', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A map where each key is a toolId and the value contains tool type and additional dynamic parameters.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
61
|
+
@cli_util.option('--tool-parameters', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A map where each key is a toolId and the value contains tool type and additional dynamic parameters. This field is deprecated and will be removed after July 02 2026.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
62
|
+
@cli_util.option('--tool-inputs', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Array of tool input objects, each specifying a tool's ID, type, and corresponding input parameters required for execution.
|
|
63
|
+
|
|
64
|
+
This option is a JSON list with items of type ToolInput. For documentation on ToolInput please see our API reference: https://docs.cloud.oracle.com/api/#/en/generativeaiagentruntime/20240531/datatypes/ToolInput.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
62
65
|
@cli_util.option('--performed-actions', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of actions that have been performed based on prior required actions.
|
|
63
66
|
|
|
64
67
|
This option is a JSON list with items of type PerformedAction. For documentation on PerformedAction please see our API reference: https://docs.cloud.oracle.com/api/#/en/generativeaiagentruntime/20240531/datatypes/PerformedAction.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
65
68
|
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
|
|
66
|
-
@json_skeleton_utils.get_cli_json_input_option({'tool-parameters': {'module': 'generative_ai_agent_runtime', 'class': 'dict(str, string)'}, 'performed-actions': {'module': 'generative_ai_agent_runtime', 'class': 'list[PerformedAction]'}})
|
|
69
|
+
@json_skeleton_utils.get_cli_json_input_option({'tool-parameters': {'module': 'generative_ai_agent_runtime', 'class': 'dict(str, string)'}, 'tool-inputs': {'module': 'generative_ai_agent_runtime', 'class': 'list[ToolInput]'}, 'performed-actions': {'module': 'generative_ai_agent_runtime', 'class': 'list[PerformedAction]'}})
|
|
67
70
|
@cli_util.help_option
|
|
68
71
|
@click.pass_context
|
|
69
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'tool-parameters': {'module': 'generative_ai_agent_runtime', 'class': 'dict(str, string)'}, 'performed-actions': {'module': 'generative_ai_agent_runtime', 'class': 'list[PerformedAction]'}}, output_type={'module': 'generative_ai_agent_runtime', 'class': 'ChatResult'})
|
|
72
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'tool-parameters': {'module': 'generative_ai_agent_runtime', 'class': 'dict(str, string)'}, 'tool-inputs': {'module': 'generative_ai_agent_runtime', 'class': 'list[ToolInput]'}, 'performed-actions': {'module': 'generative_ai_agent_runtime', 'class': 'list[PerformedAction]'}}, output_type={'module': 'generative_ai_agent_runtime', 'class': 'ChatResult'})
|
|
70
73
|
@cli_util.wrap_exceptions
|
|
71
|
-
def chat(ctx, from_json, agent_endpoint_id, user_message, should_stream, session_id, tool_parameters, performed_actions, if_match):
|
|
74
|
+
def chat(ctx, from_json, agent_endpoint_id, user_message, should_stream, session_id, tool_parameters, tool_inputs, performed_actions, if_match):
|
|
72
75
|
|
|
73
76
|
if isinstance(agent_endpoint_id, six.string_types) and len(agent_endpoint_id.strip()) == 0:
|
|
74
77
|
raise click.UsageError('Parameter --agent-endpoint-id cannot be whitespace or empty string')
|
|
@@ -92,6 +95,9 @@ def chat(ctx, from_json, agent_endpoint_id, user_message, should_stream, session
|
|
|
92
95
|
if tool_parameters is not None:
|
|
93
96
|
_details['toolParameters'] = cli_util.parse_json_parameter("tool_parameters", tool_parameters)
|
|
94
97
|
|
|
98
|
+
if tool_inputs is not None:
|
|
99
|
+
_details['toolInputs'] = cli_util.parse_json_parameter("tool_inputs", tool_inputs)
|
|
100
|
+
|
|
95
101
|
if performed_actions is not None:
|
|
96
102
|
_details['performedActions'] = cli_util.parse_json_parameter("performed_actions", performed_actions)
|
|
97
103
|
|