MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_an_evaluation_amp_failed_is_counted_and_says_what_it_always_said
( project, monkeypatch, capsys, usage )
lib/cli/tests/experimental/test_eval_crew.py:2604
Functiontest_an_evaluation_that_fails_after_it_started_stops_under_the_same_id
(project, monkeypatch, counted)
lib/cli/tests/experimental/test_eval_crew.py:1012
Functiontest_an_evaluation_that_finishes_counts_no_stop
(monkeypatch, stops)
lib/cli/tests/test_crew_run_tui.py:3023
Functiontest_an_evaluation_that_graded_nothing_prints_the_gate_alone
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:322
Functiontest_an_evaluation_that_stopped_can_be_tried_again
A timeout or a 502 is worth another press, and the run is still there to grade — only a finished one sends the reader to its report instead.
lib/cli/tests/test_crew_run_tui.py:339
Functiontest_an_evaluation_that_stopped_says_so_where_it_was_running
()
lib/cli/tests/test_crew_run_tui.py:434
Functiontest_an_evaluation_that_stops_on_this_screen_counts_why_and_answers_for_the_run
The marker tells a `crewai eval` waiting behind this screen that the run was answered for, so it neither starts it again nor counts the stop twice
lib/cli/tests/test_crew_run_tui.py:2991
Functiontest_an_evaluation_that_stops_while_waiting_was_counted_and_says_why
It started, so `cli_usage:eval` counted it; the stop is the second half.
lib/cli/tests/experimental/test_eval_crew.py:2557
Functiontest_an_exact_model_key_wins_over_a_stripped_one_and_over_the_wildcard
()
lib/crewai/tests/test_llm_overlay.py:623
Functiontest_an_exit_with_no_reason_says_that_rather_than_its_code
Nothing on this path should exit any more, but an exit carries a code and `1` on screen is not an answer.
lib/cli/tests/test_crew_run_tui.py:385
Functiontest_an_expired_download_is_let_go
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1087
Functiontest_an_explicit_definition_counts_a_declarative_flow_start
(project, usage)
lib/cli/tests/test_run_usage.py:215
Methodtest_an_explicit_store_wins
(self, store)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:660
Functiontest_an_explicitly_empty_span_limit_is_unlimited_not_the_general_limit
In the SDK an empty span setting means unlimited and wins over the general one; the bound is then crewAI's own.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:390
Functiontest_an_export_folder_that_is_a_link_stops_the_export
(project, monkeypatch, leads_to)
lib/cli/tests/experimental/test_eval_crew.py:3126
Functiontest_an_export_folder_that_resolves_elsewhere_stops_the_export
A Windows junction is not a link to `is_symlink`, but resolves elsewhere: the path writer refuses any folder that does not resolve to itself.
lib/cli/tests/experimental/test_eval_crew.py:3065
Functiontest_an_export_waits_two_minutes_for_its_large_answer
The export carries every setup's outputs and traces, tens of MB: the httpx default of 5 s would cut it off.
lib/cli/tests/test_plus_api.py:613
Functiontest_an_export_without_a_report_does_not_point_at_one
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3232
Functiontest_an_export_without_a_viewer_url_is_recorded_all_the_same
( collector, recorded_runs, monkeypatch, capsys, authenticated )
lib/crewai/tests/telemetry/test_session_trace_export.py:353
Methodtest_an_httpx_url_override_is_the_endpoint_the_client_calls
The SDK takes `str | httpx.URL`; detection and memory must see both alike.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:478
Functiontest_an_id_somebody_typed_is_answered_at_once
`--run <id>` is a question about a named run, not about this project's last one, and a typo should not cost two minutes.
lib/cli/tests/experimental/test_eval_crew.py:1497
Functiontest_an_id_that_is_not_a_string_is_a_protocol_error
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:295
Functiontest_an_id_that_is_not_a_uuid_is_refused_without_a_request
(project, monkeypatch, given)
lib/cli/tests/experimental/test_eval_crew.py:3242
Functiontest_an_image_only_request_is_named_not_serialized
No text block to promote, so the placeholder stands in for the repr.
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:82
Methodtest_an_implicit_move_asks_openai_not_to_store
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:654
Functiontest_an_input_without_a_spreadsheet_url_is_unchanged
(downloads, monkeypatch, entry)
lib/crewai/tests/agents/test_agent_spreadsheets.py:430
Functiontest_an_installed_litellm_loads
crewai treats a LiteLLM that fails to import as not installed, and tells the user to install the extra they already have. litellm 1.100.4 did this
lib/crewai/tests/test_llm.py:1521
Functiontest_an_interrupted_project_script_counts_no_stop
Ctrl-C is the person ending the run, not the run failing.
lib/cli/tests/test_run_usage.py:1017
Functiontest_an_interrupted_run_crewai_eval_started_is_not_uploaded
Only a run that failed is graded: one that was stopped, by Ctrl-C, a cancelled task or a discarded deferred lifetime, is discarded as before.
lib/crewai/tests/telemetry/test_session_trace_export.py:994
Functiontest_an_llm_built_in_the_crews_code_names_its_host
The agent that runs can be built in code with its own host.
lib/cli/tests/test_api_keys.py:506
Methodtest_an_llm_definition_resolves_with_its_settings
(self)
lib/crewai/tests/test_flow_conversation.py:2953
Functiontest_an_llm_the_caller_assigns_later_is_the_declared_one_from_then_on
`Agent.llm` is a plain field; a caller may set it after construction. A miss reverts to what the caller last put there, not to construction's.
lib/crewai/tests/test_llm_overlay.py:449
Functiontest_an_object_form_llm_in_a_json_crew_is_not_checked
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1122
Methodtest_an_ods_file_says_so
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:128
Functiontest_an_older_commands_empty_file_is_a_request_that_trusts_no_amp
()
lib/crewai-core/tests/test_eval_handshake.py:119
Functiontest_an_older_server_adds_nothing_after_the_link
(project, monkeypatch, capsys, brief_url)
lib/cli/tests/experimental/test_eval_crew.py:2255
Methodtest_an_ole_file_is_refused_as_protected_or_legacy
( self, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:99
Methodtest_an_ole_file_named_csv_is_refused_too
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:106
Methodtest_an_openai_lesson_does_not_reroute_a_gateway
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:643
Functiontest_an_opted_out_process_sends_nothing
The real `Telemetry`, its exporter replaced: opted out, no span starts; opted in, the same run sends its start, and its stop when its script faile
lib/cli/tests/test_run_usage.py:1112
Functiontest_an_option_this_project_kind_does_not_take
( project, usage, pyproject, args, kind )
lib/cli/tests/test_run_usage.py:310
Functiontest_an_ordinary_flow_is_not_marked_conversational
( conversational_marks: list[tuple[str, bool]], )
lib/crewai/tests/telemetry/test_flow_telemetry.py:831
Functiontest_an_ordinary_memory_failure_still_degrades
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:304
Functiontest_an_ordinary_memory_recall_failure_still_degrades
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:348
Functiontest_an_ordinary_memory_save_failure_still_degrades
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:366
Functiontest_an_ordinary_model_failure_is_still_retried
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:293
Functiontest_an_ordinary_step_failure_still_reports_a_failed_step
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:268
Functiontest_an_origin_is_scheme_and_host_only
(url, origin)
lib/cli/tests/experimental/test_eval_crew.py:553
Functiontest_an_output_cap_keeps_its_meaning_under_the_targets_name
()
lib/crewai/tests/utilities/test_create_llm_like.py:120
Functiontest_an_over_cap_prompt_is_declared_truncated_never_silently_cut
( pipeline, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:252
Functiontest_an_oversized_config_is_said_once_and_through_the_callers_note
The run app routes notes onto its own screen, and the spans of a fresh run can take several 404s to land — the warning belongs there, once.
lib/cli/tests/experimental/test_eval_crew.py:1133
Functiontest_an_sdk_length_limit_lowers_the_bound_so_the_sdk_never_cuts
The OpenTelemetry SDK cuts a value over its limit with no marker. A user who set that limit gets it, but cut by crewAI, which says so.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:255
Functiontest_an_sdk_limit_above_the_ceiling_does_not_raise_the_bound
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/telemetry/test_span_attribute_bound.py:310
Functiontest_an_sdk_span_limit_of_zero_is_kept_and_cuts_everything_with_the_marker
The SDK accepts 0 and cuts every string to nothing; crewAI does the same cut first, so it carries the marker.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:372
Methodtest_an_unavailable_count_is_unknown_not_a_band
`os.cpu_count()` returns None when it cannot tell; that is not "1-2".
lib/crewai-core/tests/test_runtime_env.py:183
Methodtest_an_unbound_generated_model_is_omitted_from_the_projection
A `create_model()` class no module attribute names cannot be reloaded.
lib/crewai/tests/test_flow_conversation.py:2725
Methodtest_an_unbuildable_declared_model_still_gets_the_chat_shape
A bad ref fell back to a plain dict, so the turn died on `state.id`.
lib/crewai/tests/test_flow_conversation.py:2864
Functiontest_an_unchanged_project_has_its_last_traced_run_graded_without_running
( project, monkeypatch, capsys )
lib/cli/tests/experimental/test_eval_crew.py:3361
Methodtest_an_unknown_column_on_a_wide_sheet_lists_forty
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:450
Methodtest_an_unknown_column_suggests_the_closest
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:442
Functiontest_an_unknown_operation_is_explained
(sales_tools)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1245
Methodtest_an_unknown_sheet_lists_the_sheets
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:219
Methodtest_an_unnamed_workbook_is_found_inside_its_archive
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:50
Functiontest_an_unparseable_pyproject
(project, usage)
lib/cli/tests/test_run_usage.py:263
Functiontest_an_unpriced_model_keeps_the_per_run_unit_and_its_dash_is_explained
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1786
Functiontest_an_unreachable_amp_at_the_start_counts_as_a_network_error
(project, monkeypatch, usage)
lib/cli/tests/experimental/test_eval_crew.py:2522
Methodtest_an_unreadable_cell_reference_is_refused
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:291
Functiontest_an_unreadable_login_is_said_as_it_is_once_the_crew_has_run
The crew runs whoever is logged in; a login that exists and cannot be read stops the evaluation with its own sentence, printed as it is.
lib/cli/tests/experimental/test_eval_crew.py:1602
Functiontest_an_unreadable_login_with_nobody_to_ask_counts_as_such
No terminal and a saved login that cannot be read: the crew runs, and the login is the reason the evaluation stops, so it is the reason counted.
lib/cli/tests/experimental/test_eval_crew.py:2632
Functiontest_an_unsafe_path_is_skipped_and_nothing_is_written_outside
(project, monkeypatch, capsys, name)
lib/cli/tests/experimental/test_eval_crew.py:2985
Methodtest_an_unsupported_value_surfaces
A bad value is the caller's mistake and must not be papered over.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:339
Functiontest_an_untraced_run_whose_script_failed_shows_its_last_lines
( project, monkeypatch, capfd, usage, failure, said_by_run )
lib/cli/tests/experimental/test_eval_crew.py:4384
Methodtest_an_xlsx_name_on_other_bytes_is_not_a_spreadsheet
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:111
Methodtest_analyze_audio_file
Test Gemini can analyze an audio file.
lib/crewai/tests/llms/test_multimodal_integration.py:385
Functiontest_analyze_for_save_llm_failure_returns_defaults
When LLM raises, analyze_for_save returns safe defaults.
lib/crewai/tests/memory/test_unified_memory.py:826
Methodtest_analyze_pdf
Test Anthropic can analyze a PDF.
lib/crewai/tests/llms/test_multimodal_integration.py:247
Methodtest_analyze_pdf
Test Bedrock Claude can analyze a PDF.
lib/crewai/tests/llms/test_multimodal_integration.py:309
Functiontest_analyze_query_llm_failure_returns_defaults
When LLM raises, analyze_query returns safe defaults with available scopes.
lib/crewai/tests/memory/test_unified_memory.py:859
Methodtest_analyze_text_file
Test Gemini can analyze a text file.
lib/crewai/tests/llms/test_multimodal_integration.py:349
Methodtest_analyze_video_file
Test Gemini can analyze a video file.
lib/crewai/tests/llms/test_multimodal_integration.py:367
Functiontest_and_branch_inside_or_does_not_race
()
lib/crewai/tests/test_flow.py:1638
Functiontest_and_condition_node_metadata
Test that AND condition nodes have correct metadata.
lib/crewai/tests/test_flow_visualization.py:318
Methodtest_and_condition_triggered_by_last_method
AND condition listener should have triggered_by_event_id pointing to the last completing method.
lib/crewai/tests/events/test_event_ordering.py:1131
Functiontest_and_join_waits_for_parallel_branches
Test that sibling branches complete before a joined listener runs. Branches triggered by the same parent execute in parallel for efficiency.
lib/crewai/tests/test_flow.py:1514
Functiontest_and_or_merge_parity
()
lib/crewai/tests/test_flow_from_definition.py:575
Functiontest_anonymous_grant_omits_saved_organization_and_rejects_wrong_tier
(collector)
lib/crewai/tests/telemetry/test_session_trace_export.py:502
Methodtest_answer_from_history_uses_configured_llm_and_appends_reply
(self)
lib/crewai/tests/test_flow_conversation.py:326
Functiontest_answer_retries_once_then_reports_why_there_was_none
()
lib/devtools/tests/test_agents_md_eval.py:285
Functiontest_anthropic_acall_returns_dict_tool_use_blocks_as_tool_calls
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1749
Functiontest_anthropic_agent_kickoff_structured_output_with_tools
Test that agent kickoff returns structured output after using tools. This tests post-tool-call structured output handling for Anthropic model
lib/crewai/tests/llms/anthropic/test_anthropic.py:1116
Functiontest_anthropic_agent_kickoff_structured_output_without_tools
Test that agent kickoff returns structured output without tools. This tests native structured output handling for Anthropic models.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1080
Methodtest_anthropic_agent_kickoff_with_tools_mocked
Test Anthropic agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:490
Methodtest_anthropic_agent_with_native_tool_calling
Test Anthropic agent can use native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:464
Functiontest_anthropic_async_basic_call
Test basic async call with Anthropic.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:14
Functiontest_anthropic_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:69
Functiontest_anthropic_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:102
Functiontest_anthropic_async_stop_sequences
Test async call with stop sequences.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:87
Functiontest_anthropic_async_streaming_returns_dict_tool_use_blocks_as_tool_calls
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1786
Functiontest_anthropic_async_streaming_tool_calls_emit_call_completed_event
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1838
Functiontest_anthropic_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:39
← previousnext →11,101–11,200 of 19,663, ranked by callers