- Update test assertions to match new knowledge context format
- Replace API-dependent test with mock-based approach
- Ensure tests can run without external API access
Part of #2269
Co-Authored-By: Joe Moura <joao@crewai.com>
- Add test to verify knowledge is effectively used in agent execution
- Test checks that knowledge from agent is correctly used in response
- Verifies fix for issue #2269
Co-Authored-By: Joe Moura <joao@crewai.com>
- Make knowledge context more explicit and instructive for LLM
- Add clear instructions to use provided context
- Add comprehensive test coverage for knowledge utils
Fixes#2269
Co-Authored-By: Joe Moura <joao@crewai.com>