Skip to content

Commit

Permalink
remove search field in db
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Feb 19, 2025
1 parent b907232 commit eb4d463
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,9 @@ export function ChatActions(props: {
initModel.toLowerCase().includes("r1"),
);
const [isPro, setPro] = useState(initModel.toLowerCase().includes("pro"));
const [isSearch, setSearch] = useState(appConfig.search);
const [isSearch, setSearch] = useState(
initModel.toLowerCase().includes("search"),
);
const updateModel = (t: boolean, p: boolean, s: boolean) => {
let m = t ? r1 : v3;
m = p ? `Pro/${m}` : m;
Expand Down
1 change: 0 additions & 1 deletion app/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ export const DEFAULT_CONFIG = {
temperature: 0.9,
voice: "alloy" as Voice,
},
search: false,
};

export type ChatConfig = typeof DEFAULT_CONFIG;
Expand Down

0 comments on commit eb4d463

Please sign in to comment.