From 8022d9f1eba8acdeff85c01454dc382a41e93a3c Mon Sep 17 00:00:00 2001 From: Stef Lewandowski Date: Tue, 10 Sep 2024 17:11:22 +0100 Subject: [PATCH] Linting and sonar --- packages/aila/src/core/chat/AilaChat.ts | 1 - packages/core/src/llm/openai.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/aila/src/core/chat/AilaChat.ts b/packages/aila/src/core/chat/AilaChat.ts index a0f409e17..85cffdae0 100644 --- a/packages/aila/src/core/chat/AilaChat.ts +++ b/packages/aila/src/core/chat/AilaChat.ts @@ -5,7 +5,6 @@ import { } from "@oakai/core/src/utils/subjects"; import invariant from "tiny-invariant"; import { z } from "zod"; -import { zodToJsonSchema } from "zod-to-json-schema"; import { AilaChatService, AilaError, AilaServices } from "../.."; import { DEFAULT_MODEL, DEFAULT_TEMPERATURE } from "../../constants"; diff --git a/packages/core/src/llm/openai.ts b/packages/core/src/llm/openai.ts index 42db12b90..87c46313a 100644 --- a/packages/core/src/llm/openai.ts +++ b/packages/core/src/llm/openai.ts @@ -6,8 +6,7 @@ import { OpenAIInput, OpenAI as OpenAILangchain, } from "langchain/llms/openai"; -import OpenAI from "openai"; -import { ClientOptions } from "openai"; +import OpenAI, { ClientOptions } from "openai"; import { HeliconeChatMeta, heliconeHeaders } from "./helicone";