mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: QA sweep fixes — OCR engine mapping, startup log, Playwright config
- Update OCR engine expected name from "paddleocr" to "paddleocr-v5" to match actual PaddleOCR PP-OCRv5 engine (eliminates spurious fallback warning in logs) - Show "waiting for AI sidecar startup" instead of misleading "No GPU detected" when Python dispatcher hasn't reported yet - Fix playwright.docker.config.ts testDir to ./tests/e2e-docker and align auth storage state path with auth.setup.ts
This commit is contained in:
@@ -151,7 +151,7 @@ export function registerOcr(app: FastifyInstance) {
|
||||
}
|
||||
|
||||
const expectedEngine =
|
||||
tier === "fast" ? "tesseract" : tier === "balanced" ? "paddleocr" : "paddleocr-vl";
|
||||
tier === "fast" ? "tesseract" : tier === "balanced" ? "paddleocr-v5" : "paddleocr-vl";
|
||||
if (result.engine && result.engine !== expectedEngine) {
|
||||
request.log.warn(
|
||||
{ toolId: "ocr", requested: tier, expected: expectedEngine, actual: result.engine },
|
||||
|
||||
Reference in New Issue
Block a user