constants

package
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkTypeContentPartAdded

type ChunkTypeContentPartAdded string

func (*ChunkTypeContentPartAdded) MarshalJSON

func (m *ChunkTypeContentPartAdded) MarshalJSON() ([]byte, error)

func (*ChunkTypeContentPartAdded) UnmarshalJSON

func (m *ChunkTypeContentPartAdded) UnmarshalJSON(buf []byte) error

func (*ChunkTypeContentPartAdded) Value

func (m *ChunkTypeContentPartAdded) Value() string

type ChunkTypeContentPartDone

type ChunkTypeContentPartDone string

func (*ChunkTypeContentPartDone) MarshalJSON

func (m *ChunkTypeContentPartDone) MarshalJSON() ([]byte, error)

func (*ChunkTypeContentPartDone) UnmarshalJSON

func (m *ChunkTypeContentPartDone) UnmarshalJSON(buf []byte) error

func (*ChunkTypeContentPartDone) Value

func (m *ChunkTypeContentPartDone) Value() string

type ChunkTypeFunctionCallArgumentsDelta

type ChunkTypeFunctionCallArgumentsDelta string

func (*ChunkTypeFunctionCallArgumentsDelta) MarshalJSON

func (m *ChunkTypeFunctionCallArgumentsDelta) MarshalJSON() ([]byte, error)

func (*ChunkTypeFunctionCallArgumentsDelta) UnmarshalJSON

func (m *ChunkTypeFunctionCallArgumentsDelta) UnmarshalJSON(buf []byte) error

func (*ChunkTypeFunctionCallArgumentsDelta) Value

type ChunkTypeFunctionCallArgumentsDone

type ChunkTypeFunctionCallArgumentsDone string

func (*ChunkTypeFunctionCallArgumentsDone) MarshalJSON

func (m *ChunkTypeFunctionCallArgumentsDone) MarshalJSON() ([]byte, error)

func (*ChunkTypeFunctionCallArgumentsDone) UnmarshalJSON

func (m *ChunkTypeFunctionCallArgumentsDone) UnmarshalJSON(buf []byte) error

func (*ChunkTypeFunctionCallArgumentsDone) Value

type ChunkTypeImageGenerationCallGenerating

type ChunkTypeImageGenerationCallGenerating string

func (*ChunkTypeImageGenerationCallGenerating) MarshalJSON

func (m *ChunkTypeImageGenerationCallGenerating) MarshalJSON() ([]byte, error)

func (*ChunkTypeImageGenerationCallGenerating) UnmarshalJSON

func (m *ChunkTypeImageGenerationCallGenerating) UnmarshalJSON(buf []byte) error

func (*ChunkTypeImageGenerationCallGenerating) Value

type ChunkTypeImageGenerationCallInProgress

type ChunkTypeImageGenerationCallInProgress string

func (*ChunkTypeImageGenerationCallInProgress) MarshalJSON

func (m *ChunkTypeImageGenerationCallInProgress) MarshalJSON() ([]byte, error)

func (*ChunkTypeImageGenerationCallInProgress) UnmarshalJSON

func (m *ChunkTypeImageGenerationCallInProgress) UnmarshalJSON(buf []byte) error

func (*ChunkTypeImageGenerationCallInProgress) Value

type ChunkTypeImageGenerationCallPartialImage

type ChunkTypeImageGenerationCallPartialImage string

func (*ChunkTypeImageGenerationCallPartialImage) MarshalJSON

func (m *ChunkTypeImageGenerationCallPartialImage) MarshalJSON() ([]byte, error)

func (*ChunkTypeImageGenerationCallPartialImage) UnmarshalJSON

func (m *ChunkTypeImageGenerationCallPartialImage) UnmarshalJSON(buf []byte) error

func (*ChunkTypeImageGenerationCallPartialImage) Value

type ChunkTypeOutputItemAdded

type ChunkTypeOutputItemAdded string

func (*ChunkTypeOutputItemAdded) MarshalJSON

func (m *ChunkTypeOutputItemAdded) MarshalJSON() ([]byte, error)

func (*ChunkTypeOutputItemAdded) UnmarshalJSON

func (m *ChunkTypeOutputItemAdded) UnmarshalJSON(buf []byte) error

func (*ChunkTypeOutputItemAdded) Value

func (m *ChunkTypeOutputItemAdded) Value() string

type ChunkTypeOutputItemDone

type ChunkTypeOutputItemDone string

func (*ChunkTypeOutputItemDone) MarshalJSON

