Merge origin/main into feat/api-file-upload

Keep the API file upload branch current with main, enforce the documented JSON base64 per-file limit, and avoid leaking document extraction error strings into user prompts.

Made-with: Cursor
This commit is contained in:
Xubin Ren
2026-04-14 12:29:43 +00:00
93 changed files with 14003 additions and 761 deletions
-3
View File
@@ -1,10 +1,7 @@
"""Tests for document text extraction utilities."""
import io
from pathlib import Path
import pytest
from nanobot.utils.document import (
SUPPORTED_EXTENSIONS,
_is_text_extension,