MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_summary_chunking_handles_non_additive_prompt_overhead
()
lib/crewai/tests/llms/test_context_window.py:410
Functiontest_summary_chunking_rejects_unsplittable_oversized_content
()
lib/crewai/tests/llms/test_context_window.py:426
Functiontest_summary_chunking_splits_a_single_oversized_text_message
()
lib/crewai/tests/llms/test_context_window.py:389
Functiontest_summary_chunking_uses_the_rendered_request_token_estimator
Prompt overhead affects the chunk boundary, just as it does at call time.
lib/crewai/tests/llms/test_context_window.py:271
Functiontest_summary_extracts_structured_summary_tag
()
lib/crewai/tests/llms/test_context_window.py:335
Functiontest_summary_limits_parallel_requests_to_four
()
lib/crewai/tests/llms/test_context_window.py:359
Functiontest_summary_preserves_system_messages_and_merged_files
()
lib/crewai/tests/llms/test_context_window.py:306
Functiontest_summary_prompt_preserves_tool_and_multimodal_text
()
lib/crewai/tests/llms/test_context_window.py:321
Functiontest_summary_propagates_provider_context_errors
()
lib/crewai/tests/llms/test_context_window.py:349
Methodtest_sums_every_llm_call_in_the_flow
Multiple LLM calls — including bare ``LLM.call(...)`` made outside any crew — accumulate; ``successful_requests`` tracks the call count.
lib/crewai/tests/test_flow_usage_metrics.py:217
Methodtest_supported
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:165
Methodtest_supported_providers_accept_interceptor
Test that supported providers accept and use interceptors.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:247
Methodtest_supports_function_calling
Test that function calling is supported.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:266
Methodtest_supports_function_calling_check
Test that supports_function_calling() is properly checked.
lib/crewai/tests/agents/test_native_tool_calling.py:900
Methodtest_supports_function_calling_completions_openai_model
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:317
Functiontest_supports_function_calling_false
()
lib/crewai/tests/utilities/test_converter.py:295
Methodtest_supports_function_calling_responses
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:312
Functiontest_supports_function_calling_true
()
lib/crewai/tests/utilities/test_converter.py:290
Methodtest_supports_multimodal_always_true
Test Gemini always supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:345
Methodtest_supports_multimodal_any_claude3_plus_and_geo_profile
( self, model: str )
lib/crewai/tests/llms/test_multimodal.py:486
Methodtest_supports_multimodal_claude3
Test Claude 3 model supports multimodal via litellm.
lib/crewai/tests/llms/test_multimodal.py:82
Methodtest_supports_multimodal_claude3
Test Claude 3 supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:133
Methodtest_supports_multimodal_claude3
Test Bedrock Claude 3 supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:428
Methodtest_supports_multimodal_claude3_and_later
(self, model: str)
lib/crewai/tests/llms/test_multimodal.py:154
Methodtest_supports_multimodal_claude4
Test Claude 4 supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:138
Methodtest_supports_multimodal_gemini
Test Gemini model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:88
Methodtest_supports_multimodal_gpt35_does_not
Test GPT-3.5 model does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:93
Methodtest_supports_multimodal_gpt4_turbo
Test GPT-4 Turbo model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:77
Methodtest_supports_multimodal_gpt4_turbo
Test Azure GPT-4 Turbo supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:391
Methodtest_supports_multimodal_gpt4_vision
Test GPT-4 Vision supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:300
Methodtest_supports_multimodal_gpt4o
Test GPT-4o model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:68
Methodtest_supports_multimodal_gpt4o
Test GPT-4o supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:295
Methodtest_supports_multimodal_gpt4o
Test Azure GPT-4o supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:386
Methodtest_supports_multimodal_gpt6
(self)
lib/crewai/tests/llms/test_multimodal.py:73
Methodtest_supports_multimodal_gpt6
(self, model: str)
lib/crewai/tests/llms/test_multimodal.py:311
Methodtest_supports_multimodal_o1
Test O1 model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:305
Methodtest_supports_multimodal_openai_gpt_6
Test Bedrock OpenAI GPT-6 Sol/Luna/Astra support multimodal.
lib/crewai/tests/llms/test_multimodal.py:452
Methodtest_supports_stop_words_false_for_responses
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:327
Methodtest_supports_stop_words_true_for_completions_gpt4
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:332
Functiontest_suppress_flow_events_silences_method_lifecycle_events
``suppress_flow_events=True`` emits no MethodExecution* events on the bus (used by infrastructure flows like AgentExecutor so their control-flow
lib/crewai/tests/utilities/test_events.py:1229
Functiontest_suppress_logging_preserves_inherited_level
Keep NOTSET inheritance so later parent-level changes remain effective.
lib/crewai/tests/utilities/test_logger_utils.py:46
Functiontest_suppress_logging_restores_level
Restore the configured level after normal, error, and interrupted exits.
lib/crewai/tests/utilities/test_logger_utils.py:26
Functiontest_suppressed_flow_failure_matches_finished_event_emission
()
lib/crewai/tests/utilities/test_events.py:700
Methodtest_suppressed_resume_emits_a_matched_lifecycle_pair
A suppressed resume emits exactly one start and one finish. Both lifecycle events used to be gated on ``suppress_flow_events`` here,
lib/crewai/tests/test_async_human_feedback.py:492
Methodtest_switch_organization_not_found
(self, mock_console)
lib/cli/tests/organization/test_main.py:156
Methodtest_switch_organization_success
(self, mock_settings_class, mock_console)
lib/cli/tests/organization/test_main.py:132
Methodtest_switch_organization_unauthorized
(self, mock_console)
lib/cli/tests/organization/test_main.py:229
Functiontest_symlink_inside_cwd_is_allowed
(project: Path)
lib/crewai-files/tests/test_file_path_containment.py:23
Functiontest_symlink_to_sibling_dir_sharing_cwd_prefix_is_rejected
( project: Path, tmp_path: Path )
lib/crewai-files/tests/test_file_path_containment.py:51
Methodtest_symmetry_on_linear
(self, forward, reverse)
lib/crewai/tests/test_event_record.py:211
Methodtest_symmetry_on_tree
(self, forward, reverse)
lib/crewai/tests/test_event_record.py:199
Methodtest_sync_call_moves_to_responses
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:437
Methodtest_sync_checkpoint_fields_agent
(self)
lib/crewai/tests/test_checkpoint.py:751
Methodtest_sync_decorated_tool_arun_raises
Test sync decorated tool arun() raises NotImplementedError.
lib/crewai/tests/tools/test_async_tools.py:120
Methodtest_sync_decorated_tool_run
Test sync decorated tool works with run().
lib/crewai/tests/tools/test_async_tools.py:96
Methodtest_sync_dict_chunk_id_propagates_to_stream_event
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:346
Functiontest_sync_execution_error_reports_the_tool_name
()
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:83
Methodtest_sync_kickoff_triggered_by
Synchronous kickoff() should maintain correct triggered_by chains.
lib/crewai/tests/events/test_event_ordering.py:1578
Methodtest_sync_method_in_flow_triggered_by
Synchronous methods should still have correct triggered_by.
lib/crewai/tests/events/test_event_ordering.py:1235
Methodtest_sync_method_remains_sync
Test that sync methods remain synchronous.
lib/crewai/tests/test_human_feedback_decorator.py:288
Methodtest_sync_methods_work
Test that sync methods still work on async interceptor.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:236
Functiontest_sync_non_streaming_raises_provider_error
( mock_emit: MagicMock, error: Exception, message: str, attempts: int )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:158
Functiontest_sync_plain_surfaces_upstream_timeout_not_typeerror
Not only structured calls: the plain path had the same defect.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:148
Functiontest_sync_producer_puts_the_exception_class_on_the_event
`Task._execute_core` must populate error_type, not just `error`. The tests above construct TaskFailedEvent directly, so a regression in the produ
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:411
Functiontest_sync_run_returns_direct_result
Test that _run in a synchronous tool returns a direct result, not a coroutine.
lib/crewai/tests/tools/test_base_tool.py:166
Functiontest_sync_stream_emits_finish_reason_and_response_id_from_loop
(mock_emit)
lib/crewai/tests/test_llm_streaming_finish_reason.py:65
Methodtest_sync_stream_moves_to_responses_stream
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:481
Methodtest_sync_stream_returns_the_tool_calls
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:699
Functiontest_sync_streaming_context_window_error_becomes_context_length_error
()
lib/crewai/tests/test_llm_litellm_streaming_errors.py:198
Functiontest_sync_streaming_error_chunk_already_surfaces_upstream_message
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:430
Functiontest_sync_streaming_raises_provider_error
( mock_emit: MagicMock, error: Exception, message: str, attempts: int )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:101
Functiontest_sync_streaming_raises_provider_error_raised_mid_iteration
( mock_emit: MagicMock, error: Exception, message: str, attempts: int )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:116
Functiontest_sync_streaming_returns_partial_response_on_mid_stream_error
( mock_emit: MagicMock, )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:228
Functiontest_sync_streaming_unsupported_stop_retries_without_stop
( mock_emit: MagicMock, )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:246
Functiontest_sync_structured_output_collapses_multimodal_content
()
lib/crewai/tests/llms/test_structured_output_multimodal.py:46
Functiontest_sync_structured_surfaces_upstream_timeout_not_typeerror
The reported case: response_model= through a gateway that timed out.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:136
Functiontest_sync_task_execution
(researcher, writer)
lib/crewai/tests/test_crew.py:324
Methodtest_sync_tool_arun_raises_not_implemented
Test that sync tool arun() raises NotImplementedError.
lib/crewai/tests/tools/test_async_tools.py:53
Methodtest_sync_tool_run_returns_result
Test that sync tool run() returns correct result.
lib/crewai/tests/tools/test_async_tools.py:40
Methodtest_sync_turn
(self)
lib/crewai/tests/test_flow_conversation.py:3515
Functiontest_sync_usage_limit_error_reports_the_tool_name
()
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:106
Methodtest_synthesized_refs_match_the_python_projection
(self)
lib/crewai/tests/test_flow_conversation.py:3370
Functiontest_system_and_prompt_template
()
lib/crewai/tests/agents/test_agent.py:911
Methodtest_system_messages_are_not_rewritten_for_gpt5
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:203
Functiontest_system_section_holds_persona_not_task
(use_native: bool)
lib/crewai/tests/utilities/test_prompts_custom_templates.py:60
Functiontest_system_text_goes_to_the_system_parameter_not_the_turns
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:275
Functiontest_table_and_index_exists_helpers
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:664
Functiontest_table_exists_reraises_non_942_errors
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1246
Functiontest_table_header_with_trailing_comment_is_found
A commented header is valid TOML; missing it appends a duplicate table.
lib/crewai/tests/telemetry/test_project_id.py:226
Methodtest_table_name_is_parameterised
_fetch_all_available_columns must not interpolate table_name into SQL.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:126
Functiontest_tar_gz_compression
(mock_prepare, mock_compress, mock_exists, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:44
Functiontest_task
Create a test task.
lib/crewai/tests/crew/test_async_crew.py:26
Methodtest_task_accepts_public_task_config_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:404
Methodtest_task_agent_false_blocks
(self)
lib/crewai/tests/test_checkpoint.py:102
Functiontest_task_allow_crewai_trigger_context
()
lib/crewai/tests/agents/test_agent.py:964
Functiontest_task_allow_crewai_trigger_context_no_payload
()
lib/crewai/tests/agents/test_agent.py:1008
Functiontest_task_artifact_accepts_file_from_an_earlier_run
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:515
Functiontest_task_artifact_event_names_task_and_agent
(store)
lib/crewai/tests/test_artifacts.py:256
Functiontest_task_artifact_failure_does_not_fail_task
(store)
lib/crewai/tests/test_artifacts.py:159
Functiontest_task_artifact_file_path_is_checked_when_defined
()
lib/crewai/tests/test_artifacts.py:834
← previousnext →18,401–18,500 of 19,735, ranked by callers