Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leo AI chat code formatting is not rendering properly #34146

Closed
ghost opened this issue Nov 7, 2023 · 4 comments
Closed

Leo AI chat code formatting is not rendering properly #34146

ghost opened this issue Nov 7, 2023 · 4 comments
Labels
browser-ai closed/duplicate Issue has already been reported design A design change, especially one which needs input from the design team OS/Desktop

Comments

@ghost
Copy link

ghost commented Nov 7, 2023

Description

When generating response, the code is not rendering in code format. instead it is showing ```

Steps to Reproduce

  1. Open Leo
  2. Ask anything which requires a code sample
  3. Leo responds in ``` but instead of converting the text inside, it shows literally the characters.

Actual result:

image
image

Expected result:

SELECT \* FROM table_name;

Reproduces how often:

All the time

Brave version (brave://version info)

1.60.110 Chromium: 119.0.6045.105 (Official Build) (arm64)

Version/Channel Information:

  • Can you reproduce this issue with the current release? YES
  • Can you reproduce this issue with the beta channel? YES
  • Can you reproduce this issue with the nightly channel? YES

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? NO
  • Does the issue resolve itself when disabling Brave Rewards? NO
  • Is the issue reproducible on the latest version of Chrome? NO
@ghost ghost added the OS/Desktop label Nov 7, 2023
@rebron rebron added browser-ai design A design change, especially one which needs input from the design team labels Nov 10, 2023
@rebron
Copy link
Collaborator

rebron commented Nov 10, 2023

cc: @nullhook @aguscruiz @petemill

@ghost
Copy link
Author

ghost commented Nov 13, 2023

still happening in v1.60.114
image

@bbondy
Copy link
Member

bbondy commented Nov 15, 2023

I think this is a dupe of #33668?

@stephendonner
Copy link

I think this is a dupe of #33668?

Looks like it to me; either way, once we start implementing, we'll be testing across the various supported models.

@petemill petemill moved this to Important / Polish in Browser AI Nov 29, 2023
@petemill petemill closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
@github-project-automation github-project-automation bot moved this from Important / Polish to Done in Browser AI Nov 29, 2023
@bbondy bbondy added the closed/duplicate Issue has already been reported label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-ai closed/duplicate Issue has already been reported design A design change, especially one which needs input from the design team OS/Desktop
Projects
Status: Done
Development

No branches or pull requests

4 participants