Merge pull request #3694 from janhq/copyfix

chore: Copyfix
This commit is contained in:
Nicole Zhu 2024-09-19 11:32:47 +08:00 committed by GitHub
commit 17be901d1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 10 deletions

View File

@ -79,7 +79,7 @@ const TableActiveModel = () => {
) : ( ) : (
<tbody> <tbody>
<tr className="text-[hsla(var(--text-secondary))]"> <tr className="text-[hsla(var(--text-secondary))]">
<td className="p-4">No on-device model running</td> <td className="p-4">No models are loaded into memory</td>
</tr> </tr>
</tbody> </tbody>
)} )}

View File

@ -130,7 +130,7 @@ const LocalServerLeftPanel = () => {
{serverEnabled && ( {serverEnabled && (
<Button variant="soft" asChild> <Button variant="soft" asChild>
<a href={`http://localhost:${port}`} target="_blank"> <a href={`http://localhost:${port}`} target="_blank">
API Reference <ExternalLinkIcon size={20} className="ml-2" /> API Playground <ExternalLinkIcon size={20} className="ml-2" />
</a> </a>
</Button> </Button>
)} )}

View File

@ -30,9 +30,9 @@ const ModalConfirmReset = () => {
content={ content={
<div> <div>
<p className="text-[hsla(var(--text-secondary))]"> <p className="text-[hsla(var(--text-secondary))]">
It will reset the application to its original state, deleting all Restore app to initial state, erasing all models and chat history.
your usage data, including model customizations and conversation This action is irreversible and recommended only if the application
history. This action is irreversible. is corrupted.
</p> </p>
<div className="my-4"> <div className="my-4">

View File

@ -17,9 +17,9 @@ const FactoryReset = () => {
</h6> </h6>
</div> </div>
<p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Reset the application to its initial state, deleting all your usage Restore app to initial state, erasing all models and chat history.
data, including conversation history. This action is irreversible and This action is irreversible and recommended only if the application is
recommended only if the application is in a corrupted state. corrupted.
</p> </p>
</div> </div>
<Button <Button

View File

@ -28,8 +28,7 @@ const CancelModelImportModal = () => {
<div> <div>
<p className="text-[hsla(var(--text-secondary))]"> <p className="text-[hsla(var(--text-secondary))]">
The model import process is not complete. Are you sure you want to The model import process is not complete. Are you sure you want to
cancel all ongoing model imports? This action is irreversible and cancel?
the progress will be lost.
</p> </p>
<div className="mt-4 flex justify-end gap-x-2"> <div className="mt-4 flex justify-end gap-x-2">
<ModalClose asChild onClick={onContinueClick}> <ModalClose asChild onClick={onContinueClick}>