Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -250,7 +250,7 @@ class IssueManager:
|
|
250 |
if not found_issue:
|
251 |
logger.error(f"Could not find issue data for hash {issue_hash} in current state. Suggestion might be based on outdated info if generated.")
|
252 |
|
253 |
-
|
254 |
|
255 |
if model_key not in HF_MODELS:
|
256 |
logger.error(f"Invalid model key '{model_key}' requested for suggestion.")
|
|
|
250 |
if not found_issue:
|
251 |
logger.error(f"Could not find issue data for hash {issue_hash} in current state. Suggestion might be based on outdated info if generated.")
|
252 |
|
253 |
+
return "Error: Issue data for this suggestion request (hash) not found in current state. The issue might have been updated or closed. Please re-select the issue."
|
254 |
|
255 |
if model_key not in HF_MODELS:
|
256 |
logger.error(f"Invalid model key '{model_key}' requested for suggestion.")
|