Refine print out of recs

This commit is contained in:
Jamie Hardt
2025-08-27 15:41:05 -07:00
parent 739d27fe71
commit efd9a08212

View File

@@ -23,9 +23,9 @@ def print_recommendation(path: str | None, text: str, ctx: InferenceContext):
print(f"Path: {path}") print(f"Path: {path}")
print(f"Text: {text or '<None>'}") print(f"Text: {text or '<None>'}")
for r in recommendations: for i, r in enumerate(recommendations):
cat, subcat, _ = ctx.lookup_category(r) cat, subcat, _ = ctx.lookup_category(r)
print(f"- {r}: {cat}-{subcat}") print(f"- {i}: {r} ({cat}-{subcat})")
@click.group(epilog="For more information see " @click.group(epilog="For more information see "