[feat] aws accept json
This commit is contained in:
@@ -945,7 +945,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
|
|||||||
headers: {
|
headers: {
|
||||||
["Host"]: host,
|
["Host"]: host,
|
||||||
["content-type"]: "application/json",
|
["content-type"]: "application/json",
|
||||||
["accept"]: "*/*",
|
["accept"]: "application/json",
|
||||||
"anthropic-version": "2023-06-01",
|
"anthropic-version": "2023-06-01",
|
||||||
},
|
},
|
||||||
body: JSON.stringify(params),
|
body: JSON.stringify(params),
|
||||||
@@ -968,7 +968,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
|
|||||||
headers: {
|
headers: {
|
||||||
["Host"]: host,
|
["Host"]: host,
|
||||||
["content-type"]: "application/json",
|
["content-type"]: "application/json",
|
||||||
["accept"]: "*/*",
|
["accept"]: "application/json",
|
||||||
"anthropic-version": "2023-06-01",
|
"anthropic-version": "2023-06-01",
|
||||||
},
|
},
|
||||||
useRisuToken: true
|
useRisuToken: true
|
||||||
|
|||||||
Reference in New Issue
Block a user