MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

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:559
Functiontest_multiple_guardrails_processing_order
Test that guardrails are processed in the correct order.
lib/crewai/tests/test_task_guardrails.py:603
Functiontest_multiple_guardrails_sequential_processing
Test that multiple guardrails are processed sequentially.
lib/crewai/tests/test_task_guardrails.py:363
Functiontest_multiple_guardrails_with_llm_guardrails
Test mixing callable and LLM guardrails.
lib/crewai/tests/test_task_guardrails.py:578
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:527
Functiontest_multiple_guardrails_with_mixed_string_and_taskoutput
Test guardrails that return both strings and TaskOutput objects.
lib/crewai/tests/test_task_guardrails.py:445
Functiontest_multiple_guardrails_with_pydantic_output
Test multiple guardrails with Pydantic output model.
lib/crewai/tests/test_task_guardrails.py:637
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:484
Functiontest_multiple_guardrails_with_validation_failure
Test multiple guardrails where one fails validation.
lib/crewai/tests/test_task_guardrails.py:394
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:997
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:215
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:1101
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:1265
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
Functiontest_native_provider_falls_back_to_litellm_when_not_in_supported_list
Test that when a provider is not in SUPPORTED_NATIVE_PROVIDERS, we fall back to LiteLLM.
lib/crewai/tests/test_llm.py:1034
Functiontest_native_provider_raises_error_when_supported_but_fails
Test that when a native provider is in SUPPORTED_NATIVE_PROVIDERS but fails to instantiate, we raise the error.
lib/crewai/tests/test_llm.py:1017
Methodtest_native_step_loop_keeps_its_result
(self)
lib/crewai/tests/tools/test_tool_failure.py:2243
Methodtest_native_step_preserves_tool_result_when_final_answer_is_empty
The planner should receive evidence from a successful native tool call.
lib/crewai/tests/agents/test_agent_executor.py:968
Methodtest_native_step_sees_the_warning_before_the_stop
(self)
lib/crewai/tests/tools/test_tool_failure.py:2277
Methodtest_native_step_streak_completed_mid_batch_still_ends_the_step
(self)
lib/crewai/tests/tools/test_tool_failure.py:2254
Functiontest_native_structured_output_async
(model)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2055
Functiontest_native_structured_output_async_streaming
(model)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2101
Functiontest_native_structured_output_keeps_caller_tools
The native path leaves the caller's tools in place; the fallback replaces them.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2123
Functiontest_native_structured_output_sync
Current Claude models ask the API for JSON directly, not via a forced tool.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2032
Functiontest_native_structured_output_sync_streaming
(model)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2077
Functiontest_native_tool_calling_error_handling
Test that native tool calling handles errors properly and emits error events.
lib/crewai/tests/agents/test_native_tool_calling.py:962
Functiontest_native_tool_calling_uses_native_task_slice_in_prompt_slot
()
lib/crewai/tests/utilities/test_prompts_custom_templates.py:28
Methodtest_native_tools_uses_native_task_slice
Test that native tool calling uses native_task slice.
lib/crewai/tests/utilities/test_prompts_no_thought_leakage.py:91
Functiontest_native_trace_lifetime_includes_every_custom_reply
(monkeypatch, trace_scope)
lib/crewai/tests/telemetry/test_conversation_spans.py:69
Functiontest_native_turn_and_stream_contracts_are_unchanged
()
lib/crewai/tests/test_flow_turns.py:226
Functiontest_navigate_command
Test the 'navigate' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:156
Functiontest_negative_context_window_size_is_rejected
(value: int)
lib/crewai/tests/llms/test_context_window.py:666
Functiontest_negative_dot_threshold_filters_by_max_distance
(source)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1299
Methodtest_negative_index
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:60
Methodtest_negative_max_distance_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:177
Functiontest_negative_seconds_is_rejected
(tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:55
Functiontest_negative_seconds_is_rejected_when_passed_positionally
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:61
Methodtest_neighbors_empty
(self)
lib/crewai/tests/test_event_record.py:92
Functiontest_neither_agent_drops_a_message_when_the_tail_is_not_a_user_turn
The role-sequence check only agrees on a list ending in a user message. `Agent` has a task slot in its prompt and `LiteAgent` does not, so when t
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:99
Methodtest_nested_agent_executor_flow_does_not_finalize_parent_batch
( self, )
lib/crewai/tests/test_flow_conversation.py:2182
Functiontest_nested_and_or_conditions
Test nested conditions like or_(and_(A, B), and_(C, D)). Reproduces bug from issue #3719 where nested conditions are flattened, causing prema
lib/crewai/tests/test_flow.py:1229
Functiontest_nested_consent_callbacks_restore_previous_context
(collector)
lib/crewai/tests/telemetry/test_session_trace_export.py:658
Methodtest_nested_crew_completion_skips_finalize
(self)
lib/crewai/tests/test_flow_conversation.py:2097
← previousnext →16,101–16,200 of 19,735, ranked by callers