diff --git a/server/utils/agents/aibitat/plugins/filesystem/lib.js b/server/utils/agents/aibitat/plugins/filesystem/lib.js index faf1e5d0..f5f2a3be 100644 --- a/server/utils/agents/aibitat/plugins/filesystem/lib.js +++ b/server/utils/agents/aibitat/plugins/filesystem/lib.js @@ -11,7 +11,7 @@ const { humanFileSize } = require("../../../../helpers"); */ class FilesystemManager { static FILE_READ_CHUNK_SIZE = 1024; - static CONTEXT_RESERVE_RATIO = 0.25; + static CONTEXT_RESERVE_RATIO = Number(process.env.AGENT_CONTEXT_RESERVE_RATIO) || 0.05; static IMAGE_EXTENSIONS = [ ".png", ".jpg",