From 274101505799e24d08e43b52cc3c9f07efe01a23 Mon Sep 17 00:00:00 2001 From: Derek Worthen Date: Fri, 10 Jul 2026 13:52:09 -0700 Subject: [PATCH 1/3] Fix logging bug. (#2429) - Resolves #2254 --- .semversioner/next-release/patch-20260710152344024031.json | 4 ++++ packages/graphrag/graphrag/cli/index.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .semversioner/next-release/patch-20260710152344024031.json diff --git a/.semversioner/next-release/patch-20260710152344024031.json b/.semversioner/next-release/patch-20260710152344024031.json new file mode 100644 index 0000000000..bf0bbbc74c --- /dev/null +++ b/.semversioner/next-release/patch-20260710152344024031.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "Fix logging bug." +} diff --git a/packages/graphrag/graphrag/cli/index.py b/packages/graphrag/graphrag/cli/index.py index 94a40cde48..68022eb9e5 100644 --- a/packages/graphrag/graphrag/cli/index.py +++ b/packages/graphrag/graphrag/cli/index.py @@ -116,7 +116,7 @@ def _run_index( ) if dry_run: - logger.info("Dry run complete, exiting...", True) + logger.info("Dry run complete, exiting...") sys.exit(0) _register_signal_handlers() From 94a2095c6fb35765c9d0a2def9b4cdad26a0408b Mon Sep 17 00:00:00 2001 From: Derek Worthen Date: Fri, 10 Jul 2026 13:56:28 -0700 Subject: [PATCH 2/3] =?UTF-8?q?Loosen=20service=5Ftier=20type=20to=20str?= =?UTF-8?q?=20|=20None=20to=20allow=20for=20more=20flexibility=20=E2=80=A6?= =?UTF-8?q?=20(#2430)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Loosen service_tier type to str | None to allow for more flexibility in service tier representation. - Resolves #2389 --- .semversioner/next-release/patch-20260710182840267649.json | 4 ++++ packages/graphrag-llm/graphrag_llm/types/types.py | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 .semversioner/next-release/patch-20260710182840267649.json diff --git a/.semversioner/next-release/patch-20260710182840267649.json b/.semversioner/next-release/patch-20260710182840267649.json new file mode 100644 index 0000000000..79e4ac5b56 --- /dev/null +++ b/.semversioner/next-release/patch-20260710182840267649.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "Fix #2389 - Loosen service_tier type to str | None to allow for more flexibility in service tier representation." +} diff --git a/packages/graphrag-llm/graphrag_llm/types/types.py b/packages/graphrag-llm/graphrag_llm/types/types.py index 0980cba3aa..7191d8c13e 100644 --- a/packages/graphrag-llm/graphrag_llm/types/types.py +++ b/packages/graphrag-llm/graphrag_llm/types/types.py @@ -94,6 +94,9 @@ class LLMCompletionResponse(ChatCompletion, Generic[ResponseFormat]): formatted_response: ResponseFormat | None = None # type: ignore """Formatted response according to the specified response_format json schema.""" + service_tier: str | None = None # type: ignore + """Loosen the type to str | None to allow for more flexibility in service tier representation.""" + @computed_field @property def content(self) -> str: From dac4f721ddc14adae9d3183cdc99e7c6ad7d9fca Mon Sep 17 00:00:00 2001 From: Derek Worthen Date: Fri, 10 Jul 2026 14:00:01 -0700 Subject: [PATCH 3/3] Fix .strip call (#2431) - Resolves #2381 --- .semversioner/next-release/patch-20260710184002601897.json | 4 ++++ packages/graphrag/graphrag/config/models/graph_rag_config.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .semversioner/next-release/patch-20260710184002601897.json diff --git a/.semversioner/next-release/patch-20260710184002601897.json b/.semversioner/next-release/patch-20260710184002601897.json new file mode 100644 index 0000000000..4fc0bfd9a7 --- /dev/null +++ b/.semversioner/next-release/patch-20260710184002601897.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "Fix .strip call - resolves #2381" +} diff --git a/packages/graphrag/graphrag/config/models/graph_rag_config.py b/packages/graphrag/graphrag/config/models/graph_rag_config.py index 1b753d58fc..eb32b3e5a7 100644 --- a/packages/graphrag/graphrag/config/models/graph_rag_config.py +++ b/packages/graphrag/graphrag/config/models/graph_rag_config.py @@ -270,7 +270,7 @@ def _validate_vector_store_db_uri(self) -> None: """Validate the vector store configuration.""" store = self.vector_store if store.type == VectorStoreType.LanceDB: - if not store.db_uri or store.db_uri.strip == "": + if not store.db_uri or store.db_uri.strip() == "": store.db_uri = graphrag_config_defaults.vector_store.db_uri store.db_uri = str(Path(store.db_uri).resolve())