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
Method
test_invalid_metric_returns_error_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:372
Method
test_invalid_name_rejected
(self)
lib/crewai/tests/skills/test_models.py:58
Function
test_invalid_notebook
Reject unsupported versions and malformed required notebook fields.
lib/crewai-tools/tests/rag/test_notebook_loader.py:222
Function
test_invalid_overwrite_value
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:93
Method
test_invalid_parameter_schemas_do_not_abort_discovery
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:103
Function
test_invalid_params_raises_value_error
count=999 exceeds WebSearchParams.count le=20.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:489
Method
test_invalid_policy_falls_through_to_next_scope
(self)
lib/crewai/tests/tools/test_tool_failure.py:277
Method
test_invalid_policy_is_ignored_rather_than_raising
A bad policy value must never take down a tool call.
lib/crewai/tests/tools/test_tool_failure.py:269
Function
test_invalid_prune_is_not_counted
(tmp_path, dry_run, retention)
lib/cli/tests/test_checkpoint_telemetry.py:117
Function
test_invalid_pyproject_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:280
Method
test_invalid_raises
(self)
lib/crewai/tests/test_checkpoint_cli.py:138
Method
test_invalid_rejected_by_pydantic
(self, payload: dict[str, Any])
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:219
Method
test_invalid_rejected_by_pydantic
(self, payload: dict[str, Any])
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:238
Function
test_invalid_search_type
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:123
Method
test_invalid_string_data_type_raises_error
Test that invalid string data_type raises ValueError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:275
Method
test_invalid_structured_result_falls_back_to_the_original
(self)
lib/crewai/tests/test_human_feedback_decorator.py:982
Method
test_invalid_structured_result_raises_when_strict
(self)
lib/crewai/tests/test_human_feedback_decorator.py:990
Function
test_invalid_thresholds_raise
(bad)
lib/crewai/tests/test_jev_evaluation_runner.py:249
Function
test_invalid_typed_output_warns_and_uses_string_agent_text
()
lib/crewai/tests/tools/test_structured_tool.py:179
Method
test_invalid_typed_output_warns_and_uses_string_agent_text
( self, )
lib/crewai/tests/tools/test_base_tool.py:551
Method
test_invalid_url_scheme_file_raises
Test that file:// URLs raise ValueError.
lib/crewai-files/tests/test_file_url.py:34
Method
test_invalid_url_scheme_raises
Test that non-http(s) URLs raise ValueError.
lib/crewai-files/tests/test_file_url.py:29
Function
test_invalid_usage_limit
Test that negative usage limits raise ValueError.
lib/crewai/tests/tools/test_tool_usage_limit.py:72
Function
test_invalid_uuid_str
Test handling of invalid UUID strings.
lib/crewai/tests/security/test_fingerprint.py:181
Function
test_invalid_xml_response
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:105
Method
test_invalid_yaml
(self)
lib/crewai/tests/skills/test_parser.py:50
Method
test_invalidate_existing
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:182
Method
test_invalidate_missing
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:191
Function
test_invalidated_job_is_skipped_without_losing_artifacts
(change)
lib/crewai/tests/test_flow_replies.py:103
Method
test_invoke_async_cleans_deferred_artifacts
(self, should_fail)
lib/crewai/tests/agents/test_agent_executor.py:2945
Method
test_invoke_cleans_deferred_artifacts_after_completion
(self)
lib/crewai/tests/agents/test_agent_executor.py:2896
Method
test_invoke_failure_no_agent_finish
Test invoke fails without AgentFinish.
lib/crewai/tests/agents/test_agent_executor.py:1288
Method
test_invoke_step_callback
Test step callback invocation.
lib/crewai/tests/agents/test_agent_executor.py:769
Method
test_invoke_step_callback_async_inside_running_loop
Test async step callback scheduling when already in an event loop.
lib/crewai/tests/agents/test_agent_executor.py:791
Method
test_invoke_step_callback_none
Test step callback when none provided.
lib/crewai/tests/agents/test_agent_executor.py:781
Method
test_invoke_success
Test successful invoke without human feedback.
lib/crewai/tests/agents/test_agent_executor.py:1264
Method
test_invoke_with_system_prompt
Test invoke with system prompt configuration.
lib/crewai/tests/agents/test_agent_executor.py:1302
Method
test_ip_addressed_server_tool_name_passes_provider_validation
( self, mock_client_class, resolver )
lib/crewai/tests/mcp/test_tool_resolver_native.py:121
Method
test_is_a_separate_span_from_the_attempt
Two names, because they count different things. ``Create Crew Deployment`` counts attempts and fires before the API call; this one fi
lib/crewai-core/tests/test_telemetry_deploy.py:94
Method
test_is_a_separate_span_from_the_attempt_and_the_success
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:202
Function
test_is_ahead_or_behind
(fp, repository)
lib/cli/tests/test_git.py:64
Method
test_is_cache_valid_with_fresh_cache
Test cache validation with fresh cache.
lib/cli/tests/test_version.py:85
Method
test_is_cache_valid_with_fresh_cache
Test cache validation with fresh cache.
lib/crewai/tests/cli/test_version.py:49
Method
test_is_cache_valid_with_missing_timestamp
Test cache validation with missing timestamp.
lib/cli/tests/test_version.py:96
Method
test_is_cache_valid_with_missing_timestamp
Test cache validation with missing timestamp.
lib/crewai/tests/cli/test_version.py:60
Method
test_is_cache_valid_with_stale_cache
Test cache validation with stale cache.
lib/cli/tests/test_version.py:90
Method
test_is_cache_valid_with_stale_cache
Test cache validation with stale cache.
lib/crewai/tests/cli/test_version.py:54
Function
test_is_chat_model_rejects_non_chat
()
lib/cli/tests/test_model_catalog.py:65
Method
test_is_complete_false_for_empty_list
Test is_complete returns False for empty list.
lib/crewai/tests/utilities/test_planning_types.py:228
Method
test_is_complete_property_when_complete
Test is_complete returns True when all items completed.
lib/crewai/tests/utilities/test_planning_types.py:214
Method
test_is_complete_property_when_not_complete
Test is_complete returns False when items are pending.
lib/crewai/tests/utilities/test_planning_types.py:224
Method
test_is_complete_with_mixed_terminal_states
(self)
lib/crewai/tests/agents/test_agent_executor.py:3351
Method
test_is_completed_property
Test the is_completed property.
lib/crewai/tests/test_streaming.py:120
Method
test_is_completed_property
Test the is_completed property.
lib/crewai/tests/test_streaming.py:170
Function
test_is_dmn_mode_enabled_for_falsey_values
(monkeypatch, value)
lib/cli/tests/test_utils.py:114
Function
test_is_dmn_mode_enabled_for_truthy_values
(monkeypatch, value)
lib/cli/tests/test_utils.py:107
Method
test_is_error_becomes_a_tool_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1663
Method
test_is_expired_false
Test is_expired returns False for non-expired upload.
lib/crewai-files/tests/test_upload_cache.py:37
Method
test_is_expired_no_expiry
Test is_expired returns False when no expiry set.
lib/crewai-files/tests/test_upload_cache.py:65
Method
test_is_expired_true
Test is_expired returns True for expired upload.
lib/crewai-files/tests/test_upload_cache.py:51
Function
test_is_flow_run_gating
The flow-render gate must be true only for a non-conversational flow.
lib/cli/tests/test_crew_run_tui.py:2195
Function
test_is_git_not_installed
(fp)
lib/cli/tests/test_git.py:27
Method
test_is_idempotent_when_snapshot_already_exists
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:218
Method
test_is_inside_active_flow_context_when_kickoff_running
(self)
lib/crewai/tests/test_flow_conversation.py:2084
Method
test_is_ipv4_pattern
Test IPv4 pattern detection.
lib/crewai/tests/rag/chromadb/test_utils.py:64
Function
test_is_json_crew_defers_to_declared_flow_type
A flow project with a stray crew.jsonc must validate as a flow.
lib/cli/tests/deploy/test_validate.py:713
Function
test_is_json_crew_false_for_declared_crew_without_definition
(tmp_path)
lib/cli/tests/deploy/test_validate.py:734
Function
test_is_json_crew_false_without_pyproject
(tmp_path)
lib/cli/tests/deploy/test_validate.py:760
Function
test_is_json_crew_true_for_declared_crew_definition
(tmp_path)
lib/cli/tests/deploy/test_validate.py:724
Method
test_is_newer_version_available_false
Test when no newer version is available.
lib/cli/tests/test_version.py:154
Method
test_is_newer_version_available_false
Test when no newer version is available.
lib/crewai/tests/cli/test_version.py:118
Method
test_is_newer_version_available_true
Test when newer version is available.
lib/cli/tests/test_version.py:140
Method
test_is_newer_version_available_true
Test when newer version is available.
lib/crewai/tests/cli/test_version.py:104
Method
test_is_newer_version_available_with_none_latest
Test when PyPI fetch fails.
lib/cli/tests/test_version.py:168
Method
test_is_newer_version_available_with_none_latest
Test when PyPI fetch fails.
lib/crewai/tests/cli/test_version.py:132
Method
test_is_o1_model_still_only_matches_o1
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:199
Function
test_is_synced_when_ahead_or_behind
(fp, repository)
lib/cli/tests/test_git.py:90
Function
test_is_synced_when_synced
(fp, repository)
lib/cli/tests/test_git.py:72
Function
test_is_synced_with_uncommitted_changes
(fp, repository)
lib/cli/tests/test_git.py:82
Function
test_is_synced_with_uncommitted_changes_and_ahead
(fp, repository)
lib/cli/tests/test_git.py:102
Method
test_is_training_mode_false
Test training mode detection when not in training.
lib/crewai/tests/agents/test_agent_executor.py:748
Method
test_is_training_mode_true
Test training mode detection when in training.
lib/crewai/tests/agents/test_agent_executor.py:753
Method
test_it_carries_no_token_count
`crew.token_usage` double-counts agents that share one LLM object, so putting it here would propagate a known-wrong number into a metric.
lib/crewai/tests/telemetry/test_crew_completed_span.py:120
Method
test_it_is_not_gated_by_share_crew
The whole point. `Crew Execution` and `end_crew` are both gated.
lib/crewai/tests/telemetry/test_crew_completed_span.py:111
Method
test_it_joins_to_crew_created_by_key_and_id
Models and shape live on Crew Created; this must be joinable to them.
lib/crewai/tests/telemetry/test_crew_completed_span.py:99
Method
test_it_needs_two_numeric_columns
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:667
Method
test_it_records_the_outcome_and_an_explicit_duration
A completed run reports outcome and an explicit duration_ms.
lib/crewai/tests/telemetry/test_crew_completed_span.py:71
Method
test_it_rides_every_span_rather_than_only_crew_created
The gated `cpus` sits on Crew Created alone, which answers nothing for Flow-only, CLI-only or standalone-agent runs. This one is a common
lib/crewai-core/tests/test_runtime_env.py:202
Method
test_it_takes_exactly_one_column
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:513
Method
test_iteration
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:143
Method
test_its_extent_is_calamines
(self, cells)
lib/crewai-files/tests/spreadsheets/test_reading.py:619
Method
test_jina_provider_accepts_model_key
Test Jina provider accepts 'model' as alias for 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:128
Function
test_job_association_validates_owner_and_origin_without_admitting_work
()
lib/crewai/tests/test_flow_turns.py:295
Function
test_json_and_jsonl_with_bom_and_blank_lines_are_accepted
(tmp_path, name)
lib/crewai/tests/test_jev_evaluation_runner.py:379
Method
test_json_by_id
(self)
lib/crewai/tests/test_checkpoint_cli.py:159
Method
test_json_capabilities_structure
Capabilities in JSON should have expected fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:279
Function
test_json_create_adds_litellm_for_a_listed_bedrock_model_crewai_runs_through_it
Bedrock's picker lists LiteLLM feed ids; crewAI runs one with no "." in its name through LiteLLM, so the project needs that extra as well.
lib/cli/tests/test_create_crew.py:2260
Function
test_json_create_adds_the_extra_when_the_key_is_entered_at_the_prompt
( tmp_path, monkeypatch, capsys )
lib/cli/tests/test_create_crew.py:2294
Function
test_json_create_adds_the_provider_extra_to_the_crewai_dependency
( tmp_path, monkeypatch, llm, crewai_with_extras )
lib/cli/tests/test_create_crew.py:2192
Function
test_json_create_dmn_mode_next_steps_name_each_key_of_a_multi_key_provider
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1642
← previous
next →
14,801–14,900 of 19,264, ranked by callers