MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

Functionterminal_answer
The terminal prompt, answered without a person typing.
lib/crewai/tests/telemetry/test_trace_consent_asked.py:135
Functionterminal_stdin
Prompt as a person at a terminal would be prompted.
lib/cli/tests/test_create_crew.py:1634
Functiontest
Test the crew and evaluate the results.
lib/cli/src/crewai_cli/cli.py:687
Functiontest
Test the crew execution and returns the results.
lib/cli/src/crewai_cli/templates/crew/main.py:51
Methodtest_401_fallback_ephemeral_also_fails
If ephemeral fallback also fails, trace_batch_id is cleared.
lib/crewai/tests/tracing/test_tracing.py:1422
Methodtest_401_non_ephemeral_falls_back_to_ephemeral
A 401 on the non-ephemeral endpoint should retry as ephemeral.
lib/crewai/tests/tracing/test_tracing.py:1318
Methodtest_401_on_ephemeral_does_not_recurse
A 401 on the ephemeral endpoint should NOT try to fall back again.
lib/crewai/tests/tracing/test_tracing.py:1393
Methodtest_403_non_ephemeral_falls_back_to_ephemeral
A 403 on the non-ephemeral endpoint should also fall back.
lib/crewai/tests/tracing/test_tracing.py:1356
Functiontest_429_rate_limited_exhausts_retries
Persistent RATE_LIMITED 429s exhaust retries and raise RuntimeError.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:736
Functiontest_429_rate_limited_retries_then_succeeds
A transient RATE_LIMITED 429 is retried; success on the second attempt.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:694
Functiontest_4xx_error_raises_with_api_detail
A 422 with a structured error body includes code and detail in the message.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:496
Functiontest_5xx_is_retried
A 502 server error is retried; success on the second attempt.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:718
Functiontest__setup_for_training
(researcher, writer)
lib/crewai/tests/test_crew.py:3039
Functiontest_a2a_agent_kickoff_async_accepts_artifact
(store)
lib/crewai/tests/test_artifacts.py:825
Functiontest_a2a_delegation_saves_artifact_once_on_final_output
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:845
Functiontest_a_401_to_a_request_without_a_login_offers_none
Only the login AMP rejected is offered again: an anonymous read was not one.
lib/cli/tests/experimental/test_eval_crew.py:2517
Methodtest_a_backslash_target_measures_the_root_workbook_calamine_would_read
( self, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:746
Methodtest_a_backslash_target_reads_the_root_workbook_as_calamine_does
calamine takes the workbook folder up to the last "/" only, so a target of ``xl\\workbook.xml`` names the root ``workbook.xml``, not ``xl/``'s
lib/crewai-files/tests/spreadsheets/test_reading.py:738
Functiontest_a_bare_link_asks_for_the_code_to_be_entered
( capsys: pytest.CaptureFixture[str], opened: list[str] )
lib/crewai-core/tests/test_auth_instructions.py:50
Functiontest_a_bare_llm_call_in_a_flow_step_runs_on_the_mapped_model
The case roles cannot reach: a flow step's own `LLM(...).call()`.
lib/crewai/tests/test_llm_overlay.py:589
Functiontest_a_before_tool_call_hook_can_block_the_approved_call
(db)
lib/crewai/tests/agents/test_tool_approval.py:277
Functiontest_a_binary_file_is_refused
(loader: LoadSkillTool, skill_dir: Path)
lib/crewai/tests/skills/test_skill_files.py:193
Functiontest_a_blank_credential_runs_untraced_too
The grant client refuses a blank credential in its constructor, with the same error a refused grant raises — so it must not fail the run either.
lib/crewai/tests/telemetry/test_trace_lifecycle.py:437
Functiontest_a_blank_logged_in_credential_is_counted_as_refused
( sent_features, monkeypatch )
lib/crewai/tests/telemetry/test_session_trace_export.py:1224
Methodtest_a_body_past_the_limit_stops_the_download
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:213
Methodtest_a_body_that_arrives_before_the_deadline_is_returned
(self)
lib/crewai-tools/tests/url_read_tool_test.py:875
Methodtest_a_broken_archive_is_unreadable
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:119
Functiontest_a_built_in_tool_added_for_the_run_can_be_listed_too
(monkeypatch, run)
lib/crewai/tests/agents/test_tool_approval.py:906
Functiontest_a_cached_agent_calls_a_server_with_auth_again_for_each_caller
(mcp_server)
lib/crewai/tests/mcp/test_mcp_auth.py:258
Methodtest_a_calamine_failure_is_unreadable
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:370
Methodtest_a_call
(self, server, provider, mode, stream)
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:566
Functiontest_a_call_too_long_to_review_is_not_recorded_and_the_agent_is_told_to_shorten_it
(db)
lib/crewai/tests/agents/test_tool_approval.py:720
Methodtest_a_call_without_tools_keeps_its_reasoning
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:383
Functiontest_a_caller_who_chose_litellm_keeps_it_when_the_declared_sdk_is_missing
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_llm_overlay.py:873
Functiontest_a_caller_who_chose_litellm_keeps_litellm
()
lib/crewai/tests/utilities/test_create_llm_like.py:189
Functiontest_a_cap_the_caller_set_is_carried_even_when_the_class_does_not_emit_it
()
lib/crewai/tests/utilities/test_create_llm_like.py:66
Functiontest_a_change_outside_the_project_directory_leaves_the_zip_clean
In a monorepo the ZIP holds only the project directory, so a change elsewhere in the repository is not an uncommitted change in the ZIP.
lib/cli/tests/deploy/test_deploy_main.py:2342
Functiontest_a_change_since_the_last_traced_run_runs_the_crew_again
What the evaluation would grade is no longer what the project does: a coding agent that edits the crew and runs `crewai eval` gets its edit graded
lib/cli/tests/experimental/test_eval_crew.py:3592
Methodtest_a_changed_token_endpoint_counts_as_endpoint_changed
( self, configured: Callable[[Oauth2Settings], None], usage: list[str] )
lib/crewai-core/tests/test_auth_refresh.py:1142
Functiontest_a_character_reference_too_long_to_decode_is_left_alone
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1114
Functiontest_a_checkpoint_from_before_the_field_never_reads_its_plan
( downloads, monkeypatch, tmp_path )
lib/crewai/tests/agents/test_agent_spreadsheets.py:822
Functiontest_a_checkpoint_restore_is_not_counted_as_a_resume
Only a run restored from a human pause is marked resumed. ``_is_execution_resuming`` is also set by checkpoint restores that never paused for
lib/crewai/tests/telemetry/test_flow_telemetry.py:785
Functiontest_a_child_app_reads_the_note_off_the_token_file
In a child process there is no holder: the file the command wrote says it.
lib/cli/tests/test_crew_run_tui.py:757
Functiontest_a_child_process_run_reads_the_waiting_evaluation_off_its_environment
A project's crew runs through `uv run …`, so the app is in another process — the one thing that crosses is the environment the command passed
lib/cli/tests/test_crew_run_tui.py:857
Functiontest_a_class_the_running_process_cannot_reach_degrades_to_none_not_to_the_wrong_class
An unresolvable identity must lose only ``error_type``, never bind to something else. A locally defined class is unreachable by attribute lookup
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:594
Methodtest_a_client_params_base_url_marks_a_server_compatible
`client_params` win over the standard fields when the client is built.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:472
Functiontest_a_code_flow_step_kicking_off_an_agent
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:413
Functiontest_a_code_that_runs_out_while_pending_is_a_timeout
(provider, usage)
lib/cli/tests/authentication/test_login_usage.py:221
Functiontest_a_code_that_runs_out_while_pending_is_a_timeout
(provider, usage)
lib/crewai/tests/cli/authentication/test_login_usage.py:221
Functiontest_a_coding_agent_at_a_terminal_gets_the_question_not_the_hint
( capsys, grants, terminal_answer )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:696
Functiontest_a_coding_agent_is_not_told_once_the_question_is_answered
( capsys, recorded )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:671
Functiontest_a_coding_agent_is_not_told_when_the_env_var_decides
( monkeypatch, capsys, grants, value )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:684
Functiontest_a_coding_agent_is_told_once_how_to_turn_traces_on
( capsys, grants, usage, recorded )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:632
Functiontest_a_coding_agent_marker_the_projects_env_sets_creates_no_account
crewAI loads the project's `.env` into the environment, so a marker it sets is not a coding agent: with no terminal either, this is CI.
lib/cli/tests/authentication/test_placeholder.py:518
Functiontest_a_coding_agent_marker_the_projects_env_sets_uploads_anonymously
CI with a `.env` that sets CLAUDECODE is still CI.
lib/crewai/tests/telemetry/test_placeholder_traces.py:362
Functiontest_a_coding_agent_that_enabled_traces_uploads_and_sees_the_link
The hint's advice works: `crewai traces enable`, then a run with no terminal and no login uploads to the temporary account and prints its sign
lib/crewai/tests/telemetry/test_trace_consent_asked.py:833
Functiontest_a_coding_agent_with_no_login_gets_an_account_and_the_deploy_goes_ahead
( amp, project, coding_agent, capsys, usage )
lib/cli/tests/authentication/test_placeholder.py:243
Functiontest_a_column_never_mixes_per_run_and_totals
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1798
Methodtest_a_column_with_many_values_counts_them
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:92
Functiontest_a_comparison_amp_refuses_the_account_for_is_retried_once
( amp, deployed, coding_agent, capsys, usage )
lib/cli/tests/authentication/test_placeholder.py:742
Functiontest_a_comparison_leaves_its_criteria_behind_when_the_project_has_none
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2187
Functiontest_a_comparison_never_overwrites_the_projects_criteria
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2199
Functiontest_a_comparison_prints_its_brief_only_when_nobody_is_watching
(deployed, monkeypatch, capsys, watching)
lib/cli/tests/experimental/test_eval_crew.py:2322
Methodtest_a_compatible_server_is_not_remembered
Its later calls still start on chat completions, as `api` asks.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:612
Methodtest_a_complaint_about_the_value_surfaces_and_is_not_remembered
The server takes the parameter; the value is the caller's mistake.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:587
Functiontest_a_concurrent_run_cannot_send_the_command_after_the_wrong_one
The record is the project's last finish, which another run can replace while this app is open. The app's own marker is what settles it.
lib/cli/tests/experimental/test_eval_crew.py:1466
Functiontest_a_config_too_large_to_be_criteria_is_left_behind
A file that AMP would refuse is not uploaded, and the run is still graded.
lib/cli/tests/experimental/test_eval_crew.py:1302
Functiontest_a_configured_definition_that_does_not_exist
( project, usage, pyproject, kind )
lib/cli/tests/test_run_usage.py:279
Functiontest_a_configured_review_provider_is_never_asked_to_confirm_a_tool_call
(db, monkeypatch)
lib/crewai/tests/agents/test_tool_approval.py:315
Functiontest_a_connection_made_after_the_deadline_passed_is_cut
As the next redirect hop can be: the timer has already run when it connects.
lib/crewai-tools/tests/utilities/test_safe_requests.py:845
Functiontest_a_conversation_ending_on_a_tool_result_keeps_its_order
The tool pair answers the question, so it must not precede it. Splicing every non-request turn before the prompt hoisted a trailing tool call
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:151
Methodtest_a_conversation_field_listed_after_construction_fails_the_turn
( self, entry: str, name: str )
lib/crewai/tests/test_flow_conversation.py:3883
Functiontest_a_conversation_over_the_bound_keeps_its_ends_and_names_the_cut
The repeated conversation on an LLM call is where a large tool result would otherwise be copied into every later call: past the bound its middle
lib/crewai/tests/telemetry/test_span_attribute_bound.py:222
Methodtest_a_conversation_state_subclass_is_not_composed_twice
(self)
lib/crewai/tests/test_flow_conversation.py:2837
Functiontest_a_conversation_with_no_user_message_still_has_a_request
Nothing to select, so the last message stands in as it always has.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:138
Functiontest_a_conversational_flow_without_a_terminal
(project, usage, monkeypatch)
lib/cli/tests/test_run_usage.py:950
Functiontest_a_conversational_turn_is_marked
Each turn is its own kickoff, but a session reports one completion. Without the marker those spans run many-to-one against Flow Completed and
lib/crewai/tests/telemetry/test_flow_telemetry.py:812
Functiontest_a_copied_task_never_reads_its_plan
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:873
Functiontest_a_coworker_never_fetches_a_url_the_manager_model_wrote
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:647
Functiontest_a_coworker_reads_a_spreadsheet_the_crews_input_gave
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:618
Functiontest_a_coworker_reads_a_url_from_the_crews_input_past_the_cap
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:631
Methodtest_a_crafted_name_is_cut_to_excels_length_and_cannot_close_its_quotes
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:142
Methodtest_a_create_amp_rejects_as_unauthorized_asks_for_login
Counted as before, then raised as the error the run app logs in on.
lib/cli/tests/deploy/test_deploy_main.py:1381
Functiontest_a_crew_copy_made_inside_the_block_is_built_from_the_declared_llm
`Crew.copy()` — the `kickoff_for_each` path — copies every agent before its input is interpolated. A template that is itself a key maps at constru
lib/crewai/tests/test_llm_overlay.py:487
Functiontest_a_crew_task_with_a_spreadsheet_url_queries_every_row
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:342
Functiontest_a_crew_that_sets_tracing_false_is_never_told_its_trace_is_sent
()
lib/cli/tests/test_crew_run_tui.py:772
Functiontest_a_crew_whose_trace_would_carry_the_login_to_an_untrusted_amp_is_not_run
A project crewai older than the handshake would send this machine's login to the AMP its `.env` names whenever the run traces, `tracing=True`
lib/cli/tests/experimental/test_eval_crew.py:4442
Functiontest_a_crewai_without_missing_api_key_error_stops_as_before
The runner child imports the project's crewai, which can predate MissingAPIKeyError (1.15.34): the run fails and counts as it always has.
lib/cli/tests/test_run_usage.py:1548
Functiontest_a_cross_provider_swap_carries_settings_but_not_credentials
Generation settings mean the same thing everywhere; an endpoint and a key belong to the provider they were issued for. The Anthropic instance
lib/crewai/tests/test_llm_overlay.py:391
Methodtest_a_csv_from_bytes
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:118
Methodtest_a_csv_goes_straight_to_its_profile_without_the_formula_note
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:194
Functiontest_a_csv_named_only_by_its_presigned_type_is_read
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1169
Methodtest_a_csv_past_the_cell_budget_is_refused
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:573
Functiontest_a_csv_waits_for_a_parse_slot_like_an_xlsx
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:793
Functiontest_a_custom_endpoint_is_kept_when_the_mapped_model_is_unknown_too
A self-hosted OpenAI-compatible endpoint serves models no constants table knows; mapping one of them to another must stay on that endpoint, with i
lib/crewai/tests/utilities/test_create_llm_like.py:137
Methodtest_a_damaged_archive_is_not_a_spreadsheet
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:99
Methodtest_a_date_far_in_the_future_matches
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:380
Methodtest_a_date_filter_takes_iso_dates_only
The sheet may read 01/03/2026 day-first; the filter can't guess.
lib/crewai-files/tests/spreadsheets/test_answers.py:303
Methodtest_a_date_past_pandas_nanosecond_range_is_still_a_date
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:475
Methodtest_a_date_with_a_zone_compares_as_utc
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:414
← previousnext →10,601–10,700 of 20,757, ranked by callers