Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Nov 12, 2024
1 parent e7ac119 commit c860de4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 174 deletions.
173 changes: 0 additions & 173 deletions rag/llm/rpc_server.py

This file was deleted.

2 changes: 1 addition & 1 deletion rag/utils/infinity_conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def health(self) -> dict:
TODO: Infinity-sdk provides health() to wrap `show global variables` and `show tables`
"""
inf_conn = self.connPool.get_conn()
res = infinity.show_current_node()
res = inf_conn.show_current_node()
self.connPool.release_conn(inf_conn)
color = "green" if res.error_code == 0 else "red"
res2 = {
Expand Down

0 comments on commit c860de4

Please sign in to comment.