Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit 7054c4f

Browse files
committed
clean up error output for multiple indexes
1 parent 9166c0e commit 7054c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/graphrag_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def query_index(self, index_name: str | list[str], query_type: str, query: str):
156156
st.error(
157157
"Multiple index names are currently not supported via the UI. This functionality is being moved into the graphrag library and will be available in a coming release."
158158
)
159-
return None
159+
return {"result": ""}
160160

161161
index_name = index_name if isinstance(index_name, str) else index_name[0]
162162

0 commit comments

Comments
 (0)