Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def completion(history, model, system_prompt, tools=None):
|
|
54 |
"temperature": 0.4,
|
55 |
"frequency_penalty": 0.5,
|
56 |
"top_p": 0.5,
|
57 |
-
"extra_body": {"repetition_penalty": 0.5
|
58 |
}
|
59 |
if tools:
|
60 |
request_params.update({"tool_choice": "auto", "tools": tools})
|
|
|
54 |
"temperature": 0.4,
|
55 |
"frequency_penalty": 0.5,
|
56 |
"top_p": 0.5,
|
57 |
+
"extra_body": {"repetition_penalty": 0.5},
|
58 |
}
|
59 |
if tools:
|
60 |
request_params.update({"tool_choice": "auto", "tools": tools})
|