Skip to content

Commit 44770a8

Browse files
committed
ruff
1 parent c576bf1 commit 44770a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

covenance/clients/anthropic_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def ask_anthropic[T](
125125
"betas": ["structured-outputs-2025-11-13"],
126126
"output_format": response_type,
127127
# max number allowed without streaming API
128-
"max_tokens": 21_000
128+
"max_tokens": 21_000,
129129
}
130130
if sys_msg is not None:
131131
# Beta API requires system as list of content blocks

tests/online/test_response_types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ def test_tuple_mixed(unblock_llm, model):
136136
+ [
137137
pytest.param(
138138
"mistral-small-latest",
139-
marks=pytest.mark.flaky(reruns=2), # Mistral structured output is probabilistic
139+
marks=pytest.mark.flaky(
140+
reruns=2
141+
), # Mistral structured output is probabilistic
140142
)
141143
],
142144
)

0 commit comments

Comments
 (0)