From 5eec484dc79bb56dabf9a56af0dbe6bc95227d39 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:12:58 -0700 Subject: Config UI (#399) * feat: :sparkles: UI for config! * feat: :sparkles: (latent) edit models in settings --- extension/schema/FullState.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'extension/schema/FullState.d.ts') diff --git a/extension/schema/FullState.d.ts b/extension/schema/FullState.d.ts index e3d5389a..a999ce95 100644 --- a/extension/schema/FullState.d.ts +++ b/extension/schema/FullState.d.ts @@ -41,6 +41,8 @@ export type SelectedContextItems = ContextItem[]; export type SessionId = string; export type Title = string; export type DateCreated = string; +export type SystemMessage1 = string; +export type Temperature = number; /** * A full state of the program, including the history @@ -53,6 +55,7 @@ export interface FullState1 { adding_highlighted_code: AddingHighlightedCode; selected_context_items: SelectedContextItems; session_info?: SessionInfo; + config: ContinueConfig; saved_context_groups?: SavedContextGroups; [k: string]: unknown; } @@ -141,6 +144,11 @@ export interface SessionInfo { date_created: DateCreated; [k: string]: unknown; } +export interface ContinueConfig { + system_message: SystemMessage1; + temperature: Temperature; + [k: string]: unknown; +} export interface SavedContextGroups { [k: string]: ContextItem[]; } -- cgit v1.2.3-70-g09d2