Skip to content

Commit

Permalink
Resort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed May 16, 2024
1 parent 96bccea commit 8976722
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { Millisecond } from "./client/constants/time.constant";
import { CategoryEngine } from "./config/appInfo.config";
import path from "node:path";
import fs, { writeFileSync, readFileSync, existsSync } from "node:fs";

import react from "@vitejs/plugin-react";
import basicSSL from "@vitejs/plugin-basic-ssl";

import { RateLimiterMemory } from "rate-limiter-flexible";
import {
initModel,
Expand All @@ -18,6 +15,11 @@ import { PreviewServer, ViteDevServer, defineConfig } from "vite";
import { modelSource as embeddingModel } from "@energetic-ai/model-embeddings-en";
import { StatusCodes } from "http-status-codes";

import { Millisecond } from "./client/constants/time.constant";
import { CategoryEngine } from "./config/appInfo.config";

//import { supportedSearchEngines } from "./client/config/search-engines"

const REDIS_CACHE_EXPIRATION_TIME_SECONDS = 3600; // 1 hour
const RATE_LIMITER_OPTIONS = {
points: 10, // Maximum number of requests allowed within the duration
Expand Down

0 comments on commit 8976722

Please sign in to comment.