Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/components/port-jump/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ interface DialogProps {
protocol: string;
path?: string;
query?: string;
hash?: string;
}

const acceptParams = async (params: DialogProps): Promise<void> => {
Expand All @@ -58,6 +59,9 @@ const acceptParams = async (params: DialogProps): Promise<void> => {
if (params.query) {
url += params.query.startsWith('?') ? params.query : `?${params.query}`;
}
if (params.hash) {
url += params.hash.startsWith('#') ? params.hash : `#${params.hash}`;
}
return url;
};
if (res.data.systemIP.indexOf(':') === -1) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ const message = {
token: 'Token',
manualModel: 'Manual input',
verified: 'Verified',
verifySkipped: 'Skipped',
verifySkipped: 'No verification',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/es-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ const message = {
token: 'Token',
manualModel: 'Entrada manual de modelo',
verified: 'Verificado',
verifySkipped: 'Omitido',
verifySkipped: 'Sin verificacion',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ const message = {
token: 'トークン',
manualModel: '手動入力',
verified: '検証済み',
verifySkipped: 'スキップ済み',
verifySkipped: '検証なし',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ const message = {
token: '토큰',
manualModel: '수동 입력',
verified: '검증됨',
verifySkipped: '건너뜀',
verifySkipped: '검증 안 함',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/ms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ const message = {
token: 'Token',
manualModel: 'Input manual',
verified: 'Disahkan',
verifySkipped: 'Dilangkau',
verifySkipped: 'Tanpa pengesahan',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/pt-br.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ const message = {
token: 'Token',
manualModel: 'Entrada manual',
verified: 'Verificado',
verifySkipped: 'Ignorado',
verifySkipped: 'Sem verificacao',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ const message = {
token: 'Токен',
manualModel: 'Ручной ввод',
verified: 'Проверено',
verifySkipped: 'Пропущено',
verifySkipped: 'Без проверки',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ const message = {
token: 'Token',
manualModel: 'Manuel giriş',
verified: 'Doğrulandı',
verifySkipped: 'Atlandı',
verifySkipped: 'Doğrulama yok',
configTitle: 'Configuration',
settingsTab: 'Settings',
securityTab: 'Security',
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/lang/modules/zh-Hant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ const message = {
token: 'Token',
manualModel: '手動輸入模型',
verified: '驗證狀態',
verifySkipped: '已跳過',
verifySkipped: '不驗證',
configTitle: '設定',
settingsTab: '設定',
securityTab: '安全',
Expand Down Expand Up @@ -806,8 +806,7 @@ const message = {
importComposeBackupTip: '匯入編排備份檔案,僅支援 .tar.gz 格式',
stopContainerBeforeBackup: '備份前停止容器',
stopComposeBeforeBackup: '備份前停止編排',
stopBeforeBackupHelper:
'啟用後備份前將停止容器或編排服務,完成後自動恢復,以確保資料一致性',
stopBeforeBackupHelper: '啟用後備份前將停止容器或編排服務,完成後自動恢復,以確保資料一致性',
commandInput: '指令輸入',
commandRule: '請輸入正確的 docker run 容器建立指令',
commandHelper: '將在伺服器上執行該條指令以建立容器,是否繼續?',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ const message = {
token: 'Token',
manualModel: '手动输入模型',
verified: '验证状态',
verifySkipped: '已跳过',
verifySkipped: '不验证',
configTitle: '配置',
settingsTab: '设置',
securityTab: '安全',
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/ai/agents/agent/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,12 @@ const openWorkDir = (row: AI.AgentItem) => {
};

const jumpWebUI = (row: AI.AgentItem) => {
const query = row.agentType === 'copaw' ? '' : `token=${row.token}`;
if (dialogPortJumpRef.value?.acceptParams) {
dialogPortJumpRef.value.acceptParams({
port: row.webUIPort,
protocol: 'http',
query,
path: row.agentType === 'copaw' ? undefined : '/',
hash: row.agentType === 'copaw' ? undefined : `token=${row.token}`,
});
}
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/ai/agents/model/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const verificationLabel = (row: AI.AgentAccountItem) => {

const verificationTagType = (row: AI.AgentAccountItem) => {
if (isVerificationSkipped(row.provider)) {
return 'warning';
return 'info';
}
return row.verified ? 'success' : 'info';
};
Expand Down
Loading