Skip to content

Commit 69ab335

Browse files
committed
style: prettier format
1 parent a5500a1 commit 69ab335

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/partners/anthropic/langchain_anthropic/chat_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _default_max_tokens_for(model: str | None) -> int:
8080
"""
8181
if not model:
8282
return _FALLBACK_MAX_OUTPUT_TOKENS
83-
83+
8484
parts = model.split("-")
8585
family = "-".join(parts[:-1]) if len(parts) > 1 else model
8686

libs/partners/anthropic/tests/integration_tests/test_chat_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ class color_picker(BaseModel):
903903
def test_web_search() -> None:
904904
llm = ChatAnthropic(
905905
model="claude-3-5-sonnet-latest", # type: ignore[call-arg]
906-
max_tokens=1024
906+
max_tokens=1024,
907907
)
908908

909909
tool = {"type": "web_search_20250305", "name": "web_search", "max_uses": 1}

0 commit comments

Comments
 (0)