From 5ac9b96e2b4ff8dd389e718375c108a1aea7c1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com>
Date: Sat, 14 Oct 2023 16:27:42 +0800
Subject: [PATCH] =?UTF-8?q?docs=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=96=87?=
=?UTF-8?q?=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
pom.xml | 8 ++++----
src/test/java/cn/bugstack/chatglm/test/ApiTest.java | 3 ++-
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index a00b401..9c3d95a 100644
--- a/README.md
+++ b/README.md
@@ -204,7 +204,7 @@ chatglm:
# 官网地址
api-host: https://open.bigmodel.cn/
# 官网申请 https://open.bigmodel.cn/usercenter/apikeys
- api-key: 4e087e4135306ef4a676f0cce3cee560.sgP2DUs*****
+ api-secret-key: 4e087e4135306ef4a676f0cce3cee560.sgP2DUs*****
```
---
diff --git a/pom.xml b/pom.xml
index 10292a5..a40c346 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,16 +14,16 @@
- MIT License
- https://www.opensource.org/licenses/mit-license.php
+ Apache License
+ https://opensource.org/license/apache-2-0/
repo
- Southeast
- Southeast
+ Xiaofuge
+ Xiaofuge
184172133@qq.com
https://github.com/fuzhengwei
chatglm ai
diff --git a/src/test/java/cn/bugstack/chatglm/test/ApiTest.java b/src/test/java/cn/bugstack/chatglm/test/ApiTest.java
index ff7e8ed..2c91cd3 100644
--- a/src/test/java/cn/bugstack/chatglm/test/ApiTest.java
+++ b/src/test/java/cn/bugstack/chatglm/test/ApiTest.java
@@ -78,6 +78,7 @@ public class ApiTest {
public void onClosed(EventSource eventSource) {
log.info("对话完成");
}
+
});
// 等待
@@ -89,7 +90,7 @@ public class ApiTest {
// 1. 配置文件
Configuration configuration = new Configuration();
configuration.setApiHost("https://open.bigmodel.cn/");
- configuration.setApiSecretKey("4e087e4135306ef4a676f0cce3cee560.sgP2DUs******");
+ configuration.setApiSecretKey("4e087e4135306ef4a676f0cce3cee560.sgP2DUsWEVPxk0UI");
// 2. 获取Token
String token = BearerTokenUtils.getToken(configuration.getApiKey(), configuration.getApiSecret());
--
GitLab