Native DeepSeek datasheet extraction in periscope/src (Fase C3).

Pipeline and LCSC resolve call datasheet_extract; inherited extraction.py
stays in dependency as fallback. No Anthropic Console skill ids.
This commit is contained in:
2026-09-20 15:26:21 +02:00
parent a96ee2e88a
commit 5c0c5184fb
11 changed files with 1351 additions and 18 deletions
+4 -4
View File
@@ -86,12 +86,12 @@ def test_auto_resolve_skips_llm_when_catalog_parses(monkeypatch):
import asyncio
from pathlib import Path
from backend.services.extraction import auto_resolve_specs
from backend.services.datasheet_extract import auto_resolve_specs
async def boom(*_a, **_k):
raise AssertionError("LLM must not run")
monkeypatch.setattr("backend.services.extraction.call_with_fallback", boom)
monkeypatch.setattr("backend.services.datasheet_extract.call_with_fallback", boom)
tax = TAXONOMY
model = asyncio.run(
auto_resolve_specs(
@@ -110,12 +110,12 @@ def test_auto_resolve_use_llm_false_on_ferrite(monkeypatch):
import asyncio
from pathlib import Path
from backend.services.extraction import auto_resolve_specs
from backend.services.datasheet_extract import auto_resolve_specs
async def boom(*_a, **_k):
raise AssertionError("LLM must not run")
monkeypatch.setattr("backend.services.extraction.call_with_fallback", boom)
monkeypatch.setattr("backend.services.datasheet_extract.call_with_fallback", boom)
tax = TAXONOMY
model = asyncio.run(
auto_resolve_specs(