Husnain commited on
Commit
21ae74e
1 Parent(s): c23c077

♻️ [Refactor] Re-order constants.headers with alphabet

Browse files
Files changed (1) hide show
  1. constants/headers.py +8 -8
constants/headers.py CHANGED
@@ -52,16 +52,16 @@ OPENAI_GET_HEADERS = {
52
 
53
  OPENAI_POST_DATA = {
54
  "action": "next",
55
- # "messages": self.transform_messages(messages),
56
- "parent_message_id": "",
57
- "model": "text-davinci-002-render-sha",
58
- "timezone_offset_min": -480,
59
- "suggestions": [],
60
- "history_and_training_disabled": False,
61
  "conversation_mode": {"kind": "primary_assistant"},
 
62
  "force_paragen": False,
63
  "force_paragen_model_slug": "",
64
- "force_nulligen": False,
65
  "force_rate_limit": False,
66
- # "websocket_request_id": str(uuid.uuid4()),
 
 
 
 
 
67
  }
 
52
 
53
  OPENAI_POST_DATA = {
54
  "action": "next",
55
+ # "conversation_id": "...",
 
 
 
 
 
56
  "conversation_mode": {"kind": "primary_assistant"},
57
+ "force_nulligen": False,
58
  "force_paragen": False,
59
  "force_paragen_model_slug": "",
 
60
  "force_rate_limit": False,
61
+ "history_and_training_disabled": False,
62
+ # "messages": [...],
63
+ "model": "text-davinci-002-render-sha",
64
+ "parent_message_id": "",
65
+ "suggestions": [],
66
+ "timezone_offset_min": -480,
67
  }