fix lint issues

This commit is contained in:
Amruth Pillai
2025-01-11 12:07:30 +01:00
parent 8a401de5c9
commit 02ce1ad48c
8 changed files with 21 additions and 19 deletions

View File

@ -2,9 +2,10 @@
import { t } from "@lingui/macro";
import { openai } from "./client";
import { useOpenAiStore } from "@/client/stores/openai";
import { DEFAULT_MAX_TOKENS, DEFAULT_MODEL } from "@/client/constants/llm";
import { useOpenAiStore } from "@/client/stores/openai";
import { openai } from "./client";
const PROMPT = `You are an AI writing assistant specialized in writing copy for resumes.
Do not return anything else except the text you improved. It should not begin with a newline. It should not have any prefix or suffix text.

View File

@ -12,7 +12,7 @@ export const openai = () => {
);
}
if(baseURL) {
if (baseURL) {
return new OpenAI({
baseURL,
apiKey,

View File

@ -2,9 +2,10 @@
import { t } from "@lingui/macro";
import { openai } from "./client";
import { useOpenAiStore } from "@/client/stores/openai";
import { DEFAULT_MAX_TOKENS, DEFAULT_MODEL } from "@/client/constants/llm";
import { useOpenAiStore } from "@/client/stores/openai";
import { openai } from "./client";
const PROMPT = `You are an AI writing assistant specialized in writing copy for resumes.
Do not return anything else except the text you improved. It should not begin with a newline. It should not have any prefix or suffix text.

View File

@ -2,9 +2,10 @@
import { t } from "@lingui/macro";
import { openai } from "./client";
import { useOpenAiStore } from "@/client/stores/openai";
import { DEFAULT_MAX_TOKENS, DEFAULT_MODEL } from "@/client/constants/llm";
import { useOpenAiStore } from "@/client/stores/openai";
import { openai } from "./client";
const PROMPT = `You are an AI writing assistant specialized in writing copy for resumes.
Do not return anything else except the text you improved. It should not begin with a newline. It should not have any prefix or suffix text.