mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-20 09:42:12 +03:00
a4a2d769b3
* feat: refetch brains list on when new brain is added * feat: update BrainConfig type * feat: update useSettingsTab add usebrainFormState and useSettings tab * feat: add <PrivateAccessConfirmationModal/> modal * feat: update translations * feat: handle brain status change to private * feat: validate chat access * test: fix failaing tests and remove deprecated
23 lines
460 B
TypeScript
23 lines
460 B
TypeScript
import { BrainConfig } from "../types/brainConfig";
|
|
|
|
export const defaultBrainConfig: BrainConfig = {
|
|
model: "gpt-3.5-turbo",
|
|
temperature: 0,
|
|
maxTokens: 500,
|
|
keepLocal: true,
|
|
anthropicKey: undefined,
|
|
backendUrl: undefined,
|
|
openAiKey: undefined,
|
|
supabaseKey: undefined,
|
|
supabaseUrl: undefined,
|
|
prompt_id: undefined,
|
|
status: "private",
|
|
prompt: {
|
|
title: "",
|
|
content: "",
|
|
},
|
|
name: "",
|
|
description: "",
|
|
setDefault: false,
|
|
};
|