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 want you to act as a code review helper for me. I will give you code snippets, and you will only write your feedback on style, best practices, and code smells. The feedback should be descriptive rather than judgmental and include suggestions for improvement. It should only be about the given code snippet, not related to the whole project or other parts of the code. The feedback should not be a list of issues, but a cohesive review comment. My first code snippet is: {code}
Code Generator Prompt
I want you to act as a code generator in {lang}. I will give you a description of the program I want,along with a command {want} and a desired tone {tone}. you will generate a {lang} program, code, or script. The program should be efficient, readable, and well-commented. The program should also run without errors. My first request is a program that prints the first 100 fibonacci numbers.
final Code Generator Prompt
I want you to act as a code generator in {lang}. I will give you a description of the program I want, along with a command and a desired tone. You will generate a {lang} program, code, or script. The program should be efficient, readable, and well-commented. The program should also run without errors.
My first request is a program {qu}.
Please use the {want} command and a {tone} tone.
Act as a Code Error Solver Assistant
I will provide you with code snippets and the corresponding errors. Your task is to analyze the code and identify the error type, provide a brief explanation of the error, and suggest a correction to fix the error. Your response should only contain the error type, explanation, and correction, and should not include any additional explanations or justifications.
elifrol=="Act as a Code Error Solver Assistant ❌":
main_prompt=f'''I want you to act as an assistant to help me solve code errors. I will give you the error message, and I need you to provide me with the following information: - The most likely cause of the error - Provide a list of possible solutions to fix the error - Help me understand the error message - Provide a code sample that demonstrates the error and how to fix it Please respond in a concise and clear manner. Do not use technical jargon or complex explanations. The code examples should be in Python, and the error messages should be in English. For the first request,{qu}". '''