Spaces:
Sleeping
Sleeping
test: insider
Browse files
services/model_handler.py
CHANGED
@@ -33,7 +33,6 @@ class ModelHandler:
|
|
33 |
api_key=str(random.choice(API_KEYS)),
|
34 |
base_url="https://api.moonshot.cn/v1",
|
35 |
id="moonshot-v1-8k",
|
36 |
-
goal="Translate to English",
|
37 |
instructions=[
|
38 |
"Translate the query to English"
|
39 |
]
|
@@ -82,9 +81,6 @@ class ModelHandler:
|
|
82 |
"Add emojis to make the presentation more interactive."
|
83 |
"Translaste the answer to Portuguese."
|
84 |
],
|
85 |
-
show_tool_calls=True,
|
86 |
-
markdown=True,
|
87 |
-
add_references=True,
|
88 |
)
|
89 |
)
|
90 |
|
@@ -106,8 +102,6 @@ class ModelHandler:
|
|
106 |
"Add emojis to make the presentation more interactive."
|
107 |
"Translaste the answer to Portuguese."
|
108 |
],
|
109 |
-
add_references=True,
|
110 |
-
markdown=True,
|
111 |
),
|
112 |
)
|
113 |
|
|
|
33 |
api_key=str(random.choice(API_KEYS)),
|
34 |
base_url="https://api.moonshot.cn/v1",
|
35 |
id="moonshot-v1-8k",
|
|
|
36 |
instructions=[
|
37 |
"Translate the query to English"
|
38 |
]
|
|
|
81 |
"Add emojis to make the presentation more interactive."
|
82 |
"Translaste the answer to Portuguese."
|
83 |
],
|
|
|
|
|
|
|
84 |
)
|
85 |
)
|
86 |
|
|
|
102 |
"Add emojis to make the presentation more interactive."
|
103 |
"Translaste the answer to Portuguese."
|
104 |
],
|
|
|
|
|
105 |
),
|
106 |
)
|
107 |
|