docs: enhance decorator documentation and update LLM syntax

This commit is contained in:
Tony Kipkemboi
2025-01-10 14:12:50 -05:00
parent 2131b94ddb
commit 831951efc4
4 changed files with 170 additions and 85 deletions

View File

@@ -73,9 +73,9 @@ result = crew.kickoff()
If you're using the hierarchical process and don't want to set a custom manager agent, you can specify the language model for the manager:
```python Code
from langchain_openai import ChatOpenAI
from crewai import LLM
manager_llm = ChatOpenAI(model_name="gpt-4")
manager_llm = LLM(model="gpt-4o")
crew = Crew(
agents=[researcher, writer],