fix: wrong path to fonts#34
Conversation
Summary by BeetleThis PR fixes an incorrect font directory path in the visual card generation modules. The issue was that the path to the fonts directory was missing one level of directory traversal ( 📁 File Changes Summary (Consolidated across all commits):
Total Changes: 2 files changed, +2 additions, -2 deletions 🗺️ Walkthrough:graph TD
A["Visual Card Modules (statsCard.ts, usageCard.ts)"]
B["Calculate __dirname (src/visuals/)"]
C["OLD PATH: ../assets/fonts"]
D["NEW PATH: ../../assets/fonts"]
E["Fonts Directory (assets/fonts/)"]
F["Font Registration Success"]
G["Font Loading Failure"]
A --> B
B --> C
B --> D
C -->|"Incorrect"| G
D -->|"Correct"| E
E --> F
N1["The old path resolved to src/assets/fonts (wrong)"]
N2["The new path resolves to assets/fonts (correct)"]
C -.-> N1
D -.-> N2
style C fill:#ffcccc
style D fill:#ccffcc
style G fill:#ff9999
style F fill:#99ff99
🎯 Key Changes:
📊 Impact Assessment:
⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
✅ You're good to merge this PR! No issues found. Great job! Settings⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
Note Linting checks passed successfully 🎉 All formatting and code quality checks are clean. You're good to merge 🚀 |
Summary by BeetleThis PR fixes a bug in the text formatting utility where em dashes (—) were not being properly replaced with hyphens when surrounded by spaces. The fix ensures that spaced em dashes are converted to spaced hyphens before falling back to the general em dash replacement, improving the consistency of text output formatting. 📁 File Changes Summary (Consolidated across all commits):
Total Changes: 1 file changed, +1 addition, -1 deletion 🎯 Key Changes:
📊 Impact Assessment:
⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
✅ You're good to merge this PR! No issues found. Great job! Settings⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
Note Linting checks passed successfully 🎉 All formatting and code quality checks are clean. You're good to merge 🚀 |
Summary by BeetleThis PR fixes a critical bug in the AI conversation system where vision support (image analysis) was broken when using conversation history. Previously, when a user sent an image with conversation context, the system would incorrectly pass only the text question instead of the complete content blocks (which include both text and image data), causing vision requests to fail or ignore the image. The fix ensures that when an image is present, the full content blocks are passed to the AI model, while text-only questions continue to work as before. 📁 File Changes Summary (Consolidated across all commits):
Total Changes: 1 file changed, +11 additions, -2 deletions 🎯 Key Changes:
📊 Impact Assessment:
⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
✅ You're good to merge this PR! No issues found. Great job! Settings⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
Note Linting checks passed successfully 🎉 All formatting and code quality checks are clean. You're good to merge 🚀 |
Summary by BeetleThis PR refines the bot's system prompts to improve response quality and user experience. The changes focus on making tool usage more transparent, adding structured attribution information, streamlining the personality model, and fixing a tool reference inconsistency. The overall goal is to reduce unwanted meta-commentary about tool usage while maintaining the bot's casual, helpful personality. 📁 File Changes Summary (Consolidated across all commits):
Total Changes: 4 files changed, +14 additions, -8 deletions 🗺️ Walkthrough:graph TD
A["System Prompt Assembly"] --> B["Base Instructions"]
A --> C["Tool Guidelines"]
A --> D["Persona Definition"]
A --> E["Attribution Info"]
B --> B1["Concise format rules"]
B --> B2["Discord moderation policy"]
C --> C1["Silent tool usage"]
C --> C2["No meta-commentary"]
C3["Web search preferences"]
C4["Reaction tool: 'react'"]
C --> C3
C --> C4
D --> D1["MODE SWITCH logic"]
D --> D2["Casual vs Help mode"]
D1 -.->|"Help request"| D3["Full answers, normal grammar"]
D1 -.->|"Casual chat"| D4["Short, lowercase, minimal"]
E --> E1["Project credits"]
E --> E2["Creator attribution"]
E --> E3["Tech stack info"]
E --> E4["License & bug reporting"]
style C2 fill:#90EE90
style E fill:#FFD700
style D1 fill:#87CEEB
🎯 Key Changes:
📊 Impact Assessment:
⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
Note Linting checks passed successfully 🎉 All formatting and code quality checks are clean. You're good to merge 🚀 |
|
✅ You're good to merge this PR! No issues found. Great job! Settings⚙️ SettingsSeverity Threshold: 📖 User Guide
|
No description provided.