MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_json_create_dmn_mode_next_steps_name_the_key_the_model_needs
( tmp_path, monkeypatch, capsys, no_provider_keys, provider, model, key_name )
lib/cli/tests/test_create_crew.py:1625
Functiontest_json_create_dmn_mode_next_steps_skip_a_key_already_exported
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1670
Functiontest_json_create_dmn_mode_uses_non_interactive_defaults
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:1500
Functiontest_json_create_dmn_mode_with_ollama_names_no_key
(tmp_path, monkeypatch, capsys)
lib/cli/tests/test_create_crew.py:1659
Functiontest_json_create_keeps_the_tools_only_dependency_when_no_extra_is_needed
( tmp_path, monkeypatch, provider )
lib/cli/tests/test_create_crew.py:2209
Functiontest_json_create_lists_each_agent_provider_extra_once_and_sorted
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2236
Functiontest_json_create_prompts_once_per_provider_and_first_agent_sets_model
( tmp_path, monkeypatch, capsys )
lib/cli/tests/test_create_crew.py:1961
Functiontest_json_create_provider_preselects_default_model
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:1252
Functiontest_json_create_returns_the_folder_it_created
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2398
Functiontest_json_create_saves_platform_token_to_env_file
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:1396
Functiontest_json_create_scaffolds_assistant_instructions
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2542
Functiontest_json_create_skip_provider_names_the_key_in_next_steps_without_dmn
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1685
Functiontest_json_create_with_a_bare_unknown_model_adds_no_extra
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2222
Functiontest_json_crew_non_string_definition_reports_invalid_definition
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:744
Functiontest_json_crew_reports_project_metadata_before_invalid_json
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:258
Functiontest_json_crew_requires_agents_dir_without_classic_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:241
Functiontest_json_crew_uses_template_files
()
lib/cli/tests/test_create_crew.py:1434
Functiontest_json_dmn_next_steps_name_the_key_of_an_aliased_prefix
( tmp_path, monkeypatch, capsys, no_provider_keys, provider, key_name )
lib/cli/tests/test_create_crew.py:1781
Functiontest_json_dmn_next_steps_name_the_watsonx_keys
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1792
Methodtest_json_dumps_unrestorable_callable_as_null
( self, make_cb: Callable[[], Callable[..., Any]] )
lib/crewai/tests/test_callback.py:295
Methodtest_json_encoder_handles_decimal_in_results
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:507
Methodtest_json_excludes_none_values
AgentCard JSON with exclude_none should omit None fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:311
Methodtest_json_file_not_found_raises_error
Test that non-existent JSON file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:311
Methodtest_json_has_required_fields
AgentCard JSON should contain all required A2A protocol fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:239
Functiontest_json_is_returned_verbatim
JSON is passed through undecorated so callers can parse it.
lib/crewai-tools/tests/url_read_tool_test.py:225
Functiontest_json_knowledge_source
Test JSONKnowledgeSource with a simple JSON file.
lib/crewai/tests/knowledge/test_knowledge.py:450
Methodtest_json_latest
(self)
lib/crewai/tests/test_checkpoint_cli.py:148
Functiontest_json_loader_keeps_non_ascii_text_readable
Object values keep readable Unicode characters.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:7
Functiontest_json_loader_list_keeps_non_ascii_text_readable
List items keep readable Unicode characters.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:18
Functiontest_json_loader_lone_surrogate_stays_escaped
Lone surrogate escapes remain ingestible without losing their value.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:35
Functiontest_json_loader_paired_surrogate_keeps_emoji_readable
A valid surrogate pair is rendered as its Unicode character.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:52
Functiontest_json_loader_parses_utf8_bom_array
BOM-prefixed arrays retain the same structured output as plain JSON.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:24
Functiontest_json_loader_parses_utf8_bom_object
A local UTF-8 BOM must not turn valid JSON into raw parse-error text.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:15
Functiontest_json_loader_preserves_internal_bom_and_malformed_fallback
Only a leading BOM is removed; content and malformed fallback stay intact.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:31
Functiontest_json_loader_scalar_keeps_non_ascii_text_readable
Scalar strings keep readable Unicode characters.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:26
Methodtest_json_location_with_glob_characters
(self)
lib/crewai/tests/test_checkpoint_cli.py:172
Functiontest_json_log_appends_serializable_metadata
(tmp_path: Path)
lib/crewai/tests/utilities/test_file_handler.py:87
Functiontest_json_log_serialization_failure_preserves_file
( tmp_path: Path, kind: str, existing: bool )
lib/crewai/tests/utilities/test_file_handler.py:57
Functiontest_json_model_picker_falls_back_to_current_small_model_on_escape
(monkeypatch)
lib/cli/tests/test_create_crew.py:1612
Methodtest_json_not_found
(self)
lib/crewai/tests/test_checkpoint_cli.py:167
Functiontest_json_project_env_run_failure_exits_nonzero
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:564
Functiontest_json_project_environment_failure_has_actionable_hint
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/deploy/test_validate.py:214
Functiontest_json_property_is_none_when_output_json_was_not_produced
()
lib/crewai/tests/test_task.py:484
Functiontest_json_property_without_output_json
()
lib/crewai/tests/test_task.py:501
Functiontest_json_provider_default_model_helper
()
lib/cli/tests/test_create_crew.py:1465
Methodtest_json_round_trip
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:254
Methodtest_json_round_trip_class
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:261
Methodtest_json_round_trip_classmethod
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_callback.py:268
Methodtest_json_round_trip_inherited_classmethod_keeps_its_class
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_callback.py:277
Functiontest_json_run_install_failure_exits_nonzero
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:686
Functiontest_json_run_installs_dependencies_when_pyproject_has_no_lockfile
JSON crew runs should lock/sync project dependencies only when needed.
lib/cli/tests/test_run_crew.py:586
Functiontest_json_run_skips_dependency_install_when_lockfile_and_venv_exist
( monkeypatch, tmp_path: Path, lockfile: str )
lib/cli/tests/test_run_crew.py:647
Functiontest_json_run_skips_dependency_install_without_pyproject
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:668
Functiontest_json_run_skips_uv_sync_when_only_poetry_lock_exists_without_venv
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:626
Functiontest_json_run_syncs_frozen_when_uv_lock_exists_without_venv
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:606
Functiontest_json_run_uses_poetry_run_for_poetry_lock_without_uv_lock
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:135
Functiontest_json_run_uses_project_env_when_pyproject_exists
JSON crew runs should execute inside the project uv environment.
lib/cli/tests/test_run_crew.py:72
Functiontest_json_run_without_pyproject_runs_in_process
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:539
Functiontest_json_runner_code_loads_current_cli_package_over_project_env
(tmp_path: Path)
lib/cli/tests/test_run_crew.py:189
Functiontest_json_runner_ends_a_quit_prompt_as_click_ends_its_commands
Ctrl-C or Ctrl-D at a prompt in the runner, the API key's included.
lib/cli/tests/test_run_crew.py:505
Functiontest_json_runner_ignores_crewai_modules_planted_in_the_project
The runner starts in the project folder; a crewai_core package there must not be the module that pins where the saved login travels, while the
lib/cli/tests/test_run_crew.py:282
Functiontest_json_runner_imports_with_older_project_env_crewai_core
(tmp_path: Path)
lib/cli/tests/test_run_crew.py:357
Functiontest_json_runner_imports_with_older_project_env_crewai_core
(tmp_path: Path)
lib/crewai/tests/cli/test_run_crew.py:228
Functiontest_json_runner_on_a_crewai_without_missing_api_key_error_fails_as_before
Before 1.15.34 crewai raised a plain ValueError for a missing key.
lib/cli/tests/test_run_crew.py:521
Functiontest_json_runner_pins_the_machines_proxy_before_the_project_env_loads
The runner is a fresh interpreter that never imports cli.py. It reads the machine's proxy and CA for AMP before `_run_json_crew` loads the project
lib/cli/tests/test_run_crew.py:237
Functiontest_json_runner_stops_a_crew_without_its_key_with_one_line
The class is the project's crewai's own, and the stop is a message, not a traceback.
lib/cli/tests/test_run_crew.py:477
Functiontest_json_runner_stops_when_plus_api_fails_to_import
Only a crewai-core without plus_api is skipped; a plus_api that fails to import stops the runner with its own error instead of running unpinned.
lib/cli/tests/test_run_crew.py:329
Functiontest_json_runtime_fields_are_deploy_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:198
Methodtest_json_schema_is_string
(self)
lib/crewai/tests/test_callback.py:325
Functiontest_json_schema_state
()
lib/crewai/tests/test_flow_from_definition.py:3346
Functiontest_json_schema_state_required_fields_can_come_from_kickoff_inputs
()
lib/crewai/tests/test_flow_from_definition.py:3361
Functiontest_json_schema_state_validates_inputs
()
lib/crewai/tests/test_flow_from_definition.py:3355
Functiontest_json_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:114
Methodtest_json_serializable
AgentCard should be JSON serializable.
lib/crewai/tests/a2a/utils/test_agent_card.py:295
Methodtest_json_serialize_module_function
(self)
lib/crewai/tests/test_callback.py:249
Functiontest_json_setup_env_asks_for_the_key_of_the_provider_crewai_runs_the_model_on
( tmp_path, monkeypatch, capsys, no_provider_keys, terminal_stdin, model, prompt, key_name )
lib/cli/tests/test_create_crew.py:1922
Functiontest_json_setup_env_blank_key_already_exported_prints_no_line_to_add
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1838
Functiontest_json_setup_env_blank_key_prints_the_line_to_add_and_claims_no_save
( tmp_path, monkeypatch, capsys, no_provider_keys, terminal_stdin )
lib/cli/tests/test_create_crew.py:1709
Functiontest_json_setup_env_blank_region_still_reports_the_keys_saved
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1822
Functiontest_json_setup_env_hides_only_secrets_at_a_terminal
( tmp_path, monkeypatch, terminal_stdin, model, prompts )
lib/cli/tests/test_create_crew.py:1889
Functiontest_json_setup_env_lists_each_missing_key_of_a_multi_key_provider
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1742
Functiontest_json_setup_env_lists_neither_azure_deployment_name_nor_api_version
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1806
Functiontest_json_setup_env_ollama_needs_no_key_and_prints_nothing_extra
( tmp_path, monkeypatch, capsys )
lib/cli/tests/test_create_crew.py:1943
Functiontest_json_setup_env_reads_a_piped_key_from_stdin
(tmp_path, monkeypatch, capsys)
lib/cli/tests/test_create_crew.py:1934
Functiontest_json_setup_env_saved_key_keeps_the_success_message
( tmp_path, monkeypatch, capsys, terminal_stdin )
lib/cli/tests/test_create_crew.py:1728
Methodtest_json_skills_structure
Each skill in JSON should have required fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:260
Methodtest_json_string
Test data_type='json' with existing JSON file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:145
Methodtest_json_string_response_is_parsed
Test that JSON string response from LLM is correctly parsed.
lib/crewai/tests/test_async_human_feedback.py:1049
Methodtest_json_structure_preservation
Test that JSON structures are preserved and not interpolated incorrectly.
lib/crewai/tests/utilities/test_string_utils.py:33
Functiontest_json_task_agent_mismatch_is_error
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:189
Functiontest_json_text_from_the_schema_request_is_used
The LiteLLM fallback returns the structured instance as JSON text.
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:245
Functiontest_json_the_render_encoder_cannot_walk_is_left_as_text
Python 3.12's C decoder accepts nesting its indent encoder cannot walk. The decoder here does that on every version, with an input `ast` cannot
lib/cli/tests/test_crew_run_tui.py:2496
Functiontest_json_validation_uses_project_environment_without_crewai
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/deploy/test_cli_only_install.py:73
Functiontest_json_watsonx_models_use_the_prefix_crewai_can_run
LiteLLM rejects `watson/`; it knows the provider only as `watsonx`.
lib/cli/tests/test_create_crew.py:1762
Methodtest_json_without_outcome_raises
Parsed JSON missing a usable outcome fails closed.
lib/crewai/tests/test_async_human_feedback.py:1102
Functiontest_json_wizard_agent_attribute_prompts_are_compact
(monkeypatch)
lib/cli/tests/test_create_crew.py:1189
Functiontest_json_wizard_agent_falls_back_to_current_small_model_when_provider_is_skipped
( monkeypatch, )
lib/cli/tests/test_create_crew.py:1599
Functiontest_json_wizard_defaults_to_sequential_and_memory_enabled
(monkeypatch)
lib/cli/tests/test_create_crew.py:401
Functiontest_json_wizard_platform_catalog_contains_every_supported_app
()
lib/cli/tests/test_create_crew.py:768
Functiontest_json_wizard_platform_tool_selection_stays_in_agent_tools
(monkeypatch)
lib/cli/tests/test_create_crew.py:670
← previousnext →14,901–15,000 of 19,264, ranked by callers