Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-cloudfront-extension-bot committed Jan 20, 2025
1 parent e9a253e commit 8ab9092
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/portal/src/pages/chatbot/ChatBot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ import ConfigContext from 'src/context/config-context';
import { useAuth } from 'react-oidc-context';
import {
LLM_BOT_COMMON_MODEL_LIST,
LLM_BOT_RETAIL_MODEL_LIST,
MODEL_TYPE_LIST,
RETAIL_GOODS_LIST,
MODEL_TYPE,
MAX_TOKEN,
TEMPERATURE,
Expand Down Expand Up @@ -64,7 +62,7 @@ interface ChatBotProps {

const ChatBot: React.FC<ChatBotProps> = (props: ChatBotProps) => {
const { historySessionId } = props;
const localScenario = localStorage.getItem(MODEL_TYPE);
// const localScenario = localStorage.getItem(MODEL_TYPE);
const localMaxToken = localStorage.getItem(MAX_TOKEN);
const localTemperature = localStorage.getItem(TEMPERATURE);
const localConfig = localStorage.getItem(ADITIONAL_SETTINGS);
Expand Down

0 comments on commit 8ab9092

Please sign in to comment.