Skip to content

Commit 876ee43

Browse files
refactor: rename langGraphUtils.ts to workflowConstants.ts
The file only contains a single constant (DEFAULT_RECURSION_LIMIT) but had a name suggesting multiple utility functions. Renamed to workflowConstants.ts to better reflect its content and purpose. - Renamed langGraphUtils.ts → workflowConstants.ts - Updated all 5 import statements in affected files - No functional changes, purely a naming improvement Resolves: #3154 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: MH4GF <MH4GF@users.noreply.github.com>
1 parent 27a29f7 commit 876ee43

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

frontend/internal-packages/agent/scripts/executeDesignProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { END } from '@langchain/langgraph'
55
import type { Schema } from '@liam-hq/schema'
66
import type { Result } from 'neverthrow'
77
import { err, ok, okAsync } from 'neverthrow'
8-
import { DEFAULT_RECURSION_LIMIT } from '../src/chat/workflow/shared/langGraphUtils'
8+
import { DEFAULT_RECURSION_LIMIT } from '../src/chat/workflow/shared/workflowConstants'
99
import type { WorkflowState } from '../src/chat/workflow/types'
1010
import { createDbAgentGraph } from '../src/db-agent/createDbAgentGraph'
1111
import { hasHelpFlag, parseDesignProcessArgs } from './shared/argumentParser'

frontend/internal-packages/agent/scripts/executeQaAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { HumanMessage } from '@langchain/core/messages'
66
import { END } from '@langchain/langgraph'
77
import type { Result } from 'neverthrow'
88
import { err, ok, okAsync } from 'neverthrow'
9-
import { DEFAULT_RECURSION_LIMIT } from '../src/chat/workflow/shared/langGraphUtils'
9+
import { DEFAULT_RECURSION_LIMIT } from '../src/chat/workflow/shared/workflowConstants'
1010
import type { WorkflowState } from '../src/chat/workflow/types'
1111
import { createQaAgentGraph } from '../src/qa-agent/createQaAgentGraph'
1212
import { hasHelpFlag, parseQaAgentArgs } from './shared/argumentParser'

frontend/internal-packages/agent/src/chat/workflow/shared/langGraphUtils.ts renamed to frontend/internal-packages/agent/src/chat/workflow/shared/workflowConstants.ts

File renamed without changes.

frontend/internal-packages/agent/src/db-agent/invokeDbAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DEFAULT_RECURSION_LIMIT } from '../chat/workflow/shared/langGraphUtils'
1+
import { DEFAULT_RECURSION_LIMIT } from '../chat/workflow/shared/workflowConstants'
22
import type { WorkflowConfigurable } from '../chat/workflow/types'
33
import {
44
executeWorkflowWithTracking,

frontend/internal-packages/agent/src/deepModeling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DEFAULT_RECURSION_LIMIT } from './chat/workflow/shared/langGraphUtils'
1+
import { DEFAULT_RECURSION_LIMIT } from './chat/workflow/shared/workflowConstants'
22
import type { WorkflowConfigurable } from './chat/workflow/types'
33
import { createGraph } from './createGraph'
44
import {

frontend/internal-packages/agent/src/shared/workflowSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { CompiledStateGraph } from '@langchain/langgraph'
44
import { END } from '@langchain/langgraph'
55
import { err, errAsync, ok, okAsync, ResultAsync } from 'neverthrow'
66
import { v4 as uuidv4 } from 'uuid'
7-
import { DEFAULT_RECURSION_LIMIT } from '../chat/workflow/shared/langGraphUtils'
7+
import { DEFAULT_RECURSION_LIMIT } from '../chat/workflow/shared/workflowConstants'
88
import type {
99
WorkflowConfigurable,
1010
WorkflowState,

0 commit comments

Comments
 (0)