Skip to content

Feature improve tg msg parsing#85

Merged
dan-kur merged 4 commits intomainfrom
feature-improve-tg-msg-parsing
Feb 19, 2025
Merged

Feature improve tg msg parsing#85
dan-kur merged 4 commits intomainfrom
feature-improve-tg-msg-parsing

Conversation

@dan-kur
Copy link
Contributor

@dan-kur dan-kur commented Feb 18, 2025

The telegram_bot client has been assuming that all agent responses are parseable as markdown, despite there being no such instructions to the agent. This leads to parsing errors such as Error processing message: Can't parse entities: can't find end of the entity starting at byte offset... or unintended formatting of agent responses.

The refactoring removes the constraint of markdown parsing for general agent responses, while keeping it for telegram commands such as /help and the SendTelegramNotificationTool.

@dan-kur dan-kur requested review from aflament and gkoch78 February 18, 2025 21:56
@dan-kur dan-kur merged commit d6dbaba into main Feb 19, 2025
2 checks passed
@dan-kur dan-kur deleted the feature-improve-tg-msg-parsing branch February 19, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants