Update pkg/utils/message.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
98afd39913
commit
0d6b22fb3a
1 changed files with 0 additions and 2 deletions
|
|
@ -9,8 +9,6 @@ import (
|
||||||
// but may extend to maxLen when needed.
|
// but may extend to maxLen when needed.
|
||||||
// Call SplitMessage with the full text content and the maximum allowed length of a single message;
|
// Call SplitMessage with the full text content and the maximum allowed length of a single message;
|
||||||
// it returns a slice of message chunks that each respect maxLen and avoid splitting fenced code blocks.
|
// it returns a slice of message chunks that each respect maxLen and avoid splitting fenced code blocks.
|
||||||
// Call SplitMessage with the full text content and the maximum allowed length of a single message;
|
|
||||||
// it returns a slice of message chunks that each respect maxLen and avoid splitting fenced code blocks.
|
|
||||||
func SplitMessage(content string, maxLen int) []string {
|
func SplitMessage(content string, maxLen int) []string {
|
||||||
var messages []string
|
var messages []string
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue