Merge branch 'dev' into docs-add-integration-lmstudio

This commit is contained in:
Henry 2024-02-19 21:46:13 +07:00 committed by GitHub
commit f98741a189
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 6 deletions

View File

@ -76,31 +76,31 @@ 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 (Nightly Build)</b></td>
<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" />
<b>jan.exe</b>
</a>
</td>
<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" />
<b>Intel</b>
</a>
</td>
<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" />
<b>M1/M2</b>
</a>
</td>
<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" />
<b>jan.deb</b>
</a>
</td>
<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" />
<b>jan.AppImage</b>
</a>

View File

@ -297,6 +297,10 @@ export default function useSendChatMessage() {
const updatedThread: Thread = {
...activeThread,
updated: timestamp,
metadata: {
...(activeThread.metadata ?? {}),
lastMessage: prompt,
},
}
// change last update thread when send message

View File

@ -145,7 +145,7 @@ const ChatInput: React.FC = () => {
<Textarea
className={twMerge(
'max-h-[400px] resize-none overflow-y-hidden pr-20',
'max-h-[400px] resize-none pr-20',
fileUpload.length && 'rounded-t-none'
)}
style={{ height: '40px' }}