MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / getDefaultSetting

Function getDefaultSetting

src/store/setting.ts:6–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { Setting } from "@/types";
5
6const getDefaultSetting = (): Setting => {
7 return {
8 locale: "en",
9 theme: "system",
10 openAIApiConfig: {
11 key: "",
12 endpoint: "",
13 model: "gpt-3.5-turbo",
14 },
15 };
16};
17
18interface SettingState {
19 setting: Setting;

Callers 1

setting.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected