14 lines
432 B
Python
14 lines
432 B
Python
"""Browser runtime configuration for generated HTML artifacts."""
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class HtmlRuntimeConfig(BaseModel):
|
|
"""Resources used by standalone HTML pages generated in the sandbox."""
|
|
|
|
base_url: str = Field(
|
|
default="http://localhost:8001/api/public/html-runtime",
|
|
min_length=1,
|
|
description="Browser-accessible Gateway base URL for generated HTML runtime files",
|
|
)
|