diff --git a/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/qwen/QwenProperties.java b/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/qwen/QwenProperties.java new file mode 100644 index 0000000..84c4c51 --- /dev/null +++ b/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/qwen/QwenProperties.java @@ -0,0 +1,49 @@ +package com.agentsflex.spring.boot.llm.qwen; + +import org.springframework.boot.context.properties.ConfigurationProperties; + +/** + * @author 王帅 + * @since 2024-04-10 + */ +@ConfigurationProperties(prefix = "agents-flex.llm.qwen") +public class QwenProperties { + + private String model = "qwen-turbo"; + private String endpoint = "https://dashscope.aliyuncs.com"; + private String apiKey; + private String apiSecret; + + public String getModel() { + return model; + } + + public void setModel(String model) { + this.model = model; + } + + public String getEndpoint() { + return endpoint; + } + + public void setEndpoint(String endpoint) { + this.endpoint = endpoint; + } + + public String getApiKey() { + return apiKey; + } + + public void setApiKey(String apiKey) { + this.apiKey = apiKey; + } + + public String getApiSecret() { + return apiSecret; + } + + public void setApiSecret(String apiSecret) { + this.apiSecret = apiSecret; + } + +}