mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-27 17:18:13 +00:00
Fix CI failures: resolve type checker errors and test failures
- Fix type checker errors in reasoning_handler.py: handle Union[str, dict] response types - Fix type checker error in crew_chat.py: convert final_response to string for dict - Update test_task_callback_returns_task_output to include completion_metadata field - Fix integration test attribute access in test_lite_agent_with_xml_extraction Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -79,7 +79,7 @@ class TestIntegrationLLMFeatures:
|
||||
|
||||
result = lite_agent.kickoff("Analyze this problem")
|
||||
|
||||
thinking_content = extract_xml_content(result.raw, "thinking")
|
||||
thinking_content = extract_xml_content(result, "thinking")
|
||||
assert thinking_content is not None
|
||||
assert "step by step" in thinking_content
|
||||
assert "requirements" in thinking_content
|
||||
|
||||
Reference in New Issue
Block a user