func (m *ChunkTypeOutputItemDone) MarshalJSON() ([]byte, error)

func (*ChunkTypeOutputItemDone) UnmarshalJSON

func (m *ChunkTypeOutputItemDone) UnmarshalJSON(buf []byte) error

func (*ChunkTypeOutputItemDone) Value

func (m *ChunkTypeOutputItemDone) Value() string

type ChunkTypeOutputTextAnnotationAdded added in v0.1.11

type ChunkTypeOutputTextAnnotationAdded string

func (*ChunkTypeOutputTextAnnotationAdded) MarshalJSON added in v0.1.11

func (m *ChunkTypeOutputTextAnnotationAdded) MarshalJSON() ([]byte, error)

func (*ChunkTypeOutputTextAnnotationAdded) UnmarshalJSON added in v0.1.11

func (m *ChunkTypeOutputTextAnnotationAdded) UnmarshalJSON(buf []byte) error

func (*ChunkTypeOutputTextAnnotationAdded) Value added in v0.1.11

type ChunkTypeOutputTextDelta

type ChunkTypeOutputTextDelta string

func (*ChunkTypeOutputTextDelta) MarshalJSON

func (m *ChunkTypeOutputTextDelta) MarshalJSON() ([]byte, error)

func (*ChunkTypeOutputTextDelta) UnmarshalJSON

func (m *ChunkTypeOutputTextDelta) UnmarshalJSON(buf []byte) error

func (*ChunkTypeOutputTextDelta) Value

func (m *ChunkTypeOutputTextDelta) Value() string

type ChunkTypeOutputTextDone

type ChunkTypeOutputTextDone string

func (*ChunkTypeOutputTextDone) MarshalJSON

func (m *ChunkTypeOutputTextDone) MarshalJSON() ([]byte, error)

func (*ChunkTypeOutputTextDone) UnmarshalJSON

func (m *ChunkTypeOutputTextDone) UnmarshalJSON(buf []byte) error

func (*ChunkTypeOutputTextDone) Value

func (m *ChunkTypeOutputTextDone) Value() string

type ChunkTypeReasoningSummaryPartAdded

type ChunkTypeReasoningSummaryPartAdded string

func (*ChunkTypeReasoningSummaryPartAdded) MarshalJSON

func (m *ChunkTypeReasoningSummaryPartAdded) MarshalJSON() ([]byte, error)

func (*ChunkTypeReasoningSummaryPartAdded) UnmarshalJSON

func (m *ChunkTypeReasoningSummaryPartAdded) UnmarshalJSON(buf []byte) error

func (*ChunkTypeReasoningSummaryPartAdded) Value

type ChunkTypeReasoningSummaryPartDone

type ChunkTypeReasoningSummaryPartDone string

func (*ChunkTypeReasoningSummaryPartDone) MarshalJSON

func (m *ChunkTypeReasoningSummaryPartDone) MarshalJSON() ([]byte, error)

func (*ChunkTypeReasoningSummaryPartDone) UnmarshalJSON

func (m *ChunkTypeReasoningSummaryPartDone) UnmarshalJSON(buf []byte) error

func (*ChunkTypeReasoningSummaryPartDone) Value

type ChunkTypeReasoningSummaryTextDelta

type ChunkTypeReasoningSummaryTextDelta string

func (*ChunkTypeReasoningSummaryTextDelta) MarshalJSON

func (m *ChunkTypeReasoningSummaryTextDelta) MarshalJSON() ([]byte, error)

func (*ChunkTypeReasoningSummaryTextDelta) UnmarshalJSON

func (m *ChunkTypeReasoningSummaryTextDelta) UnmarshalJSON(buf []byte) error

func (*ChunkTypeReasoningSummaryTextDelta) Value

type ChunkTypeReasoningSummaryTextDone

type ChunkTypeReasoningSummaryTextDone string

func (*ChunkTypeReasoningSummaryTextDone) MarshalJSON

func (m *ChunkTypeReasoningSummaryTextDone) MarshalJSON() ([]byte, error)

func (*ChunkTypeReasoningSummaryTextDone) UnmarshalJSON

func (m *ChunkTypeReasoningSummaryTextDone) UnmarshalJSON(buf []byte) error

func (*ChunkTypeReasoningSummaryTextDone) Value

type ChunkTypeResponseCompleted

type ChunkTypeResponseCompleted string

func (*ChunkTypeResponseCompleted) MarshalJSON

func (m *ChunkTypeResponseCompleted) MarshalJSON() ([]byte, error)

