Skip to content

Commit

Permalink
Typescript import issue using @utils
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Oct 30, 2024
1 parent 8a49562 commit 09b96c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/aila/src/core/Aila.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import type { PrismaClientWithAccelerate } from "@oakai/db";
import { prisma as globalPrisma } from "@oakai/db/client";
import { aiLogger } from "@oakai/logger";

import { completedSections } from "@/utils/lessonPlan/completedSections";

import {
DEFAULT_MODEL,
DEFAULT_TEMPERATURE,
Expand All @@ -23,6 +21,7 @@ import type {
AilaThreatDetectionFeature,
} from "../features/types";
import { generateMessageId } from "../helpers/chat/generateMessageId";
import { completedSections } from "../utils/lessonPlan/completedSections";
import { AilaAuthenticationError, AilaGenerationError } from "./AilaError";
import { AilaFeatureFactory } from "./AilaFeatureFactory";
import type {
Expand Down
3 changes: 1 addition & 2 deletions packages/aila/src/core/lesson/AilaLesson.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { aiLogger } from "@oakai/logger";
import { deepClone } from "fast-json-patch";

import { completedSections } from "@/utils/lessonPlan/completedSections";

import { AilaCategorisation } from "../../features/categorisation/categorisers/AilaCategorisation";
import type { AilaCategorisationFeature } from "../../features/types";
import type { PatchDocument } from "../../protocol/jsonPatchProtocol";
Expand All @@ -11,6 +9,7 @@ import {
extractPatches,
} from "../../protocol/jsonPatchProtocol";
import type { LooseLessonPlan } from "../../protocol/schema";
import { completedSections } from "../../utils/lessonPlan/completedSections";
import type { AilaLessonService, AilaServices } from "../AilaServices";
import type { Message } from "../chat";

Expand Down

0 comments on commit 09b96c9

Please sign in to comment.