feat: add copilot setting to config
refactor: move getConfig to actions, extracted Settings
This commit is contained in:
parent
d788ca8eba
commit
79d4d87f24
10 changed files with 140 additions and 113 deletions
12
ui/types/Settings.ts
Normal file
12
ui/types/Settings.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
export interface Settings {
|
||||
chatModelProviders: {
|
||||
[key: string]: string[];
|
||||
};
|
||||
embeddingModelProviders: {
|
||||
[key: string]: string[];
|
||||
};
|
||||
openaiApiKey: string;
|
||||
groqApiKey: string;
|
||||
ollamaApiUrl: string;
|
||||
copilotEnabled: boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue