Update success message with more details

- Enhanced the success message to include sanitisation mode.
- Added info on whether strict mode is active.
This commit is contained in:
Jonathon Broughton
2025-03-24 23:16:45 +00:00
parent f3bce1b753
commit 42565839f9
+3 -1
View File
@@ -142,4 +142,6 @@ def automate_function(
# We can pin the result view to the specific version we created.
automate_context.set_context_view([f"{new_model_id}@{new_version_id}"], False)
automate_context.mark_run_success("Parameters processed successfully.")
automate_context.mark_run_success(f"Parameters processed successfully with shield function "
f"{function_inputs.sanitization_mode}"
f"{' running in strict mode' if function_inputs.strict_mode else ''}.")