Merge pull request #378 from christianlouis/copilot/fix-internal-server-error

fix(api): correct parameter order in test_ai_extraction endpoint
This commit is contained in:
Christian Krakau-Louis
2026-02-23 22:40:44 +01:00
committed by GitHub
+1 -1
View File
@@ -271,7 +271,7 @@ def _extract_json_from_text(text: str):
@router.post("/ai/test-extraction")
@require_login
async def test_ai_extraction(body: ExtractionTestRequest, request: Request):
async def test_ai_extraction(request: Request, body: ExtractionTestRequest):
"""
Run the metadata-extraction prompt against the configured AI provider.