Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
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_artifact_accepts_file_from_an_earlier_run
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:469
Function
test_task_artifact_event_names_task_and_agent
(store)
lib/crewai/tests/test_artifacts.py:210
Function
test_task_artifact_failure_does_not_fail_task
(store)
lib/crewai/tests/test_artifacts.py:113
Function
test_task_artifact_file_path_is_checked_when_defined
()
lib/crewai/tests/test_artifacts.py:788
Function
test_task_artifact_saves_file_the_agent_wrote
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:433
Function
test_task_artifact_saves_final_output
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:97
Function
test_task_artifact_skips_missing_file
(store)
lib/crewai/tests/test_artifacts.py:454
Function
test_task_artifact_true_names_it_after_the_task
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:331
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:1884
Function
test_task_copy_with_none_context
()
lib/crewai/tests/test_task.py:1860
Function
test_task_copy_with_not_specified_context
()
lib/crewai/tests/test_task.py:1872
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:936
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:1495
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:181
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:1837
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
Function
test_task_output_exposes_saved_artifact
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:132
Function
test_task_output_import
Test that TaskOutput can be imported from crewai.
lib/crewai/tests/test_imports.py:10
Function
test_task_output_includes_messages
Test that TaskOutput includes messages from agent execution.
lib/crewai/tests/test_task.py:1906
Function
test_task_output_str_with_json_dict
()
lib/crewai/tests/test_task.py:1084
Function
test_task_output_str_with_none
()
lib/crewai/tests/test_task.py:1132
Function
test_task_output_str_with_pydantic
()
lib/crewai/tests/test_task.py:1067
Function
test_task_output_str_with_pydantic_and_json_dict
()
lib/crewai/tests/test_task.py:1112
Function
test_task_output_str_with_raw
()
lib/crewai/tests/test_task.py:1098
Method
test_task_overrides_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:187
Method
test_task_parent_is_crew
Task events should have crew event as parent.
lib/crewai/tests/events/test_event_ordering.py:173
Method
test_task_policy_overrides_agent_end_to_end
(self)
lib/crewai/tests/tools/test_tool_failure.py:392
Function
test_task_prompt_includes_expected_output
()
lib/crewai/tests/test_task.py:79
Method
test_task_references_unknown_agent_raises
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:847
Function
test_task_refits_final_answer_that_does_not_fit_output_json
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1209
Function
test_task_refits_final_answer_that_does_not_fit_output_pydantic
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1181
Function
test_task_rejects_kinds_text_output_cannot_fill
(kind)
lib/crewai/tests/test_artifacts.py:154
Function
test_task_same_callback_both_on_task_and_crew
()
lib/crewai/tests/test_crew.py:2168
Function
test_task_spans_record_the_crewai_version
Task Created and Task Execution are the highest-volume span kinds. They are emitted together by task_started, and both were missing the versi
lib/crewai/tests/telemetry/test_telemetry.py:557
Function
test_task_tool_reflect_agent_tools
()
lib/crewai/tests/test_task.py:26
Function
test_task_tool_takes_precedence_over_agent_tools
()
lib/crewai/tests/test_task.py:50
Function
test_task_tools_override_agent_tools
(researcher)
lib/crewai/tests/test_crew.py:684
Function
test_task_tools_override_agent_tools_with_allow_delegation
Test that task tools override agent tools while preserving delegation tools when allow_delegation=True
lib/crewai/tests/test_crew.py:730
Function
test_task_tools_preserve_code_execution_tools
Test that task tools don't override code execution tools when allow_code_execution=True
lib/crewai/tests/test_crew.py:4424
Function
test_task_with_deterministic_fingerprint
Test using deterministic fingerprints with tasks.
lib/crewai/tests/security/test_deterministic_fingerprints.py:66
Function
test_task_with_failing_guardrail
Test that failing guardrail triggers retry with error context.
lib/crewai/tests/test_task_guardrails.py:73
Function
test_task_with_guardrail_retries
Test that guardrail respects max_retries configuration.
lib/crewai/tests/test_task_guardrails.py:100
Function
test_task_with_max_execution_time
()
lib/crewai/tests/test_task.py:1751
Function
test_task_with_max_execution_time_exceeded
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_task.py:1785
Function
test_task_with_no_arguments
()
lib/crewai/tests/test_crew.py:1669
Function
test_task_with_no_max_execution_time
()
lib/crewai/tests/test_task.py:1729
Function
test_task_with_security_config
Test creating a Task with a SecurityConfig.
lib/crewai/tests/security/test_integration.py:72
Function
test_task_with_successful_guardrail_func
Test that successful guardrail validation passes transformed result.
lib/crewai/tests/test_task_guardrails.py:52
← previous
next →
18,401–18,500 of 19,663, ranked by callers