mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 13:46:37 +08:00
thay doi alibaba module mac dinh - chebichat
This commit is contained in:
parent
861d854e16
commit
4aaa9db666
@ -10,7 +10,7 @@ export async function handle(
|
|||||||
req: NextRequest,
|
req: NextRequest,
|
||||||
{ params }: { params: { path: string[] } },
|
{ params }: { params: { path: string[] } },
|
||||||
) {
|
) {
|
||||||
console.log("[Alibaba Route] params ", params);
|
// console.log("[Alibaba Route] params ", params);
|
||||||
|
|
||||||
if (req.method === "OPTIONS") {
|
if (req.method === "OPTIONS") {
|
||||||
return NextResponse.json({ body: "OK" }, { status: 200 });
|
return NextResponse.json({ body: "OK" }, { status: 200 });
|
||||||
|
@ -174,7 +174,7 @@ export class QwenApi implements LLMApi {
|
|||||||
// Parse the JSON response
|
// Parse the JSON response
|
||||||
const json = JSON.parse(text);
|
const json = JSON.parse(text);
|
||||||
|
|
||||||
// console.log("[Alibaba] SSE response", json);
|
console.log("[Alibaba] SSE response", json);
|
||||||
|
|
||||||
// Extract content from the new structure
|
// Extract content from the new structure
|
||||||
const output = json.output;
|
const output = json.output;
|
||||||
|
Loading…
Reference in New Issue
Block a user