acecalisto3 commited on
Commit
0b5b75a
·
verified ·
1 Parent(s): 3fecdca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -175,13 +175,15 @@ def respond(
175
  yield f"Error fetching GitHub issues: {e}"
176
 
177
  elif command == "/help":
178
- yield "Available commands:\n" \
179
- "- `/github`: Analyze a GitHub issue\n" \
180
- "- `/help`: Show this help message\n" \
181
- "- `/generate_code [code description]`: Generate code based on the description\n" \
182
- "- `/explain_concept [concept]`: Explain a concept\n" \
183
- "- `/write_documentation [topic]`: Write documentation for a given topic\n" \
184
- "- `/translate_code [code] to [target language]`: Translate code to another language"
 
 
185
 
186
  elif command.isdigit() and issues:
187
  try:
 
175
  yield f"Error fetching GitHub issues: {e}"
176
 
177
  elif command == "/help":
178
+ yield f"""Available commands:
179
+ - `/github`: Analyze a GitHub issue
180
+ - `/help`: Show this help message
181
+ - `/generate_code [code description]`: Generate code based on the description
182
+ - `/explain_concept [concept]`: Explain a concept
183
+ - `/write_documentation [topic]`: Write documentation for a given topic
184
+ - `/translate_code [code] to [target language]`: Translate code to another language""" # Close the f-string here
185
+
186
+ # ... (rest of your code)
187
 
188
  elif command.isdigit() and issues:
189
  try: