Help us shape the future of Go! Take the 2026 Go Developer Survey

model

package
v0.9.22 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package model is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBaseChatModel added in v0.3.23

type MockBaseChatModel struct {
	// contains filtered or unexported fields
}

MockBaseChatModel is a mock of BaseChatModel interface.

func NewMockBaseChatModel added in v0.3.23

func NewMockBaseChatModel(ctrl *gomock.Controller) *MockBaseChatModel

NewMockBaseChatModel creates a new mock instance.

func (*MockBaseChatModel) EXPECT added in v0.3.23

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBaseChatModel) Generate added in v0.3.23

func (m *MockBaseChatModel) Generate(ctx context.Context, input []*schema.Message, opts ...model.Option) (*schema.Message, error)

Generate mocks base method.

func (*MockBaseChatModel) Stream added in v0.3.23

Stream mocks base method.

type MockBaseChatModelMockRecorder added in v0.3.23

type MockBaseChatModelMockRecorder struct {
	// contains filtered or unexported fields
}

MockBaseChatModelMockRecorder is the mock recorder for MockBaseChatModel.

func (*MockBaseChatModelMockRecorder) Generate added in v0.3.23

func (mr *MockBaseChatModelMockRecorder) Generate(ctx, input any, opts ...any) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockBaseChatModelMockRecorder) Stream added in v0.3.23

func (mr *MockBaseChatModelMockRecorder) Stream(ctx, input any, opts ...any) *gomock.Call

Stream indicates an expected call of Stream.

type MockChatModel

type MockChatModel struct {
	// contains filtered or unexported fields
}

MockChatModel is a mock of ChatModel interface.

func NewMockChatModel

func NewMockChatModel(ctrl *gomock.Controller) *MockChatModel

NewMockChatModel creates a new mock instance.

func (*MockChatModel) BindTools

func (m *MockChatModel) BindTools(tools []*schema.ToolInfo) error

BindTools mocks base method.

func (*MockChatModel) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChatModel) Generate

func (m *MockChatModel) Generate(ctx context.Context, input []*schema.Message, opts ...model.Option) (*schema.Message, error)

Generate mocks base method.

func (*MockChatModel) Stream

func (m *MockChatModel) Stream(ctx context.Context, input []*schema.Message, opts ...model.Option) (*schema.StreamReader[*schema.Message], error)

Stream mocks base method.

type MockChatModelMockRecorder

type MockChatModelMockRecorder struct {
	// contains filtered or unexported fields
}

MockChatModelMockRecorder is the mock recorder for MockChatModel.

func (*MockChatModelMockRecorder) BindTools

func (mr *MockChatModelMockRecorder) BindTools(tools any) *gomock.Call

BindTools indicates an expected call of BindTools.

func (*MockChatModelMockRecorder) Generate

func (mr *MockChatModelMockRecorder) Generate(ctx, input any, opts ...any) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockChatModelMockRecorder) Stream

func (mr *MockChatModelMockRecorder) Stream(ctx, input any, opts ...any) *gomock.Call

Stream indicates an expected call of Stream.

type MockToolCallingChatModel added in v0.3.23

type MockToolCallingChatModel struct {
	// contains filtered or unexported fields
}

MockToolCallingChatModel is a mock of ToolCallingChatModel interface.

func NewMockToolCallingChatModel added in v0.3.23

func NewMockToolCallingChatModel(ctrl *gomock.Controller) *MockToolCallingChatModel

NewMockToolCallingChatModel creates a new mock instance.

func (*MockToolCallingChatModel) EXPECT added in v0.3.23

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockToolCallingChatModel) Generate added in v0.3.23

func (m *MockToolCallingChatModel) Generate(ctx context.Context, input []*schema.Message, opts ...model.Option) (*schema.Message, error)

Generate mocks base method.

func (*MockToolCallingChatModel) Stream added in v0.3.23

Stream mocks base method.

func (*MockToolCallingChatModel) WithTools added in v0.3.23

WithTools mocks base method.

type MockToolCallingChatModelMockRecorder added in v0.3.23

type MockToolCallingChatModelMockRecorder struct {
	// contains filtered or unexported fields
}

MockToolCallingChatModelMockRecorder is the mock recorder for MockToolCallingChatModel.

func (*MockToolCallingChatModelMockRecorder) Generate added in v0.3.23

func (mr *MockToolCallingChatModelMockRecorder) Generate(ctx, input any, opts ...any) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockToolCallingChatModelMockRecorder) Stream added in v0.3.23

func (mr *MockToolCallingChatModelMockRecorder) Stream(ctx, input any, opts ...any) *gomock.Call

Stream indicates an expected call of Stream.

func (*MockToolCallingChatModelMockRecorder) WithTools added in v0.3.23

func (mr *MockToolCallingChatModelMockRecorder) WithTools(tools any) *gomock.Call

WithTools indicates an expected call of WithTools.

Jump to

Keyboard shortcuts

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