The world's first agentic reverse engineer.
update display name
Amruth7f297de54d5d
diff --git a/kong/__main__.py b/kong/__main__.pyindex 7731c1a..fa964a4 100644--- a/kong/__main__.py+++ b/kong/__main__.py@@ -267,7 +267,7 @@ def setup() -> None:step = 1for provider in LLMProvider:env_var = _ENV_VARS[provider]- console.print(f"[bold]Step {step}: {provider.value.title()} API Key[/bold]")+ console.print(f"[bold]Step {step}: {provider.display_name} API Key[/bold]")console.print()current_key = os.environ.get(env_var, "")diff --git a/kong/banner.py b/kong/banner.pyindex 529925c..9af6bff 100644--- a/kong/banner.py+++ b/kong/banner.py@@ -93,7 +93,7 @@ def print_setup_needed(console: Console, provider: LLMProvider = LLMProvider.ANTconsole.print()console.print(f"[bold red]{env_var} is not set.[/bold red]")console.print()- console.print(f"Kong requires a {provider.value.title()} API key to analyze binaries.")+ console.print(f"Kong requires a {provider.display_name} API key to analyze binaries.")console.print("Run [bold cyan]kong setup[/bold cyan] for guided configuration.")console.print()console.print("Or set it directly:")diff --git a/kong/config.py b/kong/config.pyindex 3578821..97c1803 100644--- a/kong/config.py+++ b/kong/config.py@@ -13,6 +13,10 @@ class LLMProvider(Enum):ANTHROPIC = "anthropic"OPENAI = "openai"+ @property+ def display_name(self) -> str:+ return {LLMProvider.ANTHROPIC: "Anthropic", LLMProvider.OPENAI: "OpenAI"}[self]+@dataclassclass GhidraConfig: