Logger
crewai.Utils
Utility functions and helpers for Crewai integration.
is_primitive
Check if an object is a known primitive type.
dictify
Recursively compute a dictionary representation of an object.
stringify
This is a fallback for objects that we don’t have a better way to serialize.
serialize_crewai_objects
Safely serialize CrewAI objects to prevent recursion.
crewai_postprocess_inputs
Process CrewAI inputs to prevent recursion.
crew_kickoff_postprocess_inputs
Postprocess the inputs to the Crew.kickoff method.
The method has a self which should be an instance of Crew
which is a pydantic model.
The method also has an inputs which is a dict or list[dict] of arguments to pass to the kickoff
method.