Skip to content

Commit

Permalink
Update ChatBotV2.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjiakai committed Jul 22, 2023
1 parent c5cf659 commit 222bd42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/chatgpt/ChatBotV2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ const createCompletion = async () => {
"https://baixiang.yunrobot.cn/v1/chat/completions",
// "https://api.openai.com/v1/chat/completions",
{
// headers: {
// "Content-Type": "application/json",
// Authorization: `Bearer ${chatGPTStore.getApiKey}`,
// },
headers: {
"Content-Type": "application/json",
// Authorization: `Bearer ${chatGPTStore.getApiKey}`,
},
method: "POST",
body: JSON.stringify({
messages: requestMessages.value,
Expand Down

0 comments on commit 222bd42

Please sign in to comment.