MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_multimodal_agent_image_tool_handling
Test that multimodal agents properly handle image tools in the AgentExecutor
lib/crewai/tests/test_crew.py:4541
Functiontest_multimodal_agent_live_image_analysis
Test that multimodal agents can analyze images through a real API call
lib/crewai/tests/test_crew.py:4647
Functiontest_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
Functiontest_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
Functiontest_multiple_2k_character_files
(mock_vector_db, tmpdir)
lib/crewai/tests/knowledge/test_knowledge.py:279
Functiontest_multiple_2k_character_strings
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:115
Methodtest_multiple_after_hooks
Test that multiple after hooks can be registered.
lib/crewai/tests/hooks/test_llm_hooks.py:161
Methodtest_multiple_after_hooks
Test that multiple after hooks can be registered.
lib/crewai/tests/hooks/test_tool_hooks.py:235
Methodtest_multiple_after_hooks_chain_modifications
Test that multiple after hooks can chain modifications.
lib/crewai/tests/hooks/test_llm_hooks.py:247
Methodtest_multiple_after_hooks_chain_modifications
Test that multiple after hooks can chain modifications.
lib/crewai/tests/hooks/test_tool_hooks.py:378
Functiontest_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
Functiontest_multiple_agents_without_a2a
Verify that multiple agents without a2a work correctly.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:72
Functiontest_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
Methodtest_multiple_anthropic_llms_different_interceptors
Test that multiple Anthropic LLMs can have different interceptors.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:97
Functiontest_multiple_async_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:76
Methodtest_multiple_async_requests_same_interceptor
Test that multiple async requests through same interceptor are tracked.
lib/crewai/tests/llms/hooks/test_transport.py:206
Methodtest_multiple_async_tools_run_concurrently
Test that multiple async tools can run concurrently.
lib/crewai/tests/tools/test_async_tools.py:79
Functiontest_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
Functiontest_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
Functiontest_multiple_before_after_kickoff
()
lib/crewai/tests/test_project.py:300
Methodtest_multiple_before_hooks
Test that multiple before hooks can be registered.
lib/crewai/tests/hooks/test_llm_hooks.py:103
Methodtest_multiple_before_hooks
Test that multiple before hooks can be registered.
lib/crewai/tests/hooks/test_tool_hooks.py:142
Methodtest_multiple_before_hooks_execute_in_order
Test that multiple before hooks execute in registration order.
lib/crewai/tests/hooks/test_llm_hooks.py:222
Methodtest_multiple_before_hooks_execute_in_order
Test that multiple before hooks execute in registration order.
lib/crewai/tests/hooks/test_tool_hooks.py:307
Functiontest_multiple_conditional_tasks
Test that having multiple conditional tasks in sequence works correctly.
lib/crewai/tests/test_crew.py:2425
Methodtest_multiple_crews_have_isolated_hooks
Test that different crew instances have isolated hooks.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:114
Functiontest_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
Methodtest_multiple_decorators_all_register
Test that multiple decorated functions all register.
lib/crewai/tests/hooks/test_decorators.py:314
Functiontest_multiple_dependencies
Test handler with multiple dependencies.
lib/crewai/tests/events/test_depends.py:43
Functiontest_multiple_docling_sources
()
lib/crewai/tests/knowledge/test_knowledge.py:535
Methodtest_multiple_edges_same_type
(self)
lib/crewai/tests/test_event_record.py:96
Functiontest_multiple_event_types_concurrent
()
lib/crewai/tests/utilities/events/test_thread_safety.py:146
Methodtest_multiple_feedback_steps
Test a flow with multiple human feedback steps.
lib/crewai/tests/test_human_feedback_integration.py:102
Functiontest_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
Functiontest_multiple_guardrails_empty_list
Test that empty guardrails list works correctly.
lib/crewai/tests/test_task_guardrails.py:557
Functiontest_multiple_guardrails_processing_order
Test that guardrails are processed in the correct order.
lib/crewai/tests/test_task_guardrails.py:601
Functiontest_multiple_guardrails_sequential_processing
Test that multiple guardrails are processed sequentially.
lib/crewai/tests/test_task_guardrails.py:361
Functiontest_multiple_guardrails_with_llm_guardrails
Test mixing callable and LLM guardrails.
lib/crewai/tests/test_task_guardrails.py:576
Functiontest_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
Functiontest_multiple_guardrails_with_mixed_string_and_taskoutput
Test guardrails that return both strings and TaskOutput objects.
lib/crewai/tests/test_task_guardrails.py:443
Functiontest_multiple_guardrails_with_pydantic_output
Test multiple guardrails with Pydantic output model.
lib/crewai/tests/test_task_guardrails.py:635
Functiontest_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
Functiontest_multiple_guardrails_with_validation_failure
Test multiple guardrails where one fails validation.
lib/crewai/tests/test_task_guardrails.py:392
Functiontest_multiple_handlers_for_same_event
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:1006
Functiontest_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
Methodtest_multiple_human_input_rounds
Test multiple rounds of human input with Flow status management.
lib/crewai/tests/test_flow_human_input_integration.py:45
Methodtest_multiple_images_openai
Test OpenAI can process multiple images.
lib/crewai/tests/llms/test_multimodal_integration.py:447
Methodtest_multiple_inbound_calls
Test that interceptor tracks multiple inbound calls.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:174
Methodtest_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
Methodtest_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
Functiontest_multiple_method_persistence
Test state persistence across multiple method executions.
lib/crewai/tests/test_flow_persistence.py:100
Methodtest_multiple_non_null_in_anyof
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:949
Methodtest_multiple_occurrences_of_same_variable
Test that multiple occurrences of the same variable are replaced.
lib/crewai/tests/utilities/test_string_utils.py:22
Functiontest_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
Methodtest_multiple_openai_llms_different_interceptors
Test that multiple OpenAI LLMs can have different interceptors.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:88
Methodtest_multiple_outbound_calls
Test that interceptor tracks multiple outbound calls.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:159
Functiontest_multiple_output_type_error
()
lib/crewai/tests/test_task.py:214
Methodtest_multiple_overflowed_results_reuse_one_file_reader
(self)
lib/crewai/tests/agents/test_agent_executor.py:2665
Methodtest_multiple_pauses_are_safe
Test calling pause multiple times is safe.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:44
Functiontest_multiple_readers_concurrent
()
lib/crewai/tests/utilities/events/test_rw_lock.py:13
Methodtest_multiple_requests_same_interceptor
Test that multiple requests through same interceptor are tracked.
lib/crewai/tests/llms/hooks/test_transport.py:178
Methodtest_multiple_return_columns
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:186
Methodtest_multiple_return_columns_mapped_correctly
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:410
Functiontest_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
Methodtest_multiple_search_paths
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:72
Methodtest_multiple_sequential_context_managers
Test multiple sequential uses of platform_context.
lib/crewai/tests/test_context.py:142
Functiontest_multiple_short_files
(mock_vector_db, tmpdir)
lib/crewai/tests/knowledge/test_knowledge.py:242
Functiontest_multiple_short_strings
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:90
Methodtest_multiple_slow_tools_concurrent
Test that slow async tools benefit from concurrency.
lib/crewai/tests/tools/test_async_tools.py:168
Methodtest_multiple_spaces_collapsed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:50
Methodtest_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
Methodtest_multiple_trailing_slashes
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:87
Methodtest_multiple_yanked_files_picks_first_reason
Test that the first available reason is returned.
lib/cli/tests/test_version.py:285
Methodtest_multiple_yanked_files_picks_first_reason
Test that the first available reason is returned.
lib/crewai/tests/cli/test_version.py:249
Methodtest_mutual_recursion_schema
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1217
Functiontest_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
Functiontest_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
Functiontest_mysql_search_tool_still_runs_search_queries
( mock_rag_client: MagicMock, )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:86
Functiontest_mysql_search_tool_uses_mysql_data_type_metadata
( mock_rag_client: MagicMock, )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:101
Functiontest_name_cannot_escape_the_collections_folder
(client, tmp_path)
lib/crewai/tests/rag/qdrant/test_collection_names.py:105
Methodtest_name_with_hyphens
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:47
Methodtest_name_with_spaces
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:31
Methodtest_name_with_special_chars
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:34
Methodtest_name_with_underscores
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:43
Methodtest_name_with_unicode
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:37
Methodtest_named_callback_restore_is_refused_without_opt_in
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1046
Methodtest_named_callback_runs_once_for_the_remaining_task
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1034
Functiontest_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
Functiontest_nan_seconds_is_rejected_when_passed_positionally
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:81
Functiontest_native_and_litellm_context_windows_match
( native_model: str, litellm_model: str )
lib/crewai/tests/test_llm.py:410
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_native_follow_up_after_tool_result_is_retried
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:443
Functiontest_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
Functiontest_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
Methodtest_native_loop_is_forced_to_answer_async
(self)
lib/crewai/tests/tools/test_tool_failure.py:2074
Methodtest_native_loop_is_warned_then_forced_to_answer
(self)
lib/crewai/tests/tools/test_tool_failure.py:2056
Functiontest_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
Methodtest_native_path_records_unknown_tool
(self)
lib/crewai/tests/tools/test_tool_failure.py:550
← previousnext →15,901–16,000 of 19,482, ranked by callers