Skip to main content

Module devin

Module devin 

Source
Expand description

Devin executor (internal/runtime/executor/devin_executor.go).

Every client format is translated to Gemini Interactions, parsed into Devin’s chat model (system prompt, history prompts, tools), and sent as one Connect-RPC GetChatMessage protobuf to the Codeium server. The streamed Connect frames (text, thinking, signatures, tool-call deltas, usage, an EOS trailer) become Interactions events, which the registered Interactions translator turns into the client’s format; non-streaming clients get one Interactions response built from all frames.

Credentials are permanent session tokens; “refresh” only re-reads seat, plan and quota from GetUserStatus (and only when refresh_interval asks for it, as Go’s nil refresh lead implies).

Request logging records Go’s readable log bodies instead of the protobuf (devin_wire::request_log_body, response_log_body and the stream summary).

Structs§

DevinExecutor

Constants§

PROVIDER
Provider string served by this executor.