You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lines probably shouldn't wrap so much with code blocks. Probably this means that code blocks should use fairly different text metrics than the rest of the prompt.
Press "A" to open the addons view if necessary, then enter the following into the prompt field:
{"promptType":"qaPrompt","question":{"contents":"What's wrong with this implementation of `sum`?\n\n```\nfunction sum(list: number[]): number {\n return list.reduce((number, total) => number + total)\n}\n```","attachments":[]},"answer":{"contents":"The arguments to `reduce` are reversed.","attachments":[]}}
The text was updated successfully, but these errors were encountered:
Lines probably shouldn't wrap so much with code blocks. Probably this means that code blocks should use fairly different text metrics than the rest of the prompt.
To reproduce
cd packages/ui; yarn storybook
prompt
field:The text was updated successfully, but these errors were encountered: