File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,23 @@ export default function ChangelogPage() {
11
11
</ p >
12
12
</ div >
13
13
< div className = "p-4 max-w-screen-sm" >
14
+ < Release
15
+ isFirst = { true }
16
+ version = "0.2.22"
17
+ date = "2024-07-12"
18
+ improvements = { [
19
+ {
20
+ title : 'Exports now contain user IP' ,
21
+ description : 'Exports now contain the user IP. This will allow you to see the IP of the user who sent the message in the export.' ,
22
+ } ,
23
+ ] }
24
+ bugs = { [
25
+ {
26
+ title : 'Chat history was displaying thread name after doing a click in the ui' ,
27
+ description : 'Issue was fixed and now the chat history is displaying the thread name correctly.' ,
28
+ } ,
29
+ ] }
30
+ />
14
31
< Release
15
32
isFirst = { true }
16
33
version = "0.2.21"
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export async function POST(
56
56
response : true ,
57
57
createdAt : true ,
58
58
threadId : true ,
59
+ userIP : true ,
59
60
} ,
60
61
} )
61
62
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ export function useAssistant({
83
83
if ( currentThreadId && threadsMap [ currentThreadId ] !== undefined ) {
84
84
threadsMap [ currentThreadId ] . messages = messages
85
85
localStorage . setItem ( localStorageName , JSON . stringify ( threadsMap ) )
86
+ setThreads ( threadsMap )
86
87
}
87
88
} , [ messages ] ) ;
88
89
You can’t perform that action at this time.
0 commit comments