Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,9 +66,15 @@ async def main(message: cl.Message):
|
|
| 66 |
response = client.chat.completions.create(
|
| 67 |
model=MODEL_ID,
|
| 68 |
messages=message_history,
|
|
|
|
|
|
|
|
|
|
| 69 |
stream=True,
|
| 70 |
-
|
|
|
|
| 71 |
)
|
|
|
|
|
|
|
| 72 |
|
| 73 |
# NOVO: Exibe o log da resposta bruta no console para depuração.
|
| 74 |
print("--- RESPOSTA BRUTA DA API GROQ ---")
|
|
|
|
| 66 |
response = client.chat.completions.create(
|
| 67 |
model=MODEL_ID,
|
| 68 |
messages=message_history,
|
| 69 |
+
temperature=1,
|
| 70 |
+
max_completion_tokens=1024,
|
| 71 |
+
top_p=1,
|
| 72 |
stream=True,
|
| 73 |
+
stop=None,
|
| 74 |
+
compound_custom={"tools":{"enabled_tools":["web_search","code_interpreter","visit_website"]}}
|
| 75 |
)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
|
| 79 |
# NOVO: Exibe o log da resposta bruta no console para depuração.
|
| 80 |
print("--- RESPOSTA BRUTA DA API GROQ ---")
|