Skip to main content

Module chat_bot

Module chat_bot 

Source
Expand description

Drive a real ChatBot in a test. Port of wabot-ts/src/testing/chatBotHarness.ts.

Structs§

ChatBotHarness
Runs the real chat stack — real MindsetOperator, real system prompt, real tool loop with argument validation — against an in-RAM memory and a scriptable adapter.
ChatBotHarnessBuilder
ChatTurn
Everything the bot did in response to one message.

Traits§

IntoChatMessage
So send("hola") works as well as send(ChatMessage { … }).