Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_append
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:65
Method
test_append_duplicate_name
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:74
Method
test_append_existing_agent
(self)
lib/crewai/tests/utilities/test_training_handler.py:28
Method
test_append_message_fallback_buffer
(self)
lib/crewai/tests/test_flow_conversation.py:96
Method
test_append_message_on_pydantic_state
(self)
lib/crewai/tests/test_flow_conversation.py:90
Method
test_append_message_to_state
Test message appending to state.
lib/crewai/tests/agents/test_agent_executor.py:759
Method
test_append_new_agent
(self)
lib/crewai/tests/utilities/test_training_handler.py:46
Method
test_appends_the_instruction_as_a_user_turn
(self, make_history)
lib/crewai/tests/utilities/test_agent_utils.py:1263
Function
test_application_selector_is_immutable
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:596
Function
test_application_selector_rejects_invalid_values
( value: str, message: str )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:625
Function
test_apply_stop_words_keeps_empty_content_empty
()
lib/crewai/tests/llms/test_base_llm.py:70
Function
test_apply_stop_words_keeps_text_when_no_stop_word_matches
()
lib/crewai/tests/llms/test_base_llm.py:56
Function
test_apply_stop_words_keeps_text_when_stop_list_is_empty
()
lib/crewai/tests/llms/test_base_llm.py:63
Function
test_apply_stop_words_truncates_at_earliest_match
( stop_words: list[str], )
lib/crewai/tests/llms/test_base_llm.py:48
Method
test_approval_hook_allows_execution
Test that approval hook allows execution when approved.
lib/crewai/tests/hooks/test_human_approval.py:228
Method
test_approval_hook_blocks_execution
Test that approval hook blocks execution when denied.
lib/crewai/tests/hooks/test_human_approval.py:254
Method
test_aprocess_async_tasks_empty
Test processing empty list of async tasks.
lib/crewai/tests/crew/test_async_crew.py:381
Method
test_aquery_calls_storage_asearch
Test that aquery calls storage.asearch.
lib/crewai/tests/knowledge/test_async_knowledge.py:78
Method
test_aquery_raises_when_storage_not_initialized
Test that aquery raises ValueError when storage is None.
lib/crewai/tests/knowledge/test_async_knowledge.py:101
Method
test_aread_caches_content
Test that aread() caches content.
lib/crewai-files/tests/test_file_url.py:148
Method
test_aread_fetches_content
Test that aread() fetches content from URL asynchronously.
lib/crewai-files/tests/test_file_url.py:129
Method
test_areset
Test that areset deletes all collections asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:737
Method
test_areset
Test that areset calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:627
Method
test_areset_calls_client_delete
Test that areset calls delete_collection on the client.
lib/crewai/tests/knowledge/test_async_knowledge.py:59
Method
test_areset_calls_storage_areset
Test that areset calls storage.areset.
lib/crewai/tests/knowledge/test_async_knowledge.py:132
Method
test_areset_no_collections
Test that areset handles no collections gracefully.
lib/crewai/tests/rag/qdrant/test_client.py:772
Method
test_areset_raises_when_storage_not_initialized
Test that areset raises ValueError when storage is None.
lib/crewai/tests/knowledge/test_async_knowledge.py:148
Method
test_areset_wrong_client_type
Test that areset raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:786
Method
test_aresolve_files_skips_unrelated_per_file_errors
One file failing with an ordinary error is logged and skipped; the rest still resolve.
lib/crewai-files/tests/test_resolver.py:224
Method
test_aresolve_files_surfaces_uploader_configuration_error
A provider whose uploader cannot be built aborts the whole batch, since it affects every file.
lib/crewai-files/tests/test_resolver.py:211
Method
test_aresolve_url_source
Test async URL resolution for supported provider.
lib/crewai-files/tests/test_file_url.py:284
Method
test_args_schema
Test that args_schema is properly defined.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:123
Method
test_args_schema_is_db2_tool_schema
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:687
Method
test_array_of_objects
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:246
Method
test_array_of_strings
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:234
Method
test_arun_does_not_increment_usage_on_validation_error
Usage count should NOT increment when arun validation fails.
lib/crewai/tests/tools/test_base_tool.py:677
Method
test_arun_increments_usage_count
Test that arun increments the usage count.
lib/crewai/tests/tools/test_async_tools.py:67
Method
test_arun_strips_extra_kwargs
Extra kwargs not in the schema should be stripped in arun.
lib/crewai/tests/tools/test_base_tool.py:670
Method
test_arun_with_missing_required_kwarg_raises
Missing required kwargs should raise ValueError in arun.
lib/crewai/tests/tools/test_base_tool.py:656
Method
test_arun_with_no_args_raises_validation_error
Calling arun() with no arguments should raise a clear ValueError (GH-4611).
lib/crewai/tests/tools/test_base_tool.py:649
Function
test_arun_with_rate_limit_retry_retries_with_backoff
()
lib/crewai/tests/llms/test_retry.py:106
Method
test_arun_with_valid_kwargs_passes_validation
Valid keyword arguments should pass schema validation in arun.
lib/crewai/tests/tools/test_base_tool.py:642
Method
test_arun_with_wrong_field_name_raises
Kwargs not matching schema fields should trigger validation error in arun.
lib/crewai/tests/tools/test_base_tool.py:663
Method
test_as_agent_message_includes_code
(self)
lib/crewai/tests/tools/test_tool_failure.py:140
Method
test_as_agent_message_without_code
(self)
lib/crewai/tests/tools/test_tool_failure.py:144
Method
test_as_paren_inside_string_does_not_bypass
AS (' inside a string literal must not be treated as a CTE body.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:576
Method
test_as_paren_inside_string_read_only_ok
Read-only CTE with 'AS (' in a string should be allowed.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:584
Method
test_asave_calls_client_methods
Test that asave calls the correct client methods.
lib/crewai/tests/knowledge/test_async_knowledge.py:42
Method
test_asave_documents_calls_storage_asave
Test that _asave_documents calls storage.asave.
lib/crewai/tests/knowledge/test_async_knowledge.py:192
Method
test_asave_documents_raises_without_storage
Test that _asave_documents raises ValueError when storage is None.
lib/crewai/tests/knowledge/test_async_knowledge.py:206
Method
test_asave_persists_the_same_records_as_save
( self, storage_pair: tuple[StorageBackend, StorageBackend] )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:137
Method
test_ascending_with_a_filter
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:492
Method
test_asearch
Test that asearch returns matching documents asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:518
Method
test_asearch
Test that asearch queries the collection correctly.
lib/crewai/tests/rag/chromadb/test_client.py:518
Method
test_asearch_collection_not_exists
Test that asearch raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:584
Method
test_asearch_empty_query_raises_error
Test that asearch handles empty query.
lib/crewai/tests/knowledge/test_async_knowledge.py:33
Function
test_asearch_metadata_filter
( criteria: dict[str, Any], native_where: dict[str, Any] | None, expected: dict[str, Any] | None,
lib/crewai/tests/rag/chromadb/test_metadata_filter.py:81
Method
test_asearch_returns_results
Test that asearch returns search results.
lib/crewai/tests/knowledge/test_async_knowledge.py:16
Method
test_asearch_returns_the_same_matches_as_search
( self, storage_pair: tuple[StorageBackend, StorageBackend], search_kwargs: dict[str,
lib/crewai/tests/memory/test_storage_backend_async_parity.py:164
Method
test_asearch_with_filters
Test that asearch applies metadata filters correctly.
lib/crewai/tests/rag/qdrant/test_client.py:556
Method
test_asearch_with_optional_params
Test asearch with optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:557
Method
test_asearch_wrong_client_type
Test that asearch raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:598
Method
test_ask_and_human_feedback_coexist
ask() and @human_feedback can be used in the same flow.
lib/crewai/tests/test_flow_ask.py:762
Method
test_ask_checkpoints_state_before_waiting
State is saved to persistence before waiting for input.
lib/crewai/tests/test_flow_ask.py:498
Method
test_ask_conditional
ask() called conditionally based on previous answer.
lib/crewai/tests/test_flow_ask.py:212
Method
test_ask_defaults_to_console_provider
When no provider configured, ConsoleProvider is used.
lib/crewai/tests/test_flow_ask.py:354
Method
test_ask_emits_input_received_event
FlowInputReceivedEvent is emitted after input is received.
lib/crewai/tests/test_flow_ask.py:432
Method
test_ask_emits_input_requested_event
FlowInputRequestedEvent is emitted when ask() is called.
lib/crewai/tests/test_flow_ask.py:402
Method
test_ask_in_async_method
ask() works inside an async flow method.
lib/crewai/tests/test_flow_ask.py:144
Method
test_ask_in_async_method_returns_none_on_provider_error
ask() returns None if provider raises in an async method.
lib/crewai/tests/test_flow_ask.py:950
Method
test_ask_in_async_method_with_listen_chain
ask() in an async start method, result flows to listener.
lib/crewai/tests/test_flow_ask.py:708
Method
test_ask_in_listen_method
ask() works inside a @listen() method.
lib/crewai/tests/test_flow_ask.py:176
Method
test_ask_in_start_method
ask() works inside a @start() method, flow completes normally.
lib/crewai/tests/test_flow_ask.py:158
Method
test_ask_input_response_with_none_text
Provider returns InputResponse with text=None.
lib/crewai/tests/test_flow_ask.py:1116
Method
test_ask_llm_for_field
(self)
lib/crewai/tests/utilities/test_training_converter.py:60
Method
test_ask_loop_with_timeout_termination
while (msg := ask(...)) is not None pattern terminates on timeout.
lib/crewai/tests/test_flow_ask.py:281
Method
test_ask_metadata_in_received_event
FlowInputReceivedEvent carries both metadata and response_metadata.
lib/crewai/tests/test_flow_ask.py:1080
Method
test_ask_metadata_in_requested_event
FlowInputRequestedEvent carries metadata.
lib/crewai/tests/test_flow_ask.py:1052
Method
test_ask_metadata_none_by_default
Provider receives None metadata when not provided.
lib/crewai/tests/test_flow_ask.py:989
Method
test_ask_metadata_thread_safe
Concurrent ask() calls with different metadata don't cross-contaminate.
lib/crewai/tests/test_flow_ask.py:1140
Method
test_ask_multiple_calls
Multiple ask() calls in one method return correct values in order.
lib/crewai/tests/test_flow_ask.py:195
Method
test_ask_no_checkpoint_without_persistence
No error when persistence is not configured.
lib/crewai/tests/test_flow_ask.py:520
Method
test_ask_no_timeout_waits_indefinitely
ask() with no timeout blocks until provider returns.
lib/crewai/tests/test_flow_ask.py:299
Method
test_ask_passes_metadata_to_provider
Provider receives the metadata dict from ask().
lib/crewai/tests/test_flow_ask.py:974
Method
test_ask_preserves_flow_lifecycle
Flow events (started, finished) still fire normally with ask().
lib/crewai/tests/test_flow_ask.py:787
Method
test_ask_provider_returns_input_response
Provider returns InputResponse with response metadata.
lib/crewai/tests/test_flow_ask.py:1004
Method
test_ask_provider_returns_string_with_metadata_sent
Provider returns plain string; history has metadata but no response_metadata.
lib/crewai/tests/test_flow_ask.py:1035
Function
test_ask_question
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:48
Function
test_ask_question_to_wrong_agent
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:116
Function
test_ask_question_with_coworker_as_array
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:90
Function
test_ask_question_with_wrong_co_worker_variable
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:62
Method
test_ask_returns_empty_string_on_enter
Empty string means user pressed Enter (intentional empty input).
lib/crewai/tests/test_flow_ask.py:231
Method
test_ask_returns_none_on_provider_error
ask() returns None if provider raises an exception.
lib/crewai/tests/test_flow_ask.py:932
Method
test_ask_returns_user_input
ask() returns the string from the input provider.
lib/crewai/tests/test_flow_ask.py:130
Method
test_ask_timeout_emits_received_with_none
FlowInputReceivedEvent has response=None on timeout.
lib/crewai/tests/test_flow_ask.py:463
Method
test_ask_timeout_in_async_method
ask() timeout works inside an async flow method.
lib/crewai/tests/test_flow_ask.py:267
Method
test_ask_timeout_returns_none
ask() returns None when timeout expires.
lib/crewai/tests/test_flow_ask.py:253
Method
test_ask_uses_flow_level_provider
Per-flow input_provider is used when set.
lib/crewai/tests/test_flow_ask.py:319
Method
test_ask_uses_global_config_provider
flow_config.input_provider is used as fallback.
lib/crewai/tests/test_flow_ask.py:334
Method
test_ask_with_state_persistence_recovery
Ask checkpoints state so previously gathered values survive.
lib/crewai/tests/test_flow_ask.py:731
← previous
next →
11,201–11,300 of 19,482, ranked by callers