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">
|
<tr style="text-align: center">
|
||||||
<td style="text-align:center"><b>Experimental (Nighlty Build)</b></td>
|
<td style="text-align:center"><b>Experimental (Nighlty Build)</b></td>
|
||||||
<td style="text-align:center" colspan="4">
|
<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>
|
<b>Github action artifactory</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -103,9 +103,13 @@ export const useCreateNewThread = () => {
|
|||||||
|
|
||||||
function updateThreadMetadata(thread: Thread) {
|
function updateThreadMetadata(thread: Thread) {
|
||||||
updateThread(thread)
|
updateThread(thread)
|
||||||
extensionManager
|
const threadState = threadStates[thread.id]
|
||||||
.get<ConversationalExtension>(ExtensionType.Conversational)
|
const isFinishInit = threadState?.isFinishInit ?? true
|
||||||
?.saveThread(thread)
|
if (isFinishInit) {
|
||||||
|
extensionManager
|
||||||
|
.get<ConversationalExtension>(ExtensionType.Conversational)
|
||||||
|
?.saveThread(thread)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user