Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_limit_models_reject_nonpositive_values
(model, limit)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:707
Method
test_limit_out_of_range_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:161
Function
test_line_arguments_below_one_are_refused
Out-of-range line arguments are rejected before any request is made. islice raises on a negative stop index, and the windowing runs outside the
lib/crewai-tools/tests/url_read_tool_test.py:211
Function
test_line_window
start_line and line_count select a window of the extracted text.
lib/crewai-tools/tests/url_read_tool_test.py:186
Function
test_line_window_stops_early_with_offset
()
lib/crewai-tools/tests/file_read_tool_test.py:404
Function
test_line_window_stops_reading_early
A small window must not scan the rest of the file.
lib/crewai-tools/tests/file_read_tool_test.py:391
Method
test_linear_record_roundtrip
(self)
lib/crewai/tests/test_event_record.py:286
Method
test_list_cached
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:157
Method
test_list_cached_empty
(self, skill_command, capsys)
lib/cli/tests/skills/test_main.py:323
Method
test_list_cached_empty
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:153
Method
test_list_cached_shows_project_skills
(self, skill_command, capsys)
lib/cli/tests/skills/test_main.py:327
Method
test_list_cached_skips_unreadable_metadata
( self, skill_command: SkillCommand, tmp_path: Path, capsys: pytest.CaptureFix
lib/cli/tests/skills/test_main.py:294
Method
test_list_cached_skips_unreadable_metadata
( self, tmp_path: Path, metadata: bytes )
lib/crewai/tests/skills/test_cache.py:169
Function
test_list_categories
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:163
Function
test_list_content_is_serialized_as_json
``parsing_instructions`` can yield a list; str() on it would produce a Python repr with single quotes rather than JSON.
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:248
Method
test_list_content_user_marker_matches
A pre-formatted user message with a single text block should still match against the post-format user message.
lib/crewai/tests/llms/test_prompt_cache.py:146
Method
test_list_content_without_text_is_named_not_repr
(self)
lib/crewai/tests/utilities/test_agent_utils.py:760
Method
test_list_content_yields_its_text
A parts list used to collapse to its Python repr.
lib/crewai/tests/utilities/test_agent_utils.py:729
Method
test_list_crews
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:455
Method
test_list_crews
(self)
lib/cli/tests/deploy/test_deploy_main.py:1830
Method
test_list_crews
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:341
Method
test_list_json_reads_utf8
``_list_json`` lists a non-ASCII checkpoint with its real size and entities.
lib/crewai/tests/test_checkpoint_cli.py:254
Method
test_list_organizations_api_error
(self, mock_console)
lib/cli/tests/organization/test_main.py:116
Method
test_list_organizations_empty
(self, mock_console)
lib/cli/tests/organization/test_main.py:101
Method
test_list_organizations_success
(self, mock_table, mock_console)
lib/cli/tests/organization/test_main.py:77
Method
test_list_organizations_unauthorized
(self, mock_console)
lib/cli/tests/organization/test_main.py:207
Method
test_list_records_defaults_to_root_scope
list_records() with root_scope defaults to that scope.
lib/crewai/tests/memory/test_memory_root_scope.py:941
Method
test_list_records_is_empty
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:93
Function
test_list_records_pagination
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:146
Method
test_list_scopes_defaults_to_root_scope
list_scopes() with root_scope defaults to that scope.
lib/crewai/tests/memory/test_memory_root_scope.py:968
Function
test_list_scopes_get_scope_info
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:93
Method
test_list_settings
(self, mock_table_class, mock_console)
lib/cli/tests/test_settings_command.py:32
Function
test_list_skills_omits_an_empty_search_and_the_first_page
( monkeypatch: pytest.MonkeyPatch, search: str | None )
lib/crewai-core/tests/test_plus_api.py:65
Function
test_list_skills_sends_search_and_page
(monkeypatch: pytest.MonkeyPatch)
lib/crewai-core/tests/test_plus_api.py:50
Function
test_list_skills_without_arguments_sends_no_params
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-core/tests/test_plus_api.py:35
Method
test_list_still_shows_installed_skills_only
(self, runner, no_experimental_env)
lib/cli/tests/skills/test_cli_commands.py:78
Method
test_list_supported_providers
Test listing supported providers.
lib/crewai-tools/tests/rag/test_embedding_service.py:51
Method
test_list_templates_prints_output
(self, mock_get, mock_prompt, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:127
Method
test_list_templates_quit
(self, mock_get, mock_prompt, mock_install, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:266
Method
test_list_templates_selects_and_installs
(self, mock_get, mock_prompt, mock_install, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:248
Method
test_list_triggers_api_error
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:65
Method
test_list_triggers_no_apps
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:53
Method
test_list_triggers_success
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:24
Method
test_list_triggers_unauthorized_asks_for_login
Not folded into "Error fetching triggers": the login hint survives.
lib/cli/tests/triggers/test_main.py:73
Function
test_listen_node_has_trigger_methods
Test that listen nodes include trigger method information.
lib/crewai/tests/test_flow_visualization.py:308
Function
test_listen_runtime_uses_flow_definition_without_legacy_listener_metadata
()
lib/crewai/tests/test_flow.py:327
Function
test_listener_can_register_handlers_again
A leaked listener must not block later handler registration. `cleanup_event_handlers` wipes the bus between tests, but `setup_listeners` retu
lib/crewai/tests/tracing/test_trace_listener_isolation.py:44
Method
test_listener_consults_the_predicates
The listener must route through the predicates, not its own logic.
lib/crewai/tests/tools/test_tool_failure.py:536
Function
test_lists_actual_path_when_descendant_repeats_base_path
( tmp_path: Path, monkeypatch )
lib/crewai-tools/tests/tools/test_directory_read_tool.py:8
Method
test_lists_every_page_with_the_query
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:390
Method
test_lists_only_skills_below_instructions_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:241
Function
test_lite_agent_forced_final_answer_is_admitted_by_the_rpm_limiter
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:509
Function
test_lite_agent_forces_final_answer_with_user_turn
The forced final answer is requested with a trailing user turn, not assistant prefill.
lib/crewai/tests/agents/test_lite_agent.py:1360
Function
test_lite_agent_gets_the_overlay_model
()
lib/crewai/tests/test_llm_overlay.py:157
Method
test_lite_agent_hooks_integration_with_real_llm
Test that LiteAgent executes before/after LLM call hooks and prints messages correctly.
lib/crewai/tests/hooks/test_llm_hooks.py:440
Method
test_lite_agent_hooks_integration_with_real_tool
Test that LiteAgent executes before/after tool call hooks with real tool calls.
lib/crewai/tests/hooks/test_tool_hooks.py:497
Function
test_lite_agent_inside_flow_sync
Test that LiteAgent.kickoff() works magically inside a Flow. This tests the "magic auto-async" pattern where calling agent.kickoff() from wit
lib/crewai/tests/agents/test_lite_agent.py:752
Function
test_lite_agent_inside_flow_with_tools
Test that LiteAgent with tools works correctly inside a Flow.
lib/crewai/tests/agents/test_lite_agent.py:787
Function
test_lite_agent_kickoff_async_inside_flow
Test that Agent.kickoff_async() works correctly from async Flow methods.
lib/crewai/tests/agents/test_lite_agent.py:845
Function
test_lite_agent_memory_instance_recall_and_save_called
With a custom memory instance, kickoff calls recall and then extract_memories/remember.
lib/crewai/tests/agents/test_lite_agent.py:1161
Function
test_lite_agent_memory_none_default
With memory=None (default), _memory is None and no memory is used.
lib/crewai/tests/agents/test_lite_agent.py:1107
Function
test_lite_agent_memory_true_resolves_to_default_memory
With memory=True, _memory is a Memory instance.
lib/crewai/tests/agents/test_lite_agent.py:1132
Function
test_lite_agent_model_dump_json_with_callable_guardrail
()
lib/crewai/tests/test_guardrail_serialization.py:121
Method
test_lite_agent_output_exposes_token_usage_object
(self)
lib/crewai/tests/test_usage_shape_parity.py:52
Function
test_lite_agent_output_includes_messages
Test that LiteAgentOutput includes messages from agent execution.
lib/crewai/tests/agents/test_lite_agent.py:224
Method
test_lite_agent_output_token_usage_zeroed_when_absent
(self)
lib/crewai/tests/test_usage_shape_parity.py:66
Function
test_lite_agent_raises_typed_error_after_two_empty_answers
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:499
Function
test_lite_agent_recovers_from_one_empty_answer
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:491
Function
test_lite_agent_retry_is_admitted_by_the_rpm_limiter
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:223
Function
test_lite_agent_returns_usage_metrics
Test that LiteAgent returns usage metrics.
lib/crewai/tests/agents/test_lite_agent.py:203
Function
test_lite_agent_returns_usage_metrics_async
Test that LiteAgent returns usage metrics when run asynchronously.
lib/crewai/tests/agents/test_lite_agent.py:246
Function
test_lite_agent_skips_preflight_when_context_respect_is_disabled
()
lib/crewai/tests/agents/test_lite_agent.py:631
Function
test_lite_agent_standalone_still_works
Test that LiteAgent.kickoff() still works normally outside of a Flow. This verifies that the magic auto-async pattern doesn't break standalone us
lib/crewai/tests/agents/test_lite_agent.py:868
Function
test_lite_agent_structured_output
Test that Agent can return a simple structured output.
lib/crewai/tests/agents/test_lite_agent.py:160
Function
test_lite_agent_summarizes_before_calling_the_llm
()
lib/crewai/tests/agents/test_lite_agent.py:602
Function
test_lite_agent_verbose_false_suppresses_printer_output
Test that setting verbose=False suppresses all printer output.
lib/crewai/tests/agents/test_lite_agent.py:1068
Function
test_lite_agent_with_custom_llm_and_guardrails
Test that CustomLLM (inheriting from BaseLLM) works with guardrails.
lib/crewai/tests/agents/test_lite_agent.py:532
Function
test_lite_agent_with_invalid_llm
Test that LiteAgent raises proper error when create_llm returns None.
lib/crewai/tests/agents/test_lite_agent.py:652
Function
test_lite_agent_with_tools
Test that Agent can use tools.
lib/crewai/tests/agents/test_lite_agent.py:118
Function
test_litellm_anthropic_error_handling
Test that AnthropicError from LiteLLM is handled correctly and not retried.
lib/crewai/tests/agents/test_agent.py:2080
Function
test_litellm_async_basic_call
Test basic async call with LiteLLM fallback.
lib/crewai/tests/llms/litellm/test_litellm_async.py:11
Function
test_litellm_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/litellm/test_litellm_async.py:70
Function
test_litellm_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/litellm/test_litellm_async.py:89
Function
test_litellm_async_streaming
Test async streaming call with LiteLLM fallback.
lib/crewai/tests/llms/litellm/test_litellm_async.py:126
Function
test_litellm_async_streaming_with_parameters
Test async streaming call with multiple parameters.
lib/crewai/tests/llms/litellm/test_litellm_async.py:140
Function
test_litellm_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/litellm/test_litellm_async.py:38
Function
test_litellm_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/litellm/test_litellm_async.py:105
Function
test_litellm_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/litellm/test_litellm_async.py:52
Function
test_litellm_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/litellm/test_litellm_async.py:25
Function
test_litellm_auth_error_handling
Test that LiteLLM authentication errors are handled correctly and not retried.
lib/crewai/tests/agents/test_agent.py:2050
Function
test_litellm_empty_stream_raises_typed_error_with_one_failed_event
( llm_events: list[Any], )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:329
Function
test_litellm_empty_then_text_retries_once_with_events_per_call
( stream: bool, use_async: bool, llm_events: list[Any] )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:353
Function
test_litellm_extra_matches_crewai_routing_for_every_prefix
The CLI copies crewAI's rule for which prefixes have a native provider and which names it takes; a model crewAI sends to LiteLLM must get the
lib/cli/tests/test_constants.py:328
Function
test_litellm_fetch_attempted_once_per_process
(monkeypatch)
lib/cli/tests/test_model_catalog.py:484
Function
test_litellm_fills_uncurated_bedrock
(monkeypatch)
lib/cli/tests/test_model_catalog.py:499
Function
test_litellm_gpt5_call_succeeds_without_stop_error
Integration test: GPT-5 call succeeds when stop words are configured, because stop is omitted from API params and applied client-side.
lib/crewai/tests/test_llm.py:790
Function
test_litellm_gpt5_does_not_send_stop_in_params
Test that the LiteLLM fallback path does not include 'stop' in API params for GPT-5.x models, since they reject it at the API level.
lib/crewai/tests/test_llm.py:801
Function
test_litellm_gpt5_uses_the_shared_openai_context_window
()
lib/crewai/tests/test_llm.py:395
Function
test_litellm_input_token_count_includes_structured_output_tool
()
lib/crewai/tests/test_llm.py:857
Function
test_litellm_input_token_count_uses_character_fallback
()
lib/crewai/tests/test_llm.py:887
← previous
next →
15,301–15,400 of 19,484, ranked by callers