From d66ac57109ccab198d4ec45a5520d8e79b245212 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Thu, 29 Aug 2024 10:59:13 +0800 Subject: [PATCH] refactor(up): remove unused .http and .json files Deleted unnecessary files related to HTTP requests and environment configurations that are no longer in use. This helps to clean up the repository and reduce clutter. --- .shire/http/.shire.env | 1 - .shire/http/jb/sample.http | 27 ------------------- .shire/http/jb/token.shireEnv.json | 5 ---- .../http/updateConfluence.shireRequest.bash | 12 --------- 4 files changed, 45 deletions(-) delete mode 100644 .shire/http/.shire.env delete mode 100644 .shire/http/jb/sample.http delete mode 100644 .shire/http/jb/token.shireEnv.json delete mode 100644 .shire/http/updateConfluence.shireRequest.bash diff --git a/.shire/http/.shire.env b/.shire/http/.shire.env deleted file mode 100644 index cc5fdb81..00000000 --- a/.shire/http/.shire.env +++ /dev/null @@ -1 +0,0 @@ -CONFLUENCE_URL=https://sampleUrl.atlassian.net/wiki \ No newline at end of file diff --git a/.shire/http/jb/sample.http b/.shire/http/jb/sample.http deleted file mode 100644 index bd840f47..00000000 --- a/.shire/http/jb/sample.http +++ /dev/null @@ -1,27 +0,0 @@ -### BigModel - -# curl --location 'https://open.bigmodel.cn/api/paas/v4/chat/completions' -#--header 'Authorization: Bearer <你的apikey>' -#--header 'Content-Type: application/json' -#--data '{ -# "model": "glm-4", -# "messages": [ -# { -# "role": "user", -# "content": "你好" -# } -# ] -#}' -POST https://open.bigmodel.cn/api/paas/v4/chat/completions -Authorization: Bearer {{apikey}} -Content-Type: application/json - -{ - "model": "glm-4", - "messages": [ - { - "role": "user", - "content": "你好" - } - ] -} diff --git a/.shire/http/jb/token.shireEnv.json b/.shire/http/jb/token.shireEnv.json deleted file mode 100644 index b77e333c..00000000 --- a/.shire/http/jb/token.shireEnv.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "development": { - "apikey": "1234" - } -} diff --git a/.shire/http/updateConfluence.shireRequest.bash b/.shire/http/updateConfluence.shireRequest.bash deleted file mode 100644 index fda8dee2..00000000 --- a/.shire/http/updateConfluence.shireRequest.bash +++ /dev/null @@ -1,12 +0,0 @@ -curl --location 'https://open.bigmodel.cn/api/paas/v4/chat/completions' \ ---header 'Authorization: Bearer <你的apikey>' \ ---header 'Content-Type: application/json' \ ---data '{ - "model": "glm-4", - "messages": [ - { - "role": "user", - "content": "你好" - } - ] -}' \ No newline at end of file