lkuko

Results issues of lkuko

## Description `StepInput.to_dict()` in `libs/agno/agno/workflow/types.py` uses a truthiness check for the final serialization branch: ```python elif self.previous_step_content: previous_step_content_str = str(self.previous_step_content) ``` Because of this, any **falsy but valid** step result...

## Description `_json_schema_to_pydantic_field()` in `lib/crewai/src/crewai/utilities/pydantic_schema_utils.py` wraps **every** non-required field in `Optional`: ```python if not is_required: type_ = Optional[type_] ``` This is wrong for fields that declare an explicit (non-null) default....

## Description `mem0.memory.utils.extract_json()` only strips the code-fence language tag when it is exactly the lowercase `json`. Any other tag (case variants like `JSON`/`Json`, or a real language like `python`) is...

sdk-python

## Description `mem0.memory.utils.extract_json()` can only fall back to the outermost `{...}`. When the JSON value is a top-level array of objects (no code fence), the leading `[` and trailing `]`...

sdk-python

## Summary `_json_loads_with_repair()` can silently **drop array elements** from a tool call's arguments when a schema-guided `json_repair` result contains a shorter list than the original. This is data loss rather...

triage/confirmed