serverfakes

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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 (*FakeOpenAICompatibleAgent) RunArgsForCall

func (fake *FakeOpenAICompatibleAgent) RunArgsForCall(i int) (context.Context, []types.Message)

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 (fake *FakeOpenAICompatibleAgent) RunWithStream(arg1 context.Context, arg2 []types.Message) (<-chan v2.Event, error)

func (*FakeOpenAICompatibleAgent) RunWithStreamArgsForCall

func (fake *FakeOpenAICompatibleAgent) RunWithStreamArgsForCall(i int) (context.Context, []types.Message)

func (*FakeOpenAICompatibleAgent) RunWithStreamCallCount

func (fake *FakeOpenAICompatibleAgent) RunWithStreamCallCount() int

func (*FakeOpenAICompatibleAgent) RunWithStreamCalls

func (fake *FakeOpenAICompatibleAgent) RunWithStreamCalls(stub func(context.Context, []types.Message) (<-chan v2.Event, error))

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)

Jump to

Keyboard shortcuts

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