BrianIsaac commited on
Commit
e7fa673
·
1 Parent(s): a369aa6

fix: show full AI synthesis text without truncation

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. backend/theme.py +1 -1
app.py CHANGED
@@ -2308,7 +2308,7 @@ def create_interface() -> gr.Blocks:
2308
  holdings_str = ", ".join([h.get("ticker", "?") for h in record.get("holdings_snapshot", [])])
2309
 
2310
  # Truncate AI synthesis for preview
2311
- synthesis_preview = record.get("ai_synthesis", "")[:100] + "..."
2312
 
2313
  rows.append([
2314
  str(i), # Row index for selection
@@ -2430,7 +2430,7 @@ def create_interface() -> gr.Blocks:
2430
  rows = []
2431
  for i, record in enumerate(page_items, start=start_idx):
2432
  holdings_str = ", ".join([h.get("ticker", "?") for h in record.get("holdings_snapshot", [])])
2433
- synthesis_preview = record.get("ai_synthesis", "")[:100] + "..."
2434
 
2435
  rows.append([
2436
  str(i), # Global index for selection
 
2308
  holdings_str = ", ".join([h.get("ticker", "?") for h in record.get("holdings_snapshot", [])])
2309
 
2310
  # Truncate AI synthesis for preview
2311
+ synthesis_preview = record.get("ai_synthesis", "")
2312
 
2313
  rows.append([
2314
  str(i), # Row index for selection
 
2430
  rows = []
2431
  for i, record in enumerate(page_items, start=start_idx):
2432
  holdings_str = ", ".join([h.get("ticker", "?") for h in record.get("holdings_snapshot", [])])
2433
+ synthesis_preview = record.get("ai_synthesis", "")
2434
 
2435
  rows.append([
2436
  str(i), # Global index for selection
backend/theme.py CHANGED
@@ -249,7 +249,7 @@ textarea:focus {
249
  /* Data tables */
250
  .dataframe {
251
  border-radius: 6px;
252
- overflow: hidden;
253
  }
254
 
255
  .dataframe th {
 
249
  /* Data tables */
250
  .dataframe {
251
  border-radius: 6px;
252
+ overflow: visible;
253
  }
254
 
255
  .dataframe th {