MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Methodtest_async_agent_memoization
Async agent methods should be properly memoized.
lib/crewai/tests/test_project.py:426
Methodtest_async_agent_returns_agent_not_coroutine
Async agent decorator should return Agent, not coroutine.
lib/crewai/tests/test_project.py:483
Methodtest_async_agent_with_image
Test async agent with image file.
lib/crewai/tests/test_agent_multimodal.py:423
Methodtest_async_call_moves_to_responses
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:460
Methodtest_async_calls_on_an_empty_store_match_sync
( self, storage_pair: tuple[StorageBackend, StorageBackend] )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:230
Methodtest_async_context_manager
Test using streaming output as async context manager.
lib/crewai/tests/test_streaming.py:800
Methodtest_async_context_manager_early_exit
Test context manager cleans up on early exit.
lib/crewai/tests/test_streaming.py:818
Methodtest_async_crews_thread_safety
(self, mock_execute_task, crew_factory)
lib/crewai/tests/test_crew_thread_safety.py:132
Methodtest_async_decorated_tool_arun
Test async decorated tool works with arun().
lib/crewai/tests/tools/test_async_tools.py:132
Methodtest_async_decorated_tool_run
Test async decorated tool works with run().
lib/crewai/tests/tools/test_async_tools.py:107
Methodtest_async_decorator_tool_arun_rejects_missing_required
Async decorator tools should reject missing required args in arun.
lib/crewai/tests/tools/test_base_tool.py:701
Methodtest_async_decorator_tool_arun_validates_kwargs
Async decorator tools should validate kwargs in arun.
lib/crewai/tests/tools/test_base_tool.py:690
Methodtest_async_dict_chunk_id_propagates_to_stream_event
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:360
Functiontest_async_execution
()
lib/crewai/tests/test_task.py:193
Functiontest_async_execution_error_reports_the_tool_name
()
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:95
Functiontest_async_execution_fails
()
lib/crewai/tests/test_task.py:1943
Functiontest_async_flow
Test an asynchronous flow.
lib/crewai/tests/test_flow.py:460
Methodtest_async_flow_streaming_from_docs
Test async flow streaming example from documentation.
lib/crewai/tests/test_streaming_integration.py:266
Methodtest_async_flow_with_human_feedback
Test that @human_feedback works with async flows.
lib/crewai/tests/test_human_feedback_integration.py:578
Methodtest_async_flow_with_image
Test async flow with image file.
lib/crewai/tests/test_flow_multimodal.py:331
Functiontest_async_flow_with_trigger_payload
()
lib/crewai/tests/test_flow.py:873
Functiontest_async_handler_error_handling
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:130
Functiontest_async_handler_execution
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:20
Functiontest_async_handler_registration_via_register_handler
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:158
Functiontest_async_handler_with_dependency
Test async handler with dependency on sync handler.
lib/crewai/tests/events/test_depends.py:104
Functiontest_async_handlers_complete_before_shutdown_flag
()
lib/crewai/tests/utilities/events/test_shutdown.py:137
Methodtest_async_human_feedback_final_output_preserved
Async @human_feedback methods also preserve the real return value.
lib/crewai/tests/test_human_feedback_decorator.py:1233
Methodtest_async_human_feedback_reruns_flow_with_state_messages
Async human feedback should use AgentExecutor state messages.
lib/crewai/tests/agents/test_agent_executor.py:251
Methodtest_async_inbound
Test async inbound hook.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:263
Methodtest_async_interceptor_called_on_request
Test that async interceptor hooks are called during request handling.
lib/crewai/tests/llms/hooks/test_transport.py:138
Functiontest_async_kickoff_for_each_async_basic_functionality_and_output
Tests the basic functionality and output of kickoff_for_each_async.
lib/crewai/tests/test_crew.py:1502
Functiontest_async_kickoff_for_each_async_empty_input
Tests if akickoff_for_each_async handles an empty input list.
lib/crewai/tests/test_crew.py:1547
Methodtest_async_kickoff_reports_per_call_usage
(self)
lib/crewai/tests/agents/test_lite_agent.py:1278
Functiontest_async_kickoff_saves_off_the_event_loop
(store)
lib/crewai/tests/test_artifacts.py:643
Methodtest_async_method_detection
Test that async methods are properly detected and wrapped.
lib/crewai/tests/test_human_feedback_decorator.py:279
Functiontest_async_negative_seconds_is_rejected_when_passed_positionally
(tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:70
Functiontest_async_non_streaming_raises_provider_error
( mock_emit: MagicMock, error: Exception, message: str, attempts: int )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:174
Methodtest_async_outbound
Test async outbound hook.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:249
Methodtest_async_path_falls_back_too
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_responses_only_models.py:151
Methodtest_async_path_retries_too
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:314
Functiontest_async_paths_download_off_the_event_loop
(downloads, entry)
lib/crewai/tests/agents/test_agent_spreadsheets.py:571
Functiontest_async_plain_surfaces_upstream_timeout
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:172
Functiontest_async_producer_puts_the_exception_class_on_the_event
The async producer is a separate emit site and regresses independently.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:433
Methodtest_async_provider_pauses_flow
Test that async provider pauses flow execution.
lib/crewai/tests/test_async_human_feedback.py:902
Functiontest_async_run_returns_coroutine
Test that _run in an asynchronous tool returns a coroutine object.
lib/crewai/tests/tools/test_base_tool.py:178
Functiontest_async_save_and_restore
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:53
Methodtest_async_saved_records_survive_reopen
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:315
Functiontest_async_stream_channel_projection_can_be_followed_by_cached_projection
()
lib/crewai/tests/test_stream_frames.py:266
Functiontest_async_stream_emits_finish_reason_and_response_id_from_loop
(mock_emit)
lib/crewai/tests/test_llm_streaming_finish_reason.py:79
Methodtest_async_stream_moves_to_responses_stream
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:499
Functiontest_async_stream_projections_replay_cached_frames_after_exhaustion
()
lib/crewai/tests/test_stream_frames.py:249
Methodtest_async_stream_returns_the_tool_calls
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:717
Functiontest_async_streaming_context_window_error_becomes_context_length_error
()
lib/crewai/tests/test_llm_litellm_streaming_errors.py:212
Functiontest_async_streaming_error_chunk_already_surfaces_upstream_message
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:445
Methodtest_async_streaming_from_docs
Test async streaming example from documentation.
lib/crewai/tests/test_streaming_integration.py:121
Functiontest_async_streaming_raises_provider_error
( mock_emit: MagicMock, error: Exception, message: str, attempts: int )
lib/crewai/tests/test_llm_litellm_streaming_errors.py:138
Functiontest_async_streaming_tool_call_preserves_arguments
Async streaming: function_args must carry the streamed tool input.
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:106
Functiontest_async_streaming_tool_call_turn_emits_completed_event_with_usage
( mock_emit, )
lib/crewai/tests/test_llm_litellm_usage_events.py:174
Functiontest_async_structured_output_collapses_multimodal_content
()
lib/crewai/tests/llms/test_structured_output_multimodal.py:56
Functiontest_async_structured_surfaces_upstream_timeout
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:161
Functiontest_async_task_cannot_include_sequential_async_tasks_in_context
( researcher, writer )
lib/crewai/tests/test_crew.py:174
Functiontest_async_task_completion_marks_the_right_sidebar_row
Overlapping tasks: completing task 1 while task 2 runs must not mark task 2 done, and starting task 2 must not mark task 1 done.
lib/cli/tests/test_crew_run_tui.py:2074
Functiontest_async_task_execution_call_count
(researcher, writer)
lib/crewai/tests/test_crew.py:1175
Methodtest_async_task_memoization
Async task methods should be properly memoized.
lib/crewai/tests/test_project.py:446
Methodtest_async_task_name_inference
Async task should have name inferred from method name.
lib/crewai/tests/test_project.py:466
Methodtest_async_task_returns_task_not_coroutine
Async task decorator should return Task, not coroutine.
lib/crewai/tests/test_project.py:500
Functiontest_async_task_saves_off_the_event_loop
(store)
lib/crewai/tests/test_artifacts.py:669
Methodtest_async_tasks_do_not_cross_contaminate
(self)
lib/crewai/tests/tools/test_tool_failure.py:1427
Methodtest_async_tool_arun_returns_result
Test that async tool arun() awaits directly.
lib/crewai/tests/tools/test_async_tools.py:60
Functiontest_async_tool_call_turn_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:146
Methodtest_async_tool_run_returns_result
Test that async tool run() works.
lib/crewai/tests/tools/test_async_tools.py:46
Methodtest_async_tool_simulated_io
Test async tool with simulated I/O delay.
lib/crewai/tests/tools/test_async_tools.py:149
Functiontest_async_tool_using_decorator_within_flow
(custom_tool_decorator)
lib/crewai/tests/tools/test_structured_tool.py:407
Functiontest_async_tool_using_decorator_within_isolated_crew
(custom_tool_decorator)
lib/crewai/tests/tools/test_structured_tool.py:382
Functiontest_async_tool_using_within_isolated_crew
(custom_tool)
lib/crewai/tests/tools/test_structured_tool.py:374
Functiontest_async_tool_within_flow
(custom_tool)
lib/crewai/tests/tools/test_structured_tool.py:390
Methodtest_async_transport_instantiation
Test that async transport can be instantiated with interceptor.
lib/crewai/tests/llms/hooks/test_transport.py:124
Methodtest_async_transport_requires_interceptor
Test that async transport requires interceptor parameter.
lib/crewai/tests/llms/hooks/test_transport.py:131
Functiontest_async_usage_limit_error_reports_the_tool_name
()
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:119
Functiontest_async_wait_caps_long_waits
(tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:111
Functiontest_at_a_terminal_a_failed_run_points_at_its_output_above
( project, monkeypatch, capfd, usage )
lib/cli/tests/experimental/test_eval_crew.py:4615
Functiontest_at_a_terminal_a_key_an_env_file_others_can_read_would_hold_runs_the_crew_unsaved
Saved, the key would stay readable by every other account on the machine.
lib/cli/tests/test_run_usage.py:1868
Functiontest_at_a_terminal_a_key_left_blank_stops_the_run_with_the_line_to_add
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:1601
Functiontest_at_a_terminal_a_key_missing_as_the_crew_loads_is_asked_for_after_the_spinner
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:1676
Functiontest_at_a_terminal_a_key_missing_at_kickoff_is_asked_for_and_the_crew_runs_once_more
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:1578
Functiontest_at_a_terminal_a_key_pasted_for_the_retry_leaves_the_env_file_readable_by_its_owner_only
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:1852
Functiontest_at_a_terminal_a_key_still_missing_after_the_one_retry_stops_the_run
A second model's key, say: the run is retried once, never in a loop.
lib/cli/tests/test_run_usage.py:1619
Functiontest_at_a_terminal_any_other_failure_exits_as_before
( project, usage, monkeypatch, failure )
lib/cli/tests/test_run_usage.py:1662
Functiontest_at_a_terminal_enter_shares_the_trace_and_only_a_no_runs_nothing
The person asked for the evaluation, so pressing Enter shares the trace and runs the crew; only an explicit no runs nothing. The question waits fo
lib/cli/tests/experimental/test_eval_crew.py:3585
Functiontest_at_a_terminal_quitting_at_the_key_prompt_counts_the_stop
Ctrl-C or Ctrl-D at the prompt stops the run for the key, counted once: a crew that did not load counts no load_failed for it either.
lib/cli/tests/test_run_usage.py:1721
Functiontest_at_a_terminal_the_app_that_runs_the_crew_evaluates_it_without_a_question
( project, monkeypatch )
lib/cli/tests/experimental/test_eval_crew.py:898
Functiontest_at_a_terminal_the_crew_runs_again_from_its_first_task_with_its_inputs
A key pasted after kickoff runs finished tasks again: the CLI says so, and does not ask again for the inputs given to the first run.
lib/cli/tests/test_run_usage.py:1750
Functiontest_at_a_terminal_the_retry_prompt_names_a_host_an_llms_client_params_send_requests_to
An llm's `client_params` override its `base_url` when crewAI builds the client, so a host there gets the key as surely as one in `base_url`.
lib/cli/tests/test_run_usage.py:1823
Functiontest_at_a_terminal_the_retry_prompt_names_each_host_the_project_sends_requests_to
The runner child loads the project's `.env` before the crew, so its settings are in the environment by the time the key is asked for; and an a
lib/cli/tests/test_run_usage.py:1790
Functiontest_at_a_terminal_the_run_prints_where_it_always_did
(project, monkeypatch, capfd)
lib/cli/tests/experimental/test_eval_crew.py:4213
Functiontest_at_a_terminal_tracing_is_turned_on_only_after_the_consent_screen
A person at the terminal is asked first, with Enter meaning yes; a yes turns tracing on for the project and runs the crew, a no runs nothing. A
lib/cli/tests/experimental/test_eval_crew.py:3523
Functiontest_at_a_terminal_whose_output_is_captured_the_line_is_given_not_asked
`crewai eval` sends a run's output to a log when nobody is watching it.
lib/cli/tests/test_run_usage.py:1637
Functiontest_at_most_ten_spreadsheets_are_read
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1038
Methodtest_at_prefixed
(self)
lib/crewai/tests/skills/test_registry.py:105
Methodtest_ato_json_function_calling_does_not_block_event_loop
The function-calling JSON path must run via asyncio.to_thread. ``InternalInstructor`` is sync-only; `ato_json` should offload it so the
lib/crewai/tests/task/test_async_task.py:426
← previousnext →11,401–11,500 of 19,663, ranked by callers