Skip to content

Commit 1577e79

Browse files
committed
refactor(tools): make deepMergeInputMapping module-private
It was exported from `@/tools/params` and imported by nothing — a private helper of `mergeToolParameters` that had leaked into the public surface. Since this move created the module, the export goes with it rather than being carried forward. Verified zero consumers repo-wide before dropping it.
1 parent 6c5fcf0 commit 1577e79

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/sim/tools/merge-params.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ export function isNonEmpty(value: unknown): boolean {
2424
/**
2525
* Deep merges inputMapping objects, where LLM values fill in empty/missing user values.
2626
* User-provided non-empty values take precedence.
27+
*
28+
* Module-private: only {@link mergeToolParameters} needs it. It was exported from
29+
* `@/tools/params` but never imported anywhere.
2730
*/
28-
export function deepMergeInputMapping(
31+
function deepMergeInputMapping(
2932
llmInputMapping: Record<string, unknown> | undefined,
3033
userInputMapping: Record<string, unknown> | string | undefined
3134
): Record<string, unknown> {

0 commit comments

Comments
 (0)