feat(core): experimental support for llms.txt (#157)

* feat(core): experimental support for llms.txt

* docs: experimentalLlmsTxt
This commit is contained in:
Simon
2026-03-04 18:53:24 +08:00
committed by GitHub
parent b58d2a09ef
commit 09bdf9ddaf
5 changed files with 57 additions and 7 deletions

View File

@@ -185,6 +185,15 @@ const result = await agent.execute('Fill in the form with test data')`}
? '启用实验性 JavaScript 执行工具'
: 'Enable experimental JavaScript execution tool',
},
{
name: 'experimentalLlmsTxt',
type: 'boolean',
defaultValue: 'false',
status: 'experimental',
description: isZh
? '从当前站点根目录获取 /llms.txt 并作为上下文提供给 LLM每个 origin 仅请求一次'
: 'Fetch /llms.txt from site origin and include as LLM context, fetched once per origin',
},
]}
/>