Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
Method
test_a_field_past_the_csv_limit_is_unreadable
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:570
Function
test_a_file_a_project_already_has_is_never_overwritten
After the first one the file is theirs — the one thing worse than no criteria is criteria that vanish every time somebody evaluates.
lib/cli/tests/experimental/test_eval_crew.py:1330
Function
test_a_file_deleted_since_the_last_evaluation_is_a_change
An mtime cannot say a file is gone; the list of files the last evaluation kept can.
lib/cli/tests/experimental/test_eval_crew.py:4324
Function
test_a_file_exactly_at_the_size_cap_is_read
( loader: LoadSkillTool, skill_dir: Path )
lib/crewai/tests/skills/test_skill_files.py:243
Method
test_a_file_over_the_byte_limit_is_refused_unread
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:148
Function
test_a_file_over_the_size_cap_is_refused
( loader: LoadSkillTool, skill_dir: Path )
lib/crewai/tests/skills/test_skill_files.py:202
Method
test_a_file_ref_is_refused_without_reading_the_file
( self, tmp_path: Path )
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:573
Function
test_a_file_that_cant_be_downloaded_is_named_without_its_url
( downloads, caplog, failure )
lib/crewai/tests/agents/test_agent_spreadsheets.py:511
Function
test_a_file_that_grows_after_it_is_checked_is_still_capped
( loader: LoadSkillTool, skill_dir: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/skills/test_skill_files.py:216
Function
test_a_file_the_engine_trips_on_is_named_and_the_run_goes_on
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1197
Function
test_a_file_where_a_folder_goes_skips_what_goes_under_it
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3240
Function
test_a_file_written_just_after_the_record_is_the_runs_own
A main.py that saves the result once the crew returns writes a moment after the record; an edit after an evaluation (minutes) is well past it.
lib/cli/tests/experimental/test_eval_crew.py:3641
Function
test_a_filesystem_that_refuses_the_lock_still_records_the_run
Some network mounts have no working flock. Unserialised beats not recorded.
lib/crewai/tests/telemetry/test_last_run.py:203
Method
test_a_filter_that_excludes_it_says_nothing_of_it
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:631
Function
test_a_filter_written_as_twice_encoded_json_with_a_number
(sales_tools)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1227
Function
test_a_finished_login_counts_its_start_and_its_finish
( provider, usage, source )
lib/cli/tests/authentication/test_login_usage.py:181
Function
test_a_finished_login_counts_its_start_and_its_finish
( provider, usage, source )
lib/crewai/tests/cli/authentication/test_login_usage.py:181
Function
test_a_first_run_with_a_pat_uploads_with_that_pat
(amp, monkeypatch)
lib/crewai/tests/telemetry/test_placeholder_traces.py:621
Function
test_a_first_run_with_a_saved_login_uploads_to_that_account
A first run is buffered even when the CLI is logged in; its approved upload goes to the login's account, not anonymously.
lib/crewai/tests/telemetry/test_trace_consent_asked.py:490
Function
test_a_flow_built_without_approvals_never_runs_a_listed_tool
(db)
lib/crewai/tests/agents/test_tool_approval.py:885
Function
test_a_flow_kickoff_counts_its_trace
( collector, sent_features, monkeypatch, authenticated, use_async )
lib/crewai/tests/telemetry/test_session_trace_export.py:1052
Function
test_a_flow_re_run_in_the_project_env_is_told_it_was_counted
( project, usage, commands )
lib/cli/tests/test_run_usage.py:225
Method
test_a_flow_without_the_setting_ignores_the_caller_state
( self, entry: str )
lib/crewai/tests/test_flow_conversation.py:3930
Function
test_a_folder_swapped_for_a_link_while_the_export_runs_is_not_gone_through
The race a check-then-write loses: `run` is a folder when the first file goes in, and a link out of the export by the time the second one does,
lib/cli/tests/experimental/test_eval_crew.py:3359
Function
test_a_folder_that_cannot_be_written_tells_no_run
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/crewai-core/tests/test_eval_handshake.py:51
Function
test_a_folder_where_a_file_goes_is_skipped_and_the_export_goes_on
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3267
Function
test_a_folder_where_the_gitignore_goes_stops_the_export_before_any_data
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:3251
Method
test_a_forced_push_says_so_and_an_unforced_one_sends_what_it_always_did
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:350
Method
test_a_formula_reads_empty_without_a_cached_value
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:354
Method
test_a_function_local_model_is_omitted_from_the_projection
A path through `<locals>` cannot be imported back, so never emit it.
lib/crewai/tests/test_flow_conversation.py:2675
Function
test_a_gate_answered_in_place_is_recorded_by_the_session_not_the_legacy_batch
A `@human_feedback` gate answered at the console, under a tracing kickoff. The kickoff owns an execution uuid, so the OTEL session records `h
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:296
Function
test_a_gate_that_pauses_the_flow_is_recorded_by_the_session_not_the_legacy_batch
An async provider parks the flow: the session records the two pause events; the legacy collector, gated by `_on`, collects neither.
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:331
Method
test_a_gateway_lesson_stays_on_that_gateway
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:631
Method
test_a_gateway_rejection_does_not_silence_the_model_on_openai
However the gateway is configured, its rejection is keyed to it, not to OpenAI.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:661
Function
test_a_gemini_key_under_googles_name_counts
( project, children, no_prompt, monkeypatch )
lib/cli/tests/test_api_keys.py:954
Method
test_a_git_helper_error_is_not_a_zip_error
The git helpers raise plain ValueError; only ArchiveError is a ZIP problem.
lib/cli/tests/deploy/test_deploy_main.py:1294
Method
test_a_git_push_prints_no_commit
(self, mock_display, mock_repository)
lib/cli/tests/deploy/test_deploy_main.py:1823
Method
test_a_git_source_type_redeploys_from_git_even_without_origin
( self, mock_display, mock_repository, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:927
Function
test_a_gitignore_link_already_in_the_folder_is_replaced_never_followed
( project, monkeypatch )
lib/cli/tests/experimental/test_eval_crew.py:3320
Function
test_a_grant_amp_did_not_give_is_counted_with_its_reason
( monkeypatch, usage, answer, expected )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:962
Function
test_a_grant_that_could_not_be_renewed_is_counted_with_its_reason
( collector, sent_features, renewal, expected )
lib/crewai/tests/telemetry/test_session_trace_export.py:1245
Function
test_a_guardrail_does_not_check_a_run_that_stopped_for_an_approval
(db)
lib/crewai/tests/agents/test_tool_approval.py:743
Function
test_a_header_row_asked_for_is_the_one_returned_while_another_is_cached
Another caller caching a different header row right after this one's table is cached must not swap the table this caller gets back.
lib/crewai-files/tests/spreadsheets/test_reading.py:802
Method
test_a_header_row_off_the_sheet_says_the_range
(self, row)
lib/crewai-files/tests/spreadsheets/test_reading.py:447
Function
test_a_higher_crewai_setting_is_clamped_to_the_ceiling_with_one_warning
Above the ceiling, several bounded attributes would not fit one Wharf request; the setting is clamped, said once, never silently raised.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:292
Function
test_a_host_answer_is_recorded_as_asked
(grants, answer, recorded)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:313
Function
test_a_host_consent_screen_counts_as_someone_to_ask
The terminal UI silences crewAI's prompt and asks on its own screen.
lib/crewai/tests/telemetry/test_trace_consent_asked.py:218
Function
test_a_host_that_closed_before_asking_records_nothing
The terminal UI returns None when the person quit the app: quitting is not an answer.
lib/crewai/tests/telemetry/test_trace_consent_asked.py:321
Function
test_a_host_that_says_no_outranks_a_recorded_yes
(linked_grants)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:889
Function
test_a_host_that_silenced_tracing_messages_hides_the_hint
(capsys)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:715
Function
test_a_human_feedback_step_elsewhere_still_goes_to_the_configured_provider
(db, monkeypatch)
lib/crewai/tests/agents/test_tool_approval.py:330
Function
test_a_json_agent_without_an_llm_is_checked_against_the_model_crewai_picks
( project, children, no_prompt, env, key )
lib/cli/tests/test_api_keys.py:1141
Function
test_a_json_crew_definition_that_cannot_be_loaded
( project, usage, error_classes )
lib/cli/tests/test_run_usage.py:438
Function
test_a_json_crew_file_that_does_not_parse_is_left_to_the_run
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1107
Function
test_a_json_crew_missing_a_required_input
Counted by the project-env process that loads the crew: its parent counted the start.
lib/cli/tests/test_run_usage.py:371
Function
test_a_json_crew_reads_its_agents_and_crew_jsonc_past_comments
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1055
Function
test_a_json_crew_saved_with_a_utf8_bom_is_read
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1092
Function
test_a_json_crew_setting_outside_the_agents_llm_still_names_its_host
crewAI builds clients from more than an agent's `llm`, and an llm's `client_params` override its `base_url`.
lib/cli/tests/test_api_keys.py:734
Function
test_a_json_crew_stopped_for_its_key_names_the_host_its_env_sends_requests_to
Without a terminal, the line to add is all a person or agent reads.
lib/cli/tests/test_run_usage.py:1456
Function
test_a_json_crew_that_does_not_load_for_an_error_that_is_its_own_cause_counts_load_failed
( project, usage, error_classes, monkeypatch, terminal )
lib/cli/tests/test_run_usage.py:1521
Function
test_a_json_crew_that_does_not_load_for_another_reason_counts_load_failed
( project, usage, error_classes )
lib/cli/tests/test_run_usage.py:1507
Function
test_a_json_crew_that_fails_at_kickoff_for_another_reason_raises_as_before
( project, usage, monkeypatch, error )
lib/cli/tests/test_run_usage.py:1487
Function
test_a_json_crew_whose_model_cannot_be_built_counts_why
crewAI raises any failure to build a model as an ImportError, which the JSON loader wraps in a JSONProjectError naming the agent's file: the class
lib/cli/tests/test_run_usage.py:813
Function
test_a_json_crew_whose_run_fails_counts_as_failed
The real `crewai run` on a JSON crew whose run exits 1 in the project's environment: it raises SystemExit(1), which the command used to let throug
lib/cli/tests/experimental/test_eval_crew.py:5286
Function
test_a_json_crew_without_its_key_stops_with_the_line_to_add
A provider raises for its key once kickoff calls the model, after the agent's retries; with crewai 1.15.34 to 1.15.37 an OpenAI-compatible one
lib/cli/tests/test_run_usage.py:1435
Function
test_a_json_crew_without_the_crewai_package
(usage, monkeypatch)
lib/cli/tests/test_run_usage.py:415
Function
test_a_json_crews_blank_env_model_hides_the_shells
A JSON crew's run applies the `.env`'s blank MODEL over the shell's, so crewAI's default model runs.
lib/cli/tests/test_api_keys.py:1254
Function
test_a_json_crews_custom_tool_that_sets_an_endpoint_names_its_host
A JSON crew's custom tools are imported before its agents build their llm.
lib/cli/tests/test_api_keys.py:598
Function
test_a_json_crews_env_model_is_checked_over_the_shells
A JSON crew's run applies the project's `.env` MODEL over the shell's, so an agent with no llm needs that provider's key.
lib/cli/tests/test_api_keys.py:665
Function
test_a_json_crews_manager_agent_and_json_agent_files_are_read
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1155
Function
test_a_json_definition_sets_the_list
(tmp_path)
lib/crewai/tests/agents/test_tool_approval.py:981
Function
test_a_json_project_error_that_is_its_own_cause_is_named_once
crewAI's providers re-raise with `raise e from e`; the walk ends there.
lib/cli/tests/test_run_usage.py:742
Function
test_a_jsonc_comment_ended_by_a_carriage_return_hides_no_endpoint
Files are read in text mode, so a lone `\\r` is a line end before any comment is stripped, here as in crewAI's own loader.
lib/cli/tests/test_api_keys.py:621
Function
test_a_key_in_the_env_file_asks_nothing_and_stays_unloaded
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:940
Function
test_a_key_in_the_environment_asks_nothing
( project, children, no_prompt, monkeypatch )
lib/cli/tests/test_api_keys.py:927
Function
test_a_key_is_not_saved_to_an_env_file_others_can_read_and_that_cannot_be_made_private
Saved, the key would stay readable by every other account on the machine.
lib/cli/tests/test_api_keys.py:287
Function
test_a_key_missing_from_the_env_file_above_is_named_there_not_saved
A `.env` made in the project would hide the one above from crewAI.
lib/cli/tests/test_api_keys.py:819
Function
test_a_key_that_cannot_be_saved_is_still_handed_to_the_run
( project, children, monkeypatch, capsys )
lib/cli/tests/test_api_keys.py:253
Function
test_a_key_the_process_only_inherited_is_replaced_by_the_placeholder
The `.env` can also point the provider at its own host: the shell's key must not go there, so the placeholder applies, and a `.env` cannot claim
lib/cli/tests/test_run_crew.py:1862
Function
test_a_kickoff_with_a_spreadsheet_url_queries_every_row
(downloads, entry)
lib/crewai/tests/agents/test_agent_spreadsheets.py:215
Function
test_a_later_stop_in_the_same_app_does_not_inherit_an_ended_evaluations_id
A long-lived run app: one evaluation ends (a verdict, a failed evaluation, or a stop the app counts after `evaluate_run` raised), then a later
lib/cli/tests/experimental/test_eval_crew.py:1121
Function
test_a_legacy_record_survives_an_unasked_run_unchanged
(grants)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:247
Method
test_a_lesson_from_one_endpoint_stays_there
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:392
Function
test_a_link_at_the_logs_place_leaves_the_output_on_screen
(tmp_path, capfd)
lib/cli/tests/experimental/test_eval_crew.py:5006
Function
test_a_link_on_the_way_keeps_the_data_out_of_wherever_it_leads
Whoever made `.crewai` or `.crewai/evaluations` a link chose where it leads: nothing is written there, by either way of writing an export.
lib/cli/tests/experimental/test_eval_crew.py:4698
Function
test_a_link_where_a_file_goes_is_replaced_never_written_through
(project, monkeypatch, capsys, writes, link)
lib/cli/tests/experimental/test_eval_crew.py:3300
Function
test_a_linked_env_file_is_never_replaced
( project, children, monkeypatch, capsys )
lib/cli/tests/test_api_keys.py:839
Function
test_a_list_amp_would_refuse_is_refused_here_with_an_example
(text, said)
lib/cli/tests/experimental/test_eval_crew.py:2067
Method
test_a_listed_field_missing_from_the_caller_copy_is_untouched
( self, entry: str )
lib/crewai/tests/test_flow_conversation.py:3869
Function
test_a_litellm_routed_llm_keeps_its_key_on_the_same_provider_only
Same provider is a question about the provider, not the class: an `LLM(...)` the caller routed through LiteLLM keeps its key and endpoint when
lib/crewai/tests/test_llm_overlay.py:775
Method
test_a_live_class_on_a_python_flow_is_untouched
(self)
lib/crewai/tests/test_flow_conversation.py:2665
Method
test_a_live_class_projects_as_a_python_ref
(self)
lib/crewai/tests/test_flow_conversation.py:2769
Method
test_a_live_llm_object_is_passed_through_untouched
(self)
lib/crewai/tests/test_flow_conversation.py:2938
Function
test_a_load_failed_stop_names_the_error_behind_it_and_nothing_of_the_project
( project, usage, error_classes, make_error, error_class )
lib/cli/tests/test_run_usage.py:715
Method
test_a_local_file_over_the_limit_is_refused_unread
(self, tmp_path, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:150
Function
test_a_location_that_is_not_a_list_of_names_is_no_location
A string must not skip the wait or print one character per place; anything else is no location either.
lib/cli/tests/experimental/test_eval_crew.py:1908
Method
test_a_lock_held_at_the_old_shared_temp_path_does_not_block_a_refresh
Another local account could create or hold that file; it no longer matters.
lib/crewai-core/tests/test_auth_refresh.py:735
Function
test_a_logged_in_deploy_counts_no_hurdle
(monkeypatch, deploy_usage)
lib/cli/tests/test_crew_run_tui.py:2785
Function
test_a_logged_in_first_run_uploads_to_its_own_account
The first run is buffered even with a login; once approved, its trace goes to the login's account — no anonymous grant, no temporary account —
lib/crewai/tests/telemetry/test_placeholder_traces.py:597
Function
test_a_logged_in_grant_amp_did_not_give_is_counted_with_its_reason
( collector, sent_features, monkeypatch, grant_status, grant_override, expected )
lib/crewai/tests/telemetry/test_session_trace_export.py:1200
← previous
next →
10,801–10,900 of 20,757, ranked by callers