Hivra commited on
Commit
529baee
·
verified ·
1 Parent(s): 9af3cb3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -85,7 +85,7 @@ def chat_completions():
85
  if not msgs:
86
  return jsonify({"error": "Missing 'messages' field"}), 400
87
 
88
- system = "You are a helpful assistant."
89
  history = []
90
  for i, m in enumerate(msgs[:-1]):
91
  if m.get("role") == "system":
 
85
  if not msgs:
86
  return jsonify({"error": "Missing 'messages' field"}), 400
87
 
88
+ system = None
89
  history = []
90
  for i, m in enumerate(msgs[:-1]):
91
  if m.get("role") == "system":