Skip to content

[AQUA] Enhance get_config to Return Model Details and Configuration in a Pydantic format #1107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 11, 2025

Conversation

mrDzurb
Copy link
Member

@mrDzurb mrDzurb commented Mar 11, 2025

Description

This PR refactors the AQUA get_config method.

  • Previously, the method retrieved the config based on model_ocid by first fetching details from the Model Catalog, extracting the config location, and then loading and returning the config in dictionary format.
  • With this update, the method now returns both the model details and the config in a Pydantic format.

The model retrieved from Model Catalog will be reused across multiple places, reducing the need to repeatedly request model details.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 11, 2025
Copy link

📌 Cov diff with main:

Coverage-0%

📌 Overall coverage:

Coverage-19.48%

@mrDzurb mrDzurb changed the title Enhance get_config to Return Model Details and Configuration in a Pydantic Result Model [AQUA] Enhance get_config to Return Model Details and Configuration in a Pydantic format Mar 11, 2025
Copy link

📌 Cov diff with main:

Coverage-0%

📌 Overall coverage:

Coverage-19.48%

Copy link

📌 Cov diff with main:

Coverage-94%

📌 Overall coverage:

Coverage-58.55%

@mrDzurb mrDzurb enabled auto-merge March 11, 2025 21:34
@mrDzurb mrDzurb merged commit 35c03c6 into main Mar 11, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants