Documentation
¶
Overview ¶
Package model is a generated GoMock package.
Index ¶
- type MockChatModel
- func (m *MockChatModel) BindTools(tools []*schema.ToolInfo) error
- func (m *MockChatModel) EXPECT() *MockChatModelMockRecorder
- func (m *MockChatModel) Generate(ctx context.Context, input []*schema.Message, opts ...model.Option) (*schema.Message, error)
- func (m *MockChatModel) Stream(ctx context.Context, input []*schema.Message, opts ...model.Option) (*schema.StreamReader[*schema.Message], error)
- type MockChatModelMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
func (m *MockChatModel) EXPECT() *MockChatModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.