Skip to Content
Anuma SDKClientInternalType AliasesHandlersGuestChatResponse

HandlersGuestChatResponse

HandlersGuestChatResponse = object

Defined in: src/client/types.gen.ts:819 

Properties

choices?

optional choices: LlmapiChoice[]

Defined in: src/client/types.gen.ts:823 

Choices contains the completion choices


client_injected_tools?

optional client_injected_tools: string[]

Defined in: src/client/types.gen.ts:827 

ClientInjectedTools are tool names the client provided in the original request.


extra_fields?

optional extra_fields: LlmapiChatCompletionExtraFields

Defined in: src/client/types.gen.ts:828 


id?

optional id: string

Defined in: src/client/types.gen.ts:832 

ID is the completion ID


image_model?

optional image_model: string

Defined in: src/client/types.gen.ts:838 

ImageModel is set when an image generation tool was called during the request. This allows the client to detect that the response contains generated images and render them appropriately, even when the orchestrating model is a text model.


inference_id?

optional inference_id: string

Defined in: src/client/types.gen.ts:842 

InferenceID is the unique identifier for this inference request


messages?

optional messages: LlmapiMessage[]

Defined in: src/client/types.gen.ts:849 

Messages contains the full conversation history when local tools need execution. This is populated when the model requests tools that are not MCP tools (local/client-side tools). The client should execute these tools and send a new request with this message history plus the tool results appended.


messages_remaining?

optional messages_remaining: number

Defined in: src/client/types.gen.ts:850 


model?

optional model: string

Defined in: src/client/types.gen.ts:854 

Model is the model used


portal_injected_tools?

optional portal_injected_tools: string[]

Defined in: src/client/types.gen.ts:858 

PortalInjectedTools are tool names the portal’s classifier added to the request.


tool_call_events?

optional tool_call_events: LlmapiToolCallEvent[]

Defined in: src/client/types.gen.ts:862 

ToolCallEvents is an array of tool call events.


tools_checksum?

optional tools_checksum: string

Defined in: src/client/types.gen.ts:866 

ToolsChecksum is the checksum of the tool schemas used by the AI Portal.


usage?

optional usage: LlmapiChatCompletionUsage

Defined in: src/client/types.gen.ts:867 

Last updated on