Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
Function
test_unprefixed_models_use_native_sdk
Test that unprefixed models use native SDK when model is in constants.
lib/crewai/tests/test_llm.py:1141
Function
test_unqualified_index_lookup_scopes_both_owners
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1361
Function
test_unreachable_collector_logs_nothing
(caplog: pytest.LogCaptureFixture)
lib/crewai-core/tests/test_telemetry_export_logs.py:49
Function
test_unreadable_storage_metadata_gives_a_clear_error
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:107
Method
test_unrecognized_dict_shape_returns_empty_name_and_args
(self)
lib/crewai/tests/utilities/test_agent_utils.py:848
Function
test_unrecognized_provider_prefix_does_not_inherit_the_bare_window
()
lib/crewai/tests/llms/test_context_window.py:47
Function
test_unrecognized_provider_prefix_is_not_stripped
Unknown prefixes stay on the lookup name and do not inherit the gpt-5.6 window.
lib/crewai/tests/test_llm.py:436
Method
test_unregister_after_hook
Test that after hooks can be unregistered.
lib/crewai/tests/hooks/test_llm_hooks.py:319
Method
test_unregister_after_hook
Test that after hooks can be unregistered.
lib/crewai/tests/hooks/test_tool_hooks.py:475
Method
test_unregister_before_hook
Test that before hooks can be unregistered.
lib/crewai/tests/hooks/test_llm_hooks.py:309
Method
test_unregister_before_hook
Test that before hooks can be unregistered.
lib/crewai/tests/hooks/test_tool_hooks.py:465
Function
test_unregister_removes_factory
()
lib/crewai/tests/rag/test_client_factory_registry.py:52
Method
test_unregister_resolves_filtered_wrapper
(self)
lib/crewai/tests/hooks/test_dispatch.py:160
Function
test_unregister_unknown_provider_is_noop
()
lib/crewai/tests/rag/test_client_factory_registry.py:60
Method
test_unresolvable_import_ref_tool_raises_guidance
(self)
lib/crewai/tests/project/test_json_loader.py:522
Method
test_unresolvable_path_raises
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:215
Function
test_unresolvable_provider_ref_names_field_and_ref
()
lib/crewai/tests/test_flow_from_definition.py:4606
Function
test_unresolved_apps_still_raise_where_user_warnings_are_errors
Code that turns this UserWarning into an error, as CrewAI AMP's runtime does, keeps working.
lib/crewai/tests/agents/test_agent.py:2877
Method
test_unresolved_collapse_llm_raises
If no LLM can be resolved, do not take emit[0].
lib/crewai/tests/test_human_feedback_decorator.py:591
Method
test_unsafe_names_rejected_at_runtime
(self, bad_name, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:742
Function
test_unsaveable_cache_function_restores_as_never_cached
()
lib/crewai-tools/tests/tools/wait_tool_test.py:168
Method
test_unsaveable_tool_cache_function_and_agent_callback_do_not_block_restore
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, make_callable: Any,
lib/crewai/tests/test_checkpoint.py:1066
Method
test_unserializable_output_falls_back_to_the_original
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1057
Method
test_unserializable_output_raises_when_strict
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1066
Method
test_unserializable_typed_output_warns_and_uses_string_agent_text
( self, )
lib/crewai/tests/tools/test_base_tool.py:567
Method
test_unset_stays_off_the_wire
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:524
Method
test_unset_task_policy_falls_through_to_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:202
Function
test_unstructured_flow_event_emission
Test that the correct events are emitted during unstructured flow execution with all fields validated.
lib/crewai/tests/test_flow.py:666
Method
test_unsupported
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:182
Function
test_unsupported_format
(_, tool, format)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:72
Method
test_unsupported_input_raises_type_error
(self)
lib/crewai/tests/skills/test_loader.py:162
Method
test_unsupported_providers_raise_error
Test that unsupported providers raise NotImplementedError.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:259
Method
test_unsupported_type_returns_none
(self)
lib/crewai/tests/events/test_llm_usage_event.py:179
Function
test_unsupported_zips_are_refused_without_a_misleading_docx_error
A .pptx must get an honest refusal, not a DOCX extraction failure. Sniffing the zip magic alone would route any OOXML package into python-doc
lib/crewai-tools/tests/url_read_tool_test.py:489
Method
test_untyped_array
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:266
Function
test_unusable_guardrail_decisions_fail_and_never_accept
(decision)
lib/crewai/tests/test_jev_evaluation_runner.py:313
Function
test_unusable_optional_viewer_url_does_not_break_grant
(collector, value)
lib/crewai/tests/telemetry/test_session_trace_export.py:453
Function
test_unusable_route_decisions_fail
(decision, extra, reason)
lib/crewai/tests/test_jev_evaluation_runner.py:295
Function
test_unused_var_warning_silenced
()
lib/crewai-core/tests/test_smoke.py:99
Function
test_unwrap_schema
(extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:87
Method
test_update_and_delete_survive_reopen
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:333
Function
test_update_catalog_keeps_the_existing_snapshot_when_the_download_fails
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/devtools/tests/test_litellm_catalog_update.py:55
Function
test_update_catalog_replaces_the_snapshot_after_a_valid_download
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/devtools/tests/test_litellm_catalog_update.py:20
Function
test_update_converts_poetry_project
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_update_crew.py:165
Method
test_update_crew_from_zip
(self, mock_make_multipart_request)
lib/cli/tests/test_plus_api.py:483
Method
test_update_crew_from_zip
(self, mock_make_multipart_request)
lib/crewai/tests/cli/test_plus_api.py:369
Method
test_update_existing_settings
(self)
lib/cli/tests/test_config.py:110
Method
test_update_existing_settings
(self)
lib/crewai/tests/cli/test_config.py:107
Function
test_update_get_record
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:77
Function
test_update_help_says_it_converts_poetry_projects
()
lib/cli/tests/test_update_crew.py:187
Function
test_update_is_noop_when_read_only
A read-only Memory leaves stored records untouched when update() is called.
lib/crewai/tests/memory/test_unified_memory.py:459
Function
test_update_leaves_uv_project_untouched_and_prints_upgrade_commands
A project already on uv has nothing to convert; the file must not be rewritten.
lib/cli/tests/test_update_crew.py:132
Function
test_update_replaces_existing_record
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_update.py:38
Function
test_update_serialization_failure_preserves_existing_record
( tmp_path: Path, invalid_value: object )
lib/crewai/tests/memory/test_lancedb_update.py:16
Function
test_update_still_writes_when_not_read_only
The read-only guard does not change update() for a writable Memory.
lib/crewai/tests/memory/test_unified_memory.py:478
Method
test_update_with_a_wrong_dimension_vector_preserves_the_record
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:431
Function
test_update_without_pyproject_prints_upgrade_commands
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_update_crew.py:150
Method
test_updates_bare_crewai
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:604
Method
test_updates_canonical_url_redirect_to_new_default
( self, tmp_path: Path )
lib/devtools/tests/test_docs_versioning.py:173
Method
test_updates_jinja_template
Template pyproject.toml files with Jinja placeholders should not break.
lib/devtools/tests/test_toml_updates.py:579
Method
test_updates_version
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:222
Method
test_uppercase_raises
(self)
lib/crewai/tests/skills/test_validation.py:52
Function
test_upstream_400_raises_bad_request_error
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:216
Function
test_upstream_429_raises_rate_limit_error
A masked rate limit stays catchable as openai.RateLimitError.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:201
Function
test_upstream_502_raises_internal_server_error
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:209
Function
test_upstream_error_body_is_attached_to_exception
Callers inspecting `.body` get the gateway's own error object.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:223
Function
test_upstream_error_status_reports_failure
A non-2xx result carries no page; returning its empty content would hand the agent '[]' as though the scrape had succeeded.
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:223
Method
test_url_credentials_are_not_in_tool_name
(self, mock_client_class, resolver)
lib/crewai/tests/mcp/test_tool_resolver_native.py:144
Method
test_url_extension
(self, extension: str, suffix: str)
lib/crewai-tools/tests/rag/test_data_types.py:120
Function
test_url_extension_wins_over_the_body_bytes
The extension fallback still runs ahead of the sniff.
lib/crewai-tools/tests/url_read_tool_test.py:591
Method
test_url_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:180
Method
test_url_network_failure
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:173
Method
test_url_not_supported
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:107
Method
test_url_reference_is_resolved_file
Test UrlReference is a ResolvedFile.
lib/crewai-files/tests/test_resolved.py:127
Method
test_url_response_not_json
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:147
Method
test_url_response_valid_json
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:131
Method
test_url_trailing_slash_removal
(self)
lib/cli/tests/enterprise/test_main.py:144
Method
test_url_with_custom_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:159
Function
test_usage_accumulates_across_call_and_acall
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:388
Method
test_usage_defaults_to_none
(self)
lib/crewai/tests/events/test_llm_usage_event.py:26
Function
test_usage_info_non_streaming_with_acall
()
lib/crewai/tests/test_llm.py:1370
Function
test_usage_info_non_streaming_with_acall_and_stop
()
lib/crewai/tests/test_llm.py:1405
Function
test_usage_info_non_streaming_with_call
()
lib/crewai/tests/test_llm.py:1317
Function
test_usage_info_streaming_with_acall
()
lib/crewai/tests/test_llm.py:1439
Function
test_usage_info_streaming_with_call
()
lib/crewai/tests/test_llm.py:1343
Method
test_usage_is_passed_to_event
(self, mock_emit, llm)
lib/crewai/tests/events/test_llm_usage_event.py:214
Function
test_usage_limit_exceeded_429_raises_immediately
USAGE_LIMIT_EXCEEDED is also non-retryable, just like QUOTA_LIMITED.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:557
Method
test_usage_metrics_returns_independent_copy
``usage_metrics`` must return a copy, not the internal instance — otherwise callers can clobber the in-flight accumulator.
lib/crewai/tests/test_flow_usage_metrics.py:262
Method
test_usage_omitted_defaults_to_none
(self, mock_emit, llm)
lib/crewai/tests/events/test_llm_usage_event.py:242
Function
test_usage_stats_name_a_model_only_when_it_is_a_public_one
(typed, sent)
lib/cli/tests/experimental/test_eval_crew.py:2202
Method
test_use_stop_words_property
Test use_stop_words property.
lib/crewai/tests/agents/test_agent_executor.py:1133
Function
test_user_authored_flows_are_tagged_as_user
(flow_spans)
lib/crewai/tests/telemetry/test_flow_telemetry.py:496
Function
test_user_data_decline_blocks
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_smoke.py:83
Function
test_user_data_round_trip
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
lib/crewai-core/tests/test_smoke.py:63
Function
test_user_env_overrides_default_environment
User-supplied env values must override keys returned by get_default_environment().
lib/crewai/tests/mcp/test_stdio_transport.py:55
Function
test_user_otlp_exporters_keep_their_logs
Control for the test above: the same failure on a plain exporter does log.
lib/crewai-core/tests/test_telemetry_export_logs.py:65
Method
test_user_pat_takes_precedence_over_platform_token
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/skills/test_registry.py:479
Method
test_user_provided_manager_with_cache_false_stays_excluded
(self)
lib/crewai/tests/test_tool_cache_default.py:270
Method
test_user_start_methods_run_sequentially_before_router_in_conversational_mode
Conversational flows: user ``@start`` methods finish before router fires. Non-chat flows run ``@start`` methods in parallel via ``asyncio.gat
lib/crewai/tests/test_flow_conversation.py:699
Method
test_uses_a_project_local_skill_that_declares_the_pinned_version
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:324
← previous
next →
19,001–19,100 of 19,663, ranked by callers