Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
Function
test_mixed_sync_and_async_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:100
Function
test_mixed_sync_async_execution_order
Test that execution order is preserved with mixed sync/async methods.
lib/crewai/tests/test_flow.py:1664
Function
test_mixed_sync_async_handler_execution
()
lib/crewai/tests/utilities/events/test_shutdown.py:241
Function
test_mixed_sync_async_task_outputs_not_dropped
Sync outputs accumulated before a pending async batch must survive the flush.
lib/crewai/tests/test_crew.py:1226
Function
test_mixed_sync_async_task_outputs_not_dropped_native_async
Same regression as the sync path, exercised via akickoff (native async).
lib/crewai/tests/test_crew.py:1262
Method
test_mixin_handle_turn_resolves_on_flow_subclass
``Flow`` mixes in ``_ConversationalMixin`` — opt-in subclasses get its methods. The conversational graph + ``handle_turn`` live on the mixin
lib/crewai/tests/test_flow_conversation.py:1030
Method
test_mock_provider_satisfies_protocol
MockInputProvider satisfies the InputProvider protocol.
lib/crewai/tests/test_flow_ask.py:921
Method
test_model_accepts_valid_recursive_data
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1204
Method
test_model_alias_normalization
Test 'model' parameter maps to 'model_name'.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:142
Function
test_model_copy_update_uses_clones_llm_and_tools
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:222
Method
test_model_creation
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1004
Method
test_model_creation_succeeds
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1199
Method
test_model_dump_includes_new_fields
(self)
lib/crewai/tests/events/test_llm_usage_event.py:294
Method
test_model_id_string
(self)
lib/crewai/tests/test_flow_conversation.py:2921
Method
test_model_name_fallback_to_dynamic
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:515
Method
test_model_name_fallback_to_title
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:505
Method
test_model_name_for_mcp_tool
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1028
Function
test_model_name_is_read_when_model_is_not_set
(project, children, no_prompt)
lib/cli/tests/test_api_keys.py:1301
Method
test_model_name_override
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:495
Method
test_model_name_takes_precedence
Test that model_name takes precedence over model if both are given.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:150
Method
test_model_rejects_missing_required_field
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1210
Function
test_model_setter_marks_model_explicit
Assigning through the model setter also overrides the complexity map.
lib/crewai-tools/tests/tools/test_vision_tool.py:44
Function
test_model_setter_preserves_explicit_llm
(mock_llm_cls: MagicMock)
lib/crewai-tools/tests/tools/test_vision_tool.py:178
Function
test_model_setter_switches_cached_model
(mock_llm_cls: MagicMock)
lib/crewai-tools/tests/tools/test_vision_tool.py:192
Method
test_model_with_hidden_values_reaches_the_reviewer_unchanged
(self, original)
lib/crewai/tests/test_human_feedback_decorator.py:1103
Method
test_model_without_hidden_values_is_still_reviewed
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1115
Function
test_models_are_compared_on_the_deployment_and_the_table_printed
(deployed, monkeypatch, capsys, open_report)
lib/cli/tests/experimental/test_eval_crew.py:1717
Method
test_models_that_accept_none_stay_on_chat
(self, monkeypatch, model)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:548
Function
test_modern_crewai_pin_does_not_warn
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:683
Function
test_module_handles_missing_oracledb_import
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:765
Method
test_module_level_function
(self)
lib/crewai/tests/test_callback.py:60
Method
test_more_than_five_filters_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:455
Method
test_more_than_twenty_columns_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:281
Method
test_mostly_text_with_some_numbers_is_mixed
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:559
Method
test_multi_hyphen_segments
(self)
lib/crewai/tests/skills/test_validation.py:41
Function
test_multi_picker_skips_separator_on_initial_cursor
(monkeypatch)
lib/cli/tests/test_create_crew.py:1171
Method
test_multi_statement_allowed_when_dml_enabled
Multiple statements are permitted when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:276
Method
test_multi_statement_blocked_even_with_only_selects
Two SELECT statements are still rejected in read-only mode.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:264
Method
test_multi_statement_blocked_in_read_only_mode
SELECT 1; DROP TABLE users must be rejected when allow_dml=False.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:258
Method
test_multi_statement_write_still_blocked_individually
Even with allow_dml=False, a single write statement is blocked.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:282
Function
test_multi_step_default_override
Test default value override with multiple start methods.
lib/crewai/tests/test_flow_default_override.py:59
Function
test_multibyte_character_past_a_prefix_boundary_still_reads_as_text
The sniff decodes the whole body, so no character is split in half. Decoding only a leading slice rejects valid UTF-8 whenever a multi-byte c
lib/crewai-tools/tests/url_read_tool_test.py:525
Method
test_multiline_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:170
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:4585
Function
test_multimodal_agent_image_tool_handling
Test that multimodal agents properly handle image tools in the AgentExecutor
lib/crewai/tests/test_crew.py:4517
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:4623
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:4473
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:269
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:265
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
← previous
next →
15,701–15,800 of 19,264, ranked by callers