mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
Added docs for new CLI provider + fixed missing API prompt
This commit is contained in:
@@ -94,7 +94,13 @@ def create_crew(name, parent_folder=None):
|
||||
type=str
|
||||
)
|
||||
|
||||
env_vars = {api_key_var: "YOUR_API_KEY_HERE"}
|
||||
api_key_value = click.prompt(
|
||||
f"Enter your {provider.capitalize()} API key",
|
||||
type=str,
|
||||
hide_input=True
|
||||
)
|
||||
|
||||
env_vars = {api_key_var: api_key_value}
|
||||
write_env_file(folder_path, env_vars)
|
||||
|
||||
env_vars['MODEL'] = model
|
||||
|
||||
Reference in New Issue
Block a user