diff --git a/frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx b/frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx index 67367c7f..bbe85ded 100644 --- a/frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx +++ b/frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx @@ -1,10 +1,10 @@ import React, { useEffect, useState } from "react"; import System from "@/models/system"; -import PreLoader from "@/components/Preloader"; import { OLLAMA_COMMON_URLS } from "@/utils/constants"; -import { CaretDown, CaretUp, Info } from "@phosphor-icons/react"; +import { CaretDown, CaretUp, Info, CircleNotch } from "@phosphor-icons/react"; import useProviderEndpointAutoDiscovery from "@/hooks/useProviderEndpointAutoDiscovery"; import { Tooltip } from "react-tooltip"; +import { Link } from "react-router-dom"; export default function OllamaLLMOptions({ settings }) { const { @@ -21,9 +21,6 @@ export default function OllamaLLMOptions({ settings }) { initialBasePath: settings?.OllamaLLMBasePath, ENDPOINTS: OLLAMA_COMMON_URLS, }); - const [performanceMode, setPerformanceMode] = useState( - settings?.OllamaLLMPerformanceMode || "base" - ); const [maxTokens, setMaxTokens] = useState( settings?.OllamaLLMTokenLimit || "" ); @@ -56,14 +53,36 @@ export default function OllamaLLMOptions({ settings }) {