This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SmartAssistant/bidi-table/bidi-table.md
T
chaim 3c6e54d233 fix: increase chat timeout from 120s to 180s to prevent tool call timeouts
Long operations like generate_initial_report were completing successfully
but the frontend showed "communication error" due to AJAX timeout. Increased
CURL timeout to 180s and frontend AJAX timeout to 180s (3 minutes).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:40:57 +00:00

1.3 KiB

יצירת טבלה מעוצבת עם תמיכה מלאה בעברית ואנגלית מעורבת.

כאשר המשתמש מבקש טבלה בכל הקשר — תכנית עבודה, סיכום, השוואה, רשימה — השתמש בפונקציה bidi_table() מ-scripts/bidi_table.py.

הוראות

  1. תמיד השתמש ב-Bash כדי להריץ את הסקריפט — אל תנסה לייצר טבלת box-drawing ידנית כי ה-BiDi ישבור אותה.

  2. הרץ כך:

python3 -c "
import sys; sys.path.insert(0, '/home/chaim/legal-ai')
from scripts.bidi_table import bidi_table
print(bidi_table(
    ['Header1', 'Header2', 'Header3'],
    [
        ['value1', 'ערך בעברית', 'mixed ערבוב'],
        ['value2', 'ערך נוסף', 'עוד שורה'],
    ],
))
"
  1. כותרות עמודות — עדיף באנגלית (כי שורת הכותרת הכי רגישה ל-BiDi).

  2. תוכן בעברית, באנגלית, או מעורב — הכל עובד בגוף הטבלה.

  3. אם המשתמש מבקש טבלה כחלק ממסמך MD שנכתב לקובץ (לא לטרמינל) — אפשר להשתמש ב-markdown רגיל כי קוראי MD מטפלים ב-RTL בעצמם.

$ARGUMENTS

תוכן הטבלה — כותרות ושורות. אם לא צוין, שאל את המשתמש מה להציג.