MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_a_truncated_ephemeral_trace_is_uploaded_but_not_recorded
The buffer dropped spans at its cap: the grader could not read the run whole.
lib/crewai/tests/telemetry/test_session_trace_export.py:337
Functiontest_a_trusted_amp_over_plain_http_still_gets_no_credential
A cleartext connection is not a place to put a bearer token, trusted or not.
lib/cli/tests/experimental/test_eval_crew.py:487
Methodtest_a_tsv_splits_on_tabs
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:523
Functiontest_a_url_in_a_list_of_messages_is_read_from_the_user_turns_only
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:274
Functiontest_a_url_in_an_earlier_tasks_output_is_not_fetched
Context from earlier tasks is model output, not the agent's input.
lib/crewai/tests/agents/test_agent_spreadsheets.py:356
Functiontest_a_url_inside_prose_or_markup_is_read_whole
(downloads, text, url)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1002
Methodtest_a_url_is_never_downloaded_to_decide
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:65
Methodtest_a_url_is_streamed_and_read
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:196
Functiontest_a_url_that_is_not_a_string_costs_the_link_and_nothing_else
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:276
Functiontest_a_url_the_model_makes_up_is_never_fetched
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:527
Methodtest_a_usable_text_block_survives_a_malformed_sibling
(self)
lib/crewai/tests/utilities/test_agent_utils.py:749
Functiontest_a_user_flow_that_suppresses_console_events_still_reports
``suppress_flow_events`` asks for console quiet, not for no telemetry.
lib/crewai/tests/telemetry/test_flow_telemetry.py:595
Functiontest_a_uv_that_cannot_start_exits_1
(monkeypatch, capsys)
lib/cli/tests/test_run_crew.py:1367
Functiontest_a_valid_guardrail_result_reports_one_completed_event
()
lib/crewai/tests/test_guardrail_events_on_exception.py:120
Methodtest_a_value_far_from_the_data_is_refused_at_once
( self, corner, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:204
Methodtest_a_value_of_the_wrong_type_says_what_it_needs
(self, column, value, message)
lib/crewai-files/tests/spreadsheets/test_answers.py:406
Methodtest_a_value_reads_with_the_sheets_own_number_format
In a ";" file 1.500 is fifteen hundred, as its cells read; the filter once read it US-style, as one and a half, and matched nothing.
lib/crewai-files/tests/spreadsheets/test_answers.py:368
Functiontest_a_value_the_targets_field_type_refuses_is_dropped_with_a_warning
A name the target has can still refuse the value (`logprobs` is an int on the LiteLLM class, a bool on the OpenAI one). The build must not raise i
lib/crewai/tests/utilities/test_create_llm_like.py:72
Functiontest_a_web_page_at_a_spreadsheet_path_is_named_as_one
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1158
Methodtest_a_workbook_named_csv_is_read_as_a_workbook
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:115
Functiontest_a_workbook_over_the_cell_budget_is_still_kept_while_newest
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:252
Methodtest_a_workbook_overview
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:73
Functiontest_a_write_failure_never_raises
(project, monkeypatch)
lib/crewai/tests/telemetry/test_last_run.py:91
Functiontest_a_write_still_happens_where_the_platform_has_no_file_locking
Windows has no flock: the record is a convenience pointer, never worth failing a run over.
lib/crewai/tests/telemetry/test_last_run.py:191
Methodtest_a_wrong_type_fails_now_not_at_call_time
`create_llm` would take an int as a model name and fail later.
lib/crewai/tests/test_flow_conversation.py:2948
Functiontest_a_yaml_file_with_explicit_keys_is_named_as_unreadable
`? base_url` can override a plain `base_url` the scan reads.
lib/cli/tests/test_api_keys.py:643
Functiontest_a_yaml_folded_template_role_matches_after_interpolation
The CrewBase shape: a templated role from YAML keeps its trailing newline through interpolation, and the key is written for the clean text.
lib/crewai/tests/test_llm_overlay.py:144
Methodtest_a_zip_create_prints_the_commit_it_was_built_from
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1677
Functiontest_a_zip_create_still_uploads_when_git_status_fails
A gitlink whose `.git` points nowhere breaks `git status` but not the archive. The commit line is informational, so it must not abort the deploy.
lib/cli/tests/deploy/test_deploy_main.py:2230
Methodtest_a_zip_from_a_dirty_tree_says_it_has_uncommitted_changes
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1695
Methodtest_a_zip_from_a_repo_without_commits_prints_no_commit
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1716
Methodtest_a_zip_push_prints_the_commit_it_was_built_from
( self, mock_display, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1781
Methodtest_a_zip_source_type_uploads_the_code_even_when_origin_exists
( self, mock_display, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:875
Methodtest_a_zip_that_is_not_a_workbook_is_unreadable
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:122
Functiontest_a_zip_with_hidden_untracked_files_is_not_reported_clean
`status.showUntrackedFiles=no` hides files the ZIP still uploads.
lib/cli/tests/deploy/test_deploy_main.py:2260
Methodtest_a_zip_without_a_usable_repository_prints_no_commit
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1735
Methodtest_aadd_documents
Test that aadd_documents adds documents to collection asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:307
Methodtest_aadd_documents
Test that aadd_documents adds documents to collection asynchronously.
lib/crewai/tests/rag/chromadb/test_client.py:355
Methodtest_aadd_documents_collection_not_exists
Test that aadd_documents raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:376
Methodtest_aadd_documents_empty_list
Test that aadd_documents raises error for empty documents list.
lib/crewai/tests/rag/qdrant/test_client.py:364
Methodtest_aadd_documents_empty_list_raises_error
Test that aadd_documents raises error for empty documents list.
lib/crewai/tests/rag/chromadb/test_client.py:444
Methodtest_aadd_documents_with_batch_size
Test aadd_documents with batch size splits documents into batches.
lib/crewai/tests/rag/chromadb/test_client.py:700
Methodtest_aadd_documents_with_custom_ids
Test aadd_documents with custom document IDs.
lib/crewai/tests/rag/chromadb/test_client.py:387
Methodtest_aadd_documents_with_doc_id
Test that aadd_documents uses provided doc_id.
lib/crewai/tests/rag/qdrant/test_client.py:339
Methodtest_aadd_documents_with_explicit_batch_size
Test aadd_documents with explicitly provided batch size.
lib/crewai/tests/rag/chromadb/test_client.py:730
Methodtest_aadd_documents_without_metadata
Test aadd_documents with documents that have no metadata.
lib/crewai/tests/rag/chromadb/test_client.py:420
Methodtest_aadd_documents_wrong_client_type
Test that aadd_documents raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:397
Methodtest_aadd_raises_without_storage
Test that aadd raises ValueError when storage is not set.
lib/crewai/tests/knowledge/test_async_knowledge.py:179
Methodtest_aadd_saves_documents_asynchronously
Test that aadd chunks and saves documents asynchronously.
lib/crewai/tests/knowledge/test_async_knowledge.py:165
Methodtest_aadd_sources_calls_source_aadd
Test that aadd_sources calls aadd on each source.
lib/crewai/tests/knowledge/test_async_knowledge.py:114
Methodtest_abort_at_execution_start_emits_started_then_failed
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:619
Functiontest_abort_at_execution_start_emits_started_then_failed_events
()
lib/crewai/tests/utilities/test_events.py:737
Methodtest_abort_at_execution_start_interrupts
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:144
Methodtest_abort_at_input_preserves_execution_start_rewrite
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:738
Methodtest_abort_keeps_state_id_from_inputs
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:668
Methodtest_abort_preserves_chained_hook_rewrite
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:707
Methodtest_aborting_execution_end_hook_fires_once_for_crew
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:569
Methodtest_aborting_execution_end_hook_fires_once_for_flow
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:556
Functiontest_aborting_the_key_prompt_ends_the_run_as_aborted
(tmp_path, monkeypatch)
lib/cli/tests/test_run_agent.py:347
Methodtest_absent_buckets_are_not_added
(self)
lib/crewai/tests/events/test_llm_usage_event.py:135
Functiontest_absent_tool_crewai_table_is_never_created
Refuse to mint rather than rewrite a non-CrewAI project's pyproject.toml. `crewai run` in any directory that merely happens to have a pyproject.t
lib/crewai/tests/telemetry/test_project_id.py:123
Methodtest_absent_when_not_configured
Unset must stay off the wire, whatever the model.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:129
Functiontest_absolute_template_output_file_saves_outside_cwd
A developer-written absolute template keeps working outside the cwd.
lib/crewai/tests/test_task.py:1357
Functiontest_acall_delegates_to_responses
()
lib/crewai/tests/llms/azure/test_azure_responses_async.py:8
Methodtest_acall_method_exists
Test that acall method exists for async calls.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:445
Functiontest_acall_returns_the_text_and_counts_its_tokens_via_the_async_client
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:350
Functiontest_acall_runs_after_llm_call_hooks
()
lib/crewai/tests/hooks/test_async_after_llm_call_hooks.py:32
Functiontest_acall_sends_the_same_request_as_call
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:366
Methodtest_acall_with_many_files_stays_within_limit
(self)
lib/crewai/tests/llms/test_multimodal.py:258
Methodtest_accepts_all_sampling_params
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:76
Methodtest_accepts_nested_usage_dict
(self)
lib/crewai/tests/events/test_llm_usage_event.py:43
Methodtest_accepts_none_usage
(self)
lib/crewai/tests/events/test_llm_usage_event.py:34
Methodtest_accepts_string_values
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:39
Methodtest_accepts_usage_dict
(self)
lib/crewai/tests/events/test_llm_usage_event.py:13
Methodtest_access_by_index
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:42
Methodtest_access_by_name
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:47
Functiontest_accessing_fingerprints_example
Test the accessing fingerprints example from the documentation.
lib/crewai/tests/security/test_examples.py:32
Methodtest_acheckpoint_chaining
Async checkpoint path chains lineage identically to sync.
lib/crewai/tests/test_checkpoint.py:502
Methodtest_acheckpoint_uses_utf8_for_non_ascii_json
(self)
lib/crewai/tests/test_checkpoint.py:422
Functiontest_acleanup_delete_all_listing_does_not_block_the_event_loop
(monkeypatch)
lib/crewai-files/tests/test_acleanup_listing_nonblocking.py:22
Methodtest_aclose_cancels_async_streaming
Test that aclose() stops iteration and marks as cancelled.
lib/crewai/tests/test_streaming.py:760
Methodtest_aclose_idempotent
Test that calling aclose() multiple times is safe.
lib/crewai/tests/test_streaming.py:785
Methodtest_acreate_collection
Test that acreate_collection creates a new collection asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:83
Methodtest_acreate_collection
Test that acreate_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:115
Methodtest_acreate_collection_already_exists
Test that acreate_collection raises error if collection exists.
lib/crewai/tests/rag/qdrant/test_client.py:99
Methodtest_acreate_collection_with_all_params
Test acreate_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:133
Methodtest_acreate_collection_wrong_client_type
Test that acreate_collection raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:111
Functiontest_act_command
Test the 'act' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:140
Methodtest_action_shaped_reply_still_becomes_a_final_answer
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1279
Methodtest_adapter_parses_sigcont
Test adapter correctly parses SIGCONT event.
lib/crewai/tests/events/types/test_system_events.py:103
Methodtest_adapter_parses_sighup
Test adapter correctly parses SIGHUP event.
lib/crewai/tests/events/types/test_system_events.py:91
Methodtest_adapter_parses_sigint
Test adapter correctly parses SIGINT event.
lib/crewai/tests/events/types/test_system_events.py:85
Methodtest_adapter_parses_sigterm
Test adapter correctly parses SIGTERM event.
lib/crewai/tests/events/types/test_system_events.py:78
Methodtest_adapter_parses_sigtstp
Test adapter correctly parses SIGTSTP event.
lib/crewai/tests/events/types/test_system_events.py:97
Methodtest_adapter_rejects_invalid_type
Test adapter rejects unknown signal type.
lib/crewai/tests/events/types/test_system_events.py:109
Functiontest_adapter_rejects_proxies
()
lib/crewai-tools/tests/utilities/test_safe_requests.py:415
Functiontest_adapter_returns_one_flat_vector_for_one_text
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:31
Functiontest_add_crew_to_flow_not_in_root
(tmp_path, monkeypatch, runner)
lib/cli/tests/test_cli.py:958
Methodtest_add_documents
Test that add_documents adds documents to collection.
lib/crewai/tests/rag/qdrant/test_client.py:220
Methodtest_add_documents
Test that add_documents adds documents to collection.
lib/crewai/tests/rag/chromadb/test_client.py:260
← previousnext →10,601–10,700 of 19,663, ranked by callers