Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix: pop model_tokens so it is not forwarded to the model client (#1100)
Dylan Firnd2b970ca77da
diff --git a/scrapegraphai/graphs/abstract_graph.py b/scrapegraphai/graphs/abstract_graph.pyindex d508f293..5e6b7f70 100644--- a/scrapegraphai/graphs/abstract_graph.py+++ b/scrapegraphai/graphs/abstract_graph.py@@ -221,6 +221,9 @@ class AbstractGraph(ABC):else:self.model_token = llm_params["model_tokens"]+ # Consumed by ScrapeGraphAI; must not be forwarded to the model client.+ llm_params.pop("model_tokens", None)+try:if llm_params["model_provider"] not in {"oneapi",