MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_create_collection_already_exists
Test that create_collection raises error if collection exists.
lib/crewai/tests/rag/qdrant/test_client.py:62
Methodtest_create_collection_with_all_params
Test create_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:89
Methodtest_create_collection_wrong_client_type
Test that create_collection raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:71
Functiontest_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
Methodtest_create_context_with_emit
Test creating context with routing outcomes.
lib/crewai/tests/test_async_human_feedback.py:60
Functiontest_create_converter_fails_without_agent_or_converter_cls
()
lib/crewai/tests/utilities/test_converter.py:328
Functiontest_create_converter_with_custom_converter
()
lib/crewai/tests/utilities/test_converter.py:316
Functiontest_create_converter_with_mock_agent
()
lib/crewai/tests/utilities/test_converter.py:300
Methodtest_create_crew
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:460
Methodtest_create_crew
(self, mock_input, mock_repository, mock_fetch_env)
lib/cli/tests/deploy/test_deploy_main.py:1026
Methodtest_create_crew
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:346
Functiontest_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
Methodtest_create_crew_from_zip
(self, mock_make_multipart_request)
lib/cli/tests/test_plus_api.py:468
Methodtest_create_crew_from_zip
(self, mock_make_multipart_request)
lib/crewai/tests/cli/test_plus_api.py:354
Functiontest_create_crew_in_dmn_mode_skips_provider_prompts
(create_json_crew, runner)
lib/cli/tests/test_cli.py:325
Functiontest_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
Functiontest_create_crew_rejects_declarative_flag
(create_json_crew, runner)
lib/cli/tests/test_cli.py:355
Functiontest_create_crew_rejects_no_project_flag
(mock_skill_command_cls, runner)
lib/cli/tests/test_create_unified.py:100
Functiontest_create_crew_rejects_output_dir_flag
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:167
Methodtest_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:1051
Methodtest_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:1082
Functiontest_create_crew_scaffolds_assistant_instructions
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2575
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_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:1432
Methodtest_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:1520
Methodtest_create_crew_without_remote_uses_zip
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1486
Methodtest_create_default_evaluator
(self, mock_crew)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:107
Methodtest_create_default_resolver
Test creating resolver with default settings.
lib/crewai-files/tests/test_resolver.py:145
Functiontest_create_directory_default
Test that create_directory defaults to True for backward compatibility.
lib/crewai/tests/test_task.py:1441
Functiontest_create_directory_false
Test that directories are not created when create_directory=False.
lib/crewai/tests/test_task.py:1412
Functiontest_create_directory_true
Test that directories are created when create_directory=True.
lib/crewai/tests/test_task.py:1374
Functiontest_create_directory_with_existing_directory
Test that create_directory=False works when directory already exists.
lib/crewai/tests/test_task.py:1452
Functiontest_create_does_not_offer_a_run_when_nothing_runnable_was_created
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:618
Methodtest_create_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:28
Methodtest_create_evaluation_files_it_under_the_project
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:56
Functiontest_create_exits_as_a_shell_would_when_a_signal_kills_the_run
( monkeypatch, returncode, exit_code )
lib/cli/tests/test_cli.py:501
Functiontest_create_exits_with_the_exit_code_of_the_run_it_started
( monkeypatch, returncode )
lib/cli/tests/test_cli.py:483
Methodtest_create_fails_if_dir_exists
(self, skill_command)
lib/cli/tests/skills/test_main.py:74
Methodtest_create_file_reference
Test creating FileReference instance.
lib/crewai-files/tests/test_resolved.py:66
Methodtest_create_file_url
Test creating FileUrl with valid URL.
lib/crewai-files/tests/test_file_url.py:15
Methodtest_create_file_url_with_filename
Test creating FileUrl with custom filename.
lib/crewai-files/tests/test_file_url.py:22
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_create_flow_declarative_project_can_run
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:33
Functiontest_create_flow_declarative_uses_declarative_scaffold
(create_flow, runner)
lib/cli/tests/test_cli.py:333
Functiontest_create_flow_depends_on_crewai_with_tools_only
( tmp_path: Path, monkeypatch: MonkeyPatch, declarative: bool )
lib/cli/tests/test_create_flow.py:76
Functiontest_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
Functiontest_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
Functiontest_create_flow_passes_provider_and_skip_provider_through
(create_flow, runner)
lib/cli/tests/test_cli.py:343
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_create_flow_returns_the_folder_it_created
( tmp_path: Path, monkeypatch: MonkeyPatch, declarative: bool )
lib/cli/tests/test_create_flow.py:91
Functiontest_create_flow_scaffolds_assistant_instructions
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:615
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_create_folder_structure_folder_name_validation
Test that folder names are validated as valid Python module names
lib/cli/tests/test_create_crew.py:316
Functiontest_create_folder_structure_handles_complex_name_with_trailing_slash
()
lib/cli/tests/test_create_crew.py:78
Functiontest_create_folder_structure_handles_spaces_and_dashes_with_slash
()
lib/cli/tests/test_create_crew.py:225
Functiontest_create_folder_structure_normal_name_unchanged
()
lib/cli/tests/test_create_crew.py:91
Functiontest_create_folder_structure_raises_error_for_invalid_names
()
lib/cli/tests/test_create_crew.py:238
Functiontest_create_folder_structure_rejects_reserved_names
Test that reserved script names are rejected to prevent pyproject.toml conflicts.
lib/cli/tests/test_create_crew.py:350
Functiontest_create_folder_structure_strips_multiple_trailing_slashes
()
lib/cli/tests/test_create_crew.py:65
Functiontest_create_folder_structure_strips_single_trailing_slash
()
lib/cli/tests/test_create_crew.py:52
Functiontest_create_folder_structure_validates_names
()
lib/cli/tests/test_create_crew.py:257
Functiontest_create_folder_structure_with_parent_folder
()
lib/cli/tests/test_create_crew.py:104
Functiontest_create_format_option_rejects_non_agent_projects
()
lib/cli/tests/test_create_agent.py:356
Methodtest_create_from_a_zip_sends_it
(self, mock_repository, _env, _zip)
lib/cli/tests/deploy/test_deploy_main.py:2077
Methodtest_create_from_bytes
Test creating FileBytes from raw bytes.
lib/crewai/tests/utilities/test_files.py:118
Methodtest_create_from_existing_file
Test creating FilePath from an existing file.
lib/crewai/tests/utilities/test_files.py:71
Methodtest_create_from_git_sends_it
(self, mock_repository, _env)
lib/cli/tests/deploy/test_deploy_main.py:2061
Methodtest_create_from_stream
Test creating FileStream from a file-like object.
lib/crewai/tests/utilities/test_files.py:141
Methodtest_create_gemini_service
Test Gemini service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:246
Functiontest_create_help_hides_legacy_flag_aliases
(runner)
lib/cli/tests/test_cli.py:181
Functiontest_create_help_marks_agent_support_experimental_and_json_default
()
lib/cli/tests/test_create_agent.py:422
Functiontest_create_in_dmn_mode_does_not_offer_a_run_at_a_terminal
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:603
Methodtest_create_in_project
(self, skill_command, tmp_path)
lib/cli/tests/skills/test_main.py:53
Functiontest_create_initializes_git_repo_when_git_is_available
( args, project_root, tmp_path, monkeypatch, runner )
lib/cli/tests/test_create_crew.py:213
Methodtest_create_inline_base64
Test creating InlineBase64 instance.
lib/crewai-files/tests/test_resolved.py:18
Methodtest_create_inline_bytes
Test creating InlineBytes instance.
lib/crewai-files/tests/test_resolved.py:45
Functiontest_create_llm_anthropic_missing_dependency
Test that create_llm raises error when Anthropic dependency is missing
lib/crewai/tests/utilities/test_llm_utils.py:174
Functiontest_create_llm_from_env_with_unaccepted_attributes
()
lib/crewai/tests/utilities/test_llm_utils.py:118
Functiontest_create_llm_openai_missing_api_key
Credentials are validated lazily: `create_llm` succeeds, and the descriptive error only surfaces when the client is actually built.
lib/crewai/tests/utilities/test_llm_utils.py:162
Functiontest_create_llm_with_config_dict
()
lib/crewai/tests/utilities/test_llm_utils.py:26
Functiontest_create_llm_with_config_dict_model_aliases
( model_key: str, model_value: str, )
lib/crewai/tests/utilities/test_llm_utils.py:51
Functiontest_create_llm_with_invalid_model_string
()
lib/crewai/tests/utilities/test_llm_utils.py:69
Functiontest_create_llm_with_invalid_type
()
lib/crewai/tests/utilities/test_llm_utils.py:150
Functiontest_create_llm_with_llm_instance
()
lib/crewai/tests/utilities/test_llm_utils.py:12
Functiontest_create_llm_with_none_uses_default_model
()
lib/crewai/tests/utilities/test_llm_utils.py:94
Functiontest_create_llm_with_partial_attributes
()
lib/crewai/tests/utilities/test_llm_utils.py:137
Functiontest_create_llm_with_unknown_object
()
lib/crewai/tests/utilities/test_llm_utils.py:102
← previousnext →12,401–12,500 of 19,482, ranked by callers