Skip to content

Commit a8a5a45

Browse files
committed
adapt unit tests
1 parent 9d0f22d commit a8a5a45

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Tests/Runtime/TestLLM.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ public override void SetParameters()
566566
reply1 = "Sure! Here's a fun fact: Ants work together to build complex structures like nests, even though they don't have a brain.";
567567
if (Application.platform == RuntimePlatform.LinuxEditor || Application.platform == RuntimePlatform.LinuxPlayer)
568568
{
569-
reply2 = "Sure! Here's a fun fact: Ants work together to build complex structures like nests, even though they don't have a brain.";
569+
reply2 = "Sure! Here's a fun fact: Ants work together to build complex structures like nests, which is a fascinating example of teamwork.";
570570
}
571571
}
572572

@@ -592,5 +592,14 @@ public override LLM CreateLLM()
592592
llm.flashAttention = true;
593593
return llm;
594594
}
595+
596+
public override void SetParameters()
597+
{
598+
base.SetParameters();
599+
if (Application.platform == RuntimePlatform.LinuxEditor || Application.platform == RuntimePlatform.LinuxPlayer)
600+
{
601+
reply2 = "Sure! Here's a fun fact: Ants work together to build complex structures like nests, even though they don't have human-like intelligence.";
602+
}
603+
}
595604
}
596605
}

0 commit comments

Comments
 (0)