Add AI/ML API provider integration

- Add AI/ML API models to LLM_CONTEXT_WINDOW_SIZES with openai/ prefix
- Include popular models: Llama 3.1/3.2, Claude, Mistral, Qwen, DeepSeek
- Create comprehensive test suite for AI/ML API integration
- Add documentation with usage examples and setup instructions
- Update README to mention AI/ML API support alongside other providers
- Resolves #2953

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-06-04 10:08:32 +00:00
parent 2bd6b72aae
commit d89dfafdab
4 changed files with 355 additions and 2 deletions

View File

@@ -546,7 +546,7 @@ This example demonstrates how to:
## Connecting Your Crew to a Model
CrewAI supports using various LLMs through a variety of connection options. By default your agents will use the OpenAI API when querying the model. However, there are several other ways to allow your agents to connect to models. For example, you can configure your agents to use a local model via the Ollama tool.
CrewAI supports using various LLMs through a variety of connection options. By default your agents will use the OpenAI API when querying the model. However, there are several other ways to allow your agents to connect to models. For example, you can configure your agents to use a local model via the Ollama tool, or access 300+ AI models through AI/ML API.
Please refer to the [Connect CrewAI to LLMs](https://docs.crewai.com/how-to/LLM-Connections/) page for details on configuring your agents' connections to models.
@@ -706,7 +706,7 @@ A: Yes. CrewAI excels at both simple and highly complex real-world scenarios, of
### Q: Can I use CrewAI with local AI models?
A: Absolutely! CrewAI supports various language models, including local ones. Tools like Ollama and LM Studio allow seamless integration. Check the [LLM Connections documentation](https://docs.crewai.com/how-to/LLM-Connections/) for more details.
A: Absolutely! CrewAI supports various language models, including local ones. Tools like Ollama and LM Studio allow seamless integration, and AI/ML API provides access to 300+ models from various providers. Check the [LLM Connections documentation](https://docs.crewai.com/how-to/LLM-Connections/) for more details.
### Q: What makes Crews different from Flows?