From cdf8388b188558d281b26fbcb116848b354ad7c8 Mon Sep 17 00:00:00 2001 From: Lucas Gomide Date: Thu, 26 Jun 2025 10:31:43 -0300 Subject: [PATCH] docs: update CLI LLM's documentation (#3071) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change aims to be more generic, so we don’t have to constantly reflect all available LLM options suggested by the CLI when creating a crew. --- docs/en/concepts/cli.mdx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/en/concepts/cli.mdx b/docs/en/concepts/cli.mdx index 2a86c7e6e..056b2660c 100644 --- a/docs/en/concepts/cli.mdx +++ b/docs/en/concepts/cli.mdx @@ -285,13 +285,13 @@ Watch this video tutorial for a step-by-step demonstration of deploying your cre ### 11. API Keys -When running ```crewai create crew``` command, the CLI will first show you the top 5 most common LLM providers and ask you to select one. +When running ```crewai create crew``` command, the CLI will show you a list of available LLM providers to choose from, followed by model selection for your chosen provider. -Once you've selected an LLM provider, you will be prompted for API keys. +Once you've selected an LLM provider and model, you will be prompted for API keys. -#### Initial API key providers +#### Available LLM Providers -The CLI will initially prompt for API keys for the following services: +Here's a list of the most popular LLM providers suggested by the CLI: * OpenAI * Groq @@ -299,17 +299,14 @@ The CLI will initially prompt for API keys for the following services: * Google Gemini * SambaNova -When you select a provider, the CLI will prompt you to enter your API key. +When you select a provider, the CLI will then show you available models for that provider and prompt you to enter your API key. #### Other Options -If you select option 6, you will be able to select from a list of LiteLLM supported providers. +If you select "other", you will be able to select from a list of LiteLLM supported providers. When you select a provider, the CLI will prompt you to enter the Key name and the API key. See the following link for each provider's key name: * [LiteLLM Providers](https://docs.litellm.ai/docs/providers) - - -