MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Methodtest_continue_iteration
Test iteration continuation.
lib/crewai/tests/agents/test_agent_executor.py:474
Functiontest_control_scope_prefix_stays_in_tenant
(storage: LanceDBStorage)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:78
Methodtest_conversation_config_drives_defer_flag
``ConversationConfig(defer_trace_finalization=...)`` controls whether a conversational subclass defers per-turn trace finalization.
lib/crewai/tests/test_flow_conversation.py:1912
Functiontest_conversation_console_output_respects_verbose
(monkeypatch, capsys, console_listener, entrypoint, verbose)
lib/crewai/tests/agents/test_conversation.py:89
Functiontest_conversation_exports_routes_and_custom_replies
( monkeypatch, quiet, trace_scope )
lib/crewai/tests/telemetry/test_conversation_spans.py:23
Functiontest_conversation_hitl_pause_is_not_a_completed_turn
( in_memory_grant_collectors, monkeypatch, tmp_path, streamed, authenticated )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:508
Functiontest_conversation_input_submits_turn
(defer_trace_finalization)
lib/cli/tests/test_crew_run_tui.py:795
Functiontest_conversation_pause_closes_root_before_resume
(monkeypatch, tmp_path, quiet)
lib/crewai/tests/telemetry/test_conversation_spans.py:188
Functiontest_conversation_quit_can_ask_for_deferred_session_consent
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:185
Methodtest_conversation_state_is_implied_when_none_declared
(self)
lib/crewai/tests/test_flow_conversation.py:3172
Methodtest_conversation_turn_completed_tracks_feature_usage
Completed conversation turns count conversational Flow usage.
lib/crewai/tests/test_flow_conversation.py:1323
Functiontest_conversation_turn_done_records_assistant_message
()
lib/cli/tests/test_crew_run_tui.py:775
Functiontest_conversation_turns_finish_and_resume_with_stable_identity
( in_memory_grant_collectors, monkeypatch, tmp_path, streamed, authenticated )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:443
Functiontest_conversational_block_can_be_explicitly_disabled
()
lib/crewai/tests/test_flow_definition.py:483
Methodtest_conversational_flow_auto_defaults_to_conversation_state
``class C(Flow): conversational = True`` resolves state to ConversationState. Pins the auto-default in ``_create_initial_state``: when the us
lib/crewai/tests/test_flow_conversation.py:1012
Functiontest_conversational_flow_does_not_take_the_steps_tui
The STEPS TUI renders method progress and cannot drive a chat turn.
lib/cli/tests/test_run_declarative_flow.py:708
Functiontest_conversational_flow_headless_explains_instead_of_one_turn
( tmp_path: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:825
Functiontest_conversational_flow_rejects_an_empty_inputs_object
`--inputs '{}'` asked for something unsupported; answer it, don't ignore it.
lib/cli/tests/test_run_declarative_flow.py:752
Functiontest_conversational_flow_rejects_inputs
`--inputs` has nowhere to go: handle_turn owns the kickoff inputs.
lib/cli/tests/test_run_declarative_flow.py:728
Functiontest_conversational_flow_without_inputs_still_opens_the_tui
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:775
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_preserves_requested_model_instance
()
lib/crewai/tests/utilities/test_converter_model_response.py:61
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_validates_foreign_model
(method: str, valid: bool)
lib/crewai/tests/utilities/test_converter_model_response.py:26
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:946
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:939
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
← previousnext →12,401–12,500 of 19,735, ranked by callers