Prompt history: list preview shows the message as written, not the engine's time line (#660)
Version 0.1.13. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -207,6 +207,7 @@ public sealed class PromptHistoryTests : IDisposable
|
||||
t.AgentId.ShouldBe("wetterdienst");
|
||||
t.Entries.Select(e => e.Kind).ShouldBe(["user", "assistant", "tool_result", "assistant"]);
|
||||
t.Entries[0].Text.ShouldContain("Wie ist das Wetter?");
|
||||
items.Single().Prompt.ShouldBe("Wie ist das Wetter?", "the list shows the message, not the time line the engine adds");
|
||||
t.Entries[2].Text.ShouldNotBeNull().ShouldContain("18 °C", Case.Sensitive, "stored as the model saw it, frame included");
|
||||
t.Entries[3].Text.ShouldBe("Es sind 18 °C.");
|
||||
(await _store.GetSystemPromptAsync(t.SystemPromptHash!, default)).ShouldNotBeNull().ShouldContain("wetterdienst");
|
||||
|
||||
Reference in New Issue
Block a user