Merge branch 'dev' into docs-add-integration-lmstudio
This commit is contained in:
commit
f98741a189
10
README.md
10
README.md
@ -76,31 +76,31 @@ 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 (Nightly Build)</b></td>
|
<td style="text-align:center"><b>Experimental (Nightly Build)</b></td>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<a href='https://delta.jan.ai/latest/jan-win-x64-0.4.6-274.exe'>
|
<a href='https://delta.jan.ai/latest/jan-win-x64-0.4.6-275.exe'>
|
||||||
<img src='./docs/static/img/windows.png' style="height:14px; width: 14px" />
|
<img src='./docs/static/img/windows.png' style="height:14px; width: 14px" />
|
||||||
<b>jan.exe</b>
|
<b>jan.exe</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<a href='https://delta.jan.ai/latest/jan-mac-x64-0.4.6-274.dmg'>
|
<a href='https://delta.jan.ai/latest/jan-mac-x64-0.4.6-275.dmg'>
|
||||||
<img src='./docs/static/img/mac.png' style="height:15px; width: 15px" />
|
<img src='./docs/static/img/mac.png' style="height:15px; width: 15px" />
|
||||||
<b>Intel</b>
|
<b>Intel</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<a href='https://delta.jan.ai/latest/jan-mac-arm64-0.4.6-274.dmg'>
|
<a href='https://delta.jan.ai/latest/jan-mac-arm64-0.4.6-275.dmg'>
|
||||||
<img src='./docs/static/img/mac.png' style="height:15px; width: 15px" />
|
<img src='./docs/static/img/mac.png' style="height:15px; width: 15px" />
|
||||||
<b>M1/M2</b>
|
<b>M1/M2</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<a href='https://delta.jan.ai/latest/jan-linux-amd64-0.4.6-274.deb'>
|
<a href='https://delta.jan.ai/latest/jan-linux-amd64-0.4.6-275.deb'>
|
||||||
<img src='./docs/static/img/linux.png' style="height:14px; width: 14px" />
|
<img src='./docs/static/img/linux.png' style="height:14px; width: 14px" />
|
||||||
<b>jan.deb</b>
|
<b>jan.deb</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<a href='https://delta.jan.ai/latest/jan-linux-x86_64-0.4.6-274.AppImage'>
|
<a href='https://delta.jan.ai/latest/jan-linux-x86_64-0.4.6-275.AppImage'>
|
||||||
<img src='./docs/static/img/linux.png' style="height:14px; width: 14px" />
|
<img src='./docs/static/img/linux.png' style="height:14px; width: 14px" />
|
||||||
<b>jan.AppImage</b>
|
<b>jan.AppImage</b>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@ -297,6 +297,10 @@ export default function useSendChatMessage() {
|
|||||||
const updatedThread: Thread = {
|
const updatedThread: Thread = {
|
||||||
...activeThread,
|
...activeThread,
|
||||||
updated: timestamp,
|
updated: timestamp,
|
||||||
|
metadata: {
|
||||||
|
...(activeThread.metadata ?? {}),
|
||||||
|
lastMessage: prompt,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// change last update thread when send message
|
// change last update thread when send message
|
||||||
|
|||||||
@ -145,7 +145,7 @@ const ChatInput: React.FC = () => {
|
|||||||
|
|
||||||
<Textarea
|
<Textarea
|
||||||
className={twMerge(
|
className={twMerge(
|
||||||
'max-h-[400px] resize-none overflow-y-hidden pr-20',
|
'max-h-[400px] resize-none pr-20',
|
||||||
fileUpload.length && 'rounded-t-none'
|
fileUpload.length && 'rounded-t-none'
|
||||||
)}
|
)}
|
||||||
style={{ height: '40px' }}
|
style={{ height: '40px' }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user