mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-24 21:51:34 +10:00
fix lint issues
This commit is contained in:
@ -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.
|
||||
|
||||
@ -12,7 +12,7 @@ export const openai = () => {
|
||||
);
|
||||
}
|
||||
|
||||
if(baseURL) {
|
||||
if (baseURL) {
|
||||
return new OpenAI({
|
||||
baseURL,
|
||||
apiKey,
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user