Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeOpenAICompatibleAgent
- func (fake *FakeOpenAICompatibleAgent) Invocations() map[string][][]interface{}
- func (fake *FakeOpenAICompatibleAgent) Run(arg1 context.Context, arg2 []types.Message) (*server.AgentResponse, error)
- func (fake *FakeOpenAICompatibleAgent) RunArgsForCall(i int) (context.Context, []types.Message)
- func (fake *FakeOpenAICompatibleAgent) RunCallCount() int
- func (fake *FakeOpenAICompatibleAgent) RunCalls(stub func(context.Context, []types.Message) (*server.AgentResponse, error))
- func (fake *FakeOpenAICompatibleAgent) RunReturns(result1 *server.AgentResponse, result2 error)
- func (fake *FakeOpenAICompatibleAgent) RunReturnsOnCall(i int, result1 *server.AgentResponse, result2 error)
- func (fake *FakeOpenAICompatibleAgent) RunWithStream(arg1 context.Context, arg2 []types.Message) (<-chan v2.Event, error)
- func (fake *FakeOpenAICompatibleAgent) RunWithStreamArgsForCall(i int) (context.Context, []types.Message)
- func (fake *FakeOpenAICompatibleAgent) RunWithStreamCallCount() int
- func (fake *FakeOpenAICompatibleAgent) RunWithStreamCalls(stub func(context.Context, []types.Message) (<-chan v2.Event, error))
- func (fake *FakeOpenAICompatibleAgent) RunWithStreamReturns(result1 <-chan v2.Event, result2 error)
- func (fake *FakeOpenAICompatibleAgent) RunWithStreamReturnsOnCall(i int, result1 <-chan v2.Event, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOpenAICompatibleAgent ¶
type FakeOpenAICompatibleAgent struct {
RunStub func(context.Context, []types.Message) (*server.AgentResponse, error)
RunWithStreamStub func(context.Context, []types.Message) (<-chan v2.Event, error)
// contains filtered or unexported fields
}
func (*FakeOpenAICompatibleAgent) Invocations ¶
func (fake *FakeOpenAICompatibleAgent) Invocations() map[string][][]interface{}
func (*FakeOpenAICompatibleAgent) Run ¶
func (fake *FakeOpenAICompatibleAgent) Run(arg1 context.Context, arg2 []types.Message) (*server.AgentResponse, error)
func (*FakeOpenAICompatibleAgent) RunArgsForCall ¶
func (*FakeOpenAICompatibleAgent) RunCallCount ¶
func (fake *FakeOpenAICompatibleAgent) RunCallCount() int
func (*FakeOpenAICompatibleAgent) RunCalls ¶
func (fake *FakeOpenAICompatibleAgent) RunCalls(stub func(context.Context, []types.Message) (*server.AgentResponse, error))
func (*FakeOpenAICompatibleAgent) RunReturns ¶
func (fake *FakeOpenAICompatibleAgent) RunReturns(result1 *server.AgentResponse, result2 error)
func (*FakeOpenAICompatibleAgent) RunReturnsOnCall ¶
func (fake *FakeOpenAICompatibleAgent) RunReturnsOnCall(i int, result1 *server.AgentResponse, result2 error)
func (*FakeOpenAICompatibleAgent) RunWithStream ¶
func (*FakeOpenAICompatibleAgent) RunWithStreamArgsForCall ¶
func (*FakeOpenAICompatibleAgent) RunWithStreamCallCount ¶
func (fake *FakeOpenAICompatibleAgent) RunWithStreamCallCount() int
func (*FakeOpenAICompatibleAgent) RunWithStreamCalls ¶
func (*FakeOpenAICompatibleAgent) RunWithStreamReturns ¶
func (fake *FakeOpenAICompatibleAgent) RunWithStreamReturns(result1 <-chan v2.Event, result2 error)
func (*FakeOpenAICompatibleAgent) RunWithStreamReturnsOnCall ¶
func (fake *FakeOpenAICompatibleAgent) RunWithStreamReturnsOnCall(i int, result1 <-chan v2.Event, result2 error)
Click to show internal directories.
Click to hide internal directories.