blob: 1c3189eb02d5534cba9e5b87432d5a894076177b [file] [log] [blame]
// Code generated by "stringer -type=MessageRole,ContentType,ToolChoiceType,StopReason -output=llm_string.go"; DO NOT EDIT.
package llm
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[MessageRoleUser-0]
_ = x[MessageRoleAssistant-1]
}
const _MessageRole_name = "MessageRoleUserMessageRoleAssistant"
var _MessageRole_index = [...]uint8{0, 15, 35}
func (i MessageRole) String() string {
if i < 0 || i >= MessageRole(len(_MessageRole_index)-1) {
return "MessageRole(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _MessageRole_name[_MessageRole_index[i]:_MessageRole_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ContentTypeText-2]
_ = x[ContentTypeThinking-3]
_ = x[ContentTypeRedactedThinking-4]
_ = x[ContentTypeToolUse-5]
_ = x[ContentTypeToolResult-6]
}
const _ContentType_name = "ContentTypeTextContentTypeThinkingContentTypeRedactedThinkingContentTypeToolUseContentTypeToolResult"
var _ContentType_index = [...]uint8{0, 15, 34, 61, 79, 100}
func (i ContentType) String() string {
i -= 2
if i < 0 || i >= ContentType(len(_ContentType_index)-1) {
return "ContentType(" + strconv.FormatInt(int64(i+2), 10) + ")"
}
return _ContentType_name[_ContentType_index[i]:_ContentType_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ToolChoiceTypeAuto-7]
_ = x[ToolChoiceTypeAny-8]
_ = x[ToolChoiceTypeNone-9]
_ = x[ToolChoiceTypeTool-10]
}
const _ToolChoiceType_name = "ToolChoiceTypeAutoToolChoiceTypeAnyToolChoiceTypeNoneToolChoiceTypeTool"
var _ToolChoiceType_index = [...]uint8{0, 18, 35, 53, 71}
func (i ToolChoiceType) String() string {
i -= 7
if i < 0 || i >= ToolChoiceType(len(_ToolChoiceType_index)-1) {
return "ToolChoiceType(" + strconv.FormatInt(int64(i+7), 10) + ")"
}
return _ToolChoiceType_name[_ToolChoiceType_index[i]:_ToolChoiceType_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[StopReasonStopSequence-11]
_ = x[StopReasonMaxTokens-12]
_ = x[StopReasonEndTurn-13]
_ = x[StopReasonToolUse-14]
}
const _StopReason_name = "StopReasonStopSequenceStopReasonMaxTokensStopReasonEndTurnStopReasonToolUse"
var _StopReason_index = [...]uint8{0, 22, 41, 58, 75}
func (i StopReason) String() string {
i -= 11
if i < 0 || i >= StopReason(len(_StopReason_index)-1) {
return "StopReason(" + strconv.FormatInt(int64(i+11), 10) + ")"
}
return _StopReason_name[_StopReason_index[i]:_StopReason_index[i+1]]
}