Skip to content

Commit

Permalink
add text about simulator to prompt guide component
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Apr 23, 2024
1 parent f9f17bc commit 2ca78c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"share_your_thoughts": "Share your thoughts here",
"side_panel_body": "Write a prompt in natural language to generate a Reagent Transfer or a PCR protocol for the OT-2 or Opentrons Flex using the Opentrons Python Protocol API.",
"side_panel_header": "Use natural language to generate protocols with OpentronsAI powered by OpenAI",
"simulator_description": "Once OpentronsAI has written your protocol, type \"simulate\" in the prompt box to try it out.",
"tipracks_and_labware": "<span>Tip racks and labware: Use names from the <a>Opentrons Labware Library</a>.</spa>",
"try_example_prompts": "Stuck? Try these example prompts to get started.",
"type_your_prompt": "Type your prompt...",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ describe('PromptGuide', () => {
'What if you don’t provide all of those pieces of information?'
)
screen.getByText('OpentronsAI asks you to provide it!')
screen.getByText(
'Once OpentronsAI has written your protocol, type "simulate" in the prompt box to try it out.'
)
})
it('should have the right url', () => {
render()
Expand Down
3 changes: 3 additions & 0 deletions opentrons-ai-client/src/molecules/PromptGuide/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ export function PromptGuide(): JSX.Element {
span: <StyledText css={BODY_TEXT_STYLE} />,
}}
/>
<StyledText css={BODY_TEXT_STYLE}>
{t('simulator_description')}
</StyledText>
</Flex>
)
}
Expand Down

0 comments on commit 2ca78c3

Please sign in to comment.