Devin AI
633f6973b2
test: Update error message in test_agent_invalid_embedder_config
...
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:36:12 +00:00
Devin AI
fb4bdad367
fix: Sort imports in test_agent_knowledge.py using ruff
...
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:34:36 +00:00
Devin AI
c50a88fd40
test: Add comprehensive validation tests for embedder_config
...
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:32:28 +00:00
Devin AI
626b765b86
fix: Sort imports in test_agent_knowledge.py according to isort standards
...
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:32:09 +00:00
Devin AI
566ea3ced8
feat: Add validation and improve documentation for embedder_config
...
- Add validation for embedder_config in Agent class
- Add test cases for invalid embedder configurations
- Improve docstrings with examples and error cases
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:28:34 +00:00
Devin AI
59977a5f7c
fix: Sort imports in test_agent_knowledge.py according to standard order
...
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:27:15 +00:00
Devin AI
bd21eaaf0e
fix: Sort imports in test_agent_knowledge.py
...
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:25:11 +00:00
Devin AI
f02db1a4f5
fix: Agent-level knowledge sources with non-OpenAI embedders
...
- Remove OpenAI default from KnowledgeStorage
- Add proper embedder config inheritance from crew to agent
- Improve error messaging for missing embedder config
- Add tests for agent-level knowledge sources
Fixes #2164
Co-Authored-By: Joe Moura <joao@crewai.com >
2025-02-19 15:23:53 +00:00