in devai-cli/src/devai/commands/review.py [0:0]
def code(context, output):
"""
This function performs a code review using the Generative Model API.
Args:
context (str): The code to be reviewed.
output (str): The desired output format (markdown, json, or table).
"""
source = '''
### Context (code) ###
{}
'''
# Output Format Substitution
output_format = {
'markdown': '''Structure: Organize your findings by class and method names. This provides clear context for the issues and aids in refactoring.