it0/it0_app/lib
hailin 2a87dd346e fix: send empty JSON body to voice session endpoint (fixes 422)
FastAPI 的 create_session 端点声明了 Pydantic request body
(CreateSessionRequest),虽然所有字段都有默认值,但 FastAPI
仍要求请求包含有效 JSON body(至少 {})。Flutter 端 dio.post
未传 data 参数导致 Content-Type 缺失,FastAPI 返回 422
Unprocessable Entity。修复:添加 data: {} 发送空 JSON 对象。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 21:21:48 -08:00
..
core fix: use IOWebSocketChannel for headers support 2026-02-23 16:45:35 -08:00
features fix: send empty JSON body to voice session endpoint (fixes 422) 2026-02-23 21:21:48 -08:00
app.dart feat: 完成 iAgent App 三大功能 + 修复租户上下文 2026-02-23 01:10:52 -08:00
main.dart fix: 根治 Unhandled Exception — async void 拦截器 + 全局错误兜底 2026-02-23 04:37:39 -08:00