AstrBot-Desktop/docs/reports/astrbot-chat-extensibility-probe-2026-07-20.md
YokiiroBW 517b7a9177
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
docs(probe): record end-to-end chat acceptance
2026-07-20 14:15:03 +08:00

1.9 KiB

AstrBot chat extensibility probe

Date: 2026-07-20

Scope

Non-destructive connectivity and response-shape verification for the two supplied AstrBot test containers. API keys and complete response bodies are intentionally omitted. No chat message was sent and no configuration was changed.

Results

Target Sessions Configs File upload
Container 1 (:26285) status=ok; existing webchat session returned status=ok; one default config POST /api/v1/file returned status=ok and an attachment_id
Container 2 (:26385) status=ok; no sessions for the probe username status=ok; config list returned not uploaded during this probe

Upload response shape

The first container returned an envelope with these data keys:

  • attachment_id
  • filename
  • type

The adapter already accepts attachment_id and preserves the client-side filename, MIME type, and byte size in normalized attachment metadata.

Implementation consequence

The current capability and upload IPC contract matches the observed response shape. Model selection is represented by AstrBot config IDs; the first container exposes the default config and the second exposes a named workflow config. End-to-end image rendering and model behavior still require a real chat send with a user-approved test message.

End-to-end send test

Using the first container and the default config ID, two request-scoped SSE sends were completed:

  • Text plus config selection: HTTP 200; session_id, user_message_saved, 4 plain frames, complete; no error frame.
  • Text plus config selection plus the previously uploaded attachment: HTTP 200; session_id, user_message_saved, 5 plain frames, complete; no error frame.

This confirms the current configId and attachment request shape is accepted by the tested AstrBot instance. The test messages were intentionally limited to interface confirmation and did not request tools or configuration changes.