FileConfig
org.llm4s.toolapi.builtin.filesystem.FileConfig
case class FileConfig(maxFileSize: Long, allowedPaths: Option[Seq[String]], blockedPaths: Seq[String], followSymlinks: Boolean)
Configuration for file system tools.
Value parameters
- allowedPaths
-
Paths that are allowed to be accessed. None means any path.
- blockedPaths
-
Paths that are blocked from access (takes precedence over allowedPaths)
- followSymlinks
-
Whether to follow symbolic links (default: false for security)
- maxFileSize
-
Maximum file size to read in bytes (default: 1MB)
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article