Update src/ingestion.py
Browse files- src/ingestion.py +1 -1
src/ingestion.py
CHANGED
|
@@ -130,7 +130,7 @@ def adaptive_fallback_toc(text: str, model_name: str = "gpt-4o"):
|
|
| 130 |
This ensures consistent credentials, no manual token handling, and safe reuse
|
| 131 |
of your existing GEN AI HUB PROXY.json configuration.
|
| 132 |
"""
|
| 133 |
-
snippet = text[:7000] # ✅ Simple
|
| 134 |
|
| 135 |
creds = {}
|
| 136 |
base_url = ""
|
|
|
|
| 130 |
This ensures consistent credentials, no manual token handling, and safe reuse
|
| 131 |
of your existing GEN AI HUB PROXY.json configuration.
|
| 132 |
"""
|
| 133 |
+
snippet = text[:7000] # ✅ Simple, fast fallback — first 7000 chars only
|
| 134 |
|
| 135 |
creds = {}
|
| 136 |
base_url = ""
|