Fix component exesql bug (#2042)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
H
2024-08-22 10:19:22 +08:00
committed by GitHub
parent 642006c8e2
commit f2c4d53c58
3 changed files with 7 additions and 4 deletions

View File

@ -274,7 +274,7 @@ class Canvas(ABC):
def get_embedding_model(self):
return self._embed_id
def _find_loop(self, max_loops=2):
def _find_loop(self, max_loops=6):
path = self.path[-1][::-1]
if len(path) < 2: return False