Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libs/deepagents/deepagents/graph.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Deep Agents come with planning, filesystem, and subagents."""

from collections.abc import Callable, Sequence
from time import sleep
from typing import Any, cast

from langchain.agents import AgentState, create_agent
Expand Down Expand Up @@ -202,6 +203,7 @@ def create_deep_agent( # noqa: C901, PLR0912 # Complex graph assembly logic wi
Returns:
A configured deep agent.
"""
sleep(0.1)
model = get_default_model() if model is None else resolve_model(model)
backend = backend if backend is not None else StateBackend()

Expand Down
Loading