Antonio Cheong commited on
Commit
b02a94a
·
1 Parent(s): 70fa828

remove suspicious args

Browse files
Files changed (1) hide show
  1. src/EdgeGPT.py +7 -8
src/EdgeGPT.py CHANGED
@@ -79,6 +79,12 @@ class ChatHubRequest:
79
  def update(
80
  self,
81
  prompt: str,
 
 
 
 
 
 
82
  ) -> None:
83
  """
84
  Updates request object
@@ -87,14 +93,7 @@ class ChatHubRequest:
87
  "arguments": [
88
  {
89
  "source": "cib",
90
- "optionsSets": [
91
- "nlu_direct_response_filter",
92
- "deepleo",
93
- "enable_debug_commands",
94
- "disable_emoji_spoken_text",
95
- "responsible_ai_policy_235",
96
- "enablemm",
97
- ],
98
  "isStartOfSession": self.invocation_id == 0,
99
  "message": {
100
  "author": "user",
 
79
  def update(
80
  self,
81
  prompt: str,
82
+ options: list = [
83
+ "deepleo",
84
+ "enable_debug_commands",
85
+ "disable_emoji_spoken_text",
86
+ "enablemm",
87
+ ],
88
  ) -> None:
89
  """
90
  Updates request object
 
93
  "arguments": [
94
  {
95
  "source": "cib",
96
+ "optionsSets": options,
 
 
 
 
 
 
 
97
  "isStartOfSession": self.invocation_id == 0,
98
  "message": {
99
  "author": "user",