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
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Parsing code is a common form of parsing code blocks (eg python). However, there are often cases where code is written as a message and the code is not executed.
Describe alternatives you've considered
If we use openai, we can ask it to write roles and content using structured ouputs. This will make for a more stable writing code.
Additional context
I'm sad that there haven't been any recent commits 🥲
The text was updated successfully, but these errors were encountered:
Modify the MessageBlock class to parse and display code blocks within messages without executing them. Update the refresh method to use syntax highlighting for code blocks.
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
I understand the concept of this commit, but sometimes code is written without backticks as the message, so in those cases it is very difficult to determine whether it is code or not.
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Parsing code is a common form of parsing code blocks (eg
python
). However, there are often cases where code is written as amessage
and the code is not executed.Describe alternatives you've considered
If we use openai, we can ask it to write roles and content using structured ouputs. This will make for a more stable writing code.
Additional context
I'm sad that there haven't been any recent commits 🥲
The text was updated successfully, but these errors were encountered: