Commit 4c5aaf7
committed
fix(agent-runner): deliver assistant text as fallback when model skips message tool
When sourceReplyDeliveryMode is message_tool_only (default for Telegram
group chats), model responses were silently dropped if the model generated
text without calling the message tool. Mark those payloads for fallback
delivery so the user always sees the response.1 parent 3bc728e commit 4c5aaf7
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1903 | 1903 | | |
1904 | 1904 | | |
1905 | 1905 | | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
1906 | 1931 | | |
1907 | 1932 | | |
1908 | 1933 | | |
| |||
0 commit comments