temperature or tools are ignored. The intern owns its sampling and its tools.
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ApprovalMode | *components.InternApprovalMode | :heavy_minus_sign: | How the run started by this prompt handles tool approvals. self-drive (the default when omitted) consents on your behalf and runs the shell unsandboxed. manual asks you before an approval-bearing tool runs, as an openrouter.provide_input permission request, and keeps the shell sandboxed until an escalation is allowed. The mode applies to the run this prompt starts and is not remembered by the session. Repeat it on each new prompt that should use it. A tool reply continues the run under the mode it started with. | manual |
Messages | []components.InternChatMessage | :heavy_check_mark: | The conversation. Only the last message is read. A last user message starts a run. A last tool message answers the interaction named by its tool_call_id and requires session_id. | |
Model | *string | :heavy_minus_sign: | Accepted for OpenAI compatibility and ignored. Streamed chunks report the model the intern actually used, or openrouter/intern when it did not report one. | openrouter/intern |
SessionID | *string | :heavy_minus_sign: | The daemon session to continue, as returned in session_id on the final chunk of an earlier response. Omit it to start a new session. Required when the last message has role tool. | ses_7f3c9a |
Stream | bool | :heavy_check_mark: | Must be true. This endpoint only streams. | true |