sugiv commited on
Commit
a79cc67
·
1 Parent(s): abd74bf

Debugging shit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ Here's the complete Python function implementation:
119
 
120
  def stream_solution(instruction: str, token: str):
121
  if not verify_token(token):
122
- raise {"error": "Invalid token"}
123
 
124
  system_prompt = "You are a Python coding assistant specialized in solving LeetCode problems. Provide only the complete implementation of the given function. Ensure proper indentation and formatting. Do not include any explanations or multiple solutions."
125
  full_prompt = f"""### Instruction:
 
119
 
120
  def stream_solution(instruction: str, token: str):
121
  if not verify_token(token):
122
+ raise Exception("Invalid token")
123
 
124
  system_prompt = "You are a Python coding assistant specialized in solving LeetCode problems. Provide only the complete implementation of the given function. Ensure proper indentation and formatting. Do not include any explanations or multiple solutions."
125
  full_prompt = f"""### Instruction: