From 2e8533a3f9d46fb82e772d7dd9b9b416b9f8c4c0 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 27 Nov 2025 13:39:24 +0100 Subject: [PATCH] async in non async function fix. --- agent_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent_repo.py b/agent_repo.py index 2c91b18..08f9dc6 100644 --- a/agent_repo.py +++ b/agent_repo.py @@ -1029,7 +1029,7 @@ def meili_catalog_search(q: str, limit: int = 10) -> List[dict]: try: #res = idx.search(q, {"limit": limit}) # Gebruik ALTIJD de injectie: - res = await meili_search_fn( + res = meili_search_fn( q, limit=limit, filter={"repo_full": st.owner_repo, "branch": st.branch_base} @@ -1565,7 +1565,7 @@ def meili_search(owner_repo: Optional[str], branch: str, q: str, limit: int = 10 #idx = cli.index(meili_index_name(owner_repo, branch)) #res = idx.search(q, {"limit": limit}) # Gebruik ALTIJD de injectie: - res = await meili_search_fn( + res = meili_search_fn( q, limit=limit, filter={"repo_full": st.owner_repo, "branch": st.branch_base}