Skip to content

Commit 19f892a

Browse files
committed
favicon
1 parent bc7ca77 commit 19f892a

3 files changed

Lines changed: 9 additions & 18 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="mkdocs/docs/assets/images/tribrid-logo.png" alt="TriBridRAG" width="200" />
2+
<img src="web/public/favicon.svg" alt="TriBridRAG" width="200" />
33
</p>
44

55
<h1 align="center">TriBridRAG</h1>

server/api/graph.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ async def list_entities(
3030
try:
3131
await neo4j.connect()
3232
entities = await neo4j.list_entities(repo_id, entity_type, limit, query=q)
33-
if not entities and not (q or "").strip():
34-
raise HTTPException(status_code=404, detail=f"No graph for repo_id={repo_id}")
3533
return entities
3634
finally:
3735
await neo4j.disconnect()
@@ -158,8 +156,6 @@ async def list_communities(corpus_id: str, level: int | None = None) -> list[Com
158156
try:
159157
await neo4j.connect()
160158
comms = await neo4j.get_communities(repo_id, level)
161-
if not comms:
162-
raise HTTPException(status_code=404, detail=f"No communities for repo_id={repo_id}")
163159
return comms
164160
finally:
165161
await neo4j.disconnect()
@@ -179,8 +175,6 @@ async def get_graph_stats(corpus_id: str) -> GraphStats:
179175
try:
180176
await neo4j.connect()
181177
stats = await neo4j.get_graph_stats(repo_id)
182-
if stats.total_entities == 0:
183-
raise HTTPException(status_code=404, detail=f"No graph for repo_id={repo_id}")
184178
return stats
185179
finally:
186180
await neo4j.disconnect()

web/public/favicon.svg

Lines changed: 8 additions & 11 deletions
Loading

0 commit comments

Comments
 (0)