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>
<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>
</tbody>
)}

View File

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

View File

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

View File

@ -17,9 +17,9 @@ const FactoryReset = () => {
</h6>
</div>
<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
data, including conversation history. This action is irreversible and
recommended only if the application is in a corrupted state.
Restore app to initial state, erasing all models and chat history.
This action is irreversible and recommended only if the application is
corrupted.
</p>
</div>
<Button

View File

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