fix error async

This commit is contained in:
Chuck1sn
2025-05-21 15:33:52 +08:00
parent 3bc65d2df4
commit fa4d790e81
9 changed files with 78 additions and 41 deletions

View File

@@ -4,7 +4,7 @@ import { http, HttpResponse } from "msw";
export default [
http.post("/ai/chat", () => {
const response = HttpResponse.json({
message: faker.lorem.sentence(1000),
message: faker.lorem.sentence({ min: 100, max: 300 }),
});
return response;
}),