it0/it0_app/lib/features/agent_call/presentation
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
..
pages fix: send empty JSON body to voice session endpoint (fixes 422) 2026-02-23 21:21:48 -08:00
providers fix: translate all remaining English UI strings to Chinese and remove dead code 2026-02-23 02:07:57 -08:00