@@ -184,7 +184,7 @@ func TestWorkflow(t *testing.T) {
184184 if replySeq < 4 {
185185 assert .Equal (t , model , "model1" )
186186 assert .Equal (t , cfg .SystemInstruction , genai .NewContentFromText ("You are smarty. baz" +
187- llmOutputsInstruction , genai .RoleUser ))
187+ llmMultipleToolsInstruction + llmOutputsInstruction , genai .RoleUser ))
188188 assert .Equal (t , cfg .Temperature , genai.Ptr [float32 ](0 ))
189189 assert .Equal (t , len (cfg .Tools ), 3 )
190190 assert .Equal (t , cfg .Tools [0 ].FunctionDeclarations [0 ].Name , "tool1" )
@@ -444,7 +444,7 @@ func TestWorkflow(t *testing.T) {
444444 Name : "smarty" ,
445445 Model : "model1" ,
446446 Started : startTime .Add (4 * time .Second ),
447- Instruction : "You are smarty. baz" + llmOutputsInstruction ,
447+ Instruction : "You are smarty. baz" + llmMultipleToolsInstruction + llmOutputsInstruction ,
448448 Prompt : "Prompt: baz func-output" ,
449449 },
450450 {
@@ -586,7 +586,7 @@ func TestWorkflow(t *testing.T) {
586586 Model : "model1" ,
587587 Started : startTime .Add (4 * time .Second ),
588588 Finished : startTime .Add (17 * time .Second ),
589- Instruction : "You are smarty. baz" + llmOutputsInstruction ,
589+ Instruction : "You are smarty. baz" + llmMultipleToolsInstruction + llmOutputsInstruction ,
590590 Prompt : "Prompt: baz func-output" ,
591591 Reply : "hello, world!" ,
592592 Results : map [string ]any {
0 commit comments