Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ async def generate_ai_response(prompt: str, model: str):
|
|
| 24 |
try:
|
| 25 |
stream = await client.chat.completions.create(
|
| 26 |
messages=[
|
| 27 |
-
{"role": "system", "content": "You are a helpful assistant
|
| 28 |
{"role": "user", "content": prompt}
|
| 29 |
],
|
| 30 |
model=model,
|
|
|
|
| 24 |
try:
|
| 25 |
stream = await client.chat.completions.create(
|
| 26 |
messages=[
|
| 27 |
+
{"role": "system", "content": "You are a helpful assistant."},
|
| 28 |
{"role": "user", "content": prompt}
|
| 29 |
],
|
| 30 |
model=model,
|