(response string)
| 551 | } |
| 552 | |
| 553 | func removeFormatting(response string) string { |
| 554 | response = strings.ReplaceAll(response, "**", "*") |
| 555 | response = strings.ReplaceAll(response, "*", "\\*") |
| 556 | response = strings.ReplaceAll(response, "`", "'") |
| 557 | response = strings.ReplaceAll(response, "^", "") |
| 558 | return response |
| 559 | } |
| 560 | |
| 561 | const enterpriseChunkLength = 12 |
| 562 |