🔧Chore: 补充部分注释、综合优化修改
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.wonderland.stardewvalley.ai;
|
||||
|
||||
import com.wonderland.stardewvalley.constant.BackGroundConstant;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
@SpringBootTest
|
||||
class ChatUtilTest {
|
||||
|
||||
@Resource
|
||||
private ChatUtil chatUtil;
|
||||
|
||||
@Test
|
||||
void doChat() {
|
||||
System.out.println(chatUtil.doChat(BackGroundConstant.BACKGROUND_SPRING + BackGroundConstant.BACKGROUND_SPRING_DESCRIPTION, "根据背景给出春天的特点,不需要输出背景以外的信息"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user