blackxer
```bash lastError: E [AI_APICallError]: Cannot connect to API: Headers Timeout Error at Q (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/9761.js:1:9221) at async v.doGenerate (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/7492.js:1:5814) at async fn (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/9761.js:9:31232) at async /app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/9761.js:5:18813 at async B (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/9761.js:5:16643) at async fn (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/9761.js:9:30355) at async /app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/9761.js:5:18813 at async s.chat (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/565.js:1:835) at async h._callClientMethod (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/4928.js:1:5270) at async h.getResponse (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/4928.js:1:6203) at async y (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/chunks/249.js:340:3588) at async d (/app/grizzly/ly/workspaces/unsloth/easy-dataset/.next/server/app/api/projects/[projectId]/chunks/[chunkId]/questions/route.js:1:1205) at async /app/grizzly/ly/workspaces/unsloth/easy-dataset/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:38411 at async e_.execute (/app/grizzly/ly/workspaces/unsloth/easy-dataset/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:27880) at async e_.handle (/app/grizzly/ly/workspaces/unsloth/easy-dataset/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:39943) at async doRender (/app/grizzly/ly/workspaces/unsloth/easy-dataset/node_modules/next/dist/server/base-server.js:1366:42) { cause: HeadersTimeoutError: Headers Timeout Error at FastTimer.onParserTimeout [as _onTimeout] (node:internal/deps/undici/undici:7717:32) at Timeout.onTick [as _onTimeout] (node:internal/deps/undici/undici:731:17) at listOnTimeout (node:internal/timers:685:17) at process.processTimers (node:internal/timers:618:7) { code: 'UND_ERR_HEADERS_TIMEOUT' }, ``` 输入长文本时,大模型接口调用很容易超时,可以将代码里所有的 chat 方法都换成 chatstream 方法吗,统一都使用流式接口,防止首 token 响应超时的问题