Debugging shit
Browse files
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
|
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:
|