[Python] Encounter a pydantic validate error when defining a CrewAI object

Discussão em 'Python' iniciado por Stack, Janeiro 27, 2025.

  1. Stack

    Stack Membro Participativo

    I am a beginner with CrewAI, and I'm running my first CrewAI task (on my localhost). When I defined crew like in the code shown as below, I got a pydantic validation error, which I have included a picture of below. Can anyone help me find the root cause?

    crew = Crew(
    agents=[planner, writer, editor],
    tasks=[plan, write, edit],
    verbose=2
    )


    Here is a picture of the pydantic error

    Continue reading...

Compartilhe esta Página