Skip to content

Commit

Permalink
SLIM-1.1 Governance link fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yunks128 committed Sep 3, 2024
1 parent 46d9ad8 commit bbce6e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions slim-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
{
"name": "Governance Template",
"type": "text/md",
"uri": "https://raw.githubusercontent.com/NASA-AMMOS/slim/main/docs/guides/governance/governance-model/GOVERNANCE-TEMPLATE.md"
"uri": "https://raw.githubusercontent.com/NASA-AMMOS/slim/main/static/assets/governance/governance-model/GOVERNANCE-TEMPLATE-LARGE-TEAMS.md"
},
{
"name": "Governance Template (Small Teams)",
"type": "text/md",
"uri": "https://raw.githubusercontent.com/NASA-AMMOS/slim/main/docs/guides/governance/governance-model/governance-template-small-team.md"
"uri": "https://raw.githubusercontent.com/NASA-AMMOS/slim/main/static/assets/governance/governance-model/GOVERNANCE-TEMPLATE-SMALL-TEAMS.md"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/jpl/slim/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.4
6 changes: 3 additions & 3 deletions src/jpl/slim/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


# Constants
SLIM_REGISTRY_URI = "https://raw.githubusercontent.com/NASA-AMMOS/slim/issue-154/static/data/slim-registry.json"
SLIM_REGISTRY_URI = "https://raw.githubusercontent.com/NASA-AMMOS/slim/yunks128-patch-1/static/data/slim-registry.json"
SUPPORTED_MODELS = {
"openai": ["gpt-3.5-turbo", "gpt-4o"],
"ollama": ["llama3.1", "mistral", "codellama"],
Expand Down Expand Up @@ -47,7 +47,7 @@ def fetch_best_practices_from_file(file_path):
def list_practices(args):
logging.debug("Listing all best practices...")
practices = fetch_best_practices(SLIM_REGISTRY_URI)
# practices = fetch_best_practices_from_file("slim-registry.json")
#practices = fetch_best_practices_from_file("slim-registry.json")

if not practices:
print("No practices found or failed to fetch practices.")
Expand Down Expand Up @@ -540,7 +540,7 @@ def apply_best_practice(best_practice_id, use_ai_flag, model, repo_url = None, e

# Process best practice by ID
if best_practice_id == 'SLIM-1.1':
applied_file_path = download_and_place_file(git_repo, uri, 'GOVERNANCE.md')
applied_file_path = download_and_place_file(git_repo, uri, 'GOVERNANCE-TEMPLATE-SMALL-TEAMS.md')
if use_ai_flag and model:
#logging.warning(f"AI apply features unsupported for best practice {best_practice_id} currently")

Expand Down

0 comments on commit bbce6e4

Please sign in to comment.