Skip to content

Commit c4aab6c

Browse files
committed
delete unused imports
1 parent 73e4168 commit c4aab6c

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

apps/hash-ai-worker-ts/src/activities/shared/get-llm-response.ts

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
import type {
2-
EntityId,
3-
EntityUuid,
4-
OriginProvenance,
5-
ProvidedEntityEditionProvenance,
6-
UserId,
7-
WebId,
8-
} from "@blockprotocol/type-system";
9-
import { createUsageRecord } from "@local/hash-backend-utils/service-usage";
1+
import type { EntityId, UserId, WebId } from "@blockprotocol/type-system";
102
import type { GraphApi } from "@local/hash-graph-client";
11-
import { HashEntity } from "@local/hash-graph-sdk/entity";
123
import type { FlowUsageRecordCustomMetadata } from "@local/hash-isomorphic-utils/flows/types";
134
import { generateUuid } from "@local/hash-isomorphic-utils/generate-uuid";
14-
import { systemLinkEntityTypes } from "@local/hash-isomorphic-utils/ontology-type-ids";
15-
import { stringifyError } from "@local/hash-isomorphic-utils/stringify-error";
16-
import type { IncurredIn } from "@local/hash-isomorphic-utils/system-types/usagerecord";
175
// import { StatusCode } from "@local/status";
186
import { backOff } from "exponential-backoff";
197

@@ -34,7 +22,6 @@ import {
3422
isLlmParamsAnthropicLlmParams,
3523
isLlmParamsGoogleAiParams,
3624
} from "./get-llm-response/types.js";
37-
import { stringify } from "./stringify.js";
3825

3926
export type UsageTrackingParams = {
4027
/**
@@ -107,7 +94,7 @@ export const getLlmResponse = async <T extends LlmParams>(
10794

10895
const requestId = generateUuid();
10996

110-
const { flowEntityId, stepId } = await getFlowContext();
97+
const { stepId } = await getFlowContext();
11198

11299
const { taskName } = customMetadata ?? {};
113100
let debugMessage = `[LLM Request ${requestId}] Getting response for model ${llmParams.model}`;

0 commit comments

Comments
 (0)