Skip to content

Commit d1aa730

Browse files
author
hfhoffman1144
committed
why do ruff and black hate each other
1 parent b958e6f commit d1aa730

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

python-langgraph/chains/binary_questions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ class BinaryAnswer(BaseModel):
2626
binary_question_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
2727

2828
BINARY_QUESTION_CHAIN = (
29-
binary_question_prompt | binary_question_model.with_structured_output(BinaryAnswer)
29+
binary_question_prompt
30+
| binary_question_model.with_structured_output(BinaryAnswer)
3031
)

python-langgraph/chains/escalation_check.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ class EscalationCheck(BaseModel):
2828
escalation_check_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
2929

3030
ESCALATION_CHECK_CHAIN = (
31-
escalation_prompt | escalation_check_model.with_structured_output(EscalationCheck)
31+
escalation_prompt
32+
| escalation_check_model.with_structured_output(EscalationCheck)
3233
)

0 commit comments

Comments
 (0)