From 74e4bbc8195cd67bc5f3c271af2c6f8dcef2083c Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 13 Feb 2025 16:43:40 +0100 Subject: [PATCH 1/5] basic adjustments of agency confirmation style Signed-off-by: Julien Veyssier --- src/components/ChattyLLM/AgencyAction.vue | 8 +------- src/components/ChattyLLM/AgencyConfirmation.vue | 6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/components/ChattyLLM/AgencyAction.vue b/src/components/ChattyLLM/AgencyAction.vue index bac9dfbb..e37e067b 100644 --- a/src/components/ChattyLLM/AgencyAction.vue +++ b/src/components/ChattyLLM/AgencyAction.vue @@ -16,17 +16,12 @@ class="param" :no-close="true" :text="getParamText(argName, argValue)" - :title="getParamText(argName, argValue)"> - - + :title="getParamText(argName, argValue)" /> @@ -58,6 +72,7 @@ export default { .action-title { display: flex; align-items: center; + gap: 4px; } .param { diff --git a/src/components/ChattyLLM/AgencyActions.vue b/src/components/ChattyLLM/AgencyActions.vue index 7ac95416..ced316e2 100644 --- a/src/components/ChattyLLM/AgencyActions.vue +++ b/src/components/ChattyLLM/AgencyActions.vue @@ -34,7 +34,7 @@ export default { .agency-actions { display: flex; flex-wrap: wrap; - align-items: start; + align-items: stretch; gap: 8px; .action { From a2f21b9379ba78122b4314d1439b4ab0dbccb3e6 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Mon, 24 Feb 2025 16:17:06 +0100 Subject: [PATCH 4/5] fold/expand params of agency actions that have more than 3 Signed-off-by: Julien Veyssier --- src/components/ChattyLLM/AgencyAction.vue | 41 ++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/src/components/ChattyLLM/AgencyAction.vue b/src/components/ChattyLLM/AgencyAction.vue index 4ef3e065..76a74bce 100644 --- a/src/components/ChattyLLM/AgencyAction.vue +++ b/src/components/ChattyLLM/AgencyAction.vue @@ -10,23 +10,41 @@ {{ action.name }} - {{ getParamText(argName, argValue) }} + + {{ expanded ? t('assistant', 'Less') : t('assistant', 'More') }} + +