Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ class SlpMultiAgent:
|
|
| 28 |
|
| 29 |
# Truncate question to avoid exceeding model context length
|
| 30 |
MAX_QUESTION_LENGTH = 1000
|
| 31 |
-
short_question = question
|
| 32 |
|
| 33 |
# Use GPT-4o model with larger context window
|
| 34 |
model = OpenAIServerModel(
|
|
|
|
| 28 |
|
| 29 |
# Truncate question to avoid exceeding model context length
|
| 30 |
MAX_QUESTION_LENGTH = 1000
|
| 31 |
+
short_question = question[:MAX_QUESTION_LENGTH]
|
| 32 |
|
| 33 |
# Use GPT-4o model with larger context window
|
| 34 |
model = OpenAIServerModel(
|