From 606f11b981fc496d5c11dcb86ffd2595bb602264 Mon Sep 17 00:00:00 2001 From: "flamingo[bot]" <277372822+flamingo[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 05:05:21 +0000 Subject: [PATCH] =?UTF-8?q?fix(CODEWIKI-007):=20Config=20instantiated=20vi?= =?UTF-8?q?a=20Config.from=5Fweb=5Fjob=20=E2=80=94=20factory=20not=20in=20?= =?UTF-8?q?the=20sanctioned=20from=5Fargs/from=5Fcli=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codewiki/src/fe/background_worker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codewiki/src/fe/background_worker.py b/codewiki/src/fe/background_worker.py index cd68caa7..676e7c43 100644 --- a/codewiki/src/fe/background_worker.py +++ b/codewiki/src/fe/background_worker.py @@ -208,7 +208,7 @@ def _process_job(self, job_id: str): # Create config for documentation generation (using env vars) docs_dir = os.path.join(OUTPUT_BASE_DIR, DOCS_DIR, f"{job_id}-docs") - config = Config.from_web_job(repo_path=temp_repo_dir, docs_dir=docs_dir) + config = Config.from_args(repo_path=temp_repo_dir, docs_dir=docs_dir) job.progress = "Generating documentation..." @@ -254,3 +254,4 @@ def _process_job(self, job_id: str): subprocess.run(['rm', '-rf', temp_repo_dir], check=True) except Exception as e: logger.error(f"Failed to cleanup temp directory: {e}") +