From f62d30fe3ba3516c6ee186a33e28fb0bf72d0fe5 Mon Sep 17 00:00:00 2001 From: extio-de Date: Sat, 28 Jun 2025 17:57:43 +0200 Subject: [PATCH] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c1d0977..e9ae5f4 100644 --- a/README.md +++ b/README.md @@ -345,7 +345,7 @@ Beyond the individual methods, several parameters and flags within the `AgentCon * A new `AgentContext` containing only the selected elements from the branched lists. * Branched flows are executed separately and in parallel from this moment on. However, these flows can be combined again using the `AgentContext`'s `merge()` method. merge() only supports depth 1, this means that the merge() method can only combine the results of the immediate splits, not the results of the splits of those splits. * **Example:** - * If `context.getContext().get("[[cities]]")` returns `["London", "Paris", "Tokyo"]` and `context.getContext().get("[[countries]]")` returns `["UK", "France", "Japan"]`, then two splits will be created (because the minimum size is 2). + * If `context.getContext().get("[[cities]]")` returns `["London", "Paris", "Tokyo"]` and `context.getContext().get("[[countries]]")` returns `["UK", "France"]`, then two splits will be created (because the minimum size is 2). * **Split 1:** `text` will have `[[cities]]` replaced with `"London"` and `[[countries]]` replaced with `"UK"`. The context will contain only `{"cities": ["London"], "countries": ["UK"]}`. * **Split 2:** `text` will have `[[cities]]` replaced with `"Paris"` and `[[countries]]` replaced with `"France"`. The context will contain only `{"cities": ["Paris"], "countries": ["France"]}`.