Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -82,8 +82,6 @@ Only produce the summary after fully reading and understanding the input text.
|
|
82 |
#"frequency_penalty": 0.2,
|
83 |
"extra_body": {"repetition_penalty": 1.1},
|
84 |
}
|
85 |
-
if tools:
|
86 |
-
request_params.update({"tool_choice": "auto", "tools": tools})
|
87 |
|
88 |
return client.chat.completions.create(**request_params)
|
89 |
|
|
|
82 |
#"frequency_penalty": 0.2,
|
83 |
"extra_body": {"repetition_penalty": 1.1},
|
84 |
}
|
|
|
|
|
85 |
|
86 |
return client.chat.completions.create(**request_params)
|
87 |
|