nemo_gym.base_responses_api_model
nemo_gym.base_responses_api_model
Module Contents
Classes
Data
API
Bases: BaseServer
config
Bases: BaseRunServerInstanceConfig
Bases: BaseResponsesAPIModel, SimpleServer
async
asyncabstract
async
Default Anthropic Messages <-> Responses mapping shared by every Gym model server.
Translates the inbound Anthropic Messages request to the Responses API, delegates to this
server’s own responses() (so it reuses whatever backend the server has), and maps the
result back to an Anthropic Messages response. When the client requested stream: true
(the Claude Code CLI always does), the complete response is re-emitted as a synthesized
Anthropic SSE event stream. Servers may override this for native Messages handling.
asyncabstract