9um3yhdu commited on
Commit
ba9e5b2
·
verified ·
1 Parent(s): 814ba4e

Update main.go

Browse files
Files changed (1) hide show
  1. main.go +1 -1
main.go CHANGED
@@ -199,7 +199,7 @@ func handleChat(w http.ResponseWriter, r *http.Request) {
199
  return "", fmt.Errorf("创建请求失败: %v", err)
200
  }
201
  req.Header.Set("Content-Type", "application/json")
202
- req.Header.Set("Authorization", "Bearer pearapifreechat")
203
 
204
  client := &http.Client{}
205
  resp, err := client.Do(req)
 
199
  return "", fmt.Errorf("创建请求失败: %v", err)
200
  }
201
  req.Header.Set("Content-Type", "application/json")
202
+ req.Header.Set("Authorization", "Bearer sk-2b0fb98d9fcff00c26b753bfcfe2c60b")
203
 
204
  client := &http.Client{}
205
  resp, err := client.Do(req)