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_custom_agent_output_formatter_is_used_from_structured_tool
( self, )
lib/crewai/tests/utilities/test_agent_utils.py:959
Method
test_custom_agents_dir
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:921
Method
test_custom_and_default_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:94
Method
test_custom_and_default_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:94
Function
test_custom_backend_is_used
()
lib/crewai/tests/utilities/test_lock_store.py:82
Function
test_custom_base_llm_honors_explicit_context_window_size
()
lib/crewai/tests/llms/test_context_window.py:532
Method
test_custom_base_url
(self, mock_settings_class)
lib/cli/tests/test_plus_api.py:501
Method
test_custom_base_url
(self, mock_settings_class)
lib/crewai/tests/cli/test_plus_api.py:385
Method
test_custom_base_url_from_env
(self)
lib/cli/tests/test_plus_api.py:512
Method
test_custom_base_url_from_env
(self)
lib/crewai/tests/cli/test_plus_api.py:396
Function
test_custom_base_url_from_environment
(custom_url_tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:36
Function
test_custom_base_url_usage
(mock_post, custom_url_tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:118
Function
test_custom_cache_function_requires_opt_in
()
lib/crewai/tests/tools/test_deserialization_guard.py:83
Method
test_custom_config
Test custom configuration values.
lib/crewai-files/tests/test_resolver.py:34
Method
test_custom_config
Test custom configuration values.
lib/crewai-tools/tests/rag/test_embedding_service.py:27
Function
test_custom_constructor_args
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:121
Function
test_custom_converter_cls
()
lib/crewai/tests/test_task.py:810
Function
test_custom_embedding_does_not_declare_openai_key_required
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1503
Method
test_custom_endpoint_never_falls_back
An OpenAI-compatible server may not implement /v1/responses at all. Most (vLLM, LiteLLM proxies, Ollama) don't, so a self-hosted model must
lib/crewai/tests/llms/openai/test_responses_only_models.py:123
Method
test_custom_headers
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:131
Function
test_custom_headers_are_merged_over_defaults
Caller headers win, but the default User-Agent survives.
lib/crewai-tools/tests/url_read_tool_test.py:352
Method
test_custom_headers_merged_with_defaults
Test custom headers are merged with provider defaults.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:254
Method
test_custom_listen_return_emits_one_user_and_one_assistant_message_event
( self, tmp_path: Any )
lib/crewai/tests/test_flow_conversation.py:1684
Method
test_custom_listen_return_persists_across_fresh_instances
( self, tmp_path: Any )
lib/crewai/tests/test_flow_conversation.py:1619
Function
test_custom_llm
()
lib/crewai/tests/agents/test_agent.py:195
Function
test_custom_llm_implementation
Test that a custom LLM implementation works with create_llm.
lib/crewai/tests/test_custom_llm.py:84
Function
test_custom_llm_message_formatting
Test that the custom LLM properly formats messages
lib/crewai/tests/test_custom_llm.py:129
Function
test_custom_llm_with_jwt_auth
Test a custom LLM implementation with JWT authentication.
lib/crewai/tests/test_custom_llm.py:218
Function
test_custom_llm_within_crew
Test that a custom LLM implementation works with create_llm.
lib/crewai/tests/test_custom_llm.py:100
Function
test_custom_max_seconds
(mock_sleep)
lib/crewai-tools/tests/tools/wait_tool_test.py:34
Function
test_custom_openai_config_preserves_resolved_endpoint
Serialized custom OpenAI configs can reconstruct the same endpoint.
lib/crewai/tests/llms/openai/test_openai.py:176
Function
test_custom_openai_flag_requires_custom_base_url
Avoid routing arbitrary custom model ids to api.openai.com by mistake.
lib/crewai/tests/llms/openai/test_openai.py:83
Function
test_custom_openai_flag_strips_openai_routing_prefix
The openai/ routing prefix is not part of the gateway's model id.
lib/crewai/tests/llms/openai/test_openai.py:104
Function
test_custom_openai_flag_uses_native_openai_without_provider_prefix
Custom OpenAI-compatible endpoints can serve arbitrary model ids.
lib/crewai/tests/llms/openai/test_openai.py:40
Method
test_custom_provider_satisfies_protocol
A class with request_input satisfies the InputProvider protocol.
lib/crewai/tests/test_flow_ask.py:911
Method
test_custom_route_still_runs_with_builtin_routes
(self)
lib/crewai/tests/test_flow_conversation.py:984
Method
test_custom_tool_resolves
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:546
Method
test_custom_tool_without_basetool_subclass_raises
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:535
Method
test_custom_values
Test custom configuration values.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:112
Function
test_cyclic_flow
Test a cyclic flow that runs a finite number of iterations.
lib/crewai/tests/test_flow.py:73
Function
test_cyclic_flow_multiple_or_listeners_fire_every_iteration
Test that multiple or_() listeners all reset between cycle iterations. Mirrors a real-world pattern: a router classifies messages, handlers proce
lib/crewai/tests/test_flow.py:2023
Function
test_cyclic_flow_or_listeners_fire_every_iteration
Test that or_() listeners reset between cycle iterations through a router. Regression test for a bug where _fired_or_listeners was not cleared wh
lib/crewai/tests/test_flow.py:1953
Function
test_cyclic_flow_parity
()
lib/crewai/tests/test_flow_from_definition.py:590
Function
test_cyclic_flow_re_executes_on_each_iteration
Test that cyclic flows properly re-execute methods on each iteration.
lib/crewai/tests/test_flow_resumability_regression.py:56
Function
test_cyclic_flow_with_conditional_start
Test that cyclic flows work properly with conditional start methods.
lib/crewai/tests/test_flow_resumability_regression.py:135
Function
test_cyclic_flow_works_with_persist_and_id_input
Cyclic router flows must complete all iterations when persistence is enabled and 'id' is passed in inputs. Regression test: passing ``inputs=
lib/crewai/tests/test_flow.py:2077
Method
test_dangling_reference_ignored
Edge to a non-existent node should not be wired.
lib/crewai/tests/test_event_record.py:178
Method
test_dashscope_config
Test Dashscope provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:93
Function
test_database_errors_propagate
Verify search, ingestion, and indexing errors reach the caller.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:262
Function
test_database_file_is_not_locked_after_use
The database file can be removed right after use, without a GC pass. This is the user-visible symptom on Windows, where an open handle blocks
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:60
Function
test_dataclass_serialization_recurses_into_nested_values
()
lib/crewai/tests/utilities/test_serialization.py:131
Method
test_datatype_directory_enum
Test data_type=DataType.DIRECTORY with existing directory.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:260
Method
test_datatype_file_enum_with_existing_file
Test data_type=DataType.FILE with existing file (auto-detect).
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:197
Method
test_datatype_file_enum_with_nonexistent_file_raises_error
Test data_type=DataType.FILE raises FileNotFoundError for missing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:209
Method
test_datatype_pdf_file_enum
Test data_type=DataType.PDF_FILE with existing file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:216
Method
test_datatype_text_enum
Test data_type=DataType.TEXT with raw text.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:252
Method
test_datatype_text_file_enum
Test data_type=DataType.TEXT_FILE with existing file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:240
Method
test_date_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:160
Method
test_datetime_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:172
Method
test_day_first_slash_dates_in_a_comma_file_read_day_first
Comma files once always read slash dates month-first, so 25/12 failed.
lib/crewai-files/tests/spreadsheets/test_reading.py:548
Method
test_days
(self)
lib/crewai/tests/test_checkpoint_cli.py:129
Method
test_declaration_drives_deferred_trace_finalization
(self)
lib/crewai/tests/test_flow_conversation.py:2526
Method
test_declaration_enables_conversational_mode
(self)
lib/crewai/tests/test_flow_conversation.py:2483
Method
test_declaration_marks_the_instance_conversational
(self)
lib/crewai/tests/test_flow_conversation.py:3056
Method
test_declaration_orders_the_router_last_and_sequentially
(self)
lib/crewai/tests/test_flow_conversation.py:2537
Method
test_declaration_runs_a_turn_and_accumulates_history
(self)
lib/crewai/tests/test_flow_conversation.py:2508
Method
test_declaration_with_enabled_false_stays_non_conversational
(self)
lib/crewai/tests/test_flow_conversation.py:2488
Function
test_declarative_agent_validation_does_not_execute_python
(project, import_probe, reference)
lib/cli/tests/deploy/test_agent_import_security.py:110
Function
test_declarative_agent_validation_reports_missing_tools
(project, import_probe)
lib/cli/tests/deploy/test_agent_import_security.py:142
Function
test_declarative_flow_runs_on_tui
End-to-end: on_mount dispatches _run_flow_worker → flow.kickoff → _on_crew_done, and any still-active step is swept to done on completion.
lib/cli/tests/test_crew_run_tui.py:2368
Function
test_declarative_trace_scope_and_class_precedence
()
lib/crewai/tests/test_flow_conversation.py:3787
Method
test_declared_builtin_routes_are_not_mistaken_for_custom_ones
A declaration adding a builtin route must not auto-enable the router. ``route_turn`` used to subtract the class attribute while ``_ef
lib/crewai/tests/test_flow_conversation.py:3120
Function
test_declared_content_type_wins_over_the_body_bytes
A usable header is still authoritative; the sniff never overrides it.
lib/crewai-tools/tests/url_read_tool_test.py:578
Method
test_declared_description_reaches_the_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:3444
Function
test_declared_file_is_reachable_the_way_an_agent_calls_it
The label in the description must resolve to the declared file. The description only shows a redacted label, so that label is all the model h
lib/crewai-tools/tests/file_read_tool_test.py:236
Function
test_declared_path_survives_a_serialization_round_trip
model_dump drops private attrs, so the pin must be rebuilt on restore.
lib/crewai-tools/tests/file_read_tool_test.py:324
Function
test_declared_relative_path_survives_chdir
The declared file is pinned at construction, not re-resolved per call.
lib/crewai-tools/tests/file_read_tool_test.py:265
Method
test_declared_route_labels_reach_the_router_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:2495
Method
test_declared_sizes_over_the_cap_are_refused_unread
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:175
Method
test_declared_state_still_runs_a_turn
(self)
lib/crewai/tests/test_flow_conversation.py:2871
Method
test_declared_state_survives_on_both_paths
(self)
lib/crewai/tests/test_flow_conversation.py:3158
Function
test_declaring_the_conversational_block_opts_in_without_enabled
()
lib/crewai/tests/test_flow_definition.py:466
Function
test_declining_the_branch_reset_restores_the_catalog
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, calls: list[list[str]] )
lib/devtools/tests/test_release_catalog_phase.py:58
Function
test_decode_error_names_the_encoding
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:439
Method
test_decorated_hook_executes_correctly
Test that decorated hook executes and modifies behavior.
lib/crewai/tests/hooks/test_decorators.py:72
Method
test_decorator_alone_defers_trace_finalization
(self)
lib/crewai/tests/test_flow_conversation.py:2320
Method
test_decorator_alone_enables_conversational_mode
(self)
lib/crewai/tests/test_flow_conversation.py:2278
Method
test_decorator_alone_registers_the_builtin_methods
(self)
lib/crewai/tests/test_flow_conversation.py:2292
Method
test_decorator_alone_runs_a_turn
(self)
lib/crewai/tests/test_flow_conversation.py:2305
Method
test_decorator_and_manual_registration_work_together
Test that decorators and manual registration can be mixed.
lib/crewai/tests/hooks/test_decorators.py:335
Method
test_decorator_does_not_leak_the_flag_onto_other_flows
(self)
lib/crewai/tests/test_flow_conversation.py:2349
Method
test_decorator_preserves_function_name
Test that @on_signal preserves function metadata.
lib/crewai/tests/events/types/test_system_events.py:167
Method
test_decorator_registers_for_all_signals
Test that @on_signal registers handler for all signal event types.
lib/crewai/tests/events/types/test_system_events.py:132
Method
test_decorator_returns_original_function
Test that @on_signal returns the original function.
lib/crewai/tests/events/types/test_system_events.py:158
Method
test_decorator_tool_does_not_infer_non_pydantic_return_annotation
( self, )
lib/crewai/tests/tools/test_base_tool.py:521
Method
test_decorator_tool_positional_args_still_work
Positional args to decorator tools should bypass validation.
lib/crewai/tests/tools/test_base_tool.py:356
Method
test_decorator_tool_run_rejects_missing_required
Decorator tools should reject missing required args via validation.
lib/crewai/tests/tools/test_base_tool.py:346
Method
test_decorator_tool_run_validates_kwargs
Decorator-created tools should also validate kwargs against schema.
lib/crewai/tests/tools/test_base_tool.py:336
Method
test_decorator_tools_return_raw_result_and_json_agent_text
( self, make_tool: Callable[[], BaseTool], expected_raw: object, expected_agen
lib/crewai/tests/tools/test_base_tool.py:506
Method
test_decorator_with_provider_parameter
Test that decorator accepts provider parameter.
lib/crewai/tests/test_async_human_feedback.py:878
← previous
next →
12,801–12,900 of 19,482, ranked by callers