MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 3 callersFunction_chain_traced_rerun
The run app's Evaluate, pressed on a run that was not traced: the run happens again, traced, and that run is evaluated — `crewai eval`'s own p
lib/cli/src/crewai_cli/run_crew.py:955
↓ 3 callersMethod_check_usage_limit
Check if tool has reached its usage limit. Args: tool: The tool to check tool_name: The name of the tool (used for er
lib/crewai/src/crewai/tools/tool_usage.py:792
↓ 3 callersFunction_checkpointed_crew
One crew that has run once and saved a checkpoint. Mirrors what ``_sync_checkpoint_fields`` plus a finished kickoff leave on the live object.
lib/crewai/tests/test_crew_copy_resume_state.py:20
↓ 3 callersFunction_chunks_that_all_carry_usage
OpenAI reports usage only on a final chunk with empty choices. A vLLM server asked for ``continuous_usage_stats`` attaches the running totals to
lib/crewai/tests/llms/openai/test_openai.py:2606
↓ 3 callersFunction_clear_lines
(n: int)
lib/cli/src/crewai_cli/tui_picker.py:73
↓ 3 callersMethod_clear_or_listeners
Clear fired OR listeners for cyclic flows.
lib/crewai/src/crewai/flow/runtime/__init__.py:1084
↓ 3 callersMethod_clear_scroll
(self, tab_id: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:475
↓ 3 callersFunction_clocked_sleep
time.sleep records each wait and moves the CLI's monotonic clock on by it, so the unanswered deadline sees the time pass.
lib/cli/tests/experimental/test_eval_crew.py:652
↓ 3 callersMethod_collapse_plan_on_task_done
Collapse unfinished display-only plan steps once the task succeeds.
lib/cli/src/crewai_cli/crew_run_tui.py:2501
↓ 3 callersFunction_compute_file_hash
Compute SHA-256 hash of file content. Uses streaming for FilePath sources to avoid loading large files into memory.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:75
↓ 3 callersFunction_configured_settings
The values of ``names`` a caller configured on ``base``. Skips what is unset (``None``, an empty list or dict) and what ``base``'s class deri
lib/crewai/src/crewai/utilities/llm_utils.py:447
↓ 3 callersFunction_contains_file_id_reference
Check if any message content contains a file_id reference. Anthropic's Files API is in beta and requires a special header when file_id refere
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:145
↓ 3 callersMethod_conversation_streaming_enabled
(self, llm: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:1727
↓ 3 callersFunction_count_run_usage
(event: str, attributes: dict[str, str] | None = None)
lib/cli/src/crewai_cli/run_crew.py:752
↓ 3 callersMethod_covered
(self, coverage: CoveredUpdate)
lib/crewai/src/crewai/experimental/flow_replies.py:156
↓ 3 callersMethod_crew
(self, **crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:247
↓ 3 callersFunction_crew_loader_whose_kickoff_raises
(error: str, *, imports: str = "")
lib/cli/tests/test_run_crew.py:464
↓ 3 callersFunction_crewed_task
A task whose agent belongs to a crew, as the task handlers require.
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:97
↓ 3 callersMethod_current_usage_summary
Snapshot the cumulative usage counters backing this agent's LLM. The counters live on the LLM instance (or the agent's token process
lib/crewai/src/crewai/agent/core.py:2136
↓ 3 callersFunction_default_model_for_provider
Return the default provider/model string for a ``--provider`` value.
lib/cli/src/crewai_cli/create_json_crew.py:1014
↓ 3 callersFunction_detect_location
Resolve the default checkpoint location. When the caller passes the default directory path, check whether a SQLite database exists at the con
lib/cli/src/crewai_cli/checkpoint_cli.py:81
↓ 3 callersFunction_do_checkpoint
Write a checkpoint and prune old ones if configured.
lib/crewai/src/crewai/state/checkpoint_listener.py:113
↓ 3 callersMethod_drain_memory_writes
Block until all pending background memory saves have completed. Covers the crew memory, per-agent memories, and the manager agent's m
lib/crewai/src/crewai/crew.py:1917
↓ 3 callersMethod_effective_internal_routes
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:1567
↓ 3 callersFunction_encrypted
HTTPS, or plain HTTP to this machine — the rule `TraceGrantClient` already applies to collector grants (localhost, its subdomains, loopback addres
lib/cli/src/crewai_cli/experimental/eval_crew.py:738
↓ 3 callersFunction_ensure_dir_mode
Tighten a dedicated config directory to 0o700. Skips directories shared with other users or content (the system temp dir and the current work
lib/crewai-core/src/crewai_core/settings.py:29
↓ 3 callersFunction_ensure_handlers_registered
Register checkpoint handlers on the event bus once, lazily.
lib/crewai/src/crewai/state/checkpoint_listener.py:43
↓ 3 callersMethod_ensure_indexes
Create payload indexes for efficient filtering.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:164
↓ 3 callersFunction_entity_icon
(etype: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:115
↓ 3 callersFunction_env_file
The `.env` crewAI loads for the project: the nearest one at or above it, as python-dotenv's `find_dotenv` finds it from the project's venv.
lib/cli/src/crewai_cli/api_keys.py:513
↓ 3 callersFunction_ephemeral_user
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:1170
↓ 3 callersFunction_event_types
(handled)
lib/crewai/tests/tracing/test_skill_used_tracing.py:41
↓ 3 callersFunction_execute_declarative_flow_command
Run COMMAND in the project's environment. Args: command: The `uv run crewai ...` command to run. counted_run: COMMAND is a `crewa
lib/cli/src/crewai_cli/run_declarative_flow.py:575
↓ 3 callersMethod_execute_listeners
Executes all listeners and routers triggered by a method completion. This internal method manages the execution flow by: 1. First exe
lib/crewai/src/crewai/flow/runtime/__init__.py:3183
↓ 3 callersMethod_execute_single_native_tool_call
Execute a single native tool call and return metadata/result.
lib/crewai/src/crewai/agents/agent_executor.py:2231
↓ 3 callersMethod_execute_start_method
Executes a flow's start method and its triggered listeners. This internal method handles the execution of methods marked with @start
lib/crewai/src/crewai/flow/runtime/__init__.py:2849
↓ 3 callersMethod_execute_tasks
Executes tasks sequentially and returns the final output. Args: tasks (List[Task]): List of tasks to execute manager
lib/crewai/src/crewai/crew.py:1586
↓ 3 callersFunction_exit_without_chat_terminal
Explain how to drive a conversational flow headless, then exit 1. The chat TUI would block on a terminal that is not there. Callers check ``i
lib/cli/src/crewai_cli/kickoff_flow.py:120
↓ 3 callersFunction_expect_object
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:655
↓ 3 callersMethod_extract_chat_finish_reason_and_id
ChatCompletion / ChatCompletionChunk share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3181
↓ 3 callersMethod_extract_claude_tool_result_ids
(message: LLMMessage)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:311
↓ 3 callersMethod_extract_finish_reason_and_id
Azure ``ChatCompletions`` / ``StreamingChatCompletionsUpdate`` share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1359
↓ 3 callersMethod_extract_thinking_block
Extract and format thinking block from content block. Args: content_block: Content block from Anthropic response Returns
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:794
↓ 3 callersMethod_extract_tools_from_message_history
Extract tool definitions from toolUse blocks in message history. When no tools are passed but messages contain toolUse, we need to re
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2078
↓ 3 callersFunction_failure_message
The one-line reason a tool call failed, or None when it succeeded.
lib/crewai/src/crewai/telemetry/tracing/handlers.py:1359
↓ 3 callersFunction_fake_run
(recorded: list[list[str]], status: str)
lib/devtools/tests/test_release_catalog_phase.py:22
↓ 3 callersMethod_fetch_all_available_columns
Fetch columns for *table_name* using a parameterised query. The table name is bound via SQLAlchemy's ``:param`` syntax to prevent SQL
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:428
↓ 3 callersFunction_fetch_openai_compatible
Parse an OpenAI-shaped ``GET /models`` response.
lib/cli/src/crewai_cli/model_catalog.py:223
↓ 3 callersFunction_filter_methods
Filter methods by attribute presence, preserving exact callable types. Args: methods: Dictionary of methods to filter. attribute:
lib/crewai/src/crewai/project/crew_base.py:416
↓ 3 callersFunction_final_answer_response
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2169
↓ 3 callersFunction_find_local_crewai_source_dir
Return the repo's CrewAI source dir when running from a source checkout.
lib/cli/src/crewai_cli/run_crew.py:587
↓ 3 callersFunction_finished_span
()
lib/crewai-core/tests/test_telemetry_export_logs.py:33
↓ 3 callersMethod_format_prompt
Format prompt template with input values. Args: prompt: Template string. inputs: Values to substitute. Retur
lib/crewai/src/crewai/agents/agent_executor.py:3539
↓ 3 callersFunction_format_size
(size: int)
lib/cli/src/crewai_cli/checkpoint_cli.py:209
↓ 3 callersFunction_generate_release_notes
Generate, display, and optionally edit release notes. Args: version: Version being released. tag_name: Tag name for the release.
lib/devtools/src/crewai_devtools/cli.py:924
↓ 3 callersMethod_get_agent_backstory
Safely gets the agent's backstory, providing a default if not available. Returns: The agent's backstory or a default value.
lib/crewai/src/crewai/utilities/reasoning_handler.py:496
↓ 3 callersFunction_get_click_requirement_from_pyproject
Parse the click requirement directly from a pyproject.toml file.
lib/cli/tests/test_click_compatibility.py:24
↓ 3 callersMethod_get_execution_start_index
(self, tasks: list[Task])
lib/crewai/src/crewai/crew.py:1578
↓ 3 callersFunction_get_file_path
Get the filesystem path if file source is FilePath. Args: file: The file input to check. Returns: Path if source is FilePath
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:52
↓ 3 callersFunction_get_generic_system_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:364
↓ 3 callersMethod_get_headers
(self, organization_id: str | None = None)
lib/crewai-tools/src/crewai_tools/tools/generate_crewai_automation_tool/generate_crewai_automation_tool.py:62
↓ 3 callersMethod_get_inference_config
Get inference configuration following AWS Converse API specification.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2146
↓ 3 callersFunction_get_linux_machine_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:328
↓ 3 callersMethod_get_max_replans
Get max replans from planning config or default to 3.
lib/crewai/src/crewai/agents/agent_executor.py:759
↓ 3 callersMethod_get_native_provider
Get native provider class if available.
lib/crewai/src/crewai/llm.py:658
↓ 3 callersFunction_get_project_attribute
Look up a dotted attribute path inside ``pyproject_path``. The file must declare ``crewai`` in ``[project].dependencies`` for the lookup to s
lib/crewai-core/src/crewai_core/project.py:223
↓ 3 callersMethod_get_reasoning_effort
Get the reasoning effort level from the agent's planning config. Returns: The reasoning effort level: "low", "medium", or "high".
lib/crewai/src/crewai/agents/agent_executor.py:745
↓ 3 callersFunction_get_server_config
Get A2AServerConfig from an agent's a2a configuration. Args: agent: The Agent instance to check. Returns: A2AServerConfig if
lib/crewai/src/crewai/a2a/utils/agent_card.py:83
↓ 3 callersMethod_get_sync_client
(self)
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:352
↓ 3 callersMethod_get_uploader
Get or create an uploader for a provider. Args: provider: Provider name. Returns: FileUploader instance for
lib/crewai-files/src/crewai_files/resolution/resolver.py:615
↓ 3 callersFunction_getattr_for
Build a getattr side_effect that resolves the patched tool name to ``tool_cls`` while delegating every other lookup (e.g. the ``is_deprecated_
lib/crewai-tools/tests/test_generate_tool_specs.py:11
↓ 3 callersMethod_handle_non_streaming_response
Handle a non-streaming response from the LLM. Args: params: Parameters for the completion call callbacks: Optional li
lib/crewai/src/crewai/llm.py:1287
↓ 3 callersMethod_handle_streaming_converse
Handle streaming converse API call with comprehensive event handling.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:993
↓ 3 callersMethod_handle_streaming_responses
Handle streaming Responses API call.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1527
↓ 3 callersMethod_has_existing_data
True when either shard already holds persisted records.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:188
↓ 3 callersFunction_has_poetry_lockfile
Return True when the project has a Poetry lockfile.
lib/cli/src/crewai_cli/run_crew.py:542
↓ 3 callersFunction_has_project_file
(project_root: Path | None = None)
lib/cli/src/crewai_cli/run_declarative_flow.py:615
↓ 3 callersFunction_has_uv_lockfile
Return True when the project has a uv lockfile.
lib/cli/src/crewai_cli/run_crew.py:536
↓ 3 callersMethod_infer_provider_from_model
Infer the provider from the model name. This method first checks the hardcoded constants list for known models. If not found, it uses
lib/crewai/src/crewai/llm.py:614
↓ 3 callersFunction_info_json_file
(path: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:280
↓ 3 callersFunction_info_json_latest
(location: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:262
↓ 3 callersMethod_invoke_loop
Run the agent's thought process until it reaches a conclusion or max iterations. Args: response_model: Optional Pydantic
lib/crewai/src/crewai/lite_agent.py:915
↓ 3 callersFunction_invoke_update
()
lib/cli/tests/test_update_crew.py:123
↓ 3 callersFunction_is_chat_model
Heuristically reject embedding/audio/image/etc. models by their id.
lib/cli/src/crewai_cli/model_catalog.py:483
↓ 3 callersFunction_is_conversational_flow
(flow_class: type)
lib/crewai/src/crewai/flow/dsl/_utils.py:58
↓ 3 callersFunction_is_interactive
()
lib/cli/src/crewai_cli/tui_picker.py:24
↓ 3 callersMethod_is_public_turn_result
Whether a handler's return value should become the assistant reply. Declarative ``agent`` and ``crew`` actions return ``LiteAgentOutput`` /
lib/crewai/src/crewai/flow/conversational_mixin.py:1635
↓ 3 callersFunction_is_relative_to
(path: Path, root: Path)
lib/crewai/src/crewai/project/json_loader.py:890
↓ 3 callersFunction_item_needing_fields
()
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:25
↓ 3 callersFunction_json_schema_valid
Return True if *instance* validates against *schema*.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:25
↓ 3 callersFunction_kickoff_ticket_crew
( llm: _DeferringLLM, *, follow_up: bool, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3091
↓ 3 callersFunction_limits
(q: Query)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:541
↓ 3 callersFunction_load
Load exact local bytes through the public loader entry point.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:8
↓ 3 callersFunction_load_project_env
The project's .env, as `crewai run` loads it — so CREWAI_PLUS_URL here is the one the run used — with `crewai eval`'s token left as it was, and th
lib/cli/src/crewai_cli/experimental/eval_crew.py:795
↓ 3 callersMethod_locked
Return a cross-process lock context manager, or nullcontext if no lock name.
lib/crewai/src/crewai/rag/chromadb/client.py:79
↓ 3 callersMethod_login_to_tool_repository
(self)
lib/cli/src/crewai_cli/authentication/main.py:82
↓ 3 callersFunction_looks_like_windows_absolute_path
(value: str)
lib/crewai/src/crewai/project/json_loader.py:1847
↓ 3 callersMethod_make_agent_state
(self)
lib/crewai/tests/test_checkpoint.py:706
↓ 3 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id (simulating first-time user).
lib/crewai/tests/tracing/test_tracing.py:871
↓ 3 callersFunction_make_formatter
(monkeypatch)
lib/crewai/tests/utilities/test_console_formatter_tui_mode.py:9
← previousnext →1,601–1,700 of 19,482, ranked by callers