From aa9d25397890a4e7fe3c32edb3c6e971ea874405 Mon Sep 17 00:00:00 2001 From: ccurme Date: Fri, 17 Jan 2025 13:53:21 -0500 Subject: [PATCH] docs: highlight lines in troubleshooting doc (#3084) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ![Screenshot 2025-01-17 at 1 44 07 PM](https://github.com/user-attachments/assets/b7009c77-cb2e-43e0-92a7-3978884b7f3e) --- .../troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.md b/docs/docs/troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.md index a02094578..c87a1ce49 100644 --- a/docs/docs/troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.md +++ b/docs/docs/troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.md @@ -6,7 +6,7 @@ support it. One way this can occur is if you are using a [fanout](https://langchain-ai.github.io/langgraph/how-tos/map-reduce/) or other parallel execution in your graph and you have defined a graph like this: -```python +```python hl_lines="2" class State(TypedDict): some_key: str @@ -31,7 +31,7 @@ there is uncertainty around how to update the internal state. To get around this, you can define a reducer that combines multiple values: -```python +```python hl_lines="5-6" import operator from typing import Annotated