Skip to content

Conversation

@manuel-soria
Copy link
Contributor

Hi Joao! I was trying your library and found a typo in the quickstart snippet.

Trying it out now 🔥

@joaomdmoura
Copy link
Collaborator

Thanks @manuel-soria this verbose mode is not in the launched version yet, but I'll cut a new version for it either today or tomorrow 😎👉👉

@joaomdmoura joaomdmoura merged commit 5163a3a into crewAIInc:main Nov 17, 2023
Vidit-Ostwal added a commit to Vidit-Ostwal/crewAI that referenced this pull request Mar 21, 2025
Vidit-Ostwal added a commit to Vidit-Ostwal/crewAI that referenced this pull request Mar 21, 2025
EajksEajks pushed a commit to Agent-EAjks-AI/crewai that referenced this pull request Jul 7, 2025
greysonlalonde pushed a commit that referenced this pull request Sep 26, 2025
- Fixed an issue where multiple tools failed to function if parameters were provided after tool creation.
- Updated tools to correctly process source file/URL passed by the agent post-creation as per documentation.

Closes #<47>
devin-ai-integration bot added a commit that referenced this pull request Nov 14, 2025
- Fix issue #3: Make similarity_threshold and limit optional with defaults
  - Updated BaseTool._default_args_schema to extract default values from function signatures
  - Updated BaseTool._set_args_schema for consistency
  - Now uses inspect.signature() and pydantic.create_model() to properly handle defaults

- Fix issue #1: Make qdrant_client import conditional
  - Moved qdrant_client imports to TYPE_CHECKING block
  - Added runtime imports only when QdrantConfig is actually used
  - Prevents import errors when using ChromaDB without qdrant_client installed

- Added comprehensive tests:
  - test_rag_tool_default_parameters_are_optional: Verifies schema has correct required fields
  - test_rag_tool_chromadb_no_qdrant_import: Ensures ChromaDB usage doesn't import qdrant_client

All existing tests pass. Fixes reported issues where LLM calls would fail with ValidationError
on first attempt due to required fields that should have been optional.

Co-Authored-By: João <joao@crewai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants