Files
dify/api/context/models.py
-LAN- 881ca76c00 chore: restore comment
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-03-20 23:19:17 +08:00

14 lines
343 B
Python

from __future__ import annotations
from pydantic import AnyHttpUrl, BaseModel
class SandboxContext(BaseModel):
"""Typed context for sandbox integration. All fields optional by design."""
sandbox_url: AnyHttpUrl | None = None
sandbox_token: str | None = None # optional, if later needed for auth
__all__ = ["SandboxContext"]