MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

Functiontest_an_id_that_is_not_a_string_is_a_protocol_error
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:320
Functiontest_an_id_that_is_not_a_uuid_is_refused_without_a_request
(project, monkeypatch, given)
lib/cli/tests/experimental/test_eval_crew.py:3456
Methodtest_an_idle_login_is_not_used_even_with_an_unexpired_access_token
( self, wall_clock: WallClock )
lib/crewai-core/tests/test_auth_refresh.py:788
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:1084
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:2956
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_mcp_tool_is_listed_with_or_without_its_server_prefix
(listed)
lib/crewai/tests/agents/test_tool_approval.py:894
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:2280
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_no_login_count
The real `Telemetry`, its exporter replaced: opted out, no span starts; opted in, the same login sends its start and its finish.
lib/cli/tests/authentication/test_login_usage.py:370
Functiontest_an_opted_out_process_sends_no_login_count
The real `Telemetry`, its exporter replaced: opted out, no span starts; opted in, the same login sends its start and its finish.
lib/crewai/tests/cli/authentication/test_login_usage.py:370
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:833
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:578
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:1158
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
Functiontest_an_unasked_first_run_records_nothing_and_uploads_nothing
(grants)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:239
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:2728
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:2867
Functiontest_an_unchanged_project_has_its_last_traced_run_graded_without_running
( project, monkeypatch, capsys )
lib/cli/tests/experimental/test_eval_crew.py:3575
Methodtest_an_unexpected_error_names_only_classes_a_known_package_defines
( self, monkeypatch: pytest.MonkeyPatch, usage: list[str], error: BaseExceptio
lib/crewai-core/tests/test_auth_refresh.py:1179
Methodtest_an_unexpired_access_token_is_not_used_past_the_30_days
( self, endpoint: FakeTokenEndpoint, wall_clock: WallClock )
lib/crewai-core/tests/test_auth_refresh.py:815
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:1811
Functiontest_an_unreachable_amp_at_the_start_counts_as_a_network_error
(project, monkeypatch, usage)
lib/cli/tests/experimental/test_eval_crew.py:2730
Functiontest_an_unreachable_amp_falls_back_to_the_login_message
( amp, project, coding_agent, capsys, usage )
lib/cli/tests/authentication/test_placeholder.py:458
Methodtest_an_unreadable_cell_reference_is_refused
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:291
Functiontest_an_unreadable_file_is_refused_without_leaking_the_host_path
( loader: LoadSkillTool, skill_dir: Path )
lib/crewai/tests/skills/test_skill_files.py:177
Functiontest_an_unreadable_login_is_no_consent_and_the_person_is_asked
A saved login that cannot be read is not a login to stand in for the question: the person is asked, and the evaluation then stops on the login,
lib/cli/tests/experimental/test_eval_crew.py:4016
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:1627
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:2840
Functiontest_an_unsafe_path_is_skipped_and_nothing_is_written_outside
(project, monkeypatch, capsys, name)
lib/cli/tests/experimental/test_eval_crew.py:3199
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:4963
Methodtest_an_unusable_reply_counts_as_bad_response
( self, endpoint: FakeTokenEndpoint, usage: list[str], reply: httpx.Response )
lib/crewai-core/tests/test_auth_refresh.py:1132
Functiontest_an_upload_that_raised_is_counted_by_its_error_class
( monkeypatch, grants, usage )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:990
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:563
Methodtest_answer_from_history_uses_configured_llm_and_appends_reply
(self)
lib/crewai/tests/test_flow_conversation.py:329
Functiontest_answer_retries_once_then_reports_why_there_was_none
()
lib/devtools/tests/test_agents_md_eval.py:285
Functiontest_answer_without_delegation_keeps_withheld_call_ids
(monkeypatch, mode)
lib/crewai/tests/a2a/test_wrapper_withheld_tools.py:31
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
Functiontest_anthropic_async_with_response_format_json
Test async call with JSON response format.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:129
Functiontest_anthropic_async_with_response_format_none
Test async call with response_format set to None.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:117
Functiontest_anthropic_async_with_response_model
Test async call with Pydantic response_model for structured output.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:149
Functiontest_anthropic_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:52
Functiontest_anthropic_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:27
Functiontest_anthropic_async_with_tools
Test async call with tools.
lib/crewai/tests/llms/anthropic/test_anthropic_async.py:165
Functiontest_anthropic_cache_creation_tokens_extraction
Test that cache_creation_input_tokens are extracted from Anthropic responses.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1934
Functiontest_anthropic_cached_prompt_tokens
Test that Anthropic correctly extracts and tracks cached_prompt_tokens from cache_read_input_tokens. Uses cache_control to enable prompt cach
lib/crewai/tests/llms/anthropic/test_anthropic.py:1158
← previousnext →11,801–11,900 of 20,757, ranked by callers