Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ client = InferenceClient(
|
|
35 |
|
36 |
VERBOSE = True
|
37 |
MAX_HISTORY = 100
|
38 |
-
MODEL =
|
39 |
|
40 |
|
41 |
def format_prompt(message, history):
|
@@ -93,7 +93,7 @@ def compress_history(purpose, task, history, directory):
|
|
93 |
resp = run_gpt(
|
94 |
COMPRESS_HISTORY_PROMPT,
|
95 |
stop_tokens=["observation:", "task:", "action:", "thought:"],
|
96 |
-
max_tokens=
|
97 |
purpose=purpose,
|
98 |
task=task,
|
99 |
history=history,
|
|
|
35 |
|
36 |
VERBOSE = True
|
37 |
MAX_HISTORY = 100
|
38 |
+
MODEL = mistralai/Mixtral-8x7B-Instruct-v0.1"
|
39 |
|
40 |
|
41 |
def format_prompt(message, history):
|
|
|
93 |
resp = run_gpt(
|
94 |
COMPRESS_HISTORY_PROMPT,
|
95 |
stop_tokens=["observation:", "task:", "action:", "thought:"],
|
96 |
+
max_tokens=5096,
|
97 |
purpose=purpose,
|
98 |
task=task,
|
99 |
history=history,
|