Versions in this module Expand all Collapse all v0 v0.1.4 Oct 28, 2026 v0.1.3 Oct 27, 2026 v0.1.2 Oct 17, 2026 v0.1.1 Oct 17, 2026 v0.1.0 Oct 16, 2026 Changes in this version + func NewChatV1ChatCompletionsPostRequest(server string, params *ChatV1ChatCompletionsPostParams, ...) (*http.Request, error) + func NewChatV1ChatCompletionsPostRequestWithBody(server string, params *ChatV1ChatCompletionsPostParams, contentType string, ...) (*http.Request, error) + func NewCompletionsV1CompletionsPostRequest(server string, params *CompletionsV1CompletionsPostParams, ...) (*http.Request, error) + func NewCompletionsV1CompletionsPostRequestWithBody(server string, params *CompletionsV1CompletionsPostParams, contentType string, ...) (*http.Request, error) + func NewGetModelV1ModelsModelIdGetRequest(server string, modelId string, params *GetModelV1ModelsModelIdGetParams) (*http.Request, error) + func NewGetPublicModelPublicV1ModelsModelIdGetRequest(server string, modelId string, ...) (*http.Request, error) + func NewListModelsV1ModelsGetRequest(server string, params *ListModelsV1ModelsGetParams) (*http.Request, error) + func NewListPublicModelsEndpointPublicV1ModelsGetRequest(server string, params *ListPublicModelsEndpointPublicV1ModelsGetParams) (*http.Request, error) + func NewTcpWarmingV1TcpWarmingGetRequest(server string) (*http.Request, error) + type AssistantMessageRequest struct + Content *AssistantMessageRequest_Content + Name *string + Reasoning *AssistantMessageRequest_Reasoning + Role *AssistantMessageRequestRole + ToolCalls *[]AssistantToolCall + type AssistantMessageRequestContent0 = string + type AssistantMessageRequestContent1 = []TextContent + type AssistantMessageRequestReasoning0 = string + type AssistantMessageRequestReasoning1 = []TextContent + type AssistantMessageRequestRole string + const AssistantMessageRequestRoleAssistant + func (e AssistantMessageRequestRole) Valid() bool + type AssistantMessageRequest_Content struct + func (t *AssistantMessageRequest_Content) FromAssistantMessageRequestContent0(v AssistantMessageRequestContent0) error + func (t *AssistantMessageRequest_Content) FromAssistantMessageRequestContent1(v AssistantMessageRequestContent1) error + func (t *AssistantMessageRequest_Content) MergeAssistantMessageRequestContent0(v AssistantMessageRequestContent0) error + func (t *AssistantMessageRequest_Content) MergeAssistantMessageRequestContent1(v AssistantMessageRequestContent1) error + func (t *AssistantMessageRequest_Content) UnmarshalJSON(b []byte) error + func (t AssistantMessageRequest_Content) AsAssistantMessageRequestContent0() (AssistantMessageRequestContent0, error) + func (t AssistantMessageRequest_Content) AsAssistantMessageRequestContent1() (AssistantMessageRequestContent1, error) + func (t AssistantMessageRequest_Content) MarshalJSON() ([]byte, error) + type AssistantMessageRequest_Reasoning struct + func (t *AssistantMessageRequest_Reasoning) FromAssistantMessageRequestReasoning0(v AssistantMessageRequestReasoning0) error + func (t *AssistantMessageRequest_Reasoning) FromAssistantMessageRequestReasoning1(v AssistantMessageRequestReasoning1) error + func (t *AssistantMessageRequest_Reasoning) MergeAssistantMessageRequestReasoning0(v AssistantMessageRequestReasoning0) error + func (t *AssistantMessageRequest_Reasoning) MergeAssistantMessageRequestReasoning1(v AssistantMessageRequestReasoning1) error + func (t *AssistantMessageRequest_Reasoning) UnmarshalJSON(b []byte) error + func (t AssistantMessageRequest_Reasoning) AsAssistantMessageRequestReasoning0() (AssistantMessageRequestReasoning0, error) + func (t AssistantMessageRequest_Reasoning) AsAssistantMessageRequestReasoning1() (AssistantMessageRequestReasoning1, error) + func (t AssistantMessageRequest_Reasoning) MarshalJSON() ([]byte, error) + type AssistantToolCall struct + Function AssistantToolCallFunction + Id string + Index *int + Type AssistantToolCallType + type AssistantToolCallFunction struct + Arguments string + Name string + type AssistantToolCallType string + const AssistantToolCallTypeFunction + func (e AssistantToolCallType) Valid() bool + type ChatChunkChoice struct + Delta *ChunkResponseMessage + FinishReason *ChatChunkChoiceFinishReason + Index int + Logprobs *ChatCompletionLogProbs + ReasoningLogprobs *ChatCompletionLogProbs + Text *string + Tokens *[]int + type ChatChunkChoiceFinishReason string + const ChatChunkChoiceFinishReasonContentFilter + const ChatChunkChoiceFinishReasonLength + const ChatChunkChoiceFinishReasonStop + const ChatChunkChoiceFinishReasonToolCalls + func (e ChatChunkChoiceFinishReason) Valid() bool + type ChatChunkResponse struct + Choices *[]ChatChunkChoice + Created int + Id string + Model string + Object ChatChunkResponseObject + ServiceTier *string + SystemFingerprint string + TimeInfo *TimeInfo + Usage *Usage + type ChatChunkResponseObject string + const ChatChunkResponseObjectChatCompletionChunk + func (e ChatChunkResponseObject) Valid() bool + type ChatCompletionChoice struct + FinishReason *ChatCompletionChoiceFinishReason + Index int + Logprobs *ChatCompletionLogProbs + Message ChatCompletionResponseMessage + ReasoningLogprobs *ChatCompletionLogProbs + type ChatCompletionChoiceFinishReason string + const ChatCompletionChoiceFinishReasonContentFilter + const ChatCompletionChoiceFinishReasonLength + const ChatCompletionChoiceFinishReasonStop + const ChatCompletionChoiceFinishReasonToolCalls + func (e ChatCompletionChoiceFinishReason) Valid() bool + type ChatCompletionLogProbs struct + Content *[]LogProbsContent + Refusal *[]LogProbsContent + type ChatCompletionRequest struct + ClearThinking *bool + DisableReasoning *bool + FrequencyPenalty *float64 + LogitBias *map[string]float64 + Logprobs *bool + MaxCompletionTokens *int + MaxTokens *int + Messages []ChatCompletionRequest_Messages_Item + MinCompletionTokens *int + MinTokens *int + Model string + ModelParameters *map[string]interface{} + N *int + ParallelToolCalls *bool + Prediction *Prediction + PresencePenalty *float64 + PromptCacheKey *string + ReasoningEffort *ReasoningEffort + ReasoningFormat *ReasoningFormat + ResponseFormat ... + Seed *int + ServiceTier *ServiceTier + Stop *ChatCompletionRequest_Stop + Stream *bool + StreamOptions *StreamOptions + Temperature *float64 + ToolChoice *ChatCompletionRequest_ToolChoice + Tools *[]Tool + TopLogprobs *int + TopP *float64 + User *string + type ChatCompletionRequestStop0 = string + type ChatCompletionRequestStop1 = []string + type ChatCompletionRequest_Messages_Item struct + func (t *ChatCompletionRequest_Messages_Item) FromAssistantMessageRequest(v AssistantMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) FromDeveloperMessageRequest(v DeveloperMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) FromSystemMessageRequest(v SystemMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) FromToolMessageRequest(v ToolMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) FromUserMessageRequest(v UserMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) MergeAssistantMessageRequest(v AssistantMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) MergeDeveloperMessageRequest(v DeveloperMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) MergeSystemMessageRequest(v SystemMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) MergeToolMessageRequest(v ToolMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) MergeUserMessageRequest(v UserMessageRequest) error + func (t *ChatCompletionRequest_Messages_Item) UnmarshalJSON(b []byte) error + func (t ChatCompletionRequest_Messages_Item) AsAssistantMessageRequest() (AssistantMessageRequest, error) + func (t ChatCompletionRequest_Messages_Item) AsDeveloperMessageRequest() (DeveloperMessageRequest, error) + func (t ChatCompletionRequest_Messages_Item) AsSystemMessageRequest() (SystemMessageRequest, error) + func (t ChatCompletionRequest_Messages_Item) AsToolMessageRequest() (ToolMessageRequest, error) + func (t ChatCompletionRequest_Messages_Item) AsUserMessageRequest() (UserMessageRequest, error) + func (t ChatCompletionRequest_Messages_Item) Discriminator() (string, error) + func (t ChatCompletionRequest_Messages_Item) MarshalJSON() ([]byte, error) + func (t ChatCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error) + type ChatCompletionRequest_Stop struct + func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop0(v ChatCompletionRequestStop0) error + func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop1(v ChatCompletionRequestStop1) error + func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop0(v ChatCompletionRequestStop0) error + func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop1(v ChatCompletionRequestStop1) error + func (t *ChatCompletionRequest_Stop) UnmarshalJSON(b []byte) error + func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop0() (ChatCompletionRequestStop0, error) + func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop1() (ChatCompletionRequestStop1, error) + func (t ChatCompletionRequest_Stop) MarshalJSON() ([]byte, error) + type ChatCompletionRequest_ToolChoice struct + func (t *ChatCompletionRequest_ToolChoice) FromChoiceObject(v ChoiceObject) error + func (t *ChatCompletionRequest_ToolChoice) FromToolChoice(v ToolChoice) error + func (t *ChatCompletionRequest_ToolChoice) MergeChoiceObject(v ChoiceObject) error + func (t *ChatCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error + func (t *ChatCompletionRequest_ToolChoice) UnmarshalJSON(b []byte) error + func (t ChatCompletionRequest_ToolChoice) AsChoiceObject() (ChoiceObject, error) + func (t ChatCompletionRequest_ToolChoice) AsToolChoice() (ToolChoice, error) + func (t ChatCompletionRequest_ToolChoice) MarshalJSON() ([]byte, error) + type ChatCompletionResponse struct + Choices []ChatCompletionChoice + Created int + Id string + Model string + Object ChatCompletionResponseObject + ServiceTier *string + SystemFingerprint string + TimeInfo *TimeInfo + Usage *Usage + type ChatCompletionResponseMessage struct + Content *string + Reasoning *string + Role ChatCompletionResponseMessageRole + ToolCalls *[]ChunkAssistantToolCall + type ChatCompletionResponseMessageRole string + const ChatCompletionResponseMessageRoleAssistant + const ChatCompletionResponseMessageRoleSystem + const ChatCompletionResponseMessageRoleTool + const ChatCompletionResponseMessageRoleUser + func (e ChatCompletionResponseMessageRole) Valid() bool + type ChatCompletionResponseObject string + const ChatCompletionResponseObjectChatCompletion + func (e ChatCompletionResponseObject) Valid() bool + type ChatV1ChatCompletionsPostJSONRequestBody = ChatCompletionRequest + type ChatV1ChatCompletionsPostParams struct + CFRAY *string + XAmzCfId *string + XDelayTime *float64 + type ChatV1ChatCompletionsPostResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *CreateChatCompletionResponse + JSON422 *HTTPValidationError + func ParseChatV1ChatCompletionsPostResponse(rsp *http.Response) (*ChatV1ChatCompletionsPostResponse, error) + func (r ChatV1ChatCompletionsPostResponse) ContentType() string + func (r ChatV1ChatCompletionsPostResponse) GetBody() []byte + func (r ChatV1ChatCompletionsPostResponse) GetJSON200() *CreateChatCompletionResponse + func (r ChatV1ChatCompletionsPostResponse) GetJSON422() *HTTPValidationError + func (r ChatV1ChatCompletionsPostResponse) Status() string + func (r ChatV1ChatCompletionsPostResponse) StatusCode() int + type ChoiceObject struct + Function ChoiceObjectFunction + Type string + type ChoiceObjectFunction struct + Name string + type ChunkAssistantToolCall struct + Function ChunkAssistantToolCallFunction + Id *string + Index *int + Type ChunkAssistantToolCallType + type ChunkAssistantToolCallFunction struct + Arguments *string + Name *string + type ChunkAssistantToolCallType string + const ChunkAssistantToolCallTypeFunction + func (e ChunkAssistantToolCallType) Valid() bool + type ChunkResponseMessage struct + Content *string + Reasoning *string + Role *ChunkResponseMessageRole + Tokens *[]int + ToolCalls *[]ChunkAssistantToolCall + type ChunkResponseMessageRole string + const ChunkResponseMessageRoleAssistant + const ChunkResponseMessageRoleSystem + const ChunkResponseMessageRoleTool + const ChunkResponseMessageRoleUser + func (e ChunkResponseMessageRole) Valid() bool + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) ChatV1ChatCompletionsPost(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*http.Response, error) + func (c *Client) ChatV1ChatCompletionsPostWithBody(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*http.Response, error) + func (c *Client) CompletionsV1CompletionsPost(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*http.Response, error) + func (c *Client) CompletionsV1CompletionsPostWithBody(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*http.Response, error) + func (c *Client) GetModelV1ModelsModelIdGet(ctx context.Context, modelId string, params *GetModelV1ModelsModelIdGetParams, ...) (*http.Response, error) + func (c *Client) GetPublicModelPublicV1ModelsModelIdGet(ctx context.Context, modelId string, ...) (*http.Response, error) + func (c *Client) ListModelsV1ModelsGet(ctx context.Context, params *ListModelsV1ModelsGetParams, ...) (*http.Response, error) + func (c *Client) ListPublicModelsEndpointPublicV1ModelsGet(ctx context.Context, params *ListPublicModelsEndpointPublicV1ModelsGetParams, ...) (*http.Response, error) + func (c *Client) TcpWarmingV1TcpWarmingGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + ChatV1ChatCompletionsPost func(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*http.Response, error) + ChatV1ChatCompletionsPostWithBody func(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*http.Response, error) + CompletionsV1CompletionsPost func(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*http.Response, error) + CompletionsV1CompletionsPostWithBody func(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*http.Response, error) + GetModelV1ModelsModelIdGet func(ctx context.Context, modelId string, params *GetModelV1ModelsModelIdGetParams, ...) (*http.Response, error) + GetPublicModelPublicV1ModelsModelIdGet func(ctx context.Context, modelId string, ...) (*http.Response, error) + ListModelsV1ModelsGet func(ctx context.Context, params *ListModelsV1ModelsGetParams, ...) (*http.Response, error) + ListPublicModelsEndpointPublicV1ModelsGet func(ctx context.Context, params *ListPublicModelsEndpointPublicV1ModelsGetParams, ...) (*http.Response, error) + TcpWarmingV1TcpWarmingGet func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) ChatV1ChatCompletionsPostWithBodyWithResponse(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*ChatV1ChatCompletionsPostResponse, error) + func (c *ClientWithResponses) ChatV1ChatCompletionsPostWithResponse(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*ChatV1ChatCompletionsPostResponse, error) + func (c *ClientWithResponses) CompletionsV1CompletionsPostWithBodyWithResponse(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*CompletionsV1CompletionsPostResponse, error) + func (c *ClientWithResponses) CompletionsV1CompletionsPostWithResponse(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*CompletionsV1CompletionsPostResponse, error) + func (c *ClientWithResponses) GetModelV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, params *GetModelV1ModelsModelIdGetParams, ...) (*GetModelV1ModelsModelIdGetResponse, error) + func (c *ClientWithResponses) GetPublicModelPublicV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, ...) (*GetPublicModelPublicV1ModelsModelIdGetResponse, error) + func (c *ClientWithResponses) ListModelsV1ModelsGetWithResponse(ctx context.Context, params *ListModelsV1ModelsGetParams, ...) (*ListModelsV1ModelsGetResponse, error) + func (c *ClientWithResponses) ListPublicModelsEndpointPublicV1ModelsGetWithResponse(ctx context.Context, params *ListPublicModelsEndpointPublicV1ModelsGetParams, ...) (*ListPublicModelsEndpointPublicV1ModelsGetResponse, error) + func (c *ClientWithResponses) TcpWarmingV1TcpWarmingGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TcpWarmingV1TcpWarmingGetResponse, error) + type ClientWithResponsesInterface interface + ChatV1ChatCompletionsPostWithBodyWithResponse func(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*ChatV1ChatCompletionsPostResponse, error) + ChatV1ChatCompletionsPostWithResponse func(ctx context.Context, params *ChatV1ChatCompletionsPostParams, ...) (*ChatV1ChatCompletionsPostResponse, error) + CompletionsV1CompletionsPostWithBodyWithResponse func(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*CompletionsV1CompletionsPostResponse, error) + CompletionsV1CompletionsPostWithResponse func(ctx context.Context, params *CompletionsV1CompletionsPostParams, ...) (*CompletionsV1CompletionsPostResponse, error) + GetModelV1ModelsModelIdGetWithResponse func(ctx context.Context, modelId string, params *GetModelV1ModelsModelIdGetParams, ...) (*GetModelV1ModelsModelIdGetResponse, error) + GetPublicModelPublicV1ModelsModelIdGetWithResponse func(ctx context.Context, modelId string, ...) (*GetPublicModelPublicV1ModelsModelIdGetResponse, error) + ListModelsV1ModelsGetWithResponse func(ctx context.Context, params *ListModelsV1ModelsGetParams, ...) (*ListModelsV1ModelsGetResponse, error) + ListPublicModelsEndpointPublicV1ModelsGetWithResponse func(ctx context.Context, params *ListPublicModelsEndpointPublicV1ModelsGetParams, ...) (*ListPublicModelsEndpointPublicV1ModelsGetResponse, error) + TcpWarmingV1TcpWarmingGetWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*TcpWarmingV1TcpWarmingGetResponse, error) + type CompletionChoice struct + FinishReason *CompletionChoiceFinishReason + Index int + Logprobs *CompletionLogProbs + Text *string + Tokens *[]int + type CompletionChoiceFinishReason string + const CompletionChoiceFinishReasonContentFilter + const CompletionChoiceFinishReasonLength + const CompletionChoiceFinishReasonStop + const CompletionChoiceFinishReasonToolCalls + func (e CompletionChoiceFinishReason) Valid() bool + type CompletionLogProbs struct + TextOffset *[]int + TokenLogprobs *[]float64 + Tokens *[]string + TopLogprobs *[]map[string]float64 + type CompletionRequest struct + BestOf *int + Echo *bool + FrequencyPenalty *float64 + GrammarRoot *string + LogitBias *map[string]float64 + Logprobs *int + MaxTokens *int + MinTokens *int + Model string + N *int + PresencePenalty *float64 + Prompt CompletionRequest_Prompt + PromptCacheKey *string + ReasoningFormat *ReasoningFormat + ReturnRawTokens *bool + Seed *int + Stop *CompletionRequest_Stop + Stream *bool + StreamOptions *StreamOptions + Suffix *string + Temperature *float64 + TopP *float64 + User *string + type CompletionRequestPrompt0 = string + type CompletionRequestPrompt1 = []string + type CompletionRequestPrompt2 = []int + type CompletionRequestPrompt3 = [][]int + type CompletionRequestStop0 = string + type CompletionRequestStop1 = []string + type CompletionRequest_Prompt struct + func (t *CompletionRequest_Prompt) FromCompletionRequestPrompt0(v CompletionRequestPrompt0) error + func (t *CompletionRequest_Prompt) FromCompletionRequestPrompt1(v CompletionRequestPrompt1) error + func (t *CompletionRequest_Prompt) FromCompletionRequestPrompt2(v CompletionRequestPrompt2) error + func (t *CompletionRequest_Prompt) FromCompletionRequestPrompt3(v CompletionRequestPrompt3) error + func (t *CompletionRequest_Prompt) MergeCompletionRequestPrompt0(v CompletionRequestPrompt0) error + func (t *CompletionRequest_Prompt) MergeCompletionRequestPrompt1(v CompletionRequestPrompt1) error + func (t *CompletionRequest_Prompt) MergeCompletionRequestPrompt2(v CompletionRequestPrompt2) error + func (t *CompletionRequest_Prompt) MergeCompletionRequestPrompt3(v CompletionRequestPrompt3) error + func (t *CompletionRequest_Prompt) UnmarshalJSON(b []byte) error + func (t CompletionRequest_Prompt) AsCompletionRequestPrompt0() (CompletionRequestPrompt0, error) + func (t CompletionRequest_Prompt) AsCompletionRequestPrompt1() (CompletionRequestPrompt1, error) + func (t CompletionRequest_Prompt) AsCompletionRequestPrompt2() (CompletionRequestPrompt2, error) + func (t CompletionRequest_Prompt) AsCompletionRequestPrompt3() (CompletionRequestPrompt3, error) + func (t CompletionRequest_Prompt) MarshalJSON() ([]byte, error) + type CompletionRequest_Stop struct + func (t *CompletionRequest_Stop) FromCompletionRequestStop0(v CompletionRequestStop0) error + func (t *CompletionRequest_Stop) FromCompletionRequestStop1(v CompletionRequestStop1) error + func (t *CompletionRequest_Stop) MergeCompletionRequestStop0(v CompletionRequestStop0) error + func (t *CompletionRequest_Stop) MergeCompletionRequestStop1(v CompletionRequestStop1) error + func (t *CompletionRequest_Stop) UnmarshalJSON(b []byte) error + func (t CompletionRequest_Stop) AsCompletionRequestStop0() (CompletionRequestStop0, error) + func (t CompletionRequest_Stop) AsCompletionRequestStop1() (CompletionRequestStop1, error) + func (t CompletionRequest_Stop) MarshalJSON() ([]byte, error) + type CompletionResponse struct + Choices []CompletionChoice + Created int + Id string + Model string + Object CompletionResponseObject + SystemFingerprint string + TimeInfo *TimeInfo + Usage *Usage + type CompletionResponseObject string + const CompletionResponseObjectTextCompletion + func (e CompletionResponseObject) Valid() bool + type CompletionTokensDetails struct + AcceptedPredictionTokens *int + ReasoningTokens *int + RejectedPredictionTokens *int + type CompletionsV1CompletionsPostJSONRequestBody = CompletionRequest + type CompletionsV1CompletionsPostParams struct + CFRAY *string + XAmzCfId *string + XDelayTime *float64 + type CompletionsV1CompletionsPostResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *CreateCompletionResponse + JSON422 *HTTPValidationError + func ParseCompletionsV1CompletionsPostResponse(rsp *http.Response) (*CompletionsV1CompletionsPostResponse, error) + func (r CompletionsV1CompletionsPostResponse) ContentType() string + func (r CompletionsV1CompletionsPostResponse) GetBody() []byte + func (r CompletionsV1CompletionsPostResponse) GetJSON200() *CreateCompletionResponse + func (r CompletionsV1CompletionsPostResponse) GetJSON422() *HTTPValidationError + func (r CompletionsV1CompletionsPostResponse) Status() string + func (r CompletionsV1CompletionsPostResponse) StatusCode() int + type CreateChatCompletionResponse struct + func (t *CreateChatCompletionResponse) FromChatChunkResponse(v ChatChunkResponse) error + func (t *CreateChatCompletionResponse) FromChatCompletionResponse(v ChatCompletionResponse) error + func (t *CreateChatCompletionResponse) FromErrorChunkResponse(v ErrorChunkResponse) error + func (t *CreateChatCompletionResponse) MergeChatChunkResponse(v ChatChunkResponse) error + func (t *CreateChatCompletionResponse) MergeChatCompletionResponse(v ChatCompletionResponse) error + func (t *CreateChatCompletionResponse) MergeErrorChunkResponse(v ErrorChunkResponse) error + func (t *CreateChatCompletionResponse) UnmarshalJSON(b []byte) error + func (t CreateChatCompletionResponse) AsChatChunkResponse() (ChatChunkResponse, error) + func (t CreateChatCompletionResponse) AsChatCompletionResponse() (ChatCompletionResponse, error) + func (t CreateChatCompletionResponse) AsErrorChunkResponse() (ErrorChunkResponse, error) + func (t CreateChatCompletionResponse) MarshalJSON() ([]byte, error) + type CreateCompletionResponse struct + func (t *CreateCompletionResponse) FromCompletionResponse(v CompletionResponse) error + func (t *CreateCompletionResponse) FromErrorChunkResponse(v ErrorChunkResponse) error + func (t *CreateCompletionResponse) MergeCompletionResponse(v CompletionResponse) error + func (t *CreateCompletionResponse) MergeErrorChunkResponse(v ErrorChunkResponse) error + func (t *CreateCompletionResponse) UnmarshalJSON(b []byte) error + func (t CreateCompletionResponse) AsCompletionResponse() (CompletionResponse, error) + func (t CreateCompletionResponse) AsErrorChunkResponse() (ErrorChunkResponse, error) + func (t CreateCompletionResponse) MarshalJSON() ([]byte, error) + type DatacenterLocation struct + CountryCode string + type DeveloperMessageRequest struct + Content DeveloperMessageRequest_Content + Name *string + Role *DeveloperMessageRequestRole + type DeveloperMessageRequestContent0 = string + type DeveloperMessageRequestContent1 = []DeveloperMessageRequest_Content_1_Item + type DeveloperMessageRequestRole string + const DeveloperMessageRequestRoleDeveloper + func (e DeveloperMessageRequestRole) Valid() bool + type DeveloperMessageRequest_Content struct + func (t *DeveloperMessageRequest_Content) FromDeveloperMessageRequestContent0(v DeveloperMessageRequestContent0) error + func (t *DeveloperMessageRequest_Content) FromDeveloperMessageRequestContent1(v DeveloperMessageRequestContent1) error + func (t *DeveloperMessageRequest_Content) MergeDeveloperMessageRequestContent0(v DeveloperMessageRequestContent0) error + func (t *DeveloperMessageRequest_Content) MergeDeveloperMessageRequestContent1(v DeveloperMessageRequestContent1) error + func (t *DeveloperMessageRequest_Content) UnmarshalJSON(b []byte) error + func (t DeveloperMessageRequest_Content) AsDeveloperMessageRequestContent0() (DeveloperMessageRequestContent0, error) + func (t DeveloperMessageRequest_Content) AsDeveloperMessageRequestContent1() (DeveloperMessageRequestContent1, error) + func (t DeveloperMessageRequest_Content) MarshalJSON() ([]byte, error) + type DeveloperMessageRequest_Content_1_Item struct + func (t *DeveloperMessageRequest_Content_1_Item) FromImageContent(v ImageContent) error + func (t *DeveloperMessageRequest_Content_1_Item) FromImageUrlContent(v ImageUrlContent) error + func (t *DeveloperMessageRequest_Content_1_Item) FromTextContent(v TextContent) error + func (t *DeveloperMessageRequest_Content_1_Item) MergeImageContent(v ImageContent) error + func (t *DeveloperMessageRequest_Content_1_Item) MergeImageUrlContent(v ImageUrlContent) error + func (t *DeveloperMessageRequest_Content_1_Item) MergeTextContent(v TextContent) error + func (t *DeveloperMessageRequest_Content_1_Item) UnmarshalJSON(b []byte) error + func (t DeveloperMessageRequest_Content_1_Item) AsImageContent() (ImageContent, error) + func (t DeveloperMessageRequest_Content_1_Item) AsImageUrlContent() (ImageUrlContent, error) + func (t DeveloperMessageRequest_Content_1_Item) AsTextContent() (TextContent, error) + func (t DeveloperMessageRequest_Content_1_Item) Discriminator() (string, error) + func (t DeveloperMessageRequest_Content_1_Item) MarshalJSON() ([]byte, error) + func (t DeveloperMessageRequest_Content_1_Item) ValueByDiscriminator() (interface{}, error) + type ErrorChunkContent struct + Code *string + Id *string + Message *string + Param *string + Type *string + type ErrorChunkResponse struct + Error ErrorChunkContent + StatusCode int + type FunctionObject struct + Description *string + Name string + Parameters *Parameters + Strict *bool + type GetModelV1ModelsModelIdGet200JSONResponseBody struct + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) FromHuggingFaceModel(v HuggingFaceModel) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) FromModelMetadata(v ModelMetadata) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) FromOpenRouterModel(v OpenRouterModel) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) FromPublicModel(v PublicModel) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) MergeHuggingFaceModel(v HuggingFaceModel) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) MergeModelMetadata(v ModelMetadata) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) MergeOpenRouterModel(v OpenRouterModel) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) MergePublicModel(v PublicModel) error + func (t *GetModelV1ModelsModelIdGet200JSONResponseBody) UnmarshalJSON(b []byte) error + func (t GetModelV1ModelsModelIdGet200JSONResponseBody) AsHuggingFaceModel() (HuggingFaceModel, error) + func (t GetModelV1ModelsModelIdGet200JSONResponseBody) AsModelMetadata() (ModelMetadata, error) + func (t GetModelV1ModelsModelIdGet200JSONResponseBody) AsOpenRouterModel() (OpenRouterModel, error) + func (t GetModelV1ModelsModelIdGet200JSONResponseBody) AsPublicModel() (PublicModel, error) + func (t GetModelV1ModelsModelIdGet200JSONResponseBody) MarshalJSON() ([]byte, error) + type GetModelV1ModelsModelIdGetParams struct + CFRAY *string + Format *ModelFormat + XAmzCfId *string + type GetModelV1ModelsModelIdGetResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *GetModelV1ModelsModelIdGet200JSONResponseBody + JSON422 *HTTPValidationError + func ParseGetModelV1ModelsModelIdGetResponse(rsp *http.Response) (*GetModelV1ModelsModelIdGetResponse, error) + func (r GetModelV1ModelsModelIdGetResponse) ContentType() string + func (r GetModelV1ModelsModelIdGetResponse) GetBody() []byte + func (r GetModelV1ModelsModelIdGetResponse) GetJSON200() *GetModelV1ModelsModelIdGet200JSONResponseBody + func (r GetModelV1ModelsModelIdGetResponse) GetJSON422() *HTTPValidationError + func (r GetModelV1ModelsModelIdGetResponse) Status() string + func (r GetModelV1ModelsModelIdGetResponse) StatusCode() int + type GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody struct + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) FromHuggingFaceModel(v HuggingFaceModel) error + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) FromOpenRouterModel(v OpenRouterModel) error + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) FromPublicModel(v PublicModel) error + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) MergeHuggingFaceModel(v HuggingFaceModel) error + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) MergeOpenRouterModel(v OpenRouterModel) error + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) MergePublicModel(v PublicModel) error + func (t *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) UnmarshalJSON(b []byte) error + func (t GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) AsHuggingFaceModel() (HuggingFaceModel, error) + func (t GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) AsOpenRouterModel() (OpenRouterModel, error) + func (t GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) AsPublicModel() (PublicModel, error) + func (t GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody) MarshalJSON() ([]byte, error) + type GetPublicModelPublicV1ModelsModelIdGetParams struct + CFRAY *string + Format *ModelFormat + XAmzCfId *string + type GetPublicModelPublicV1ModelsModelIdGetResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody + JSON422 *HTTPValidationError + func ParseGetPublicModelPublicV1ModelsModelIdGetResponse(rsp *http.Response) (*GetPublicModelPublicV1ModelsModelIdGetResponse, error) + func (r GetPublicModelPublicV1ModelsModelIdGetResponse) ContentType() string + func (r GetPublicModelPublicV1ModelsModelIdGetResponse) GetBody() []byte + func (r GetPublicModelPublicV1ModelsModelIdGetResponse) GetJSON200() *GetPublicModelPublicV1ModelsModelIdGet200JSONResponseBody + func (r GetPublicModelPublicV1ModelsModelIdGetResponse) GetJSON422() *HTTPValidationError + func (r GetPublicModelPublicV1ModelsModelIdGetResponse) Status() string + func (r GetPublicModelPublicV1ModelsModelIdGetResponse) StatusCode() int + type HTTPValidationError struct + Detail *[]ValidationError + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type HuggingFaceCapabilities struct + FunctionCalling *bool + Streaming *bool + StructuredOutputs *bool + Vision *bool + type HuggingFaceModel struct + Capabilities *HuggingFaceCapabilities + ContextLength int + Created int + HuggingFaceId *string + Id string + Object *HuggingFaceModelObject + OwnedBy string + Pricing HuggingFacePricing + type HuggingFaceModelObject string + const HuggingFaceModelObjectModel + func (e HuggingFaceModelObject) Valid() bool + type HuggingFaceModelsResponse struct + Data []HuggingFaceModel + Object *HuggingFaceModelsResponseObject + type HuggingFaceModelsResponseObject string + const HuggingFaceModelsResponseObjectList + func (e HuggingFaceModelsResponseObject) Valid() bool + type HuggingFacePricing struct + Input float64 + Output float64 + type ImageContent struct + Image string + Type ImageContentType + type ImageContentType string + const ImageContentTypeImage + func (e ImageContentType) Valid() bool + type ImageUrl struct + Detail *string + Url string + type ImageUrlContent struct + ImageUrl ImageUrl + Type ImageUrlContentType + type ImageUrlContentType string + const ImageUrlContentTypeImageUrl + func (e ImageUrlContentType) Valid() bool + type JSONSchema struct + Description *string + Name string + Schema *map[string]interface{} + Strict *bool + type ListModelsV1ModelsGet200JSONResponseBody struct + func (t *ListModelsV1ModelsGet200JSONResponseBody) FromHuggingFaceModelsResponse(v HuggingFaceModelsResponse) error + func (t *ListModelsV1ModelsGet200JSONResponseBody) FromModelMetadataList(v ModelMetadataList) error + func (t *ListModelsV1ModelsGet200JSONResponseBody) FromOpenRouterModelsResponse(v OpenRouterModelsResponse) error + func (t *ListModelsV1ModelsGet200JSONResponseBody) MergeHuggingFaceModelsResponse(v HuggingFaceModelsResponse) error + func (t *ListModelsV1ModelsGet200JSONResponseBody) MergeModelMetadataList(v ModelMetadataList) error + func (t *ListModelsV1ModelsGet200JSONResponseBody) MergeOpenRouterModelsResponse(v OpenRouterModelsResponse) error + func (t *ListModelsV1ModelsGet200JSONResponseBody) UnmarshalJSON(b []byte) error + func (t ListModelsV1ModelsGet200JSONResponseBody) AsHuggingFaceModelsResponse() (HuggingFaceModelsResponse, error) + func (t ListModelsV1ModelsGet200JSONResponseBody) AsModelMetadataList() (ModelMetadataList, error) + func (t ListModelsV1ModelsGet200JSONResponseBody) AsOpenRouterModelsResponse() (OpenRouterModelsResponse, error) + func (t ListModelsV1ModelsGet200JSONResponseBody) MarshalJSON() ([]byte, error) + type ListModelsV1ModelsGetParams struct + CFRAY *string + Format *ModelFormat + XAmzCfId *string + type ListModelsV1ModelsGetResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ListModelsV1ModelsGet200JSONResponseBody + JSON422 *HTTPValidationError + func ParseListModelsV1ModelsGetResponse(rsp *http.Response) (*ListModelsV1ModelsGetResponse, error) + func (r ListModelsV1ModelsGetResponse) ContentType() string + func (r ListModelsV1ModelsGetResponse) GetBody() []byte + func (r ListModelsV1ModelsGetResponse) GetJSON200() *ListModelsV1ModelsGet200JSONResponseBody + func (r ListModelsV1ModelsGetResponse) GetJSON422() *HTTPValidationError + func (r ListModelsV1ModelsGetResponse) Status() string + func (r ListModelsV1ModelsGetResponse) StatusCode() int + type ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody struct + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) FromHuggingFaceModelsResponse(v HuggingFaceModelsResponse) error + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) FromOpenRouterModelsResponse(v OpenRouterModelsResponse) error + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) FromPublicModelsListResponse(v PublicModelsListResponse) error + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) MergeHuggingFaceModelsResponse(v HuggingFaceModelsResponse) error + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) MergeOpenRouterModelsResponse(v OpenRouterModelsResponse) error + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) MergePublicModelsListResponse(v PublicModelsListResponse) error + func (t *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) UnmarshalJSON(b []byte) error + func (t ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) AsHuggingFaceModelsResponse() (HuggingFaceModelsResponse, error) + func (t ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) AsOpenRouterModelsResponse() (OpenRouterModelsResponse, error) + func (t ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) AsPublicModelsListResponse() (PublicModelsListResponse, error) + func (t ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody) MarshalJSON() ([]byte, error) + type ListPublicModelsEndpointPublicV1ModelsGetParams struct + CFRAY *string + Format *ModelFormat + XAmzCfId *string + type ListPublicModelsEndpointPublicV1ModelsGetResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody + JSON422 *HTTPValidationError + func ParseListPublicModelsEndpointPublicV1ModelsGetResponse(rsp *http.Response) (*ListPublicModelsEndpointPublicV1ModelsGetResponse, error) + func (r ListPublicModelsEndpointPublicV1ModelsGetResponse) ContentType() string + func (r ListPublicModelsEndpointPublicV1ModelsGetResponse) GetBody() []byte + func (r ListPublicModelsEndpointPublicV1ModelsGetResponse) GetJSON200() *ListPublicModelsEndpointPublicV1ModelsGet200JSONResponseBody + func (r ListPublicModelsEndpointPublicV1ModelsGetResponse) GetJSON422() *HTTPValidationError + func (r ListPublicModelsEndpointPublicV1ModelsGetResponse) Status() string + func (r ListPublicModelsEndpointPublicV1ModelsGetResponse) StatusCode() int + type LogProbsContent struct + Bytes *[]int + Logprob float64 + Token string + TopLogprobs []TopLogProbs + type ModelArchitecture struct + InstructType *string + Modality ModelArchitectureModality + Tokenizer string + type ModelArchitectureModality string + const ModelArchitectureModalityMultimodal + const ModelArchitectureModalityText + const ModelArchitectureModalityTextVision + func (e ModelArchitectureModality) Valid() bool + type ModelCapabilities struct + FunctionCalling *bool + JsonMode *bool + ParallelToolCalls *bool + Reasoning *bool + ResponseFormat *bool + Streaming *bool + StructuredOutputs *bool + ToolChoice *bool + Tools *bool + Vision *bool + type ModelFormat string + const ModelFormatDefault + const ModelFormatHuggingface + const ModelFormatOpenrouter + func (e ModelFormat) Valid() bool + type ModelLimits struct + MaxCompletionTokens int + MaxContextLength int + RequestsPerMinute *int + TokensPerMinute *int + type ModelMetadata struct + Created *int + Id string + Object *ModelMetadataObject + OwnedBy *string + type ModelMetadataList struct + Data []ModelMetadata + Object *ModelMetadataListObject + type ModelMetadataListObject string + const ModelMetadataListObjectList + func (e ModelMetadataListObject) Valid() bool + type ModelMetadataObject string + const ModelMetadataObjectModel + func (e ModelMetadataObject) Valid() bool + type ModelPricing struct + Completion string + Prompt string + type OpenRouterInfo struct + Slug string + type OpenRouterModel struct + ContextLength int + Created int + Datacenters *[]DatacenterLocation + Description *string + HuggingFaceId *string + Id string + InputModalities *[]string + MaxOutputLength int + Name string + Openrouter *OpenRouterInfo + OutputModalities *[]string + Pricing OpenRouterPricing + Quantization *string + SupportedFeatures *[]string + SupportedSamplingParameters *[]string + type OpenRouterModelsResponse struct + Data []OpenRouterModel + type OpenRouterPricing struct + Completion string + Image *string + InputCacheRead *string + InputCacheWrite *string + Prompt string + Request *string + type Parameters map[string]interface + type Prediction struct + Content Prediction_Content + Type PredictionType + type PredictionContent0 = string + type PredictionContent1 = []TextContent + type PredictionType string + const PredictionTypeContent + func (e PredictionType) Valid() bool + type Prediction_Content struct + func (t *Prediction_Content) FromPredictionContent0(v PredictionContent0) error + func (t *Prediction_Content) FromPredictionContent1(v PredictionContent1) error + func (t *Prediction_Content) MergePredictionContent0(v PredictionContent0) error + func (t *Prediction_Content) MergePredictionContent1(v PredictionContent1) error + func (t *Prediction_Content) UnmarshalJSON(b []byte) error + func (t Prediction_Content) AsPredictionContent0() (PredictionContent0, error) + func (t Prediction_Content) AsPredictionContent1() (PredictionContent1, error) + func (t Prediction_Content) MarshalJSON() ([]byte, error) + type PromptTokensDetails struct + CachedTokens *int + type PublicModel struct + Architecture ModelArchitecture + Capabilities ModelCapabilities + Created int + DatacenterLocations *[]string + Deprecated *bool + Description string + HuggingFaceId *string + Id string + Limits ModelLimits + Name string + Object *PublicModelObject + OwnedBy string + Preview *bool + Pricing ModelPricing + Quantization *string + SupportedParameters SupportedParameters + type PublicModelObject string + const PublicModelObjectModel + func (e PublicModelObject) Valid() bool + type PublicModelsListResponse struct + Data []PublicModel + Object *PublicModelsListResponseObject + type PublicModelsListResponseObject string + const PublicModelsListResponseObjectList + func (e PublicModelsListResponseObject) Valid() bool + type ReasoningEffort string + const ReasoningEffortHigh + const ReasoningEffortLow + const ReasoningEffortMedium + const ReasoningEffortNone + func (e ReasoningEffort) Valid() bool + type ReasoningFormat string + const ReasoningFormatHidden + const ReasoningFormatNone + const ReasoningFormatParsed + const ReasoningFormatRaw + const ReasoningFormatTextParsed + func (e ReasoningFormat) Valid() bool + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type ResponseFormatJSONObject struct + Type ResponseFormatJSONObjectType + type ResponseFormatJSONObjectType string + const ResponseFormatJSONObjectTypeJsonObject + func (e ResponseFormatJSONObjectType) Valid() bool + type ResponseFormatJSONSchema struct + JsonSchema JSONSchema + Type ResponseFormatJSONSchemaType + type ResponseFormatJSONSchemaType string + const ResponseFormatJSONSchemaTypeJsonSchema + func (e ResponseFormatJSONSchemaType) Valid() bool + type ResponseFormatText struct + Type ResponseFormatTextType + type ResponseFormatTextType string + const ResponseFormatTextTypeText + func (e ResponseFormatTextType) Valid() bool + type ServiceTier string + const ServiceTierAuto + const ServiceTierDefault + const ServiceTierFlex + const ServiceTierPriority + func (e ServiceTier) Valid() bool + type StreamOptions struct + IncludeUsage *bool + type SupportedParameters struct + FrequencyPenalty *bool + LogitBias *bool + Logprobs *bool + MaxCompletionTokens *bool + PresencePenalty *bool + RepetitionPenalty *bool + Seed *bool + Stop *bool + Temperature *bool + TopLogprobs *bool + TopP *bool + type SystemMessageRequest struct + Content SystemMessageRequest_Content + Name *string + Role *SystemMessageRequestRole + type SystemMessageRequestContent0 = string + type SystemMessageRequestContent1 = []SystemMessageRequest_Content_1_Item + type SystemMessageRequestRole string + const SystemMessageRequestRoleSystem + func (e SystemMessageRequestRole) Valid() bool + type SystemMessageRequest_Content struct + func (t *SystemMessageRequest_Content) FromSystemMessageRequestContent0(v SystemMessageRequestContent0) error + func (t *SystemMessageRequest_Content) FromSystemMessageRequestContent1(v SystemMessageRequestContent1) error + func (t *SystemMessageRequest_Content) MergeSystemMessageRequestContent0(v SystemMessageRequestContent0) error + func (t *SystemMessageRequest_Content) MergeSystemMessageRequestContent1(v SystemMessageRequestContent1) error + func (t *SystemMessageRequest_Content) UnmarshalJSON(b []byte) error + func (t SystemMessageRequest_Content) AsSystemMessageRequestContent0() (SystemMessageRequestContent0, error) + func (t SystemMessageRequest_Content) AsSystemMessageRequestContent1() (SystemMessageRequestContent1, error) + func (t SystemMessageRequest_Content) MarshalJSON() ([]byte, error) + type SystemMessageRequest_Content_1_Item struct + func (t *SystemMessageRequest_Content_1_Item) FromImageContent(v ImageContent) error + func (t *SystemMessageRequest_Content_1_Item) FromImageUrlContent(v ImageUrlContent) error + func (t *SystemMessageRequest_Content_1_Item) FromTextContent(v TextContent) error + func (t *SystemMessageRequest_Content_1_Item) MergeImageContent(v ImageContent) error + func (t *SystemMessageRequest_Content_1_Item) MergeImageUrlContent(v ImageUrlContent) error + func (t *SystemMessageRequest_Content_1_Item) MergeTextContent(v TextContent) error + func (t *SystemMessageRequest_Content_1_Item) UnmarshalJSON(b []byte) error + func (t SystemMessageRequest_Content_1_Item) AsImageContent() (ImageContent, error) + func (t SystemMessageRequest_Content_1_Item) AsImageUrlContent() (ImageUrlContent, error) + func (t SystemMessageRequest_Content_1_Item) AsTextContent() (TextContent, error) + func (t SystemMessageRequest_Content_1_Item) Discriminator() (string, error) + func (t SystemMessageRequest_Content_1_Item) MarshalJSON() ([]byte, error) + func (t SystemMessageRequest_Content_1_Item) ValueByDiscriminator() (interface{}, error) + type TcpWarmingV1TcpWarmingGetResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *interface{} + func ParseTcpWarmingV1TcpWarmingGetResponse(rsp *http.Response) (*TcpWarmingV1TcpWarmingGetResponse, error) + func (r TcpWarmingV1TcpWarmingGetResponse) ContentType() string + func (r TcpWarmingV1TcpWarmingGetResponse) GetBody() []byte + func (r TcpWarmingV1TcpWarmingGetResponse) GetJSON200() *interface{} + func (r TcpWarmingV1TcpWarmingGetResponse) Status() string + func (r TcpWarmingV1TcpWarmingGetResponse) StatusCode() int + type TextContent struct + Text string + Type TextContentType + type TextContentType string + const TextContentTypeText + func (e TextContentType) Valid() bool + type TimeInfo struct + CompletionTime *float64 + Created *float64 + PromptTime *float64 + QueueTime *float64 + TotalTime *float64 + type Tool struct + Function FunctionObject + Type string + type ToolChoice string + const ToolChoiceAuto + const ToolChoiceNone + const ToolChoiceRequired + func (e ToolChoice) Valid() bool + type ToolMessageRequest struct + Content ToolMessageRequest_Content + Name *string + Role *ToolMessageRequestRole + ToolCallId string + type ToolMessageRequestContent0 = string + type ToolMessageRequestContent1 = []TextContent + type ToolMessageRequestRole string + const ToolMessageRequestRoleTool + func (e ToolMessageRequestRole) Valid() bool + type ToolMessageRequest_Content struct + func (t *ToolMessageRequest_Content) FromToolMessageRequestContent0(v ToolMessageRequestContent0) error + func (t *ToolMessageRequest_Content) FromToolMessageRequestContent1(v ToolMessageRequestContent1) error + func (t *ToolMessageRequest_Content) MergeToolMessageRequestContent0(v ToolMessageRequestContent0) error + func (t *ToolMessageRequest_Content) MergeToolMessageRequestContent1(v ToolMessageRequestContent1) error + func (t *ToolMessageRequest_Content) UnmarshalJSON(b []byte) error + func (t ToolMessageRequest_Content) AsToolMessageRequestContent0() (ToolMessageRequestContent0, error) + func (t ToolMessageRequest_Content) AsToolMessageRequestContent1() (ToolMessageRequestContent1, error) + func (t ToolMessageRequest_Content) MarshalJSON() ([]byte, error) + type TopLogProbs struct + Bytes *[]int + Logprob float64 + Token string + type Usage struct + CompletionTokens *int + CompletionTokensDetails *CompletionTokensDetails + ImageTokens *int + PromptTokens *int + PromptTokensDetails *PromptTokensDetails + TotalTokens *int + type UserMessageRequest struct + Content UserMessageRequest_Content + Name *string + Role *UserMessageRequestRole + type UserMessageRequestContent0 = string + type UserMessageRequestContent1 = []UserMessageRequest_Content_1_Item + type UserMessageRequestRole string + const UserMessageRequestRoleUser + func (e UserMessageRequestRole) Valid() bool + type UserMessageRequest_Content struct + func (t *UserMessageRequest_Content) FromUserMessageRequestContent0(v UserMessageRequestContent0) error + func (t *UserMessageRequest_Content) FromUserMessageRequestContent1(v UserMessageRequestContent1) error + func (t *UserMessageRequest_Content) MergeUserMessageRequestContent0(v UserMessageRequestContent0) error + func (t *UserMessageRequest_Content) MergeUserMessageRequestContent1(v UserMessageRequestContent1) error + func (t *UserMessageRequest_Content) UnmarshalJSON(b []byte) error + func (t UserMessageRequest_Content) AsUserMessageRequestContent0() (UserMessageRequestContent0, error) + func (t UserMessageRequest_Content) AsUserMessageRequestContent1() (UserMessageRequestContent1, error) + func (t UserMessageRequest_Content) MarshalJSON() ([]byte, error) + type UserMessageRequest_Content_1_Item struct + func (t *UserMessageRequest_Content_1_Item) FromImageContent(v ImageContent) error + func (t *UserMessageRequest_Content_1_Item) FromImageUrlContent(v ImageUrlContent) error + func (t *UserMessageRequest_Content_1_Item) FromTextContent(v TextContent) error + func (t *UserMessageRequest_Content_1_Item) MergeImageContent(v ImageContent) error + func (t *UserMessageRequest_Content_1_Item) MergeImageUrlContent(v ImageUrlContent) error + func (t *UserMessageRequest_Content_1_Item) MergeTextContent(v TextContent) error + func (t *UserMessageRequest_Content_1_Item) UnmarshalJSON(b []byte) error + func (t UserMessageRequest_Content_1_Item) AsImageContent() (ImageContent, error) + func (t UserMessageRequest_Content_1_Item) AsImageUrlContent() (ImageUrlContent, error) + func (t UserMessageRequest_Content_1_Item) AsTextContent() (TextContent, error) + func (t UserMessageRequest_Content_1_Item) Discriminator() (string, error) + func (t UserMessageRequest_Content_1_Item) MarshalJSON() ([]byte, error) + func (t UserMessageRequest_Content_1_Item) ValueByDiscriminator() (interface{}, error) + type ValidationError struct + Loc []ValidationError_Loc_Item + Msg string + Type string + type ValidationErrorLoc0 = string + type ValidationErrorLoc1 = int + type ValidationError_Loc_Item struct + func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error + func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error + func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error + func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error + func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error + func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error) + func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error) + func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)