feat: refactor frontend and fix LLM extraction

- Fix critical await bug in extract-stream endpoint
- Add comprehensive logging to LLM and parser modules
- Implement fallback to standard completion for incompatible models
- Create enhanced v2.0 prompts with social media handling and few-shot examples
- Add LLM health check endpoint
- Decompose share page into 6 focused Svelte 5 snippets

Resolves LM Studio integration issues and improves code maintainability
This commit is contained in:
Giancarmine Salucci
2025-12-21 03:49:33 +01:00
parent 377bdbf6d7
commit da58263aba
9 changed files with 2104 additions and 56 deletions

View File

@@ -5,7 +5,7 @@
"value": "SDRORLyWEsWWty2ZoVGdER",
"domain": ".instagram.com",
"path": "/",
"expires": 1800843039.107498,
"expires": 1800844170.041161,
"httpOnly": false,
"secure": true,
"sameSite": "Lax"
@@ -45,7 +45,7 @@
"value": "59661903731",
"domain": ".instagram.com",
"path": "/",
"expires": 1774059039.107614,
"expires": 1774060170.041253,
"httpOnly": false,
"secure": true,
"sameSite": "None"
@@ -55,7 +55,7 @@
"value": "1280x720",
"domain": ".instagram.com",
"path": "/",
"expires": 1766887840,
"expires": 1766888970,
"httpOnly": false,
"secure": true,
"sameSite": "Lax"
@@ -72,7 +72,7 @@
},
{
"name": "rur",
"value": "\"CLN\\05459661903731\\0541797819039:01fe28e2455d3332e6b17b2bc588f404f1f9056dfb4f1d9331c65ff70a8fbeff6d61e46d\"",
"value": "\"CLN\\05459661903731\\0541797820170:01fe4d06c032b2dd69a9371e780f6df9e7e3f17ddb2a68bcd030ca4ae9cbb7966e80fd2d\"",
"domain": ".instagram.com",
"path": "/",
"expires": -1,
@@ -87,7 +87,7 @@
"localStorage": [
{
"name": "chatd-deviceid",
"value": "71f934a8-57bf-4e57-84e5-1653d25861b8"
"value": "8e16ee41-8d6a-4ad5-a954-6f0f2f7e8658"
},
{
"name": "hb_timestamp",
@@ -95,11 +95,11 @@
},
{
"name": "IGSession",
"value": "6m2tlb:1766284840183"
"value": "6m2tlb:1766285970158"
},
{
"name": "mutex_polaris_banzai",
"value": "64jcir:1766283041182"
"value": "63u12u:1766284171158"
},
{
"name": "pixel_fire_ts",
@@ -111,7 +111,7 @@
},
{
"name": "Session",
"value": "7e087y:1766283075183"
"value": "dcug3n:1766284205158"
},
{
"name": "has_interop_upgraded",
@@ -119,7 +119,7 @@
},
{
"name": "mutex_banzai",
"value": "64jcir:1766283041182"
"value": "63u12u:1766284171158"
},
{
"name": "banzai:last_storage_flush",