Skip to content

[BUG] Task can't be configured when passing None as a context parameter via YAML #3696

@Vidit-Ostwal

Description

@Vidit-Ostwal

Description

Throws out an error message when tried to do so.

Image

Steps to Reproduce

Try to make a task with context parameter as None

Expected behavior

Should configure without any issues.

Screenshots/Code snippets

Added

Operating System

macOS Sonoma

Python Version

3.11

crewAI Version

Latest

crewAI Tools Version

Latest

Virtual Environment

Conda

Evidence

Added

Possible Solution

Added #3695

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions