mimi800 commited on
Commit
8c580b7
·
verified ·
1 Parent(s): 1e77452

Upload 4 files

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. prompt.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def process_error(error_message: str) -> str:
9
  Main function to process the error message and return JSON response.
10
  """
11
  # Build full prompt with proper ending
12
- full_prompt = SYSTEM_PROMPT + error_message.strip() + "\n<|end|>\n<|assistant|>"
13
 
14
  # Get raw model output
15
  raw_output = generate_response(full_prompt)
 
9
  Main function to process the error message and return JSON response.
10
  """
11
  # Build full prompt with proper ending
12
+ full_prompt = SYSTEM_PROMPT + error_message.strip() + "\nJSON Output:\n<|end|>\n<|assistant|>"
13
 
14
  # Get raw model output
15
  raw_output = generate_response(full_prompt)
prompt.py CHANGED
@@ -14,4 +14,4 @@ Example:
14
  <|end|>
15
 
16
  <|user|>
17
- """
 
14
  <|end|>
15
 
16
  <|user|>
17
+ Error: """