Skip to content

Commit 2f4a0b4

Browse files
author
Piotr Stachaczynski
committed
fix: redirect messages now propagate state correctly
1 parent d17c09f commit 2f4a0b4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Releases/0.2.9.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 0.2.9 release
2+
3+
Hotfix - redirect messages were not processed properly

src/MaIN.Core/.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>MaIN.NET</id>
5-
<version>0.2.8</version>
5+
<version>0.2.9</version>
66
<authors>Wisedev</authors>
77
<owners>Wisedev</owners>
88
<icon>favicon.png</icon>

src/MaIN.Services/Services/Steps/Commands/RedirectCommandHandler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public class RedirectCommandHandler(IAgentService agentService) : ICommandHandle
1717
Content = command.Message.Content,
1818
Properties = new Dictionary<string, string>()
1919
{
20-
{ "agent_internal", "true" }
20+
{ "agent_internal", "true" },
21+
{ Message.UnprocessedMessageProperty, string.Empty}
2122
},
2223
Type = chat.Backend != BackendType.Self ? MessageType.CloudLLM : MessageType.LocalLLM
2324
});

0 commit comments

Comments
 (0)