Commit a2f9402
committed
Refactor server and client components for improved functionality and performance
- Removed unused imports and code related to Hugging Face authentication and deployment.
- Updated the AI provider logic to include OpenRouter and streamline local provider settings.
- Enhanced the HTML export functionality in the DeployButton component.
- Simplified the App component by removing unnecessary state and API calls.
- Improved UI elements and styles across various components for better user experience.
- Updated default HTML template with new styles and text.
- Removed deprecated SpeechPrompt component and related code.
- Adjusted provider configurations to reflect current API usage and capabilities.1 parent 6e09fbb commit a2f9402
File tree
18 files changed
+186
-899
lines changed- middlewares
- public/providers
- src/components
- ask-ai
- deploy-button
- header
- preview
- settings
- speech-prompt
- tabs
- utils
18 files changed
+186
-899
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 23 | + | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
36 | 27 | | |
37 | | - | |
| 28 | + | |
38 | 29 | | |
39 | 30 | | |
40 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Loading
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
Loading
0 commit comments