Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
Function
test_handle_partial_json_with_valid_partial
()
lib/crewai/tests/utilities/test_converter.py:190
Function
test_handle_partial_json_without_agent_raises_validation_error
()
lib/crewai/tests/utilities/test_converter.py:1154
Function
test_handle_streaming_tool_calls
(get_weather_tool_schema, mock_emit)
lib/crewai/tests/test_llm.py:663
Function
test_handle_streaming_tool_calls_no_available_functions
( get_weather_tool_schema, mock_emit )
lib/crewai/tests/test_llm.py:716
Function
test_handle_streaming_tool_calls_no_tools
(mock_emit)
lib/crewai/tests/test_llm.py:741
Function
test_handle_streaming_tool_calls_with_error
(get_weather_tool_schema, mock_emit)
lib/crewai/tests/test_llm.py:691
Method
test_handle_turn_emits_failed_instead_of_completed_when_turn_raises
Failed turns emit a terminal failure event without completion.
lib/crewai/tests/test_flow_conversation.py:1263
Method
test_handle_turn_emits_started_and_completed_for_each_conversational_turn
Each ``handle_turn()`` emits paired turn lifecycle events.
lib/crewai/tests/test_flow_conversation.py:1217
Method
test_handle_turn_guard_matches_chat_and_stream_turn
(self)
lib/crewai/tests/test_flow_conversation.py:2380
Method
test_handle_turn_rejects_non_conversational_flows
(self)
lib/crewai/tests/test_flow_conversation.py:2368
Method
test_handle_turn_reruns_graph_after_prior_turn_completed
Multi-turn must not flip ``_is_execution_resuming`` and short-circuit. ``Flow.kickoff`` with persistence enabled treats ``inputs={"id": ...}`
lib/crewai/tests/test_flow_conversation.py:809
Method
test_handle_turn_routes_to_listener_and_records_public_result
(self)
lib/crewai/tests/test_flow_conversation.py:282
Method
test_handler
(source: object, event: SignalEvent)
lib/crewai/tests/events/types/test_system_events.py:141
Method
test_handler_is_unregistered_after_kickoff
Long-lived workers (Celery, devkit) must not leak one handler per kickoff on the singleton bus, on either the success or failure path.
lib/crewai/tests/test_flow_usage_metrics.py:277
Function
test_handler_registration_thread_safety
()
lib/crewai/tests/utilities/events/test_shutdown.py:210
Method
test_handler_that_already_replied_is_not_double_promoted
(self)
lib/crewai/tests/test_flow_conversation.py:3757
Function
test_handler_without_dependency_runs_normally
Test that handlers without dependencies still work as before.
lib/crewai/tests/events/test_depends.py:220
Function
test_handles_broken_stdout
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:365
Method
test_handles_invalid_version_strings
Test that invalid version strings are skipped.
lib/cli/tests/test_version.py:226
Method
test_handles_invalid_version_strings
Test that invalid version strings are skipped.
lib/crewai/tests/cli/test_version.py:190
Method
test_handles_multiple_crewai_entries
(self)
lib/devtools/tests/test_toml_updates.py:345
Method
test_handles_multiple_pins
(self)
lib/devtools/tests/test_toml_updates.py:410
Method
test_handles_optional_dependencies
(self)
lib/devtools/tests/test_toml_updates.py:332
Method
test_handles_v1_with_trailing_slash
Test /v1/ is normalized.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:124
Function
test_happy_path
(mock_post, monkeypatch)
lib/crewai-tools/tests/tools/parallel_search_tool_test.py:18
Function
test_happy_path_async_plain_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:312
Function
test_happy_path_async_structured_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:319
Function
test_happy_path_plain_completion_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:296
Function
test_happy_path_structured_completion_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:302
Function
test_hardcoded_reply_uses_same_contract_without_fake_model_timing
()
lib/crewai/tests/test_flow_turns.py:95
Method
test_has_tool_failures_exists_on_all_output_types
(self)
lib/crewai/tests/tools/test_tool_failure.py:653
Function
test_has_uncommitted_changes
(fp, repository)
lib/cli/tests/test_git.py:56
Function
test_hash_based_id_generation_with_doc_id_in_metadata
Test that documents with doc_id in metadata use the doc_id directly, not hash-based.
lib/crewai/tests/knowledge/test_knowledge.py:614
Function
test_hash_based_id_generation_without_doc_id
Test that documents without doc_id generate hash-based IDs. Duplicates are deduplicated before upsert.
lib/crewai/tests/knowledge/test_knowledge.py:567
Method
test_hash_comment_is_blocked_on_mysql
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:652
Method
test_hash_is_an_operator_on_postgres
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:658
Function
test_hatchling_with_explicit_wheel_config_passes
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:524
Function
test_hatchling_without_wheel_config_passes_when_pkg_dir_matches
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:513
Function
test_head_commit_is_none_before_the_first_commit
(tmp_path)
lib/cli/tests/test_git.py:170
Function
test_head_commit_is_the_short_hash_of_head
(tmp_path)
lib/cli/tests/test_git.py:176
Method
test_header_interceptor_adds_headers
Test that header interceptor adds custom headers to requests.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:238
Method
test_header_interceptor_with_anthropic
Test that header interceptor can be used with Anthropic LLM.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:227
Method
test_header_interceptor_with_real_call
Test that header interceptor works with real Anthropic API call.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:253
Method
test_header_row_overrides_the_detected_one
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:434
Function
test_headless_chat_reports_no_terminal
(monkeypatch)
lib/cli/tests/test_run_agent.py:12
Function
test_help_and_invalid_arguments_are_not_counted
(args)
lib/cli/tests/test_checkpoint_telemetry.py:47
Function
test_helper_functions_cover_error_paths
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:813
Method
test_heuristic_observation_reflects_step_success
(self)
lib/crewai/tests/agents/test_agent_executor.py:1529
Method
test_hidden_files_and_dirs_excluded
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:81
Function
test_hierarchical_crew_creation_tasks_with_agents
Agents are not required for tasks in a hierarchical process but sometimes they are still added This test makes sure that the manager still de
lib/crewai/tests/test_crew.py:1884
Function
test_hierarchical_crew_creation_tasks_with_async_execution
Tests that async tasks in hierarchical crews are handled correctly with proper delegation tools
lib/crewai/tests/test_crew.py:1934
Function
test_hierarchical_crew_creation_tasks_with_sync_last
Agents are not required for tasks in a hierarchical process but sometimes they are still added This test makes sure that the manager still de
lib/crewai/tests/test_crew.py:1987
Function
test_hierarchical_crew_delegates_to_workers_on_every_kickoff
( manager, async_entry )
lib/crewai/tests/test_crew.py:2938
Function
test_hierarchical_kickoff_usage_metrics_include_manager
Ensure Crew.kickoff() sums UsageMetrics from both regular and manager agents.
lib/crewai/tests/test_crew.py:1818
Function
test_hierarchical_process
(researcher, writer)
lib/crewai/tests/test_crew.py:362
Function
test_hierarchical_verbose_false_manager_agent
(researcher, writer)
lib/crewai/tests/test_crew.py:4350
Function
test_hierarchical_verbose_manager_agent
(researcher, writer)
lib/crewai/tests/test_crew.py:4324
Method
test_history_accumulates
Test that multiple feedbacks are stored in history.
lib/crewai/tests/test_human_feedback_decorator.py:418
Function
test_history_is_retained_and_kickoff_stays_independent
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:29
Function
test_history_keeps_its_parts_list_untouched
Only the promoted turn collapses to text; the provider still gets parts.
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:93
Method
test_history_preserved_across_steps
Test that feedback history is preserved across flow execution.
lib/crewai/tests/test_human_feedback_integration.py:546
Function
test_history_sits_between_the_system_prompt_and_this_turn
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:85
Function
test_history_survives_with_the_system_prompt_disabled
That branch builds one combined prompt, so history had nowhere to go.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:235
Function
test_hitl_resumption_skips_completed_listeners
Test that HITL resumption skips completed listener methods but continues chains.
lib/crewai/tests/test_flow_resumability_regression.py:14
Method
test_hitl_self_loop_immediate_approval
Test that a HITL self-loop flow works when approved on the first try. No looping occurs -- the flow should proceed straight through.
lib/crewai/tests/test_human_feedback_integration.py:398
Method
test_hitl_self_loop_multiple_rejections
Test that a HITL router can loop back multiple times before approving. Verifies the self-loop works for more than one rejection cycle.
lib/crewai/tests/test_human_feedback_integration.py:338
Method
test_hitl_self_loop_routes_back_to_same_method
Test that a HITL router can loop back to itself via its own emit outcome. Pattern: review_work listens to or_("do_work", "review") and emits
lib/crewai/tests/test_human_feedback_integration.py:273
Function
test_honors_declared_charset
The charset in the Content-Type header drives decoding.
lib/crewai-tools/tests/url_read_tool_test.py:155
Method
test_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:94
Method
test_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:152
Method
test_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:311
Method
test_hook
(context)
lib/crewai/tests/hooks/test_decorators.py:56
Method
test_hook
(context)
lib/crewai/tests/hooks/test_decorators.py:135
Method
test_hook
(context)
lib/crewai/tests/hooks/test_decorators.py:290
Method
test_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:133
Method
test_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:226
Method
test_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:467
Function
test_hook_abort_on_the_schema_request_is_not_swallowed
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:341
Method
test_hook_aborted_propagates_with_reason_and_source
(self)
lib/crewai/tests/hooks/test_dispatch.py:86
Function
test_hook_dispatched_span_counts_aborts
()
lib/crewai/tests/telemetry/test_telemetry.py:275
Function
test_hook_dispatched_span_counts_point_usage
()
lib/crewai/tests/telemetry/test_telemetry.py:256
Method
test_hook_marker_attribute_is_set
Test that decorator sets marker attribute on method.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:368
Method
test_hooks_run_in_registration_order
(self)
lib/crewai/tests/hooks/test_dispatch.py:79
Method
test_hooks_with_validation_and_sanitization
Test a realistic scenario with validation and sanitization hooks.
lib/crewai/tests/hooks/test_tool_hooks.py:412
Function
test_host_can_supply_processors_and_a_logging_callback
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:119
Function
test_host_hitl_resume_links_segments_and_exposes_human_feedback
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:199
Method
test_host_port_without_scheme_gets_scheme
host:port without a scheme gets http:// prepended.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:136
Function
test_host_provider_preserves_event_spans_and_logging_context
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:63
Function
test_host_supplied_conversation_identity_survives_turn_execution_id
(public_id)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:649
Function
test_hosted_environments_are_not_reported_as_assistants
REPL_ID marks a hosted environment, not an assistant driving the run.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:208
Method
test_hosted_vllm_config
Test hosted_vllm provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:78
Method
test_hostname_server_tool_name_is_unchanged
( self, mock_client_class, resolver )
lib/crewai/tests/mcp/test_tool_resolver_native.py:134
Function
test_hosts_in_no_proxy_are_reached_directly
( proxy: _RecordingServer, amp: _RecordingServer, machine: dict[str, str] )
lib/crewai-core/tests/test_plus_api_proxy.py:196
Method
test_hours
(self)
lib/crewai/tests/test_checkpoint_cli.py:132
Function
test_html_is_stripped_to_visible_text
HTML returns visible text with script and style content removed.
lib/crewai-tools/tests/url_read_tool_test.py:241
Method
test_http_defaults
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:91
Method
test_http_error_handling
(self, mock_get_version, mock_requests_get)
lib/cli/tests/enterprise/test_main.py:79
Function
test_http_server_info_strips_port_from_hostname
()
lib/crewai/tests/mcp/test_client_server_info.py:18
Function
test_http_server_info_uses_hostname_not_url
()
lib/crewai/tests/mcp/test_client_server_info.py:10
Function
test_http_transport_connect_cancelled_on_enter_recovers_auth_on_exit
()
lib/crewai/tests/mcp/test_http_transport_auth.py:107
← previous
next →
14,401–14,500 of 19,264, ranked by callers