Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewRestrictedArtifactReader ¶ added in v0.12.0
func NewRestrictedArtifactReader(root string, maxBytes int64) (promptkit.ArtifactReader, error)
NewRestrictedArtifactReader creates the HTTP artifact reader for a rooted filesystem and optional byte limit. An empty root permits inline artifacts but denies file references; a zero limit permits artifacts of any size.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandlerWithOptions ¶ added in v0.11.0
func NewHandlerWithOptions(runner Runner, options HandlerOptions) *Handler
type HandlerOptions ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.