func (*ChunkTypeResponseCompleted) UnmarshalJSON

func (m *ChunkTypeResponseCompleted) UnmarshalJSON(buf []byte) error

func (*ChunkTypeResponseCompleted) Value

type ChunkTypeResponseCreated

type ChunkTypeResponseCreated string

func (*ChunkTypeResponseCreated) MarshalJSON

func (m *ChunkTypeResponseCreated) MarshalJSON() ([]byte, error)

func (*ChunkTypeResponseCreated) UnmarshalJSON

func (m *ChunkTypeResponseCreated) UnmarshalJSON(buf []byte) error

func (*ChunkTypeResponseCreated) Value

func (m *ChunkTypeResponseCreated) Value() string

type ChunkTypeResponseInProgress

type ChunkTypeResponseInProgress string

func (*ChunkTypeResponseInProgress) MarshalJSON

func (m *ChunkTypeResponseInProgress) MarshalJSON() ([]byte, error)

func (*ChunkTypeResponseInProgress) UnmarshalJSON

func (m *ChunkTypeResponseInProgress) UnmarshalJSON(buf []byte) error

func (*ChunkTypeResponseInProgress) Value

type ChunkTypeRunCompleted

type ChunkTypeRunCompleted string

func (*ChunkTypeRunCompleted) MarshalJSON

func (m *ChunkTypeRunCompleted) MarshalJSON() ([]byte, error)

func (*ChunkTypeRunCompleted) UnmarshalJSON

func (m *ChunkTypeRunCompleted) UnmarshalJSON(buf []byte) error

func (*ChunkTypeRunCompleted) Value

func (m *ChunkTypeRunCompleted) Value() string

type ChunkTypeRunCreated

type ChunkTypeRunCreated string

func (*ChunkTypeRunCreated) MarshalJSON

func (m *ChunkTypeRunCreated) MarshalJSON() ([]byte, error)

func (*ChunkTypeRunCreated) UnmarshalJSON

func (m *ChunkTypeRunCreated) UnmarshalJSON(buf []byte) error

func (*ChunkTypeRunCreated) Value

func (m *ChunkTypeRunCreated) Value() string

type ChunkTypeRunInProgress

type ChunkTypeRunInProgress string

func (*ChunkTypeRunInProgress) MarshalJSON

func (m *ChunkTypeRunInProgress) MarshalJSON() ([]byte, error)

func (*ChunkTypeRunInProgress) UnmarshalJSON

func (m *ChunkTypeRunInProgress) UnmarshalJSON(buf []byte) error

func (*ChunkTypeRunInProgress) Value

func (m *ChunkTypeRunInProgress) Value() string

type ChunkTypeRunPaused

type ChunkTypeRunPaused string

func (*ChunkTypeRunPaused) MarshalJSON

func (m *ChunkTypeRunPaused) MarshalJSON() ([]byte, error)

func (*ChunkTypeRunPaused) UnmarshalJSON

func (m *ChunkTypeRunPaused) UnmarshalJSON(buf []byte) error

func (*ChunkTypeRunPaused) Value

func (m *ChunkTypeRunPaused) Value() string

type ChunkTypeWebSearchCallCompleted added in v0.1.11

type ChunkTypeWebSearchCallCompleted string

func (*ChunkTypeWebSearchCallCompleted) MarshalJSON added in v0.1.11

func (m *ChunkTypeWebSearchCallCompleted) MarshalJSON() ([]byte, error)

func (*ChunkTypeWebSearchCallCompleted) UnmarshalJSON added in v0.1.11

func (m *ChunkTypeWebSearchCallCompleted) UnmarshalJSON(buf []byte) error

func (*ChunkTypeWebSearchCallCompleted) Value added in v0.1.11

type ChunkTypeWebSearchCallInProgress added in v0.1.11

type ChunkTypeWebSearchCallInProgress string

func (*ChunkTypeWebSearchCallInProgress) MarshalJSON added in v0.1.11

func (m *ChunkTypeWebSearchCallInProgress) MarshalJSON() ([]byte, error)

func (*ChunkTypeWebSearchCallInProgress) UnmarshalJSON added in v0.1.11

func (m *ChunkTypeWebSearchCallInProgress) UnmarshalJSON(buf []byte) error

func (*ChunkTypeWebSearchCallInProgress) Value added in v0.1.11

type ChunkTypeWebSearchCallSearching added in v0.1.11

type ChunkTypeWebSearchCallSearching string

func (*ChunkTypeWebSearchCallSearching) MarshalJSON added in v0.1.11

