diff --git a/frontend/example.env b/frontend/.env.example similarity index 100% rename from frontend/example.env rename to frontend/.env.example diff --git a/frontend/README.md b/frontend/README.md index dbfccd3..9f88749 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -3,7 +3,7 @@ // remember to follow this command to configuration the backend endpoint: ```sh -cp example.env .env +cp .env.example .env ``` struct for now diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 2226faa..7ae2e54 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -24,8 +24,7 @@ "paths": { "@/*": ["./src/*"] }, - "strict": false, - "target": "ES2017" + "strict": false }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] diff --git a/llm-server/src/model/openai-model-provider.ts b/llm-server/src/model/openai-model-provider.ts index 7932ad8..16285d5 100644 --- a/llm-server/src/model/openai-model-provider.ts +++ b/llm-server/src/model/openai-model-provider.ts @@ -55,7 +55,6 @@ export class OpenAIModelProvider { async initialize(): Promise { this.logger.log('Initializing OpenAI model...'); - this.logger.log('Options:', this.options); if (!this.options.apiKey) { throw new Error('OpenAI API key is required'); } @@ -93,7 +92,6 @@ export class OpenAIModelProvider { model: string; messages: ChatCompletionMessageParam[]; }; - this.logger.log(`Processing model (attempt ${model + 1})`); this.logger.log(`Processing request (attempt ${retries + 1})`); const startTime = Date.now();