Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
Method
test_cost_control_allows_when_approved
Test that expensive calls are allowed when approved.
lib/crewai/tests/hooks/test_human_approval.py:338
Method
test_cost_control_logs_when_denied
Test that denied calls are logged.
lib/crewai/tests/hooks/test_human_approval.py:364
Method
test_count_is_zero
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:89
Method
test_count_sum_and_max_per_group
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:519
Function
test_counting_the_class_imports_neither_crewai_nor_pydantic
A `crewai run` whose crewAI is missing or broken still counts the class: the loader's and pydantic's errors are looked up only where already loade
lib/cli/tests/test_run_usage.py:765
Method
test_counts_and_shares
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:483
Method
test_counts_scope_and_subscopes
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:160
Method
test_cp1252_is_detected
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:488
Function
test_crafted_record_id_does_not_over_delete
(storage: LanceDBStorage)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:114
Function
test_crafted_scope_prefix_does_not_read_other_tenant
( storage: LanceDBStorage, payload: str )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:85
Function
test_crafted_scope_prefix_does_not_remove_other_tenant
( storage: LanceDBStorage, payload: str, remove: Callable[[LanceDBStorage, str], object], )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:105
Method
test_create_adds_name_to_skill_md
(self, skill_command)
lib/cli/tests/skills/test_main.py:67
Function
test_create_agent_adds_tools_chosen_during_onboarding
( fmt: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]],
lib/cli/tests/test_agent_tools.py:224
Function
test_create_agent_defaults_to_json_config
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:385
Function
test_create_agent_does_not_scaffold_when_platform_setup_is_cancelled
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:250
Function
test_create_agent_exports_installable_agent
( agent_project: Path, monkeypatch: pytest.MonkeyPatch, model: str | None )
lib/cli/tests/test_create_agent.py:29
Function
test_create_agent_preserves_existing_directory
(agent_project: Path)
lib/cli/tests/test_create_agent.py:95
Function
test_create_agent_rejects_crew_options
(flag: list[str])
lib/cli/tests/test_create_agent.py:110
Function
test_create_agent_rejects_invalid_package_name
( name: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:85
Function
test_create_at_a_terminal_prints_how_to_run_later_when_declined
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:575
Function
test_create_at_a_terminal_runs_the_new_project_when_enter_is_pressed
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:474
Method
test_create_basic_context
Test creating a basic pending feedback context.
lib/crewai/tests/test_async_human_feedback.py:41
Method
test_create_batch_slice_all_empty_metadatas
Test creating a batch slice where all metadatas are empty.
lib/crewai/tests/rag/chromadb/test_utils.py:244
Method
test_create_batch_slice_at_end
Test creating a batch slice that goes beyond the end.
lib/crewai/tests/rag/chromadb/test_utils.py:200
Method
test_create_batch_slice_empty_batch
Test creating a batch slice starting beyond the data.
lib/crewai/tests/rag/chromadb/test_utils.py:216
Method
test_create_batch_slice_no_metadatas
Test creating a batch slice with no metadatas.
lib/crewai/tests/rag/chromadb/test_utils.py:230
Method
test_create_batch_slice_normal
Test creating a normal batch slice.
lib/crewai/tests/rag/chromadb/test_utils.py:184
Method
test_create_batch_slice_single_item
Test creating a batch slice with batch size 1.
lib/crewai/tests/rag/chromadb/test_utils.py:292
Method
test_create_batch_slice_some_empty_metadatas
Test creating a batch slice where some metadatas are empty.
lib/crewai/tests/rag/chromadb/test_utils.py:260
Method
test_create_batch_slice_zero_start_index
Test creating a batch slice starting from index 0.
lib/crewai/tests/rag/chromadb/test_utils.py:276
Function
test_create_client_chromadb
Test ChromaDB client creation.
lib/crewai/tests/rag/config/test_factory.py:9
Function
test_create_client_unsupported_provider
Test unsupported provider raises ValueError.
lib/crewai/tests/rag/config/test_factory.py:27
Method
test_create_cohere_service
Test Cohere service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:234
Method
test_create_collection
Test that create_collection creates a new collection.
lib/crewai/tests/rag/qdrant/test_client.py:50
Method
test_create_collection
Test that create_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:76
Method
test_create_collection_already_exists
Test that create_collection raises error if collection exists.
lib/crewai/tests/rag/qdrant/test_client.py:62
Method
test_create_collection_with_all_params
Test create_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:89
Method
test_create_collection_wrong_client_type
Test that create_collection raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:71
Function
test_create_config_agent_loads_and_archives_without_source_package
( format: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:204
Method
test_create_context_with_emit
Test creating context with routing outcomes.
lib/crewai/tests/test_async_human_feedback.py:61
Function
test_create_converter_fails_without_agent_or_converter_cls
()
lib/crewai/tests/utilities/test_converter.py:328
Function
test_create_converter_with_custom_converter
()
lib/crewai/tests/utilities/test_converter.py:316
Function
test_create_converter_with_mock_agent
()
lib/crewai/tests/utilities/test_converter.py:300
Method
test_create_crew
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:460
Method
test_create_crew
(self, mock_input, mock_repository, mock_fetch_env)
lib/cli/tests/deploy/test_deploy_main.py:1042
Method
test_create_crew
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:346
Function
test_create_crew_aborts_on_validation_error
`crewai deploy create` must not contact the API when validation fails.
lib/cli/tests/deploy/test_validate.py:692
Method
test_create_crew_from_zip
(self, mock_make_multipart_request)
lib/cli/tests/test_plus_api.py:468
Method
test_create_crew_from_zip
(self, mock_make_multipart_request)
lib/crewai/tests/cli/test_plus_api.py:354
Function
test_create_crew_in_dmn_mode_skips_provider_prompts
(create_json_crew, runner)
lib/cli/tests/test_cli.py:332
Function
test_create_crew_normal_name_still_works
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:183
Function
test_create_crew_rejects_declarative_flag
(create_json_crew, runner)
lib/cli/tests/test_cli.py:362
Function
test_create_crew_rejects_no_project_flag
(mock_skill_command_cls, runner)
lib/cli/tests/test_create_unified.py:100
Function
test_create_crew_rejects_output_dir_flag
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:167
Method
test_create_crew_reports_the_created_uuid_from_the_git_path
The attempt span cannot carry the uuid; the post-success span must.
lib/cli/tests/deploy/test_deploy_main.py:1067
Method
test_create_crew_reports_the_created_uuid_from_the_zip_path
The two creation paths converge, so the uuid must arrive from both.
lib/cli/tests/deploy/test_deploy_main.py:1098
Function
test_create_crew_scaffolds_assistant_instructions
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2575
Function
test_create_crew_with_multiple_trailing_slashes
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:158
Function
test_create_crew_with_parent_folder_and_trailing_slash
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:300
Function
test_create_crew_with_trailing_slash_creates_valid_project
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:123
Method
test_create_crew_without_git_repo_initializes_and_uses_zip
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1448
Method
test_create_crew_without_remote_uses_git_file_list_when_commit_fails
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1536
Method
test_create_crew_without_remote_uses_zip
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1502
Method
test_create_default_evaluator
(self, mock_crew)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:107
Method
test_create_default_resolver
Test creating resolver with default settings.
lib/crewai-files/tests/test_resolver.py:149
Function
test_create_directory_default
Test that create_directory defaults to True for backward compatibility.
lib/crewai/tests/test_task.py:1503
Function
test_create_directory_false
Test that directories are not created when create_directory=False.
lib/crewai/tests/test_task.py:1474
Function
test_create_directory_true
Test that directories are created when create_directory=True.
lib/crewai/tests/test_task.py:1436
Function
test_create_directory_with_existing_directory
Test that create_directory=False works when directory already exists.
lib/crewai/tests/test_task.py:1514
Function
test_create_does_not_offer_a_run_when_nothing_runnable_was_created
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:625
Method
test_create_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:28
Method
test_create_evaluation_files_it_under_the_project
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:56
Function
test_create_exits_as_a_shell_would_when_a_signal_kills_the_run
( monkeypatch, returncode, exit_code )
lib/cli/tests/test_cli.py:508
Function
test_create_exits_with_the_exit_code_of_the_run_it_started
( monkeypatch, returncode )
lib/cli/tests/test_cli.py:490
Method
test_create_fails_if_dir_exists
(self, skill_command)
lib/cli/tests/skills/test_main.py:74
Method
test_create_file_reference
Test creating FileReference instance.
lib/crewai-files/tests/test_resolved.py:66
Method
test_create_file_url
Test creating FileUrl with valid URL.
lib/crewai-files/tests/test_file_url.py:15
Method
test_create_file_url_with_filename
Test creating FileUrl with custom filename.
lib/crewai-files/tests/test_file_url.py:22
Function
test_create_flow_aliased_provider_at_a_terminal_asks_for_its_key
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:439
Function
test_create_flow_at_a_terminal_blank_key_prints_the_line_to_add
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:217
Function
test_create_flow_at_a_terminal_saves_the_picked_model_and_key
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:188
Function
test_create_flow_ctrl_c_at_the_key_prompt_leaves_a_complete_project
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None )
lib/cli/tests/test_create_flow.py:532
Function
test_create_flow_declarative_asks_nothing_at_a_terminal
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:351
Function
test_create_flow_declarative_project_can_run
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:33
Function
test_create_flow_declarative_uses_declarative_scaffold
(create_flow, runner)
lib/cli/tests/test_cli.py:340
Function
test_create_flow_depends_on_crewai_with_tools_only
( tmp_path: Path, monkeypatch: MonkeyPatch, declarative: bool )
lib/cli/tests/test_create_flow.py:76
Function
test_create_flow_into_an_existing_folder_asks_nothing
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], )
lib/cli/tests/test_create_flow.py:599
Function
test_create_flow_next_steps_skip_a_key_already_exported
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:584
Function
test_create_flow_passes_provider_and_skip_provider_through
(create_flow, runner)
lib/cli/tests/test_cli.py:350
Function
test_create_flow_provider_model_names_the_key_of_the_provider_it_runs_on
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:417
Function
test_create_flow_provider_preselects_the_model_and_still_asks_for_the_key
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None )
lib/cli/tests/test_create_flow.py:244
Function
test_create_flow_provider_uses_its_first_listed_model
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None, provider: str, model:
lib/cli/tests/test_create_flow.py:467
Function
test_create_flow_provider_without_a_terminal_saves_only_the_model
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:380
Function
test_create_flow_rejects_a_provider_with_no_listed_model
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], provider: str,
lib/cli/tests/test_create_flow.py:489
Function
test_create_flow_returns_none_when_the_folder_already_exists
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], declarative: b
lib/cli/tests/test_create_flow.py:104
Function
test_create_flow_returns_the_folder_it_created
( tmp_path: Path, monkeypatch: MonkeyPatch, declarative: bool )
lib/cli/tests/test_create_flow.py:91
Function
test_create_flow_scaffolds_assistant_instructions
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:615
Function
test_create_flow_skip_provider_asks_nothing_at_a_terminal
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:268
Function
test_create_flow_with_a_keyless_provider_names_no_key
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:568
Function
test_create_flow_without_a_terminal_asks_nothing_and_writes_no_placeholder
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:302
← previous
next →
13,201–13,300 of 20,757, ranked by callers