Update app.py
Browse files
app.py
CHANGED
|
@@ -38,10 +38,10 @@ def generate_with_history(input_text, history):
|
|
| 38 |
|
| 39 |
try:
|
| 40 |
response = client.chat.completions.create(
|
| 41 |
-
model="openai/gpt-oss-
|
| 42 |
messages=messages,
|
| 43 |
temperature=0.7,
|
| 44 |
-
max_tokens=
|
| 45 |
tool_choice="required",
|
| 46 |
tools=[
|
| 47 |
{
|
|
|
|
| 38 |
|
| 39 |
try:
|
| 40 |
response = client.chat.completions.create(
|
| 41 |
+
model="openai/gpt-oss-20b", # or "llama-3.1-70b-versatile", "mixtral-8x7b-32768", etc.
|
| 42 |
messages=messages,
|
| 43 |
temperature=0.7,
|
| 44 |
+
max_tokens=8192,
|
| 45 |
tool_choice="required",
|
| 46 |
tools=[
|
| 47 |
{
|