Skip to content

Conversation

@cmickeyb
Copy link
Contributor

Move the controlling scripts and configuration files out of the inference contract into the common contract family. This should make for a fully reusable package.

…tract package

Move the controlling scripts and configuration files out of the
inference contract into the common contract family. This should make
for a fully reusable package.

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
@cmickeyb cmickeyb requested a review from Copilot April 29, 2025 15:00
@cmickeyb cmickeyb self-assigned this Apr 29, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR moves the remaining guardian service functionality from the inference contract to the common contract package to enhance reusability. Key changes include:

  • Removing the legacy export of the inference guardian from the inference plugins.
  • Updating module paths in jupyter.py and tokens.toml to reference the new guardian service location.
  • Adding new package configurations and files (resources, scripts, plugins, and configuration files) to support the common guardian service functionality.

Reviewed Changes

Copilot reviewed 18 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
inference-contract/pdo/inference/plugins/init.py Removed legacy export for inference guardian functionality
inference-contract/pdo/inference/jupyter.py Updated module path to point to the new guardian service location
inference-contract/context/tokens.toml Updated guardian module reference to the common package
common-contract/setup.py Added new packages and an entry point for the guardian service
common-contract/pdo/contracts/resources/resources.py Introduced resource installation functionality
common-contract/pdo/contracts/guardian/scripts/init.py Defined the guardianCLI export
common-contract/pdo/contracts/guardian/plugins/guardian_service.py Refactored command creation and binding for guardian service operations
common-contract/pdo/contracts/guardian/plugins/init.py Exported the guardian_service module
common-contract/etc/guardian_service.toml Added configuration for the guardian service
Files not reviewed (5)
  • common-contract/MANIFEST: Language not supported
  • common-contract/MANIFEST.in: Language not supported
  • common-contract/scripts/gs_start.sh: Language not supported
  • inference-contract/MANIFEST: Language not supported
  • inference-contract/MANIFEST.in: Language not supported

@cmickeyb cmickeyb merged commit fd4dab3 into hyperledger-labs:main Apr 29, 2025
4 checks passed
@cmickeyb cmickeyb deleted the mic.apr23.more_guardian branch April 29, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant