We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d378d30 commit a27bd9eCopy full SHA for a27bd9e
ai_commit_msg/services/onboarding_service.py
@@ -89,9 +89,7 @@ def onboarding_flow():
89
90
if provider_choice in ['openai', 'anthropic']:
91
print_formatted_text(HTML(f"\n<b>Let's set up your {provider_choice.capitalize()} API key.</b>"))
92
- api_key = inquirer.prompt([
93
- inquirer.Password('key', message=f"Enter your {provider_choice.capitalize()} API key")
94
- ])['key']
+ api_key = input(f"[?] Enter your {provider_choice.capitalize()} API key: ")
95
if api_key:
96
getattr(config_service, f"set_{provider_choice}_api_key")(api_key)
97
console.print(f"{provider_choice.capitalize()} API key set successfully!", style="bold green")
0 commit comments