Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
This commit was merged in pull request #60.
This commit is contained in:
@@ -117,7 +117,9 @@ func TestRunSendsLayeredPrompt(t *testing.T) {
|
||||
var f llm.Fake
|
||||
f.QueueGenerate(reply(`{"echo":"taco"}`))
|
||||
in := echoInput{Word: "Taco", Context: tacoContext}
|
||||
if _, err := Run(context.Background(), Config{Provider: &f, Persona: persona}, echoSkill{}, in); err != nil {
|
||||
cfg := testConfig(t, &f)
|
||||
cfg.Persona = persona
|
||||
if _, err := Run(context.Background(), cfg, echoSkill{}, in); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
req := assertCalls(t, &f, 1)[0]
|
||||
|
||||
Reference in New Issue
Block a user