Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_multimodal_agent_describing_image_successfully
Test that a multimodal agent can process images without validation errors. This test reproduces the scenario from issue #2475.
lib/crewai/tests/test_crew.py:4609
Function
test_multimodal_agent_image_tool_handling
Test that multimodal agents properly handle image tools in the AgentExecutor
lib/crewai/tests/test_crew.py:4541
Function
test_multimodal_agent_live_image_analysis
Test that multimodal agents can analyze images through a real API call
lib/crewai/tests/test_crew.py:4647
Function
test_multimodal_agent_with_image_url
Test that a multimodal agent can process images without validation errors. This test reproduces the scenario from issue #2475.
lib/crewai/tests/test_multimodal_validation.py:8
Function
test_multimodal_flag_adds_multimodal_tools
Test that an agent with multimodal=True automatically has multimodal tools added when the LLM does not natively support multimodal content.
lib/crewai/tests/test_crew.py:4497
Function
test_multiple_2k_character_files
(mock_vector_db, tmpdir)
lib/crewai/tests/knowledge/test_knowledge.py:279
Function
test_multiple_2k_character_strings
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:115
Method
test_multiple_after_hooks
Test that multiple after hooks can be registered.
lib/crewai/tests/hooks/test_llm_hooks.py:161
Method
test_multiple_after_hooks
Test that multiple after hooks can be registered.
lib/crewai/tests/hooks/test_tool_hooks.py:235
Method
test_multiple_after_hooks_chain_modifications
Test that multiple after hooks can chain modifications.
lib/crewai/tests/hooks/test_llm_hooks.py:247
Method
test_multiple_after_hooks_chain_modifications
Test that multiple after hooks can chain modifications.
lib/crewai/tests/hooks/test_tool_hooks.py:378
Function
test_multiple_agents_in_same_flow
Test that multiple LiteAgents can run sequentially in the same Flow.
lib/crewai/tests/agents/test_lite_agent.py:812
Function
test_multiple_agents_without_a2a
Verify that multiple agents without a2a work correctly.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:72
Function
test_multiple_anthropic_calls_in_crew
Test that AnthropicCompletion.call is invoked multiple times for multiple tasks
lib/crewai/tests/llms/anthropic/test_anthropic.py:295
Method
test_multiple_anthropic_llms_different_interceptors
Test that multiple Anthropic LLMs can have different interceptors.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:97
Function
test_multiple_async_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:76
Method
test_multiple_async_requests_same_interceptor
Test that multiple async requests through same interceptor are tracked.
lib/crewai/tests/llms/hooks/test_transport.py:206
Method
test_multiple_async_tools_run_concurrently
Test that multiple async tools can run concurrently.
lib/crewai/tests/tools/test_async_tools.py:79
Function
test_multiple_azure_calls_in_crew
Test that AzureCompletion.call is invoked multiple times for multiple tasks
lib/crewai/tests/llms/azure/test_azure.py:270
Function
test_multiple_bedrock_calls_in_crew
Test that BedrockCompletion.call is invoked multiple times for multiple tasks
lib/crewai/tests/llms/bedrock/test_bedrock.py:324
Function
test_multiple_before_after_kickoff
()
lib/crewai/tests/test_project.py:300
Method
test_multiple_before_hooks
Test that multiple before hooks can be registered.
lib/crewai/tests/hooks/test_llm_hooks.py:103
Method
test_multiple_before_hooks
Test that multiple before hooks can be registered.
lib/crewai/tests/hooks/test_tool_hooks.py:142
Method
test_multiple_before_hooks_execute_in_order
Test that multiple before hooks execute in registration order.
lib/crewai/tests/hooks/test_llm_hooks.py:222
Method
test_multiple_before_hooks_execute_in_order
Test that multiple before hooks execute in registration order.
lib/crewai/tests/hooks/test_tool_hooks.py:307
Function
test_multiple_conditional_tasks
Test that having multiple conditional tasks in sequence works correctly.
lib/crewai/tests/test_crew.py:2425
Method
test_multiple_crews_have_isolated_hooks
Test that different crew instances have isolated hooks.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:114
Function
test_multiple_crews_in_flow_span_lifecycle
Test that multiple crews in a flow each get proper execution spans. This ensures that when multiple crews are executed sequentially in different
lib/crewai/tests/telemetry/test_flow_crew_span_integration.py:185
Method
test_multiple_decorators_all_register
Test that multiple decorated functions all register.
lib/crewai/tests/hooks/test_decorators.py:314
Function
test_multiple_dependencies
Test handler with multiple dependencies.
lib/crewai/tests/events/test_depends.py:43
Function
test_multiple_docling_sources
()
lib/crewai/tests/knowledge/test_knowledge.py:535
Method
test_multiple_edges_same_type
(self)
lib/crewai/tests/test_event_record.py:96
Function
test_multiple_event_types_concurrent
()
lib/crewai/tests/utilities/events/test_thread_safety.py:146
Method
test_multiple_feedback_steps
Test a flow with multiple human feedback steps.
lib/crewai/tests/test_human_feedback_integration.py:102
Function
test_multiple_gemini_calls_in_crew
Test that GeminiCompletion.call is invoked multiple times for multiple tasks
lib/crewai/tests/llms/google/test_google.py:364
Function
test_multiple_guardrails_empty_list
Test that empty guardrails list works correctly.
lib/crewai/tests/test_task_guardrails.py:557
Function
test_multiple_guardrails_processing_order
Test that guardrails are processed in the correct order.
lib/crewai/tests/test_task_guardrails.py:601
Function
test_multiple_guardrails_sequential_processing
Test that multiple guardrails are processed sequentially.
lib/crewai/tests/test_task_guardrails.py:361
Function
test_multiple_guardrails_with_llm_guardrails
Test mixing callable and LLM guardrails.
lib/crewai/tests/test_task_guardrails.py:576
Function
test_multiple_guardrails_with_max_retries_exceeded
Test that exception is raised when max retries exceeded with multiple guardrails.
lib/crewai/tests/test_task_guardrails.py:525
Function
test_multiple_guardrails_with_mixed_string_and_taskoutput
Test guardrails that return both strings and TaskOutput objects.
lib/crewai/tests/test_task_guardrails.py:443
Function
test_multiple_guardrails_with_pydantic_output
Test multiple guardrails with Pydantic output model.
lib/crewai/tests/test_task_guardrails.py:635
Function
test_multiple_guardrails_with_retry_on_middle_guardrail
Test that retry works correctly when a middle guardrail fails.
lib/crewai/tests/test_task_guardrails.py:482
Function
test_multiple_guardrails_with_validation_failure
Test multiple guardrails where one fails validation.
lib/crewai/tests/test_task_guardrails.py:392
Function
test_multiple_handlers_for_same_event
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:1006
Function
test_multiple_handlers_same_event
Test that multiple handlers can be registered for the same event type.
lib/crewai/tests/utilities/events/test_crewai_event_bus.py:35
Method
test_multiple_human_input_rounds
Test multiple rounds of human input with Flow status management.
lib/crewai/tests/test_flow_human_input_integration.py:45
Method
test_multiple_images_openai
Test OpenAI can process multiple images.
lib/crewai/tests/llms/test_multimodal_integration.py:447
Method
test_multiple_inbound_calls
Test that interceptor tracks multiple inbound calls.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:174
Method
test_multiple_instances_maintain_separate_state
Test that multiple instances of the same crew maintain separate state.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:525
Method
test_multiple_kickoffs_maintain_chains
Multiple akickoff() calls should maintain correct triggered_by chains for each execution.
lib/crewai/tests/events/test_event_ordering.py:961
Function
test_multiple_method_persistence
Test state persistence across multiple method executions.
lib/crewai/tests/test_flow_persistence.py:100
Method
test_multiple_non_null_in_anyof
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:949
Method
test_multiple_occurrences_of_same_variable
Test that multiple occurrences of the same variable are replaced.
lib/crewai/tests/utilities/test_string_utils.py:22
Function
test_multiple_openai_calls_in_crew
Test that OpenAICompletion.call is invoked multiple times for multiple tasks
lib/crewai/tests/llms/openai/test_openai.py:370
Method
test_multiple_openai_llms_different_interceptors
Test that multiple OpenAI LLMs can have different interceptors.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:88
Method
test_multiple_outbound_calls
Test that interceptor tracks multiple outbound calls.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:159
Function
test_multiple_output_type_error
()
lib/crewai/tests/test_task.py:214
Method
test_multiple_overflowed_results_reuse_one_file_reader
(self)
lib/crewai/tests/agents/test_agent_executor.py:2665
Method
test_multiple_pauses_are_safe
Test calling pause multiple times is safe.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:44
Function
test_multiple_readers_concurrent
()
lib/crewai/tests/utilities/events/test_rw_lock.py:13
Method
test_multiple_requests_same_interceptor
Test that multiple requests through same interceptor are tracked.
lib/crewai/tests/llms/hooks/test_transport.py:178
Method
test_multiple_return_columns
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:186
Method
test_multiple_return_columns_mapped_correctly
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:410
Function
test_multiple_routers_from_same_trigger
Test that multiple routers triggered by the same method all activate their listeners.
lib/crewai/tests/test_flow.py:1100
Method
test_multiple_search_paths
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:72
Method
test_multiple_sequential_context_managers
Test multiple sequential uses of platform_context.
lib/crewai/tests/test_context.py:142
Function
test_multiple_short_files
(mock_vector_db, tmpdir)
lib/crewai/tests/knowledge/test_knowledge.py:242
Function
test_multiple_short_strings
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:90
Method
test_multiple_slow_tools_concurrent
Test that slow async tools benefit from concurrency.
lib/crewai/tests/tools/test_async_tools.py:168
Method
test_multiple_spaces_collapsed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:50
Method
test_multiple_start_methods_triggered_by
Multiple start methods should each have triggered_by_event_id=None.
lib/crewai/tests/events/test_event_ordering.py:1283
Method
test_multiple_trailing_slashes
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:87
Method
test_multiple_yanked_files_picks_first_reason
Test that the first available reason is returned.
lib/cli/tests/test_version.py:285
Method
test_multiple_yanked_files_picks_first_reason
Test that the first available reason is returned.
lib/crewai/tests/cli/test_version.py:249
Method
test_mutual_recursion_schema
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1217
Function
test_mysql_search_tool_quotes_valid_table_identifiers
( mock_rag_client: MagicMock, table_name: str, expected_query: str )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:47
Function
test_mysql_search_tool_rejects_invalid_table_identifiers
( mock_rag_client: MagicMock, table_name: str )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:74
Function
test_mysql_search_tool_still_runs_search_queries
( mock_rag_client: MagicMock, )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:86
Function
test_mysql_search_tool_uses_mysql_data_type_metadata
( mock_rag_client: MagicMock, )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:101
Function
test_name_cannot_escape_the_collections_folder
(client, tmp_path)
lib/crewai/tests/rag/qdrant/test_collection_names.py:105
Method
test_name_with_hyphens
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:47
Method
test_name_with_spaces
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:31
Method
test_name_with_special_chars
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:34
Method
test_name_with_underscores
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:43
Method
test_name_with_unicode
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:37
Method
test_named_callback_restore_is_refused_without_opt_in
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1046
Method
test_named_callback_runs_once_for_the_remaining_task
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1034
Function
test_namespace_rebuild_still_resolves_forward_refs
Fails, where the RuntimeState tests that skip on a failed rebuild would not.
lib/crewai/tests/test_imports.py:138
Function
test_nan_seconds_is_rejected_when_passed_positionally
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:81
Function
test_native_and_litellm_context_windows_match
( native_model: str, litellm_model: str )
lib/crewai/tests/test_llm.py:410
Function
test_native_anthropic_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Anthropic completion fails to initialize. This ensures we don't silently fall back when there's
lib/crewai/tests/llms/anthropic/test_anthropic.py:73
Function
test_native_azure_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Azure completion fails to initialize. This ensures we don't silently fall back when there's a co
lib/crewai/tests/llms/azure/test_azure.py:121
Function
test_native_bedrock_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Bedrock completion fails. With the new behavior, when a native provider is in SUPPORTED_NATIVE_
lib/crewai/tests/llms/bedrock/test_bedrock.py:139
Function
test_native_follow_up_after_tool_result_is_retried
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:443
Function
test_native_gemini_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Gemini completion fails. With the new behavior, when a native provider is in SUPPORTED_NATIVE_P
lib/crewai/tests/llms/google/test_google.py:97
Function
test_native_ivf_index
Verify the index helper sends DocumentDB's native IVF definition.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:108
Method
test_native_loop_is_forced_to_answer_async
(self)
lib/crewai/tests/tools/test_tool_failure.py:2074
Method
test_native_loop_is_warned_then_forced_to_answer
(self)
lib/crewai/tests/tools/test_tool_failure.py:2056
Function
test_native_openai_raises_error_when_initialization_fails
Test that LLM raises ImportError when native OpenAI completion fails to initialize. This ensures we don't silently fall back when there's a c
lib/crewai/tests/llms/openai/test_openai.py:251
← previous
next →
15,901–16,000 of 19,484, ranked by callers