MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_unprefixed_models_use_native_sdk
Test that unprefixed models use native SDK when model is in constants.
lib/crewai/tests/test_llm.py:1141
Functiontest_unqualified_index_lookup_scopes_both_owners
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1361
Functiontest_unreachable_collector_logs_nothing
(caplog: pytest.LogCaptureFixture)
lib/crewai-core/tests/test_telemetry_export_logs.py:49
Functiontest_unreadable_storage_metadata_gives_a_clear_error
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:107
Methodtest_unrecognized_dict_shape_returns_empty_name_and_args
(self)
lib/crewai/tests/utilities/test_agent_utils.py:848
Functiontest_unrecognized_provider_prefix_does_not_inherit_the_bare_window
()
lib/crewai/tests/llms/test_context_window.py:47
Functiontest_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
Methodtest_unregister_after_hook
Test that after hooks can be unregistered.
lib/crewai/tests/hooks/test_llm_hooks.py:319
Methodtest_unregister_after_hook
Test that after hooks can be unregistered.
lib/crewai/tests/hooks/test_tool_hooks.py:475
Methodtest_unregister_before_hook
Test that before hooks can be unregistered.
lib/crewai/tests/hooks/test_llm_hooks.py:309
Methodtest_unregister_before_hook
Test that before hooks can be unregistered.
lib/crewai/tests/hooks/test_tool_hooks.py:465
Functiontest_unregister_removes_factory
()
lib/crewai/tests/rag/test_client_factory_registry.py:52
Methodtest_unregister_resolves_filtered_wrapper
(self)
lib/crewai/tests/hooks/test_dispatch.py:160
Functiontest_unregister_unknown_provider_is_noop
()
lib/crewai/tests/rag/test_client_factory_registry.py:60
Methodtest_unresolvable_import_ref_tool_raises_guidance
(self)
lib/crewai/tests/project/test_json_loader.py:522
Methodtest_unresolvable_path_raises
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:215
Functiontest_unresolvable_provider_ref_names_field_and_ref
()
lib/crewai/tests/test_flow_from_definition.py:4606
Functiontest_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
Methodtest_unresolved_collapse_llm_raises
If no LLM can be resolved, do not take emit[0].
lib/crewai/tests/test_human_feedback_decorator.py:591
Methodtest_unsafe_names_rejected_at_runtime
(self, bad_name, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:742
Functiontest_unsaveable_cache_function_restores_as_never_cached
()
lib/crewai-tools/tests/tools/wait_tool_test.py:168
Methodtest_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
Methodtest_unserializable_output_falls_back_to_the_original
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1057
Methodtest_unserializable_output_raises_when_strict
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1066
Methodtest_unserializable_typed_output_warns_and_uses_string_agent_text
( self, )
lib/crewai/tests/tools/test_base_tool.py:567
Methodtest_unset_stays_off_the_wire
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:524
Methodtest_unset_task_policy_falls_through_to_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:202
Functiontest_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
Methodtest_unsupported
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:182
Functiontest_unsupported_format
(_, tool, format)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:72
Methodtest_unsupported_input_raises_type_error
(self)
lib/crewai/tests/skills/test_loader.py:162
Methodtest_unsupported_providers_raise_error
Test that unsupported providers raise NotImplementedError.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:259
Methodtest_unsupported_type_returns_none
(self)
lib/crewai/tests/events/test_llm_usage_event.py:179
Functiontest_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
Methodtest_untyped_array
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:266
Functiontest_unusable_guardrail_decisions_fail_and_never_accept
(decision)
lib/crewai/tests/test_jev_evaluation_runner.py:313
Functiontest_unusable_optional_viewer_url_does_not_break_grant
(collector, value)
lib/crewai/tests/telemetry/test_session_trace_export.py:453
Functiontest_unusable_route_decisions_fail
(decision, extra, reason)
lib/crewai/tests/test_jev_evaluation_runner.py:295
Functiontest_unused_var_warning_silenced
()
lib/crewai-core/tests/test_smoke.py:99
Functiontest_unwrap_schema
(extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:87
Methodtest_update_and_delete_survive_reopen
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:333
Functiontest_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
Functiontest_update_catalog_replaces_the_snapshot_after_a_valid_download
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/devtools/tests/test_litellm_catalog_update.py:20
Functiontest_update_converts_poetry_project
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_update_crew.py:165
Methodtest_update_crew_from_zip
(self, mock_make_multipart_request)
lib/cli/tests/test_plus_api.py:483
Methodtest_update_crew_from_zip
(self, mock_make_multipart_request)
lib/crewai/tests/cli/test_plus_api.py:369
Methodtest_update_existing_settings
(self)
lib/cli/tests/test_config.py:110
Methodtest_update_existing_settings
(self)
lib/crewai/tests/cli/test_config.py:107
Functiontest_update_get_record
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:77
Functiontest_update_help_says_it_converts_poetry_projects
()
lib/cli/tests/test_update_crew.py:187
Functiontest_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
Functiontest_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
Functiontest_update_replaces_existing_record
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_update.py:38
Functiontest_update_serialization_failure_preserves_existing_record
( tmp_path: Path, invalid_value: object )
lib/crewai/tests/memory/test_lancedb_update.py:16
Functiontest_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
Methodtest_update_with_a_wrong_dimension_vector_preserves_the_record
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:431
Functiontest_update_without_pyproject_prints_upgrade_commands
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_update_crew.py:150
Methodtest_updates_bare_crewai
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:604
Methodtest_updates_canonical_url_redirect_to_new_default
( self, tmp_path: Path )
lib/devtools/tests/test_docs_versioning.py:173
Methodtest_updates_jinja_template
Template pyproject.toml files with Jinja placeholders should not break.
lib/devtools/tests/test_toml_updates.py:579
Methodtest_updates_version
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:222
Methodtest_uppercase_raises
(self)
lib/crewai/tests/skills/test_validation.py:52
Functiontest_upstream_400_raises_bad_request_error
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:216
Functiontest_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
Functiontest_upstream_502_raises_internal_server_error
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:209
Functiontest_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
Functiontest_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
Methodtest_url_credentials_are_not_in_tool_name
(self, mock_client_class, resolver)
lib/crewai/tests/mcp/test_tool_resolver_native.py:144
Methodtest_url_extension
(self, extension: str, suffix: str)
lib/crewai-tools/tests/rag/test_data_types.py:120
Functiontest_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
Methodtest_url_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:180
Methodtest_url_network_failure
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:173
Methodtest_url_not_supported
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:107
Methodtest_url_reference_is_resolved_file
Test UrlReference is a ResolvedFile.
lib/crewai-files/tests/test_resolved.py:127
Methodtest_url_response_not_json
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:147
Methodtest_url_response_valid_json
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:131
Methodtest_url_trailing_slash_removal
(self)
lib/cli/tests/enterprise/test_main.py:144
Methodtest_url_with_custom_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_json_loader.py:159
Functiontest_usage_accumulates_across_call_and_acall
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:388
Methodtest_usage_defaults_to_none
(self)
lib/crewai/tests/events/test_llm_usage_event.py:26
Functiontest_usage_info_non_streaming_with_acall
()
lib/crewai/tests/test_llm.py:1370
Functiontest_usage_info_non_streaming_with_acall_and_stop
()
lib/crewai/tests/test_llm.py:1405
Functiontest_usage_info_non_streaming_with_call
()
lib/crewai/tests/test_llm.py:1317
Functiontest_usage_info_streaming_with_acall
()
lib/crewai/tests/test_llm.py:1439
Functiontest_usage_info_streaming_with_call
()
lib/crewai/tests/test_llm.py:1343
Methodtest_usage_is_passed_to_event
(self, mock_emit, llm)
lib/crewai/tests/events/test_llm_usage_event.py:214
Functiontest_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
Methodtest_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
Methodtest_usage_omitted_defaults_to_none
(self, mock_emit, llm)
lib/crewai/tests/events/test_llm_usage_event.py:242
Functiontest_usage_stats_name_a_model_only_when_it_is_a_public_one
(typed, sent)
lib/cli/tests/experimental/test_eval_crew.py:2202
Methodtest_use_stop_words_property
Test use_stop_words property.
lib/crewai/tests/agents/test_agent_executor.py:1133
Functiontest_user_authored_flows_are_tagged_as_user
(flow_spans)
lib/crewai/tests/telemetry/test_flow_telemetry.py:496
Functiontest_user_data_decline_blocks
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_smoke.py:83
Functiontest_user_data_round_trip
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
lib/crewai-core/tests/test_smoke.py:63
Functiontest_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
Functiontest_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
Methodtest_user_pat_takes_precedence_over_platform_token
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/skills/test_registry.py:479
Methodtest_user_provided_manager_with_cache_false_stays_excluded
(self)
lib/crewai/tests/test_tool_cache_default.py:270
Methodtest_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
Methodtest_uses_a_project_local_skill_that_declares_the_pinned_version
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:324
← previousnext →19,001–19,100 of 19,663, ranked by callers