From c119b7bef828b9b3ff85948ddad13327242f84d7 Mon Sep 17 00:00:00 2001 From: 0007 <0007@qq.com> Date: Wed, 27 Aug 2025 19:58:04 +0800 Subject: [PATCH] Add File --- .../boot/llm/chatglm/ChatglmProperties.java | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/chatglm/ChatglmProperties.java diff --git a/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/chatglm/ChatglmProperties.java b/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/chatglm/ChatglmProperties.java new file mode 100644 index 0000000..f95a710 --- /dev/null +++ b/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/chatglm/ChatglmProperties.java @@ -0,0 +1,49 @@ +package com.agentsflex.spring.boot.llm.chatglm; + +import org.springframework.boot.context.properties.ConfigurationProperties; + +/** + * @author 王帅 + * @since 2024-04-10 + */ +@ConfigurationProperties(prefix = "agents-flex.llm.chatglm") +public class ChatglmProperties { + + private String model = "glm-4"; + private String endpoint = "https://open.bigmodel.cn"; + 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; + } + +}