* studio/chat: reuse Anthropic code_execution container across turns Mirror the OpenAI shell-tool reuse path for Anthropic. Backend latches `message.container.id` off the message_start SSE event, emits a synthetic container_ready _toolEvent, and forwards a stored id back on the next turn via the top-level `container` request field. Stale-id 4xx surfaces as container_invalidated so the next turn falls back to auto-create. * studio/chat: temp diag log of Anthropic SSE events when code_execution is on To locate where the API actually emits container.id on the stream. * studio/chat: latch Anthropic container id from message_delta, drop diag Anthropic surfaces container.id on `message_delta.delta.container`, not on `message_start` (at start the container is not provisioned yet). Move the latch + container_ready emit to message_delta and remove the temporary raw-event log. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||