🔧Chore: 补充部分注释、综合优化修改

This commit is contained in:
2025-10-26 10:27:23 +08:00
parent df4a138159
commit de0d0060c6
11 changed files with 67 additions and 12 deletions
@@ -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, "根据背景给出春天的特点,不需要输出背景以外的信息"));
}
}