MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_conversational_human_feedback_flow_avoids_the_tui
Textual cannot service the runtime's blocking feedback prompt. The STEPS TUI already declines these for that reason; a conversational one mus
lib/cli/tests/test_run_declarative_flow.py:793
Functiontest_conversational_is_recorded_as_a_string
Same reason as resumed: a bool arrives as key presence, not a value.
lib/crewai/tests/telemetry/test_telemetry.py:506
Methodtest_conversational_turn_emits_message_and_route_events
(self)
lib/crewai/tests/test_flow_conversation.py:552
Functiontest_converse_compacts_and_retries_actual_provider_error
(streaming: bool)
lib/crewai/tests/test_flow_context_compaction.py:131
Functiontest_converse_compacts_request_and_preserves_transcript
(streaming: bool)
lib/crewai/tests/test_flow_context_compaction.py:84
Functiontest_converse_route_executes_agent_tools
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:155
Methodtest_convert_multiple_plan_steps_to_todo_list
Test converting multiple PlanSteps to a TodoList.
lib/crewai/tests/utilities/test_planning_types.py:357
Methodtest_convert_plan_step_to_todo_item
Test converting a PlanStep to TodoItem.
lib/crewai/tests/utilities/test_planning_types.py:334
Functiontest_convert_to_model_does_not_call_the_llm_when_json_fits
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1143
Functiontest_convert_to_model_logs_a_failed_refit_without_verbose
( use_async: bool, output_json: bool, cause: str, caplog: pytest.LogCaptureFixture, )
lib/crewai/tests/utilities/test_converter.py:1275
Functiontest_convert_to_model_refits_json_that_does_not_fit_the_schema
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1092
Functiontest_convert_to_model_refits_off_schema_json_for_output_json
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1107
Functiontest_convert_to_model_refits_off_schema_json_for_output_json_with_function_calling
With function calling, output_json is refit through Instructor, which reaches the provider client directly instead of ``llm.call``.
lib/crewai/tests/utilities/test_converter.py:1328
Functiontest_convert_to_model_refits_off_schema_json_with_function_calling
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1314
Functiontest_convert_to_model_returns_original_text_when_refit_fails
( use_async: bool, converter_cls: type[Converter] | None, output_json: bool )
lib/crewai/tests/utilities/test_converter.py:1124
Functiontest_convert_to_model_with_basemodel_input_different_class
()
lib/crewai/tests/utilities/test_converter.py:105
Functiontest_convert_to_model_with_basemodel_input_matching_json
()
lib/crewai/tests/utilities/test_converter.py:99
Functiontest_convert_to_model_with_basemodel_input_matching_pydantic
()
lib/crewai/tests/utilities/test_converter.py:93
Functiontest_convert_to_model_with_escaped_special_characters
()
lib/crewai/tests/utilities/test_converter.py:137
Functiontest_convert_to_model_with_invalid_json
()
lib/crewai/tests/utilities/test_converter.py:79
Functiontest_convert_to_model_with_multiple_special_characters
()
lib/crewai/tests/utilities/test_converter.py:156
Functiontest_convert_to_model_with_no_model
()
lib/crewai/tests/utilities/test_converter.py:87
Functiontest_convert_to_model_with_special_characters
()
lib/crewai/tests/utilities/test_converter.py:118
Functiontest_convert_to_model_with_valid_json
()
lib/crewai/tests/utilities/test_converter.py:71
Functiontest_convert_with_instructions
()
lib/crewai/tests/utilities/test_converter.py:397
Functiontest_convert_with_instructions_failure
( mock_get_instructions: Mock, mock_create_converter: Mock, mock_agent: Mock )
lib/crewai/tests/utilities/test_converter.py:254
Functiontest_convert_with_instructions_success
( mock_get_instructions: Mock, mock_create_converter: Mock, mock_agent: Mock )
lib/crewai/tests/utilities/test_converter.py:236
Functiontest_converter_error_handling
()
lib/crewai/tests/utilities/test_converter.py:476
Functiontest_converter_retries_off_schema_response_as_a_validation_error
Agent/LiteAgent kickoff(response_format=...) validate the LLM's reply with Converter, which has no agent to refit with: an off-schema reply is ret
lib/crewai/tests/utilities/test_converter.py:1160
Functiontest_converter_retry_logic
()
lib/crewai/tests/utilities/test_converter.py:496
Functiontest_converter_with_ambiguous_input
()
lib/crewai/tests/utilities/test_converter.py:602
Functiontest_converter_with_enum
()
lib/crewai/tests/utilities/test_converter.py:572
Functiontest_converter_with_function_calling
()
lib/crewai/tests/utilities/test_converter.py:622
Functiontest_converter_with_list_field
()
lib/crewai/tests/utilities/test_converter.py:549
Functiontest_converter_with_llama3_1_model
()
lib/crewai/tests/utilities/test_converter.py:433
Functiontest_converter_with_llama3_2_model
()
lib/crewai/tests/utilities/test_converter.py:417
Functiontest_converter_with_nested_model
()
lib/crewai/tests/utilities/test_converter.py:453
Functiontest_converter_with_optional_fields
()
lib/crewai/tests/utilities/test_converter.py:523
Methodtest_converts_multiple_tools
Test converting multiple tools to OpenAI schema.
lib/crewai/tests/utilities/test_agent_utils.py:515
Methodtest_converts_nested
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:898
Methodtest_converts_single_tool
Test converting a single tool to OpenAI schema.
lib/crewai/tests/utilities/test_agent_utils.py:500
Methodtest_converts_top_level
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:891
Methodtest_copies_edge_files_into_snapshot
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:102
Methodtest_copy_drops_checkpoint_resume_pointers
(self)
lib/crewai/tests/test_crew_copy_resume_state.py:40
Functiontest_copy_during_active_turn_has_fresh_history_and_can_run_concurrently
( monkeypatch, clone )
lib/crewai/tests/agents/test_conversation.py:378
Methodtest_copy_of_crew_wired_agent_does_not_opt_in
A handler offered by a crew at kickoff (set_cache_handler) is runtime wiring, not construction-time consent — copies of such agents mu
lib/crewai/tests/test_tool_cache_default.py:228
Methodtest_copy_of_default_agent_does_not_opt_in
copy() rebuilds from model_dump(), which includes the field default cache=True — that must not read as an explicit opt-in on the copy
lib/crewai/tests/test_tool_cache_default.py:203
Methodtest_copy_of_explicit_cache_false_with_handler_stays_off
(self)
lib/crewai/tests/test_tool_cache_default.py:224
Methodtest_copy_of_handler_opted_in_agent_stays_opted_in
An explicit cache_handler is an opt-in too; copy() excludes the handler itself, but the consent must survive — the copy wires its own
lib/crewai/tests/test_tool_cache_default.py:215
Methodtest_copy_of_opted_in_agent_stays_opted_in
(self)
lib/crewai/tests/test_tool_cache_default.py:211
Methodtest_copy_task_drops_previous_run_output
(self)
lib/crewai/tests/test_crew_copy_resume_state.py:49
Methodtest_copy_would_execute_its_tasks_from_the_start
The copy must not resume: with the stale outputs inherited, the execution start index would equal len(tasks) and skip everything.
lib/crewai/tests/test_crew_copy_resume_state.py:59
Functiontest_core_eval_spans_carry_target_and_eval_id_and_nothing_else
`cli_usage:eval` keeps `target` and `eval_id`; every `eval_finished:*` and `eval_stopped:*` keeps `eval_id` alone; no other feature keeps either.
lib/crewai-core/tests/test_smoke.py:355
Functiontest_core_feature_span_keeps_only_what_the_feature_may_send
Each feature names what it may add. A key off its list — an id, run content, or a dimension every span already carries — is dropped, and a fea
lib/crewai-core/tests/test_smoke.py:274
Functiontest_core_load_failed_stop_carries_its_error_class_and_no_other_stop_does
`crewai run` names the class a project failed to load with on a `load_failed` stop, never the message; any other stop or start drops it.
lib/crewai-core/tests/test_smoke.py:417
Functiontest_core_models_span_carries_the_models_compared_and_nothing_else
`cli_usage:eval_models` names the models and how many — provider/model names, not a run — and still drops an id or run content.
lib/crewai-core/tests/test_smoke.py:316
Functiontest_core_telemetry_disabled_by_conventional_yes_values
( monkeypatch: pytest.MonkeyPatch, value: str )
lib/crewai-core/tests/test_smoke.py:182
Functiontest_core_telemetry_never_installs_a_global_provider
Telemetry must leave the process-wide TracerProvider untouched. Installing it globally routed every OTel-instrumented library in the host pro
lib/crewai-core/tests/test_smoke.py:223
Functiontest_core_telemetry_records_feature_usage
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-core/tests/test_smoke.py:248
Functiontest_core_telemetry_records_flow_creation_version
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-core/tests/test_smoke.py:464
Functiontest_core_telemetry_stays_enabled_for_conventional_no_values
( monkeypatch: pytest.MonkeyPatch, value: str )
lib/crewai-core/tests/test_smoke.py:194
Functiontest_core_telemetry_unrecognized_disable_value_warns_once
( monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture )
lib/crewai-core/tests/test_smoke.py:205
Functiontest_corrupt_pdf_reports_error_without_raising
A malformed PDF becomes an error string, not a traceback.
lib/crewai-tools/tests/url_read_tool_test.py:380
Functiontest_corrupt_xlsx_reports_error_without_raising
A zip that claims to be a workbook but is not becomes an error string.
lib/crewai-tools/tests/url_read_tool_test.py:804
Functiontest_cost_and_time_are_per_run_when_the_service_sends_them
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1754
Methodtest_cost_control_allows_when_approved
Test that expensive calls are allowed when approved.
lib/crewai/tests/hooks/test_human_approval.py:338
Methodtest_cost_control_logs_when_denied
Test that denied calls are logged.
lib/crewai/tests/hooks/test_human_approval.py:364
Methodtest_count_is_zero
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:89
Methodtest_count_sum_and_max_per_group
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:519
Functiontest_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
Methodtest_counts_and_shares
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:483
Methodtest_counts_scope_and_subscopes
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:160
Methodtest_cp1252_is_detected
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:488
Functiontest_crafted_record_id_does_not_over_delete
(storage: LanceDBStorage)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:114
Functiontest_crafted_scope_prefix_does_not_read_other_tenant
( storage: LanceDBStorage, payload: str )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:85
Functiontest_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
Methodtest_create_adds_name_to_skill_md
(self, skill_command)
lib/cli/tests/skills/test_main.py:67
Functiontest_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
Functiontest_create_agent_defaults_to_json_config
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:385
Functiontest_create_agent_does_not_scaffold_when_platform_setup_is_cancelled
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:250
Functiontest_create_agent_exports_installable_agent
( agent_project: Path, monkeypatch: pytest.MonkeyPatch, model: str | None )
lib/cli/tests/test_create_agent.py:29
Functiontest_create_agent_preserves_existing_directory
(agent_project: Path)
lib/cli/tests/test_create_agent.py:95
Functiontest_create_agent_rejects_crew_options
(flag: list[str])
lib/cli/tests/test_create_agent.py:110
Functiontest_create_agent_rejects_invalid_package_name
( name: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:85
Functiontest_create_at_a_terminal_prints_how_to_run_later_when_declined
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:568
Functiontest_create_at_a_terminal_runs_the_new_project_when_enter_is_pressed
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:467
Methodtest_create_basic_context
Test creating a basic pending feedback context.
lib/crewai/tests/test_async_human_feedback.py:40
Methodtest_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
Methodtest_create_batch_slice_at_end
Test creating a batch slice that goes beyond the end.
lib/crewai/tests/rag/chromadb/test_utils.py:200
Methodtest_create_batch_slice_empty_batch
Test creating a batch slice starting beyond the data.
lib/crewai/tests/rag/chromadb/test_utils.py:216
Methodtest_create_batch_slice_no_metadatas
Test creating a batch slice with no metadatas.
lib/crewai/tests/rag/chromadb/test_utils.py:230
Methodtest_create_batch_slice_normal
Test creating a normal batch slice.
lib/crewai/tests/rag/chromadb/test_utils.py:184
Methodtest_create_batch_slice_single_item
Test creating a batch slice with batch size 1.
lib/crewai/tests/rag/chromadb/test_utils.py:292
Methodtest_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
Methodtest_create_batch_slice_zero_start_index
Test creating a batch slice starting from index 0.
lib/crewai/tests/rag/chromadb/test_utils.py:276
Functiontest_create_client_chromadb
Test ChromaDB client creation.
lib/crewai/tests/rag/config/test_factory.py:9
Functiontest_create_client_unsupported_provider
Test unsupported provider raises ValueError.
lib/crewai/tests/rag/config/test_factory.py:27
Methodtest_create_cohere_service
Test Cohere service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:234
Methodtest_create_collection
Test that create_collection creates a new collection.
lib/crewai/tests/rag/qdrant/test_client.py:50
Methodtest_create_collection
Test that create_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:76
← previousnext →12,301–12,400 of 19,482, ranked by callers