fix(sdk): harden host integration contracts

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-07-28 15:30:28 +08:00
1 parent c050955ae3
commit fd17c1352a
7 files changed
+119 -22

No files matched your search

+4 -1
View File
@@ -23,7 +23,10 @@ MAX_WEBUI_QUOTE_CHARS = 4_000
@dataclass(frozen=True)
class RuntimeContextBlock:
"""One provider-owned block appended to the current user content."""
"""Provider-owned context appended verbatim to the current user content.
Callers must bound and delimit content obtained from untrusted sources.
"""
source: str
content: str