mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
docs: update "LLM-Connections" import and "Tasks" formatting (#1345)
* Update Tasks.md Current formating of the page Tasks has been broken, fix the markdown formatting. * Update LLM-Connections.md LLM class has been moved to llm.py file
This commit is contained in:
@@ -66,7 +66,8 @@ claude_agent = Agent(
|
||||
For more detailed configuration, use the LLM class:
|
||||
|
||||
```python
|
||||
from crewai import Agent, LLM
|
||||
from crewai import Agent
|
||||
from crewai.llm import LLM
|
||||
|
||||
llm = LLM(
|
||||
model="gpt-4",
|
||||
@@ -160,4 +161,4 @@ This is particularly useful when working with OpenAI-compatible APIs or when you
|
||||
|
||||
## Conclusion
|
||||
|
||||
By leveraging LiteLLM, CrewAI offers seamless integration with a vast array of LLMs. This flexibility allows you to choose the most suitable model for your specific needs, whether you prioritize performance, cost-efficiency, or local deployment. Remember to consult the [LiteLLM documentation](https://docs.litellm.ai/docs/) for the most up-to-date information on supported models and configuration options.
|
||||
By leveraging LiteLLM, CrewAI offers seamless integration with a vast array of LLMs. This flexibility allows you to choose the most suitable model for your specific needs, whether you prioritize performance, cost-efficiency, or local deployment. Remember to consult the [LiteLLM documentation](https://docs.litellm.ai/docs/) for the most up-to-date information on supported models and configuration options.
|
||||
|
||||
Reference in New Issue
Block a user