mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-13 21:27:52 +02:00
chore[deps]: upgrade dependencies with uv lock --upgrade (#5358)
* chore: upgrade dependencies with `uv lock --upgrade` * linting * upgrade PR title --------- Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com>
This commit is contained in:
co-authored by
sydney-runkle
Sydney Runkle
parent
4c73b176ff
commit
87f2e69395
@@ -285,7 +285,7 @@ class AnswerWithCitations(BaseModel):
|
||||
@property
|
||||
def as_str(self) -> str:
|
||||
return f"{self.answer}\n\nCitations:\n\n" + "\n".join(
|
||||
f"[{i+1}]: {url}" for i, url in enumerate(self.cited_urls)
|
||||
f"[{i + 1}]: {url}" for i, url in enumerate(self.cited_urls)
|
||||
)
|
||||
|
||||
|
||||
@@ -553,7 +553,7 @@ async def conduct_interviews(state: ResearchState):
|
||||
def format_conversation(interview_state):
|
||||
messages = interview_state["messages"]
|
||||
convo = "\n".join(f"{m.name}: {m.content}" for m in messages)
|
||||
return f'Conversation with {interview_state["editor"].name}\n\n' + convo
|
||||
return f"Conversation with {interview_state['editor'].name}\n\n" + convo
|
||||
|
||||
|
||||
async def refine_outline(state: ResearchState):
|
||||
|
||||
Reference in New Issue
Block a user