AstrBot-Desktop/src-tauri/src/networking
YokiiroBW 809f530486
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
fix(astrbot): try the current file API before the legacy one
The server was upgraded and now routes /api/v1/files: an unknown
/api/v1 path answers 404 "Not Found" where it previously answered 401,
and both /api/v1/files/content and /api/v1/files/{id}/content answer 401
"Missing API key", which is a route that exists rather than a catch-all.

Order the candidates accordingly. By name first, since that is what a
media frame carries; by id second, because markers already written to
local history hold the id from attachment_saved and can now resolve. The
/api/chat pair moves last, where it still serves a server that has not
been upgraded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 03:43:12 +08:00
..
astrbot_client.rs fix(astrbot): try the current file API before the legacy one 2026-07-27 03:43:12 +08:00
commands.rs fix(chat): validate slot sends before writing history 2026-07-27 00:20:09 +08:00
gateway_client.rs fix(astrbot): scope stream event ids and fix the transport layer 2026-07-26 23:12:56 +08:00
manager.rs feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
mod.rs fix(chat): validate slot sends before writing history 2026-07-27 00:20:09 +08:00
runtime.rs fix(chat): validate slot sends before writing history 2026-07-27 00:20:09 +08:00