MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

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_the_python_field_name_too
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1374
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
Methodtest_access_token_about_to_expire_is_renewed_early
( self, endpoint: FakeTokenEndpoint )
lib/crewai-core/tests/test_auth_refresh.py:312
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:1362
Functiontest_actions_of_one_app_stay_at_their_own_selectors
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:600
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:455
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:965
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
Methodtest_add_documents_all_without_metadata
Test add_documents when all documents have no metadata.
lib/crewai/tests/rag/chromadb/test_client.py:328
Methodtest_add_documents_collection_not_exists
Test that add_documents raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:272
Functiontest_add_documents_embeds_each_batch_with_one_call
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:108
Methodtest_add_documents_empty_list
Test that add_documents raises error for empty documents list.
lib/crewai/tests/rag/qdrant/test_client.py:265
Methodtest_add_documents_empty_list_raises_error
Test that add_documents raises error for empty documents list.
lib/crewai/tests/rag/chromadb/test_client.py:347
Functiontest_add_documents_keeps_per_document_calls_for_plain_embedders
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:123
Methodtest_add_documents_with_batch_size
Test add_documents with batch size splits documents into batches.
lib/crewai/tests/rag/chromadb/test_client.py:635
Methodtest_add_documents_with_custom_ids
Test add_documents with custom document IDs.
lib/crewai/tests/rag/chromadb/test_client.py:285
Methodtest_add_documents_with_doc_id
Test that add_documents uses provided doc_id.
lib/crewai/tests/rag/qdrant/test_client.py:246
Methodtest_add_documents_with_explicit_batch_size
Test add_documents with explicitly provided batch size.
lib/crewai/tests/rag/chromadb/test_client.py:677
Methodtest_add_documents_without_metadata
Test add_documents with documents that have no metadata.
lib/crewai/tests/rag/chromadb/test_client.py:311
Methodtest_add_documents_wrong_client_type
Test that add_documents raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:288
Methodtest_add_edge
(self)
lib/crewai/tests/test_event_record.py:87
Functiontest_add_inline_jsonl
Inline JSONL requires explicit selection, not a whole-document JSON parser.
lib/crewai-tools/tests/rag/test_rag_core_jsonl.py:114
Functiontest_add_jsonl_stores_records
Explicit selection and discovery preserve JSON values and record order.
lib/crewai-tools/tests/rag/test_rag_core_jsonl.py:77
Functiontest_add_package_with_stderr_exits_with_status_1
`uv add` writing to stderr on the tool-repository path is a failure.
lib/cli/tests/tools/test_main.py:643
Functiontest_add_property_ordering_to_schema
Test that _add_property_ordering correctly adds propertyOrdering to schemas.
lib/crewai/tests/llms/google/test_google.py:1059
Methodtest_add_records
Store the real loader's records and metadata, not just a mock result.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:494
Methodtest_add_single_event
(self)
lib/crewai/tests/test_event_record.py:106
Methodtest_add_template_dir_exists_prompts_rename
(self, mock_resolve, mock_prompt, mock_download, mock_extract, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:223
Methodtest_add_template_dir_exists_quit
(self, mock_prompt, mock_resolve, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:237
Methodtest_add_template_not_found
(self, mock_resolve, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:213
Methodtest_add_template_success
(self, mock_resolve, mock_download, mock_extract, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:200
Functiontest_add_texts
(mongodb_vector_search_tool)
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:65
Functiontest_add_texts_covers_validation_errors
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1395
Functiontest_add_texts_creates_table_and_inserts_rows
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:681
Methodtest_add_usage_metrics_aggregates_reasoning_and_cache_creation
(self)
lib/crewai/tests/events/test_llm_usage_event.py:255
Functiontest_added_key_bypasses_negative_cache
(monkeypatch)
lib/cli/tests/test_model_catalog.py:455
Functiontest_adding_a_crew_to_an_existing_project_is_not_an_acquisition
`create_crew(parent_folder=...)` adds a crew to a project that already exists. It mints no id and must emit no creation span, or every added crew
lib/crewai/tests/cli/test_project_created_span.py:170
Methodtest_additional_params_are_not_promoted_to_typed_fields
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:253
Methodtest_adds_empty_properties_and_required
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:927
Methodtest_adds_to_object
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:922
Methodtest_adds_v1_suffix
Test that /v1 is added when missing.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:112
Methodtest_adelete_collection
Test that adelete_collection deletes the collection asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:642
Methodtest_adelete_collection
Test that adelete_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:606
Methodtest_adelete_collection_not_exists
Test that adelete_collection raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:657
Methodtest_adelete_collection_wrong_client_type
Test that adelete_collection raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:674
Methodtest_adelete_removes_the_same_records_as_delete
( self, storage_pair: tuple[StorageBackend, StorageBackend], delete_kwargs: dict[str,
lib/crewai/tests/memory/test_storage_backend_async_parity.py:205
Functiontest_adelete_uses_injected_async_session
()
lib/crewai-files/tests/test_bedrock_async_client.py:81
Functiontest_advertised_cap_follows_assignment
()
lib/crewai-tools/tests/tools/wait_tool_test.py:146
Functiontest_advertised_cap_matches_enforced_cap
(build)
lib/crewai-tools/tests/tools/wait_tool_test.py:138
Functiontest_aemit_during_shutdown
()
lib/crewai/tests/utilities/events/test_shutdown.py:43
Functiontest_aemit_ignores_dependencies
Test that aemit only processes async handlers (no dependency support yet).
lib/crewai/tests/events/test_depends.py:261
Functiontest_aemit_publishes_to_active_stream_sinks
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:58
Functiontest_aemit_with_async_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:40
Functiontest_aemit_with_no_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:151
Methodtest_aexecute_sync_adds_agent_to_processed_by
Test that async execution adds agent to processed_by_agents.
lib/crewai/tests/task/test_async_task.py:139
Methodtest_aexecute_sync_basic
Test basic async task execution.
lib/crewai/tests/task/test_async_task.py:31
Methodtest_aexecute_sync_calls_callback
Test that async execution calls the callback.
lib/crewai/tests/task/test_async_task.py:158
Methodtest_aexecute_sync_handles_exception
Test that async execution handles exceptions properly.
lib/crewai/tests/task/test_async_task.py:218
Methodtest_aexecute_sync_output_format_raw
Test async execution with raw output format.
lib/crewai/tests/task/test_async_task.py:353
Methodtest_aexecute_sync_sets_start_and_end_time
Test that async execution sets start and end times.
lib/crewai/tests/task/test_async_task.py:97
Methodtest_aexecute_sync_stores_output
Test that async execution stores the output.
lib/crewai/tests/task/test_async_task.py:119
Methodtest_aexecute_sync_task_output_attributes
Test that task output has correct attributes.
lib/crewai/tests/task/test_async_task.py:370
Methodtest_aexecute_sync_with_context
Test async task execution with context.
lib/crewai/tests/task/test_async_task.py:52
Methodtest_aexecute_sync_with_different_agent
Test async execution with a different agent than assigned.
lib/crewai/tests/task/test_async_task.py:191
Methodtest_aexecute_sync_with_tools
Test async task execution with custom tools.
lib/crewai/tests/task/test_async_task.py:74
Methodtest_aexecute_sync_without_agent_raises
Test that async execution without agent raises exception.
lib/crewai/tests/task/test_async_task.py:177
Methodtest_aexecute_tasks_sequential
Test async sequential task execution.
lib/crewai/tests/crew/test_async_crew.py:298
Methodtest_aexecute_tasks_with_async_task
Test async execution with async_execution task flag.
lib/crewai/tests/crew/test_async_crew.py:338
Methodtest_aexport_output_uses_acall_not_call
(self)
lib/crewai/tests/task/test_async_task.py:403
Functiontest_affected_model_ids_use_their_specific_context_windows
( model: str, raw_context_window: int )
lib/crewai/tests/llms/test_context_window.py:122
Methodtest_after_hook_can_modify_response
Test that after hooks can modify the response.
lib/crewai/tests/hooks/test_llm_hooks.py:178
Methodtest_after_hook_can_modify_result
Test that after hooks can modify the tool result.
lib/crewai/tests/hooks/test_tool_hooks.py:251
← previousnext →11,301–11,400 of 20,757, ranked by callers