From e9ecf5f0dce69f0e17bf243a29a4794206638076 Mon Sep 17 00:00:00 2001 From: DragonelRoland <127917933+DragonelRoland@users.noreply.github.com> Date: Sat, 20 Jul 2024 15:06:52 +0200 Subject: [PATCH 1/2] Update typo in conditional_node.py "thar" -> "that" --- scrapegraphai/nodes/conditional_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapegraphai/nodes/conditional_node.py b/scrapegraphai/nodes/conditional_node.py index 894a42f3..0ce424b1 100644 --- a/scrapegraphai/nodes/conditional_node.py +++ b/scrapegraphai/nodes/conditional_node.py @@ -14,7 +14,7 @@ class ConditionalNode(BaseNode): This node type is used to implement branching logic within the graph, allowing for dynamic paths based on the data available in the current state. - It is expected thar exactly two edges are created out of this node. + It is expected that exactly two edges are created out of this node. The first node is chosen for execution if the key exists and has a non-empty value, and the second node is chosen if the key does not exist or is empty. From 4b8360658eecc423102f322666bf83ce196942f7 Mon Sep 17 00:00:00 2001 From: DragonelRoland <127917933+DragonelRoland@users.noreply.github.com> Date: Sat, 20 Jul 2024 16:51:24 +0200 Subject: [PATCH 2/2] Update models_tokens.py added gpt4o mini to the models --- scrapegraphai/helpers/models_tokens.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapegraphai/helpers/models_tokens.py b/scrapegraphai/helpers/models_tokens.py index 7becbf8b..68012f9b 100644 --- a/scrapegraphai/helpers/models_tokens.py +++ b/scrapegraphai/helpers/models_tokens.py @@ -16,6 +16,7 @@ "gpt-4-32k": 32768, "gpt-4-32k-0613": 32768, "gpt-4o": 128000, + "gpt-4o-mini": 128000, }, "azure": { "gpt-3.5-turbo-0125": 16385,