Repository navigation
Commit 03f941e
committed
Rename model providers to providers across configuration, services, UI and add migration
- move configurations.missing-configuration to 'common' translation file
- refer to web configurations as chatbots
- some keys in `apps/editor/src/views/settings/frontend/i18n/translations/web.ts` are incorrect
- should refer to configuration (web) as 'chatbot'
- add missing translations to [Fragment]
- should refer to 'model providers' as 'providers' (in translations, symbols, etc.)
- some keys in `apps/editor/src/views/settings/frontend/i18n/translations/api.ts` are incorrect e.g. use 'api-calls.' not 'api.'
- should refer to 'model provider' as 'provider'
- rename modelProviders/model-providers to providers with a proper migration
- rename 'model providers' to 'providers'
- rename 'model provider' to 'provider'
├── apps
│ └── editor
│ ├── package.json
│ └── src
│ ├── commands
│ │ ├── code-at-cursor-command
│ │ │ └── utils
│ │ │ ├── get-code-at-cursor-config.ts
│ │ │ └── perform-code-at-cursor.ts
│ │ └── generate-commit-message-commands
│ │ ├── actions
│ │ │ └── run-generate-action.ts
│ │ └── utils
│ │ ├── generate-commit-message-with-api.ts
│ │ └── get-commit-message-config.ts
│ ├── constants
│ │ └── secret-storage-keys.ts
│ ├── extension.ts
│ ├── features
│ │ └── search-files
│ │ ├── search-modes
│ │ │ └── perform-intelligent-search-mode.ts
│ │ └── utils
│ │ ├── prompt-for-config.ts
│ │ └── search-files-by-intelligent.ts
│ ├── i18n
│ │ └── translations
│ │ └── views
│ │ ├── prompt
│ │ │ └── handlers
│ │ │ └── voice-input.ts
│ │ ├── settings
│ │ │ └── handlers
│ │ │ ├── handle-delete-model-provider.ts
│ │ │ ├── handle-delete-provider.ts
│ │ │ └── index.ts
│ │ └── shared
│ │ └── actions
│ │ └── api
│ │ ├── create
│ │ │ └── interactions
│ │ │ └── initial-select-provider.ts
│ │ └── upsert-provider.ts
│ ├── migrations
│ │ ├── index.ts
│ │ ├── migrate-clear-all-checkpoints.ts
│ │ ├── migrate-commit-message-details-filename.ts
│ │ ├── migrate-configurations-to-api-configurations.ts
│ │ ├── migrate-edit-context-to-edit-files-system-instructions.ts
│ │ ├── migrate-model-providers-to-providers.ts
│ │ ├── migrate-prompt-templates-suffixes.ts
│ │ └── migrate-prompt-templates-to-templates.ts
│ ├── services
│ │ └── providers-manager.ts
│ ├── utils
│ │ ├── apply-reasoning-effort.ts
│ │ ├── build-user-content.ts
│ │ └── show-configurations-quick-pick.ts
│ └── views
│ ├── prompt
│ │ ├── backend
│ │ │ ├── message-handlers
│ │ │ │ ├── handle-create-api-configuration.ts
│ │ │ │ ├── handle-get-api-configurations.ts
│ │ │ │ ├── handle-make-api-call.ts
│ │ │ │ ├── handle-patch-repair.ts
│ │ │ │ ├── handle-pick-api-model.ts
│ │ │ │ ├── handle-pick-api-reasoning-effort.ts
│ │ │ │ ├── handle-pick-provider.ts
│ │ │ │ ├── handle-toggle-pinned-api-configuration.ts
│ │ │ │ ├── handle-voice-input.ts
│ │ │ │ └── utils
│ │ │ │ └── patch-repair-utils.ts
│ │ │ └── prompt-view-provider.ts
│ │ ├── frontend
│ │ │ ├── App.tsx
│ │ │ ├── Home
│ │ │ │ ├── Home.module.scss
│ │ │ │ ├── Home.tsx
│ │ │ │ ├── hooks
│ │ │ │ │ ├── use-has-scrolled-past-mode-button.ts
│ │ │ │ │ ├── use-keyboard-shortcuts.ts
│ │ │ │ │ └── use-tasks.ts
│ │ │ │ └── index.ts
│ │ │ ├── Main
│ │ │ │ ├── Main.tsx
│ │ │ │ ├── MainView
│ │ │ │ │ ├── MainView.module.scss
│ │ │ │ │ ├── MainView.tsx
│ │ │ │ │ ├── components
│ │ │ │ │ │ ├── BrowserConnectionStatus
│ │ │ │ │ │ │ ├── BrowserConnectionStatus.tsx
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ │ ├── Header
│ │ │ │ │ │ │ ├── Header.module.scss
│ │ │ │ │ │ │ ├── Header.tsx
│ │ │ │ │ │ │ ├── hooks
│ │ │ │ │ │ │ │ └── use-keyboard-shortcuts.ts
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ │ └── PromptAttachments
│ │ │ │ │ │ ├── PromptAttachments.tsx
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── hooks
│ │ │ │ │ │ ├── use-invocation-counts.ts
│ │ │ │ │ │ ├── use-last-choice-tooltip.ts
│ │ │ │ │ │ └── use-re-render-on-interval.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── prompt-type-labels.ts
│ │ │ │ └── index.ts
│ │ │ ├── Prompt.module.scss
│ │ │ ├── Prompt.tsx
│ │ │ ├── components
│ │ │ │ ├── Layout
│ │ │ │ │ ├── Footer
│ │ │ │ │ │ ├── Footer.module.scss
│ │ │ │ │ │ ├── Footer.tsx
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── Layout.module.scss
│ │ │ │ │ └── Layout.tsx
│ │ │ │ └── recent-donations
│ │ │ │ └── RecentDonationsFooter
│ │ │ │ ├── RecentDonationsFooter.module.scss
│ │ │ │ ├── RecentDonationsFooter.tsx
│ │ │ │ └── index.ts
│ │ │ ├── contexts
│ │ │ │ └── LayoutContext.tsx
│ │ │ ├── hooks
│ │ │ │ ├── use-api-configuration-editing.ts
│ │ │ │ ├── use-editor-sync.ts
│ │ │ │ ├── use-modal-manager.ts
│ │ │ │ ├── use-preview-manager.ts
│ │ │ │ ├── use-prompt
│ │ │ │ │ ├── hooks
│ │ │ │ │ │ └── use-instructions.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── use-prompt.ts
│ │ │ │ ├── use-recent-donations.ts
│ │ │ │ ├── use-response-history.ts
│ │ │ │ └── use-web-configuration-editing.ts
│ │ │ ├── i18n
│ │ │ │ ├── translations
│ │ │ │ │ ├── actions.ts
│ │ │ │ │ ├── common.ts
│ │ │ │ │ ├── configurations.ts
│ │ │ │ │ ├── footer.ts
│ │ │ │ │ ├── header.ts
│ │ │ │ │ ├── home.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── main.ts
│ │ │ │ │ ├── modals.ts
│ │ │ │ │ ├── prompt-field.ts
│ │ │ │ │ ├── recent-donations.ts
│ │ │ │ │ └── selected-files.ts
│ │ │ │ └── use-translation.tsx
│ │ │ └── utils
│ │ │ └── post-message.ts
│ │ └── types
│ │ └── messages.ts
│ ├── settings
│ │ ├── backend
│ │ │ ├── message-handlers
│ │ │ │ ├── handle-add-provider.ts
│ │ │ │ ├── handle-create-api-configuration.ts
│ │ │ │ ├── handle-create-web-configuration.ts
│ │ │ │ ├── handle-delete-model-provider.ts
│ │ │ │ ├── handle-delete-provider.ts
│ │ │ │ ├── handle-delete-web-configuration.ts
│ │ │ │ ├── handle-get-api-configurations.ts
│ │ │ │ ├── handle-get-providers.ts
│ │ │ │ ├── handle-pick-api-model.ts
│ │ │ │ ├── handle-pick-api-reasoning-effort.ts
│ │ │ │ ├── handle-pick-provider.ts
│ │ │ │ ├── handle-reorder-api-configurations.ts
│ │ │ │ ├── handle-reorder-model-providers.ts
│ │ │ │ ├── handle-reorder-providers.ts
│ │ │ │ ├── handle-reorder-web-configurations.ts
│ │ │ │ ├── handle-select-default-api-configuration.ts
│ │ │ │ ├── handle-set-default-api-configuration.ts
│ │ │ │ ├── handle-update-web-configuration.ts
│ │ │ │ └── index.ts
│ │ │ └── settings-view-provider.ts
│ │ ├── frontend
│ │ │ ├── Home
│ │ │ │ ├── Home.tsx
│ │ │ │ └── sections
│ │ │ │ ├── ApiSection.tsx
│ │ │ │ └── WebSection.tsx
│ │ │ ├── Settings.tsx
│ │ │ ├── forms
│ │ │ │ ├── EditModelProviderForm
│ │ │ │ │ └── index.ts
│ │ │ │ └── EditProviderForm
│ │ │ │ └── EditProviderForm.tsx
│ │ │ ├── hooks
│ │ │ │ ├── use-model-provider-editing.ts
│ │ │ │ ├── use-provider-editing.ts
│ │ │ │ ├── use-settings.ts
│ │ │ │ └── use-web-configuration-editing.ts
│ │ │ └── i18n
│ │ │ └── translations
│ │ │ ├── api.ts
│ │ │ ├── index.ts
│ │ │ └── web.ts
│ │ └── types
│ │ └── messages.ts
│ └── shared
│ ├── actions
│ │ ├── api
│ │ │ ├── create
│ │ │ │ ├── create.ts
│ │ │ │ └── interactions
│ │ │ │ ├── initial-select-model.ts
│ │ │ │ ├── initial-select-provider.ts
│ │ │ │ └── verify-reasoning-effort.ts
│ │ │ ├── delete.ts
│ │ │ ├── reorder.ts
│ │ │ ├── update
│ │ │ │ ├── interactions
│ │ │ │ │ ├── edit-model-for-api-config.ts
│ │ │ │ │ └── edit-provider-for-api-config.ts
│ │ │ │ └── update.ts
│ │ │ └── upsert-provider.ts
│ │ └── web
│ │ ├── create.ts
│ │ ├── delete.ts
│ │ ├── reorder.ts
│ │ └── update.ts
│ ├── forms
│ │ ├── EditApiConfigurationForm
│ │ │ └── EditApiConfigurationForm.tsx
│ │ └── EditWebConfigurationForm
│ │ └── EditWebConfigurationForm.tsx
│ └── i18n
│ └── translations
│ ├── edit-api-configuration-form.ts
│ ├── edit-web-configuration-form.ts
│ └── index.ts
└── packages
├── shared
│ └── src
│ └── constants
│ └── dictionary.ts
└── ui
└── src
└── components
└── editor
└── settings
└── Item
└── Item.stories.tsx1 parent 866f6ba commit 03f941e
89 files changed
Lines changed: 1282 additions & 1237 deletions
File tree
- apps/editor
- src
- commands
- code-at-cursor-command/utils
- generate-commit-message-commands
- actions
- utils
- constants
- features/search-files
- search-modes
- utils
- i18n/translations/views
- prompt/handlers
- settings/handlers
- migrations
- services
- utils
- views
- prompt
- backend
- message-handlers
- utils
- frontend
- Main/MainView
- hooks
- i18n/translations
- types
- settings
- backend
- message-handlers
- frontend
- Home
- sections
- forms
- EditModelProviderForm
- EditProviderForm
- hooks
- i18n/translations
- types
- packages
- ui/src/components/editor/settings/Item
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | | - | |
| 1091 | + | |
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
| 451 | + | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
0 commit comments