MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_safe_repair_json_missing_comma
()
lib/crewai/tests/agents/test_crew_agent_parser.py:303
Functiontest_safe_repair_json_missing_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:245
Functiontest_safe_repair_json_mixed_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:282
Functiontest_safe_repair_json_single_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:275
Functiontest_safe_repair_json_special_characters_key
()
lib/crewai/tests/agents/test_crew_agent_parser.py:317
Functiontest_safe_repair_json_trailing_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:268
Functiontest_safe_repair_json_unclosed_brackets
()
lib/crewai/tests/agents/test_crew_agent_parser.py:254
Functiontest_safe_repair_json_unescaped_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:289
Functiontest_safe_repair_json_unexpected_trailing_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:310
Functiontest_safe_repair_json_unrepairable
()
lib/crewai/tests/agents/test_crew_agent_parser.py:239
Functiontest_safe_session_does_not_follow_redirects_by_default
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:359
Functiontest_safe_session_follows_redirects_when_caller_opts_in
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:385
Methodtest_same_action_from_different_apps_has_unique_tool_names
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:327
Functiontest_same_instance_resolves_model_per_call
One instance across two calls resolves each call's model independently.
lib/crewai-tools/tests/tools/test_vision_tool.py:99
Methodtest_same_interceptor_different_providers
Test that same interceptor instance can be used with multiple providers.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:289
Functiontest_same_named_skills_from_different_orgs_stay_individually_loadable
Skills sharing a frontmatter name must each be addressable.
lib/crewai/tests/skills/test_progressive_disclosure.py:273
Methodtest_sampling_kwargs_bind_to_typed_fields
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:232
Methodtest_sanitize_collection_name_bad_ends
Test sanitizing a name with non-alphanumeric start/end.
lib/crewai/tests/rag/chromadb/test_utils.py:43
Methodtest_sanitize_collection_name_empty_string
Test sanitizing an empty string.
lib/crewai/tests/rag/chromadb/test_utils.py:86
Methodtest_sanitize_collection_name_ipv4_pattern
Test sanitizing an IPv4 address.
lib/crewai/tests/rag/chromadb/test_utils.py:55
Methodtest_sanitize_collection_name_long_name
Test sanitizing a very long collection name.
lib/crewai/tests/rag/chromadb/test_utils.py:18
Methodtest_sanitize_collection_name_none
Test sanitizing a None value.
lib/crewai/tests/rag/chromadb/test_utils.py:50
Methodtest_sanitize_collection_name_properties
Test that sanitized collection names always meet ChromaDB requirements.
lib/crewai/tests/rag/chromadb/test_utils.py:69
Methodtest_sanitize_collection_name_short_name
Test sanitizing a very short name.
lib/crewai/tests/rag/chromadb/test_utils.py:35
Methodtest_sanitize_collection_name_special_chars
Test sanitizing a name with special characters.
lib/crewai/tests/rag/chromadb/test_utils.py:27
Methodtest_sanitize_collection_name_whitespace_only
Test sanitizing a string with only whitespace.
lib/crewai/tests/rag/chromadb/test_utils.py:91
Functiontest_sanitize_metadata_drops_none_values
()
lib/crewai-tools/tests/rag/test_misc.py:6
Functiontest_sanitize_tool_name_empty
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:82
Functiontest_sanitize_tool_name_with_spaces
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:72
Functiontest_sanitize_tool_name_without_spaces
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:77
Functiontest_sanitized_metadata_is_accepted_by_chromadb
()
lib/crewai-tools/tests/rag/test_misc.py:14
Methodtest_save_and_load
(self)
lib/crewai/tests/utilities/test_file_handler.py:32
Methodtest_save_and_load_pending_feedback
Test saving and loading pending feedback context.
lib/crewai/tests/test_async_human_feedback.py:277
Functiontest_save_documents_integration
Test document saving through RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:74
Functiontest_save_file_called_when_enabled
(mock_save, mock_get)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:462
Functiontest_save_pending_feedback_complex_types
Test saving and loading pending feedback with complex types in state.
lib/crewai/tests/test_flow_persistence.py:589
Methodtest_save_rejects_a_wrong_dimension_vector
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:384
Functiontest_save_search
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:57
Functiontest_save_task_json_output
()
lib/crewai/tests/test_task.py:677
Functiontest_save_task_output
()
lib/crewai/tests/test_task.py:653
Functiontest_save_task_pydantic_output
Test saving pydantic output to a file. Uses tmp_path fixture and monkeypatch to change directory to avoid file system race conditions on ente
lib/crewai/tests/test_task.py:715
Functiontest_save_to_json
(extractor, tmp_path)
lib/crewai-tools/tests/test_generate_tool_specs.py:292
Methodtest_save_tokens
Test saving tokens encrypts and writes atomically.
lib/cli/tests/test_token_manager.py:75
Methodtest_save_tokens
Test saving tokens encrypts and writes atomically.
lib/crewai/tests/cli/test_token_manager.py:71
Methodtest_save_trained_data
(self)
lib/crewai/tests/utilities/test_training_handler.py:20
Functiontest_scaffolded_agents_md_commands_parse_against_the_cli
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2663
Functiontest_scaffolded_agents_md_deploy_prerequisites_allow_zip_deploys
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2685
Functiontest_scaffolded_agents_md_evaluates_logged_out_without_skipping_the_login
Logged out, agents evaluate right away and still start the login; measured 10-19, "don't wait on a login" alone made agents stop offering to log i
lib/cli/tests/test_create_crew.py:2601
Functiontest_scaffolded_agents_md_platform_tools_guidance
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2702
Functiontest_scaffolded_agents_md_tells_assistants_to_evaluate_with_crewai_eval
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2587
Functiontest_scaffolded_agents_md_tells_assistants_to_keep_observability_on
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2523
Functiontest_scaffolded_flow_agents_md_tells_assistants_to_evaluate_with_crewai_eval
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:631
Functiontest_scaffolded_flow_docs_tell_how_to_pass_inputs
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:802
Functiontest_scaffolded_flow_entry_points_return_none_so_uv_scripts_exit_zero
( scaffolded_flow_main: ModuleType, tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:696
Functiontest_scaffolded_flow_kickoff_without_inputs_uses_default_topic
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:763
Functiontest_scaffolded_flow_returns_the_post_from_its_last_step
( scaffolded_flow_main: ModuleType, tmp_path: Path )
lib/cli/tests/test_create_flow.py:687
Functiontest_scaffolded_flow_run_with_trigger_rejects_a_missing_payload
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:710
Functiontest_scaffolded_flow_run_with_trigger_uses_payload_topic
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:782
Functiontest_scaffolded_flow_run_with_trigger_without_topic_keeps_default
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:792
Functiontest_scaffolded_flow_start_step_keeps_inputs_passed_to_flow_kickoff
( scaffolded_flow_main: ModuleType, )
lib/cli/tests/test_create_flow.py:773
Methodtest_schema_has_plan_property
Test that schema includes plan property.
lib/crewai/tests/utilities/test_structured_planning.py:39
Methodtest_schema_has_ready_property
Test that schema includes ready property.
lib/crewai/tests/utilities/test_structured_planning.py:85
Methodtest_schema_has_required_fields
Test that the schema includes required fields information.
lib/crewai/tests/utilities/test_agent_utils.py:556
Methodtest_schema_has_required_structure
Test that FUNCTION_SCHEMA has the correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:26
Methodtest_schema_has_steps_property
Test that schema includes steps array property.
lib/crewai/tests/utilities/test_structured_planning.py:45
Functiontest_schema_inheritance
Test tool creation with inherited schema
lib/crewai/tests/tools/test_structured_tool.py:282
Methodtest_schema_parameters_structure
Test that parameters have correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:32
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_async
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2291
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_async_streaming
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2329
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_sync
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2274
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_sync_streaming
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2309
Functiontest_schema_request_waits_for_the_agent_rpm_limit
(mode: str, native: bool)
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:214
Methodtest_schema_step_properties
Test that step items have all required properties.
lib/crewai/tests/utilities/test_structured_planning.py:60
Methodtest_schema_step_required_fields
Test that step required fields are correct.
lib/crewai/tests/utilities/test_structured_planning.py:77
Methodtest_schema_steps_items_structure
Test that steps items have correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:51
Methodtest_schema_structure_matches_openai_format
Test that the schema structure matches OpenAI's expected format.
lib/crewai/tests/utilities/test_agent_utils.py:585
Methodtest_schema_top_level_additional_properties
Test that additionalProperties is False at top level.
lib/crewai/tests/utilities/test_structured_planning.py:98
Methodtest_schema_top_level_required
Test that top-level required fields are correct.
lib/crewai/tests/utilities/test_structured_planning.py:91
Methodtest_schema_validation_catches_missing_args_on_native_path
The native function calling path should now enforce args_schema, catching missing required fields before _run is called.
lib/crewai/tests/agents/test_native_tool_calling.py:1319
Methodtest_scope_and_category_views_survive_reopen
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:258
Functiontest_scope_info
()
lib/crewai/tests/memory/test_unified_memory.py:128
Functiontest_scope_listing_failure_still_analyzes
(tmp_path: Path)
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:35
Functiontest_scope_prefix_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:105
Methodtest_scope_prefix_limits_listing
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:227
Methodtest_scope_restores_on_exception
(self)
lib/crewai/tests/events/test_event_context.py:175
Methodtest_scope_restores_previous_value
(self)
lib/crewai/tests/events/test_event_context.py:160
Methodtest_scope_sets_triggering_id
(self)
lib/crewai/tests/events/test_event_context.py:155
Methodtest_scoped_after_hook_modifies_direct_response
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:671
Methodtest_scoped_before_hook_can_block_direct_call
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:638
Methodtest_scoped_before_hook_runs_on_direct_call
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:619
Functiontest_scoped_handlers_cleanup
()
lib/crewai/tests/utilities/events/test_shutdown.py:158
Functiontest_scoped_handlers_with_async
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:198
Methodtest_scoped_hooks_fire_on_agent_executor_llm_seams
register_scoped hooks must run on the executor model seams. Regression: `_setup_before/after_llm_call_hooks` only ran the executor's
lib/crewai/tests/hooks/test_llm_hooks.py:370
Methodtest_scoped_runs_after_global_then_cleared
(self)
lib/crewai/tests/hooks/test_dispatch.py:193
Functiontest_scrape_with_css_selector
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:77
Functiontest_scrape_with_driver_error
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:122
Functiontest_scrape_with_return_html_false
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:107
Functiontest_scrape_with_return_html_true
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:92
Functiontest_scrape_without_css_selector
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:62
Functiontest_script_action_requires_explicit_opt_in
()
lib/crewai/tests/test_flow_from_definition.py:2375
← previousnext →17,501–17,600 of 19,264, ranked by callers