Commit 0235374
committed
fix(telegram): enable file attachments in final answers + update domain
- Make sendMedia handler fall back to SendDocument for unknown media types (zip, csv, pdf, etc.)
- Add explicit file attachment instructions to Telegram system prompt (MEDIA:document:/path)
- Update odek website URL from kode.21no.de → odek.21no.de in defaultSystem + Quick Facts
- Update test to validate document fallback instead of error1 parent c2f4088 commit 0235374
4 files changed
Lines changed: 23 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
452 | 453 | | |
453 | | - | |
| 454 | + | |
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | 1089 | | |
1095 | 1090 | | |
1096 | 1091 | | |
| 1092 | + | |
1097 | 1093 | | |
1098 | | - | |
1099 | | - | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1100 | 1097 | | |
1101 | 1098 | | |
1102 | | - | |
1103 | | - | |
| 1099 | + | |
| 1100 | + | |
1104 | 1101 | | |
1105 | 1102 | | |
1106 | 1103 | | |
| |||
0 commit comments