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 committed 2026-04-14 12:29:43 +00:00
commit 2502fc616b
93 files changed
+14003 -761

No files matched your search

-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,