diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index bc06942d..5891057b 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -945,7 +945,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' headers: { ["Host"]: host, ["content-type"]: "application/json", - ["accept"]: "*/*", + ["accept"]: "application/json", "anthropic-version": "2023-06-01", }, body: JSON.stringify(params), @@ -968,7 +968,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' headers: { ["Host"]: host, ["content-type"]: "application/json", - ["accept"]: "*/*", + ["accept"]: "application/json", "anthropic-version": "2023-06-01", }, useRisuToken: true