fix: remove deprecated temperature parameter (#1207)

for Opus 4.7 compatibility
This commit is contained in:
Aran Yogesh 2026-04-17 10:45:01 -07:00 • committed by GitHub
parent 213473dc08
commit 301d124c3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,7 +277,6 @@ async def get_agent(config: RunnableConfig) -> Pregel:
return create_deep_agent(
model=make_model(
os.environ.get("LLM_MODEL_ID", DEFAULT_LLM_MODEL_ID),
temperature=0,
max_tokens=20_000,
),
system_prompt=construct_system_prompt(