【代码评审】AI:写作部分的建议

This commit is contained in:
YunaiV
2024-07-10 12:59:21 +08:00
parent f3a6ba8349
commit 4c21ae32fe
3 changed files with 17 additions and 13 deletions

View File

@ -10,15 +10,16 @@ import org.junit.jupiter.api.Test;
import java.util.Map;
// TODO @fan改成 TongYiImagesModel 哈
/**
* 通义万象 - 测试
* 通义万象
*/
public class TongYiImagesModelTests {
@Test
public void imageCallTest() throws NoApiKeyException {
// 设置 api key
Constants.apiKey="sk-Zsd81gZYg7";
Constants.apiKey = "sk-Zsd81gZYg7";
ImageSynthesisParam param =
ImageSynthesisParam.builder()
.model(ImageSynthesis.Models.WANX_V1)