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:
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user