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:
LogCreative
2024-09-24 12:52:41 +08:00
committed by GitHub
parent 7987bfee39
commit e659b60d8b
2 changed files with 4 additions and 4 deletions

View File

@@ -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.