Update src/database.py
Browse files- src/database.py +2 -1
src/database.py
CHANGED
|
@@ -114,7 +114,8 @@ class SupabaseClient:
|
|
| 114 |
"""Retrieve full conversation history for a given consultation ID."""
|
| 115 |
params = {
|
| 116 |
"consultation_id": f"eq.{consultation_id}",
|
| 117 |
-
"order": "timestamp.asc"
|
|
|
|
| 118 |
}
|
| 119 |
|
| 120 |
try:
|
|
|
|
| 114 |
"""Retrieve full conversation history for a given consultation ID."""
|
| 115 |
params = {
|
| 116 |
"consultation_id": f"eq.{consultation_id}",
|
| 117 |
+
"order": "timestamp.asc",
|
| 118 |
+
"limit": "25" # Explicitly set a high limit for messages - 10000, if needed.
|
| 119 |
}
|
| 120 |
|
| 121 |
try:
|