Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .semversioner/next-release/patch-20260710152344024031.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "patch",
"description": "Fix logging bug."
}
4 changes: 4 additions & 0 deletions .semversioner/next-release/patch-20260710182840267649.json
Original file line number Diff line number Diff line change
@@ -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."
}
4 changes: 4 additions & 0 deletions .semversioner/next-release/patch-20260710184002601897.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "patch",
"description": "Fix .strip call - resolves #2381"
}
3 changes: 3 additions & 0 deletions packages/graphrag-llm/graphrag_llm/types/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion packages/graphrag/graphrag/cli/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down
Loading