func (m *ChunkTypeWebSearchCallSearching) MarshalJSON() ([]byte, error)

func (*ChunkTypeWebSearchCallSearching) UnmarshalJSON added in v0.1.11

func (m *ChunkTypeWebSearchCallSearching) UnmarshalJSON(buf []byte) error

func (*ChunkTypeWebSearchCallSearching) Value added in v0.1.11

type ContentType

type ContentType interface {
	ContentTypeInputText | ContentTypeOutputText
}

type ContentTypeInputImage

type ContentTypeInputImage string

func (*ContentTypeInputImage) MarshalJSON

func (m *ContentTypeInputImage) MarshalJSON() ([]byte, error)

func (*ContentTypeInputImage) UnmarshalJSON

func (m *ContentTypeInputImage) UnmarshalJSON(buf []byte) error

func (*ContentTypeInputImage) Value

func (m *ContentTypeInputImage) Value() string

type ContentTypeInputText

type ContentTypeInputText string

func (*ContentTypeInputText) MarshalJSON

func (m *ContentTypeInputText) MarshalJSON() ([]byte, error)

func (*ContentTypeInputText) UnmarshalJSON

func (m *ContentTypeInputText) UnmarshalJSON(buf []byte) error

func (*ContentTypeInputText) Value

func (m *ContentTypeInputText) Value() string

type ContentTypeOutputText

type ContentTypeOutputText string

func (*ContentTypeOutputText) MarshalJSON

func (m *ContentTypeOutputText) MarshalJSON() ([]byte, error)

func (*ContentTypeOutputText) UnmarshalJSON

func (m *ContentTypeOutputText) UnmarshalJSON(buf []byte) error

func (*ContentTypeOutputText) Value

func (m *ContentTypeOutputText) Value() string

type ContentTypeSummaryText

type ContentTypeSummaryText string

func (*ContentTypeSummaryText) MarshalJSON

func (m *ContentTypeSummaryText) MarshalJSON() ([]byte, error)

func (*ContentTypeSummaryText) UnmarshalJSON

func (m *ContentTypeSummaryText) UnmarshalJSON(buf []byte) error

func (*ContentTypeSummaryText) Value

func (m *ContentTypeSummaryText) Value() string

type MessageTypeFunctionCall

type MessageTypeFunctionCall string

func (*MessageTypeFunctionCall) MarshalJSON

func (m *MessageTypeFunctionCall) MarshalJSON() ([]byte, error)

func (*MessageTypeFunctionCall) UnmarshalJSON

func (m *MessageTypeFunctionCall) UnmarshalJSON(buf []byte) error

func (*MessageTypeFunctionCall) Value

func (m *MessageTypeFunctionCall) Value() string

type MessageTypeFunctionCallApprovalResponse

type MessageTypeFunctionCallApprovalResponse string

func (*MessageTypeFunctionCallApprovalResponse) MarshalJSON

func (m *MessageTypeFunctionCallApprovalResponse) MarshalJSON() ([]byte, error)

func (*MessageTypeFunctionCallApprovalResponse) UnmarshalJSON

func (m *MessageTypeFunctionCallApprovalResponse) UnmarshalJSON(buf []byte) error

func (*MessageTypeFunctionCallApprovalResponse) Value

type MessageTypeFunctionCallOutput

type MessageTypeFunctionCallOutput string

func (*MessageTypeFunctionCallOutput) MarshalJSON

func (m *MessageTypeFunctionCallOutput) MarshalJSON() ([]byte, error)

func (*MessageTypeFunctionCallOutput) UnmarshalJSON

func (m *MessageTypeFunctionCallOutput) UnmarshalJSON(buf []byte) error

func (*MessageTypeFunctionCallOutput) Value

type MessageTypeImageGenerationCall

type MessageTypeImageGenerationCall string

func (*MessageTypeImageGenerationCall) MarshalJSON

func (m *MessageTypeImageGenerationCall) MarshalJSON() ([]byte, error)

func (*MessageTypeImageGenerationCall) UnmarshalJSON

func (m *MessageTypeImageGenerationCall) UnmarshalJSON(buf []byte) error

func (*MessageTypeImageGenerationCall) Value

type MessageTypeMessage

type MessageTypeMessage string

func (*MessageTypeMessage) MarshalJSON

func (m *MessageTypeMessage) MarshalJSON() ([]byte, error)

func (*MessageTypeMessage) UnmarshalJSON

func (m *MessageTypeMessage) UnmarshalJSON(buf []byte) error

