From 603ff99136222684b479a058577220dd53bbfcdc Mon Sep 17 00:00:00 2001 From: znaim Date: Thu, 14 Nov 2024 20:32:59 -0500 Subject: [PATCH] Made the Application and Description start on a new line for the create new protocol prompt when displayed on the chat page --- opentrons-ai-client/src/molecules/ChatDisplay/index.tsx | 1 - .../src/resources/utils/createProtocolUtils.tsx | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx b/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx index 7d01d282903..961fa93b445 100644 --- a/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx +++ b/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx @@ -262,5 +262,4 @@ const CodeWrapper = styled(Flex)` background-color: ${COLORS.grey20}; border-radius: ${BORDERS.borderRadius4}; overflow: auto; - border: 1px solid ${COLORS.blue35}; ` diff --git a/opentrons-ai-client/src/resources/utils/createProtocolUtils.tsx b/opentrons-ai-client/src/resources/utils/createProtocolUtils.tsx index a2ccffd988b..06dd83061cb 100644 --- a/opentrons-ai-client/src/resources/utils/createProtocolUtils.tsx +++ b/opentrons-ai-client/src/resources/utils/createProtocolUtils.tsx @@ -208,9 +208,11 @@ export function generateChatPrompt( const prompt = `${t('create_protocol_prompt_robot', { robotType })}\n${t( 'application_title' - )}: ${scientificApplication}\n\n${t('description')}: ${description}\n\n${t( + )}: \n${scientificApplication}\n\n${t( + 'description' + )}: \n${description}\n\n${t( 'pipette_mounts' - )}:\n\n${pipetteMounts}\n${flexGripper}\n\n${t( + )}:\n\n${pipetteMounts}${flexGripper}\n\n${t( 'modules_title' )}:\n${modules}\n\n${t('labware_section_title')}:\n${labwares}\n\n${t( 'liquid_section_title'