feat(backend): deliver Phase 3 document and voice integration
Add authenticated upload, review, retry and knowledge-selection HTTP flows with bounded JSON processing and frozen OCR policy. Preserve Gemini/OpenAI provider selection and fenced lifecycle semantics; retain FAQ preambles and uncertain vision candidates, and expose opt-in uncalibrated voice transport diagnostics. Include frontend integration examples, aligned contracts and deterministic regressions. Validation: 1767 provider-free tests passed; all 404 PostgreSQL scenarios have passing evidence across the documented runs.
This commit is contained in:
@@ -45,7 +45,7 @@ def test_complete_ordered_native_conversion_and_prompt(profile, monkeypatch):
|
||||
assert body["generationConfig"]["responseMimeType"] == "application/json"
|
||||
|
||||
|
||||
@pytest.mark.parametrize("change", ["alias", "missing_model", "truncated", "empty", "incomplete", "warnings", "unreadable", "wrong_page", "wrong_method", "wrong_block_model"])
|
||||
@pytest.mark.parametrize("change", ["alias", "missing_model", "truncated", "empty", "wrong_page", "wrong_method", "wrong_block_model"])
|
||||
def test_invalid_native_response_fails_safely(profile, monkeypatch, change):
|
||||
value = native(profile)
|
||||
if change == "alias":
|
||||
|
||||
Reference in New Issue
Block a user