Skip to content

Bug: Invalid DecisionType Enum Member (AttributeError on TOOL_CALL) #1453

@Tahir-yamin

Description

@Tahir-yamin

Description

The DecisionType enum class in core/framework/schemas/decision.py is missing the TOOL_CALL member. This causes a crash when the runtime attempts to log tool call decisions using this name.

Steps to Reproduce

  1. Create a goal-based agent.
  2. Attempt to record a decision using DecisionType.TOOL_CALL.
  3. Run the agent.

Expected Behavior

The decision should be recorded successfully under the "tool_call" type.

Actual Behavior

The system crashes with AttributeError: type object 'DecisionType' has no attribute 'TOOL_CALL'.

Environment

  • OS: Windows 11
  • Python: 3.13
  • Core Framework: 0.1.0

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions