Merge branch 'main' into docs/standardize-commands
This commit is contained in:
commit
12f2caf99b
@ -70,7 +70,7 @@ Jan is an open-source ChatGPT alternative that runs 100% offline on your compute
|
||||
<tr style="text-align: center">
|
||||
<td style="text-align:center"><b>Experimental (Nighlty Build)</b></td>
|
||||
<td style="text-align:center" colspan="4">
|
||||
<a href='https://github.com/janhq/jan/actions/runs/7292673355'>
|
||||
<a href='https://github.com/janhq/jan/actions/runs/7303451498'>
|
||||
<b>Github action artifactory</b>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@ -103,9 +103,13 @@ export const useCreateNewThread = () => {
|
||||
|
||||
function updateThreadMetadata(thread: Thread) {
|
||||
updateThread(thread)
|
||||
extensionManager
|
||||
.get<ConversationalExtension>(ExtensionType.Conversational)
|
||||
?.saveThread(thread)
|
||||
const threadState = threadStates[thread.id]
|
||||
const isFinishInit = threadState?.isFinishInit ?? true
|
||||
if (isFinishInit) {
|
||||
extensionManager
|
||||
.get<ConversationalExtension>(ExtensionType.Conversational)
|
||||
?.saveThread(thread)
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user