Skip to content

Commit 3d7719c

Browse files
authored
feat(renderer): polish tool call cards (#1371)
* feat(renderer): polish tool call cards * fix(renderer): expand aliased tool calls * fix(renderer): harden tool call display * fix(renderer): refine tool call summary
1 parent 7b5f647 commit 3d7719c

14 files changed

Lines changed: 861 additions & 46 deletions

File tree

src/renderer/src/components/message/MessageBlockToolCall.vue

Lines changed: 320 additions & 41 deletions
Large diffs are not rendered by default.

src/renderer/src/i18n/da-DK/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "succes",
1717
"title": "Værktøjskald",
1818
"terminalOutput": "Terminaludgang",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "Udført {count} erstatninger"
2023
}

src/renderer/src/i18n/en-US/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"params": "Function Parameters",
1111
"responseData": "Response",
1212
"terminalOutput": "Terminal Output",
13+
"badge": {
14+
"rtk": "RTK"
15+
},
1316
"replacementsCount": "Completed {count} replacements",
1417
"fileOperation": "File Operation",
1518
"fileRead": "Read File",

src/renderer/src/i18n/fa-IR/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "موفقیت",
1717
"title": "تماس ابزار",
1818
"terminalOutput": "خروجی ترمینال",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "{count} مورد جایگزین شد"
2023
}

src/renderer/src/i18n/fr-FR/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "succès",
1717
"title": "Appel d'outil",
1818
"terminalOutput": "Sortie terminale",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "Terminé {count} remplacement(s)"
2023
}

src/renderer/src/i18n/he-IL/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"fileWrite": "לכתוב קובץ",
1717
"success": "הַצלָחָה",
1818
"terminalOutput": "פלט מסוף",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "הושלמו {count} החלפות"
2023
}

src/renderer/src/i18n/ja-JP/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "成功",
1717
"title": "ツール呼び出し",
1818
"terminalOutput": "端子出力",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "{count}か所の置換を完了しました"
2023
}

src/renderer/src/i18n/ko-KR/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "성공",
1717
"title": "도구 호출",
1818
"terminalOutput": "터미널 출력",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "{count}개 치환 완료"
2023
}

src/renderer/src/i18n/pt-BR/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "sucesso",
1717
"title": "Chamada de ferramenta",
1818
"terminalOutput": "Saída terminal",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "Substituídas {count} ocorrências"
2023
}

src/renderer/src/i18n/ru-RU/toolCall.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"success": "успех",
1717
"title": "Вызов инструмента",
1818
"terminalOutput": "Выходной терминал",
19+
"badge": {
20+
"rtk": "RTK"
21+
},
1922
"replacementsCount": "Выполнено {count} замен"
2023
}

0 commit comments

Comments
 (0)