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
I have updated the code and now the chatbot refuses to create any code that is not Python. You can test it in chat.vercel.ai as well
I know its because of this line in the first prompt in prompts.ts
When asked to write code, always use blocks. When writing code, specify the language in the backticks, e.g. \`\`\`python\`code here\`\`\`. The default language is Python. Other languages are not yet supported, so let the user know if they request a different language.
But it should be able to just generate plain code in other languages even if its not executable. I have modified the prompt but the generated typescript code is not shown formatted, only python code is formatted somehow.
The text was updated successfully, but these errors were encountered:
I have updated the code and now the chatbot refuses to create any code that is not Python. You can test it in chat.vercel.ai as well
I know its because of this line in the first prompt in
prompts.ts
But it should be able to just generate plain code in other languages even if its not executable. I have modified the prompt but the generated typescript code is not shown formatted, only python code is formatted somehow.
The text was updated successfully, but these errors were encountered: