diff --git a/packages/api/src/agents/hitl/policy.ts b/packages/api/src/agents/hitl/policy.ts index 43013a6f5b..fb5fdefbcc 100644 --- a/packages/api/src/agents/hitl/policy.ts +++ b/packages/api/src/agents/hitl/policy.ts @@ -1,6 +1,6 @@ import { randomUUID } from 'crypto'; -import type { ToolPolicyConfig } from '@librechat/agents'; import type { Agents, TToolApprovalPolicy } from 'librechat-data-provider'; +import type { ToolPolicyConfig } from '@librechat/agents'; /** * Default decisions offered to the user for a paused tool call. diff --git a/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts b/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts index da42c37265..ca97566620 100644 --- a/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts +++ b/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts @@ -1,7 +1,7 @@ +import { StandardGraph } from '@librechat/agents'; import { StepTypes } from 'librechat-data-provider'; import type { Agents } from 'librechat-data-provider'; import type { Redis, Cluster } from 'ioredis'; -import { StandardGraph } from '@librechat/agents'; /** Suppress winston Console transport output (survives jest.resetModules) */ jest.spyOn(console, 'log').mockImplementation(); diff --git a/packages/api/src/stream/__tests__/pendingAction.spec.ts b/packages/api/src/stream/__tests__/pendingAction.spec.ts index e81137c39c..ddf80657a4 100644 --- a/packages/api/src/stream/__tests__/pendingAction.spec.ts +++ b/packages/api/src/stream/__tests__/pendingAction.spec.ts @@ -1,8 +1,8 @@ import type { Agents } from 'librechat-data-provider'; import { InMemoryEventTransport } from '~/stream/implementations/InMemoryEventTransport'; +import { buildPendingAction, buildToolApprovalPayload } from '~/agents/hitl/policy'; import { InMemoryJobStore } from '~/stream/implementations/InMemoryJobStore'; import { GenerationJobManagerClass } from '~/stream/GenerationJobManager'; -import { buildPendingAction, buildToolApprovalPayload } from '~/agents/hitl/policy'; jest.spyOn(console, 'log').mockImplementation(); diff --git a/packages/api/src/types/stream.ts b/packages/api/src/types/stream.ts index c93d99d506..d43a1112f1 100644 --- a/packages/api/src/types/stream.ts +++ b/packages/api/src/types/stream.ts @@ -1,5 +1,5 @@ -import type { EventEmitter } from 'events'; import type { Agents } from 'librechat-data-provider'; +import type { EventEmitter } from 'events'; import type { ServerSentEvent } from '~/types'; export interface GenerationJobMetadata {