chore: bump ruff version to 0.13 (#33043)

Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
Christophe Bornet
2025-09-25 18:27:39 +02:00
committed by GitHub
parent f82de1a8d7
commit eaf8dce7c2
67 changed files with 596 additions and 549 deletions

View File

@@ -813,7 +813,10 @@ class ChatPromptTemplate(BaseChatPromptTemplate):
)
prompt_value = template.invoke(
{"name": "Bob", "user_input": "What is your name?"}
{
"name": "Bob",
"user_input": "What is your name?",
}
)
# Output:
# ChatPromptValue(

View File

@@ -281,7 +281,10 @@ class FewShotChatMessagePromptTemplate(
]
example_prompt = ChatPromptTemplate.from_messages(
[("human", "What is {input}?"), ("ai", "{output}")]
[
("human", "What is {input}?"),
("ai", "{output}"),
]
)
few_shot_prompt = FewShotChatMessagePromptTemplate(