Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_supports_multimodal_gemini
Test Gemini model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:85
Method
test_supports_multimodal_gpt35_does_not
Test GPT-3.5 model does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:90
Method
test_supports_multimodal_gpt4_turbo
Test GPT-4 Turbo model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:74
Method
test_supports_multimodal_gpt4_turbo
Test Azure GPT-4 Turbo supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:265
Method
test_supports_multimodal_gpt4_vision
Test GPT-4 Vision supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:174
Method
test_supports_multimodal_gpt4o
Test GPT-4o model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:65
Method
test_supports_multimodal_gpt4o
Test GPT-4o supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:169
Method
test_supports_multimodal_gpt4o
Test Azure GPT-4o supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:260
Method
test_supports_multimodal_gpt6
(self)
lib/crewai/tests/llms/test_multimodal.py:70
Method
test_supports_multimodal_gpt6
(self, model: str)
lib/crewai/tests/llms/test_multimodal.py:185
Method
test_supports_multimodal_o1
Test O1 model supports multimodal.
lib/crewai/tests/llms/test_multimodal.py:179
Method
test_supports_multimodal_openai_gpt_6
Test Bedrock OpenAI GPT-6 Sol/Luna/Astra support multimodal.
lib/crewai/tests/llms/test_multimodal.py:326
Method
test_supports_stop_words_false_for_responses
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:327
Method
test_supports_stop_words_true_for_completions_gpt4
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:332
Function
test_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
Function
test_suppress_logging_preserves_inherited_level
Keep NOTSET inheritance so later parent-level changes remain effective.
lib/crewai/tests/utilities/test_logger_utils.py:46
Function
test_suppress_logging_restores_level
Restore the configured level after normal, error, and interrupted exits.
lib/crewai/tests/utilities/test_logger_utils.py:26
Function
test_suppressed_flow_failure_matches_finished_event_emission
()
lib/crewai/tests/utilities/test_events.py:700
Method
test_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
Method
test_switch_organization_not_found
(self, mock_console)
lib/cli/tests/organization/test_main.py:156
Method
test_switch_organization_success
(self, mock_settings_class, mock_console)
lib/cli/tests/organization/test_main.py:132
Method
test_switch_organization_unauthorized
(self, mock_console)
lib/cli/tests/organization/test_main.py:229
Method
test_symmetry_on_linear
(self, forward, reverse)
lib/crewai/tests/test_event_record.py:211
Method
test_symmetry_on_tree
(self, forward, reverse)
lib/crewai/tests/test_event_record.py:199
Method
test_sync_call_moves_to_responses
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:437
Method
test_sync_checkpoint_fields_agent
(self)
lib/crewai/tests/test_checkpoint.py:751
Method
test_sync_decorated_tool_arun_raises
Test sync decorated tool arun() raises NotImplementedError.
lib/crewai/tests/tools/test_async_tools.py:120
Method
test_sync_decorated_tool_run
Test sync decorated tool works with run().
lib/crewai/tests/tools/test_async_tools.py:96
Method
test_sync_dict_chunk_id_propagates_to_stream_event
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:346
Function
test_sync_execution_error_reports_the_tool_name
()
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:83
Method
test_sync_kickoff_triggered_by
Synchronous kickoff() should maintain correct triggered_by chains.
lib/crewai/tests/events/test_event_ordering.py:1578
Method
test_sync_method_in_flow_triggered_by
Synchronous methods should still have correct triggered_by.
lib/crewai/tests/events/test_event_ordering.py:1235
Method
test_sync_method_remains_sync
Test that sync methods remain synchronous.
lib/crewai/tests/test_human_feedback_decorator.py:288
Method
test_sync_methods_work
Test that sync methods still work on async interceptor.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:236
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_sync_stream_emits_finish_reason_and_response_id_from_loop
(mock_emit)
lib/crewai/tests/test_llm_streaming_finish_reason.py:65
Method
test_sync_stream_moves_to_responses_stream
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:481
Method
test_sync_stream_returns_the_tool_calls
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:699
Function
test_sync_streaming_context_window_error_becomes_context_length_error
()
lib/crewai/tests/test_llm_litellm_streaming_errors.py:198
Function
test_sync_streaming_error_chunk_already_surfaces_upstream_message
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:430
Function
test_sync_streaming_raises_provider_error
( mock_emit: MagicMock, error: Exception, message: str, attempts: int )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:101
Function
test_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
Function
test_sync_streaming_returns_partial_response_on_mid_stream_error
( mock_emit: MagicMock, )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:228
Function
test_sync_streaming_unsupported_stop_retries_without_stop
( mock_emit: MagicMock, )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:246
Function
test_sync_structured_output_collapses_multimodal_content
()
lib/crewai/tests/llms/test_structured_output_multimodal.py:46
Function
test_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
Function
test_sync_task_execution
(researcher, writer)
lib/crewai/tests/test_crew.py:324
Method
test_sync_tool_arun_raises_not_implemented
Test that sync tool arun() raises NotImplementedError.
lib/crewai/tests/tools/test_async_tools.py:53
Method
test_sync_tool_run_returns_result
Test that sync tool run() returns correct result.
lib/crewai/tests/tools/test_async_tools.py:40
Method
test_sync_turn
(self)
lib/crewai/tests/test_flow_conversation.py:3515
Function
test_sync_usage_limit_error_reports_the_tool_name
()
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:106
Method
test_synthesized_refs_match_the_python_projection
(self)
lib/crewai/tests/test_flow_conversation.py:3370
Function
test_system_and_prompt_template
()
lib/crewai/tests/agents/test_agent.py:911
Method
test_system_messages_are_not_rewritten_for_gpt5
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:203
Function
test_system_section_holds_persona_not_task
(use_native: bool)
lib/crewai/tests/utilities/test_prompts_custom_templates.py:60
Function
test_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
Function
test_table_and_index_exists_helpers
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:664
Function
test_table_exists_reraises_non_942_errors
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1246
Function
test_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
Method
test_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
Function
test_tar_gz_compression
(mock_prepare, mock_compress, mock_exists, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:44
Function
test_task
Create a test task.
lib/crewai/tests/crew/test_async_crew.py:26
Method
test_task_accepts_public_task_config_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:404
Method
test_task_agent_false_blocks
(self)
lib/crewai/tests/test_checkpoint.py:102
Function
test_task_allow_crewai_trigger_context
()
lib/crewai/tests/agents/test_agent.py:964
Function
test_task_allow_crewai_trigger_context_no_payload
()
lib/crewai/tests/agents/test_agent.py:1008
Function
test_task_callback
()
lib/crewai/tests/test_task.py:99
Function
test_task_callback_both_on_task_and_crew
()
lib/crewai/tests/test_crew.py:2133
Function
test_task_callback_on_crew
()
lib/crewai/tests/test_crew.py:2099
Function
test_task_callback_returns_task_output
()
lib/crewai/tests/test_task.py:127
Function
test_task_completion_collapses_pending_plan_steps_but_preserves_failed
()
lib/cli/tests/test_crew_run_tui.py:1899
Method
test_task_context_order_dependency
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:869
Function
test_task_copy_with_list_context
Test that copying a task with list context works correctly.
lib/crewai/tests/test_task.py:1883
Function
test_task_copy_with_none_context
()
lib/crewai/tests/test_task.py:1859
Function
test_task_copy_with_not_specified_context
()
lib/crewai/tests/test_task.py:1871
Method
test_task_defaults_to_inherit
(self)
lib/crewai/tests/tools/test_tool_failure.py:310
Function
test_task_definition_based_on_dict
()
lib/crewai/tests/test_task.py:935
Function
test_task_emits_failed_event_on_execution_error
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:255
Function
test_task_execution_times
()
lib/crewai/tests/test_task.py:1494
Function
test_task_export_keeps_validated_json
(async_path: bool, agent: Agent)
lib/crewai/tests/test_task_converter_output.py:41
Function
test_task_export_retains_pydantic_format_on_converter_fallback
( async_path: bool, agent: Agent, )
lib/crewai/tests/test_task_converter_output.py:60
Function
test_task_failed_closes_span_with_error
(exporter)
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:134
Function
test_task_failed_discards_anything_that_is_not_an_exception_class
A non-exception reaching task_failed records nothing, and still closes as ERROR.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:177
Function
test_task_failed_event_carries_the_class_and_not_the_message
()
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:150
Function
test_task_failure_reports_missing_key_as_its_type
Telemetry records the task's ``error_type``, so the class name is the signal.
lib/crewai/tests/llms/test_missing_api_key.py:355
Function
test_task_fingerprint_property
Test the fingerprint property on Task.
lib/crewai/tests/security/test_integration.py:93
Function
test_task_guardrail
()
lib/crewai/tests/test_project.py:265
Function
test_task_guardrail_process_output
Test that LLMGuardrail correctly validates task output. Note: Due to VCR cassette response ordering issues, the exact results may vary. The t
lib/crewai/tests/test_task_guardrails.py:179
Function
test_task_guardrails_round_trip_through_model_validate
Serialized guardrails must round-trip — None entries would fail validation.
lib/crewai/tests/test_guardrail_serialization.py:93
Method
test_task_inherits_from_crew
(self)
lib/crewai/tests/test_checkpoint.py:95
Function
test_task_interpolation_with_hyphens
()
lib/crewai/tests/test_task.py:1836
Function
test_task_keeps_only_the_raw_answer_when_refit_fails
( use_async: bool, output_json: bool )
lib/crewai/tests/utilities/test_converter.py:1236
Function
test_task_memoization
()
lib/crewai/tests/test_project.py:122
Function
test_task_model_dump_json_with_callable_guardrail_does_not_raise
()
lib/crewai/tests/test_guardrail_serialization.py:67
Function
test_task_model_dump_json_with_callable_guardrails_list
()
lib/crewai/tests/test_guardrail_serialization.py:80
Function
test_task_model_dump_json_with_string_guardrail
()
lib/crewai/tests/test_guardrail_serialization.py:55
Function
test_task_name
()
lib/crewai/tests/test_project.py:204
← previous
next →
18,201–18,300 of 19,482, ranked by callers