Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: export-surface golden for queryBudgetUsesAuto

garrytancf3ec433f4ff
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.json
index 296957bd02..5c3385299e 100644
--- a/test/fixtures/goldens/exports/runtime.json
+++ b/test/fixtures/goldens/exports/runtime.json
@@ -885,6 +885,7 @@
"MAX_ASSEMBLE_HITS",
"MIN_EXPLICIT_AUTO_BUDGET",
"PAGE_OVER_INLINE_BYTES",
+ "QUERY_BUDGET_UNIT_CONFIG_KEY",
"RETURN_BUDGET_CONVERSATION_KEY",
"RETURN_BUDGET_DEFAULT_KEY",
"RETURN_BUDGET_MAX_REMOTE_KEY",
@@ -914,6 +915,7 @@
"parseAutoPacking",
"parseReturnUnit",
"parseReturnWindow",
+ "queryBudgetUsesAuto",
"resolveEvidencePlan",
"resolveFrozenHits",
"selectLongPages",
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index e79f979622..3d3101d0ca 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -7430,6 +7430,7 @@
"requested_unit: \"auto\" | \"window\" | \"chunk\" | \"section\" | \"page\"",
"return_window: number",
"tail_trim?: TailTrimMeta | undefined",
+ "title_header?: true | undefined",
"tokenizer: \"cl100k\" | \"heuristic\"",
"tokens_delivered: number"
],
@@ -7496,6 +7497,7 @@
"rankCut?: PageRankCut | undefined",
"requestedUnit: \"auto\" | \"window\" | \"chunk\" | \"section\" | \"page\"",
"tailTrim?: true | undefined",
+ "titleHeader?: true | undefined",
"unit: \"auto\" | \"window\" | \"section\" | \"page\"",
"window: number"
],
@@ -7610,6 +7612,13 @@
"\"page_over_inline_bytes\""
]
},
+ {
+ "kind": "variable",
+ "name": "QUERY_BUDGET_UNIT_CONFIG_KEY",
+ "signature": [
+ "\"search.query_budget_unit\""
+ ]
+ },
{
"kind": "variable",
"name": "RETURN_BUDGET_CONVERSATION_KEY",
@@ -7837,6 +7846,13 @@
"(raw: unknown, op: string) => number | undefined"
]
},
+ {
+ "kind": "function",
+ "name": "queryBudgetUsesAuto",
+ "signature": [
+ "(engine: Pick<BrainEngine, \"getConfig\">) => Promise<boolean>"
+ ]
+ },
{
"kind": "function",
"name": "resolveEvidencePlan",