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

epic: format generated code in code format (not plain text) #2913

Open
xx88xx opened this issue May 16, 2024 · 4 comments
Open

epic: format generated code in code format (not plain text) #2913

xx88xx opened this issue May 16, 2024 · 4 comments
Labels
status: needs info This doesn't seem right, more information is requested type: epic A major feature or initiative

Comments

@xx88xx
Copy link

xx88xx commented May 16, 2024

Motivation

Seems all the other LLMs do this now, so would be very useful comfort to have in Jan!

@xx88xx xx88xx added the type: epic A major feature or initiative label May 16, 2024
@Van-QA
Copy link
Contributor

Van-QA commented May 16, 2024

hi @xx88xx, sorry, is this what you mean?
image
The copy button will help copy code in the same format that is being displayed 🙏

@Van-QA Van-QA added the status: needs info This doesn't seem right, more information is requested label May 16, 2024
@mr-september
Copy link

I also sometimes run into this issue. Does anyone know if different models maybe use different syntax for things like code blocks? Like how we have multiple different prompt templates/tokens?

@xx88xx
Copy link
Author

xx88xx commented May 20, 2024

Hi @Van-QA !
Thanks for the response. Since posting this, noticed it works in the more popular models. I agree with @mr-september sometimes it works as in the picture you attached, but often especially on some of the more bespoke models it shows up unformatted. @mr-september might be onto something with the different syntax.

@Van-QA
Copy link
Contributor

Van-QA commented May 22, 2024

thank you, can you let us know more details of the failed model / step to reproduce? @xx88xx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs info This doesn't seem right, more information is requested type: epic A major feature or initiative
Projects
Status: No status
Development

No branches or pull requests

3 participants