mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-09-22 02:46:39 +00:00
* fix(flow): resolve @human_feedback emit LLM from the project model Omitting llm= no longer hardcodes OpenAI. Collapse and learn resolve through create_llm so MODEL / MODEL_NAME / OPENAI_MODEL_NAME win, then DEFAULT_LLM_MODEL. * fix(flow): fail closed when human-feedback collapse cannot classify Stop routing to emit[0] when the collapse LLM cannot be called or its response does not match an outcome. Empty skip still uses default_outcome. * refactor(flow): extract human-feedback collapse matching helpers Move match/require outcome helpers out of _collapse_to_outcome so the classify path stays flat. * refactor(flow): catch only LLM call failures in collapse Keep HumanFeedbackCollapseError from matching outside the call try so it is raised once and does not trigger a second prompt. * fix(flow): treat non-object JSON as raw collapse text Avoid AttributeError when the collapse LLM returns JSON that is not an object.
54 KiB
54 KiB