Commit 67a98b8
authored
Improvement/OpenAI token after merge (#153)
* Start switch to new openai live API. Implement init_chatbot_session.
* Start test chatbot in frontend
* Use only text chat for now
* Attempt at reducing typing speed answer
* Start removing state machine for chatbot, adapt test/session chat look-n-feel
* Advance on chatbot UI rework
* Advanced
* Start text-based directory for response API
* Use real-time API again, auth tokens don't work with response API
* Add connection status. Use different connection for each conversation.
* Save/reload chat history (not tested yet)
* Use auth token
* Fix errors, chat works
* Remove unused things in the frontend
* Rework chatHistoryContext
* Few fixes
* Fix chat refresh
* Fix first message saving
* Fix connection initialization
* Update session context based on history
* Add autofocus, disable sending message as long as connection is not ready
* Introduced auth token context. Remove idempotency call for openai.
* Show back chat history
* Removed old unused files
* Fix border
* Consume and check for user AI credits
* Removed idempotent proxy: https outcalls support IPv4 (since August 2025)
* Use silent audio track for real-time chat. Fix CSP.
* Fix real-time session not initializing due to token getting invalid or not getting queried.
* Fix messages not being cleared when creating a new chat. Fix default chat name.
* Chatbot improvement in progress
* Fix async loading of history
* Added some cleaning
* Activate voice-to-voice
* Use upsert instead of refs to concatenate AI content
* Restrict voice AI only to premium users
* Allow microphone access in CSP
* Introduced hooks for saving history
* Prevent saving history if too recent
* Fix credits depleted popup. Add voice in welcome ai page.
* Fix chat ordering. redirect new chat to /chat
* Fix user profile that was using previous session info if any
* Introduce new menu when clicking on user link, with new route to subscriptions and logout. Introduced useIntProp that use authenticated actor if any else unauthenticated. Fix free voice AI.1 parent a039b4e commit 67a98b8
File tree
30 files changed
+1004
-612
lines changed- src
- backend
- frontend
- components
- actors
- common
- layout
- pages
- bips
- chatbot
- plans
- profile
- router
- public
30 files changed
+1004
-612
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | | - | |
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | | - | |
55 | 51 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | | - | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
| |||
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
71 | | - | |
72 | | - | |
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
| |||
81 | 76 | | |
82 | 77 | | |
83 | 78 | | |
84 | | - | |
85 | 79 | | |
86 | 80 | | |
87 | 81 | | |
| |||
94 | 88 | | |
95 | 89 | | |
96 | 90 | | |
97 | | - | |
98 | 91 | | |
99 | 92 | | |
100 | 93 | | |
101 | 94 | | |
102 | 95 | | |
103 | | - | |
104 | 96 | | |
105 | 97 | | |
106 | 98 | | |
107 | | - | |
108 | 99 | | |
109 | 100 | | |
110 | 101 | | |
111 | | - | |
112 | 102 | | |
113 | 103 | | |
114 | 104 | | |
| |||
119 | 109 | | |
120 | 110 | | |
121 | 111 | | |
122 | | - | |
123 | 112 | | |
124 | 113 | | |
125 | 114 | | |
| |||
153 | 142 | | |
154 | 143 | | |
155 | 144 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 145 | | |
164 | 146 | | |
165 | 147 | | |
| |||
179 | 161 | | |
180 | 162 | | |
181 | 163 | | |
182 | | - | |
183 | 164 | | |
184 | 165 | | |
185 | 166 | | |
186 | | - | |
187 | | - | |
188 | 167 | | |
189 | 168 | | |
190 | 169 | | |
191 | 170 | | |
192 | 171 | | |
193 | 172 | | |
194 | | - | |
195 | 173 | | |
196 | 174 | | |
197 | 175 | | |
| |||
204 | 182 | | |
205 | 183 | | |
206 | 184 | | |
207 | | - | |
208 | 185 | | |
209 | 186 | | |
210 | 187 | | |
| |||
220 | 197 | | |
221 | 198 | | |
222 | 199 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | 200 | | |
227 | 201 | | |
228 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
This file was deleted.
0 commit comments