func (*MessageTypeMessage) Value

func (m *MessageTypeMessage) Value() string

type MessageTypeReasoning

type MessageTypeReasoning string

func (*MessageTypeReasoning) MarshalJSON

func (m *MessageTypeReasoning) MarshalJSON() ([]byte, error)

func (*MessageTypeReasoning) UnmarshalJSON

func (m *MessageTypeReasoning) UnmarshalJSON(buf []byte) error

func (*MessageTypeReasoning) Value

func (m *MessageTypeReasoning) Value() string

type MessageTypeWebSearchCall added in v0.1.11

type MessageTypeWebSearchCall string

func (*MessageTypeWebSearchCall) MarshalJSON added in v0.1.11

func (m *MessageTypeWebSearchCall) MarshalJSON() ([]byte, error)

func (*MessageTypeWebSearchCall) UnmarshalJSON added in v0.1.11

func (m *MessageTypeWebSearchCall) UnmarshalJSON(buf []byte) error

func (*MessageTypeWebSearchCall) Value added in v0.1.11

func (m *MessageTypeWebSearchCall) Value() string

type Role

type Role string
const (
	RoleUser      Role = "user"
	RoleDeveloper Role = "developer"
	RoleSystem    Role = "system"
	RoleAssistant Role = "assistant"
)

type StringConstant

type StringConstant interface {
	Value() string
}

type ToolTypeFunction

type ToolTypeFunction string

func (*ToolTypeFunction) MarshalJSON

func (m *ToolTypeFunction) MarshalJSON() ([]byte, error)

func (*ToolTypeFunction) UnmarshalJSON

func (m *ToolTypeFunction) UnmarshalJSON(buf []byte) error

func (*ToolTypeFunction) Value

func (m *ToolTypeFunction) Value() string

type ToolTypeImageGeneration

type ToolTypeImageGeneration string

func (*ToolTypeImageGeneration) MarshalJSON

func (m *ToolTypeImageGeneration) MarshalJSON() ([]byte, error)

func (*ToolTypeImageGeneration) UnmarshalJSON

func (m *ToolTypeImageGeneration) UnmarshalJSON(buf []byte) error

func (*ToolTypeImageGeneration) Value

func (m *ToolTypeImageGeneration) Value() string

type ToolTypeWebSearch added in v0.1.11

type ToolTypeWebSearch string

func (*ToolTypeWebSearch) MarshalJSON added in v0.1.11

func (m *ToolTypeWebSearch) MarshalJSON() ([]byte, error)

func (*ToolTypeWebSearch) UnmarshalJSON added in v0.1.11

func (m *ToolTypeWebSearch) UnmarshalJSON(buf []byte) error

func (*ToolTypeWebSearch) Value added in v0.1.11

func (m *ToolTypeWebSearch) Value() string

type WebSearchActionTypeFind added in v0.1.11

type WebSearchActionTypeFind string

func (*WebSearchActionTypeFind) MarshalJSON added in v0.1.11

func (m *WebSearchActionTypeFind) MarshalJSON() ([]byte, error)

func (*WebSearchActionTypeFind) UnmarshalJSON added in v0.1.11

func (m *WebSearchActionTypeFind) UnmarshalJSON(buf []byte) error

func (*WebSearchActionTypeFind) Value added in v0.1.11

func (m *WebSearchActionTypeFind) Value() string

type WebSearchActionTypeOpenPage added in v0.1.11

type WebSearchActionTypeOpenPage string

func (*WebSearchActionTypeOpenPage) MarshalJSON added in v0.1.11

func (m *WebSearchActionTypeOpenPage) MarshalJSON() ([]byte, error)

func (*WebSearchActionTypeOpenPage) UnmarshalJSON added in v0.1.11

func (m *WebSearchActionTypeOpenPage) UnmarshalJSON(buf []byte) error

func (*WebSearchActionTypeOpenPage) Value added in v0.1.11

type WebSearchActionTypeSearch added in v0.1.11

type WebSearchActionTypeSearch string

func (*WebSearchActionTypeSearch) MarshalJSON added in v0.1.11

func (m *WebSearchActionTypeSearch) MarshalJSON() ([]byte, error)

func (*WebSearchActionTypeSearch) UnmarshalJSON added in v0.1.11

func (m *WebSearchActionTypeSearch) UnmarshalJSON(buf []byte) error

func (*WebSearchActionTypeSearch) Value added in v0.1.11

func (m *WebSearchActionTypeSearch) Value() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL