Merge pull request #901 from langchain-ai/yogesh/model-update

fix: add langgraph-cli dependency, fix ChatAnthropic import
This commit is contained in:
Aran Yogesh 2026-02-06 16:25:45 -08:00 • committed by GitHub
commit bcb429eb8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2308 additions and 1847 deletions

View file

@ -29,6 +29,7 @@ from deepagents import create_deep_agent
from deepagents.backends.sandbox import SandboxBackendProtocol
# Local import for encryption
from langchain_anthropic import ChatAnthropic
from .encryption import decrypt_token
from .prompt import construct_system_prompt
from .tools import fetch_url, http_request
@ -912,7 +913,9 @@ async def get_agent(config: RunnableConfig) -> Pregel: # noqa: PLR0915
logger.info("Returning agent with sandbox for thread %s", thread_id)
return create_deep_agent(
model=None, # TODO: Actually pass a model here
model=ChatAnthropic(
model="claude-opus-4-6", max_tokens=20_000
), # TODO: Actually pass a model here
system_prompt=construct_system_prompt(repo_dir),
tools=[http_request, fetch_url],
backend=sandbox_backend,

View file

@ -23,6 +23,8 @@ dependencies = [
"langchain>=0.2.0",
"langgraph>=0.2.0",
"markdownify>=1.2.2",
"langchain-anthropic>1.1.0",
"langgraph-cli[inmem]>=0.4.12",
]
[project.optional-dependencies]

4148
apps/agent/uv.lock generated

File diff suppressed because it is too large Load diff