-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
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
- Create a goal-based agent.
- Attempt to record a decision using
DecisionType.TOOL_CALL. - 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
- Current coverage for
stream_runtime.pywas found to be low (38%). - My PR Fixes #1430 Fix: windows security vulnerability and test failures #1424 includes tests that fix this and improve coverage to 77%.
- @TimothyZhang7 please assign this issue to me @Tahir-yamin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right