Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAgentService
- func (fake *FakeAgentService) CancelRequest(arg1 string) error
- func (fake *FakeAgentService) CancelRequestArgsForCall(i int) string
- func (fake *FakeAgentService) CancelRequestCallCount() int
- func (fake *FakeAgentService) CancelRequestCalls(stub func(string) error)
- func (fake *FakeAgentService) CancelRequestReturns(result1 error)
- func (fake *FakeAgentService) CancelRequestReturnsOnCall(i int, result1 error)
- func (fake *FakeAgentService) GetMetrics(arg1 string) *domain.ChatMetrics
- func (fake *FakeAgentService) GetMetricsArgsForCall(i int) string
- func (fake *FakeAgentService) GetMetricsCallCount() int
- func (fake *FakeAgentService) GetMetricsCalls(stub func(string) *domain.ChatMetrics)
- func (fake *FakeAgentService) GetMetricsReturns(result1 *domain.ChatMetrics)
- func (fake *FakeAgentService) GetMetricsReturnsOnCall(i int, result1 *domain.ChatMetrics)
- func (fake *FakeAgentService) Invocations() map[string][][]interface{}
- func (fake *FakeAgentService) Run(arg1 context.Context, arg2 *domain.AgentRequest) (*domain.ChatSyncResponse, error)
- func (fake *FakeAgentService) RunArgsForCall(i int) (context.Context, *domain.AgentRequest)
- func (fake *FakeAgentService) RunCallCount() int
- func (fake *FakeAgentService) RunCalls(...)
- func (fake *FakeAgentService) RunReturns(result1 *domain.ChatSyncResponse, result2 error)
- func (fake *FakeAgentService) RunReturnsOnCall(i int, result1 *domain.ChatSyncResponse, result2 error)
- func (fake *FakeAgentService) RunWithStream(arg1 context.Context, arg2 *domain.AgentRequest) (<-chan domain.ChatEvent, error)
- func (fake *FakeAgentService) RunWithStreamArgsForCall(i int) (context.Context, *domain.AgentRequest)
- func (fake *FakeAgentService) RunWithStreamCallCount() int
- func (fake *FakeAgentService) RunWithStreamCalls(...)
- func (fake *FakeAgentService) RunWithStreamReturns(result1 <-chan domain.ChatEvent, result2 error)
- func (fake *FakeAgentService) RunWithStreamReturnsOnCall(i int, result1 <-chan domain.ChatEvent, result2 error)
- type FakeAutocompleteInterface
- func (fake *FakeAutocompleteInterface) GetSelectedShortcut() string
- func (fake *FakeAutocompleteInterface) GetSelectedShortcutCallCount() int
- func (fake *FakeAutocompleteInterface) GetSelectedShortcutCalls(stub func() string)
- func (fake *FakeAutocompleteInterface) GetSelectedShortcutReturns(result1 string)
- func (fake *FakeAutocompleteInterface) GetSelectedShortcutReturnsOnCall(i int, result1 string)
- func (fake *FakeAutocompleteInterface) HandleKey(arg1 tea.KeyMsg) (bool, string)
- func (fake *FakeAutocompleteInterface) HandleKeyArgsForCall(i int) tea.KeyMsg
- func (fake *FakeAutocompleteInterface) HandleKeyCallCount() int
- func (fake *FakeAutocompleteInterface) HandleKeyCalls(stub func(tea.KeyMsg) (bool, string))
- func (fake *FakeAutocompleteInterface) HandleKeyReturns(result1 bool, result2 string)
- func (fake *FakeAutocompleteInterface) HandleKeyReturnsOnCall(i int, result1 bool, result2 string)
- func (fake *FakeAutocompleteInterface) Hide()
- func (fake *FakeAutocompleteInterface) HideCallCount() int
- func (fake *FakeAutocompleteInterface) HideCalls(stub func())
- func (fake *FakeAutocompleteInterface) Invocations() map[string][][]interface{}
- func (fake *FakeAutocompleteInterface) IsVisible() bool
- func (fake *FakeAutocompleteInterface) IsVisibleCallCount() int
- func (fake *FakeAutocompleteInterface) IsVisibleCalls(stub func() bool)
- func (fake *FakeAutocompleteInterface) IsVisibleReturns(result1 bool)
- func (fake *FakeAutocompleteInterface) IsVisibleReturnsOnCall(i int, result1 bool)
- func (fake *FakeAutocompleteInterface) Render() string
- func (fake *FakeAutocompleteInterface) RenderCallCount() int
- func (fake *FakeAutocompleteInterface) RenderCalls(stub func() string)
- func (fake *FakeAutocompleteInterface) RenderReturns(result1 string)
- func (fake *FakeAutocompleteInterface) RenderReturnsOnCall(i int, result1 string)
- func (fake *FakeAutocompleteInterface) SetWidth(arg1 int)
- func (fake *FakeAutocompleteInterface) SetWidthArgsForCall(i int) int
- func (fake *FakeAutocompleteInterface) SetWidthCallCount() int
- func (fake *FakeAutocompleteInterface) SetWidthCalls(stub func(int))
- func (fake *FakeAutocompleteInterface) Update(arg1 string, arg2 int)
- func (fake *FakeAutocompleteInterface) UpdateArgsForCall(i int) (string, int)
- func (fake *FakeAutocompleteInterface) UpdateCallCount() int
- func (fake *FakeAutocompleteInterface) UpdateCalls(stub func(string, int))
- type FakeConfigService
- func (fake *FakeConfigService) GetAPIKey() string
- func (fake *FakeConfigService) GetAPIKeyCallCount() int
- func (fake *FakeConfigService) GetAPIKeyCalls(stub func() string)
- func (fake *FakeConfigService) GetAPIKeyReturns(result1 string)
- func (fake *FakeConfigService) GetAPIKeyReturnsOnCall(i int, result1 string)
- func (fake *FakeConfigService) GetDefaultModel() string
- func (fake *FakeConfigService) GetDefaultModelCallCount() int
- func (fake *FakeConfigService) GetDefaultModelCalls(stub func() string)
- func (fake *FakeConfigService) GetDefaultModelReturns(result1 string)
- func (fake *FakeConfigService) GetDefaultModelReturnsOnCall(i int, result1 string)
- func (fake *FakeConfigService) GetGatewayURL() string
- func (fake *FakeConfigService) GetGatewayURLCallCount() int
- func (fake *FakeConfigService) GetGatewayURLCalls(stub func() string)
- func (fake *FakeConfigService) GetGatewayURLReturns(result1 string)
- func (fake *FakeConfigService) GetGatewayURLReturnsOnCall(i int, result1 string)
- func (fake *FakeConfigService) GetOutputDirectory() string
- func (fake *FakeConfigService) GetOutputDirectoryCallCount() int
- func (fake *FakeConfigService) GetOutputDirectoryCalls(stub func() string)
- func (fake *FakeConfigService) GetOutputDirectoryReturns(result1 string)
- func (fake *FakeConfigService) GetOutputDirectoryReturnsOnCall(i int, result1 string)
- func (fake *FakeConfigService) GetProtectedPaths() []string
- func (fake *FakeConfigService) GetProtectedPathsCallCount() int
- func (fake *FakeConfigService) GetProtectedPathsCalls(stub func() []string)
- func (fake *FakeConfigService) GetProtectedPathsReturns(result1 []string)
- func (fake *FakeConfigService) GetProtectedPathsReturnsOnCall(i int, result1 []string)
- func (fake *FakeConfigService) GetSandboxDirectories() []string
- func (fake *FakeConfigService) GetSandboxDirectoriesCallCount() int
- func (fake *FakeConfigService) GetSandboxDirectoriesCalls(stub func() []string)
- func (fake *FakeConfigService) GetSandboxDirectoriesReturns(result1 []string)
- func (fake *FakeConfigService) GetSandboxDirectoriesReturnsOnCall(i int, result1 []string)
- func (fake *FakeConfigService) GetSystemPrompt() string
- func (fake *FakeConfigService) GetSystemPromptCallCount() int
- func (fake *FakeConfigService) GetSystemPromptCalls(stub func() string)
- func (fake *FakeConfigService) GetSystemPromptReturns(result1 string)
- func (fake *FakeConfigService) GetSystemPromptReturnsOnCall(i int, result1 string)
- func (fake *FakeConfigService) GetTimeout() int
- func (fake *FakeConfigService) GetTimeoutCallCount() int
- func (fake *FakeConfigService) GetTimeoutCalls(stub func() int)
- func (fake *FakeConfigService) GetTimeoutReturns(result1 int)
- func (fake *FakeConfigService) GetTimeoutReturnsOnCall(i int, result1 int)
- func (fake *FakeConfigService) Invocations() map[string][][]interface{}
- func (fake *FakeConfigService) IsApprovalRequired(arg1 string) bool
- func (fake *FakeConfigService) IsApprovalRequiredArgsForCall(i int) string
- func (fake *FakeConfigService) IsApprovalRequiredCallCount() int
- func (fake *FakeConfigService) IsApprovalRequiredCalls(stub func(string) bool)
- func (fake *FakeConfigService) IsApprovalRequiredReturns(result1 bool)
- func (fake *FakeConfigService) IsApprovalRequiredReturnsOnCall(i int, result1 bool)
- type FakeConversationRenderer
- func (fake *FakeConversationRenderer) CanScrollDown() bool
- func (fake *FakeConversationRenderer) CanScrollDownCallCount() int
- func (fake *FakeConversationRenderer) CanScrollDownCalls(stub func() bool)
- func (fake *FakeConversationRenderer) CanScrollDownReturns(result1 bool)
- func (fake *FakeConversationRenderer) CanScrollDownReturnsOnCall(i int, result1 bool)
- func (fake *FakeConversationRenderer) CanScrollUp() bool
- func (fake *FakeConversationRenderer) CanScrollUpCallCount() int
- func (fake *FakeConversationRenderer) CanScrollUpCalls(stub func() bool)
- func (fake *FakeConversationRenderer) CanScrollUpReturns(result1 bool)
- func (fake *FakeConversationRenderer) CanScrollUpReturnsOnCall(i int, result1 bool)
- func (fake *FakeConversationRenderer) GetScrollOffset() int
- func (fake *FakeConversationRenderer) GetScrollOffsetCallCount() int
- func (fake *FakeConversationRenderer) GetScrollOffsetCalls(stub func() int)
- func (fake *FakeConversationRenderer) GetScrollOffsetReturns(result1 int)
- func (fake *FakeConversationRenderer) GetScrollOffsetReturnsOnCall(i int, result1 int)
- func (fake *FakeConversationRenderer) Invocations() map[string][][]interface{}
- func (fake *FakeConversationRenderer) IsToolResultExpanded(arg1 int) bool
- func (fake *FakeConversationRenderer) IsToolResultExpandedArgsForCall(i int) int
- func (fake *FakeConversationRenderer) IsToolResultExpandedCallCount() int
- func (fake *FakeConversationRenderer) IsToolResultExpandedCalls(stub func(int) bool)
- func (fake *FakeConversationRenderer) IsToolResultExpandedReturns(result1 bool)
- func (fake *FakeConversationRenderer) IsToolResultExpandedReturnsOnCall(i int, result1 bool)
- func (fake *FakeConversationRenderer) Render() string
- func (fake *FakeConversationRenderer) RenderCallCount() int
- func (fake *FakeConversationRenderer) RenderCalls(stub func() string)
- func (fake *FakeConversationRenderer) RenderReturns(result1 string)
- func (fake *FakeConversationRenderer) RenderReturnsOnCall(i int, result1 string)
- func (fake *FakeConversationRenderer) SetConversation(arg1 []domain.ConversationEntry)
- func (fake *FakeConversationRenderer) SetConversationArgsForCall(i int) []domain.ConversationEntry
- func (fake *FakeConversationRenderer) SetConversationCallCount() int
- func (fake *FakeConversationRenderer) SetConversationCalls(stub func([]domain.ConversationEntry))
- func (fake *FakeConversationRenderer) SetHeight(arg1 int)
- func (fake *FakeConversationRenderer) SetHeightArgsForCall(i int) int
- func (fake *FakeConversationRenderer) SetHeightCallCount() int
- func (fake *FakeConversationRenderer) SetHeightCalls(stub func(int))
- func (fake *FakeConversationRenderer) SetWidth(arg1 int)
- func (fake *FakeConversationRenderer) SetWidthArgsForCall(i int) int
- func (fake *FakeConversationRenderer) SetWidthCallCount() int
- func (fake *FakeConversationRenderer) SetWidthCalls(stub func(int))
- func (fake *FakeConversationRenderer) ToggleAllToolResultsExpansion()
- func (fake *FakeConversationRenderer) ToggleAllToolResultsExpansionCallCount() int
- func (fake *FakeConversationRenderer) ToggleAllToolResultsExpansionCalls(stub func())
- func (fake *FakeConversationRenderer) ToggleToolResultExpansion(arg1 int)
- func (fake *FakeConversationRenderer) ToggleToolResultExpansionArgsForCall(i int) int
- func (fake *FakeConversationRenderer) ToggleToolResultExpansionCallCount() int
- func (fake *FakeConversationRenderer) ToggleToolResultExpansionCalls(stub func(int))
- type FakeConversationRepository
- func (fake *FakeConversationRepository) AddMessage(arg1 domain.ConversationEntry) error
- func (fake *FakeConversationRepository) AddMessageArgsForCall(i int) domain.ConversationEntry
- func (fake *FakeConversationRepository) AddMessageCallCount() int
- func (fake *FakeConversationRepository) AddMessageCalls(stub func(domain.ConversationEntry) error)
- func (fake *FakeConversationRepository) AddMessageReturns(result1 error)
- func (fake *FakeConversationRepository) AddMessageReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationRepository) AddTokenUsage(arg1 int, arg2 int, arg3 int) error
- func (fake *FakeConversationRepository) AddTokenUsageArgsForCall(i int) (int, int, int)
- func (fake *FakeConversationRepository) AddTokenUsageCallCount() int
- func (fake *FakeConversationRepository) AddTokenUsageCalls(stub func(int, int, int) error)
- func (fake *FakeConversationRepository) AddTokenUsageReturns(result1 error)
- func (fake *FakeConversationRepository) AddTokenUsageReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationRepository) Clear() error
- func (fake *FakeConversationRepository) ClearCallCount() int
- func (fake *FakeConversationRepository) ClearCalls(stub func() error)
- func (fake *FakeConversationRepository) ClearReturns(result1 error)
- func (fake *FakeConversationRepository) ClearReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationRepository) Export(arg1 domain.ExportFormat) ([]byte, error)
- func (fake *FakeConversationRepository) ExportArgsForCall(i int) domain.ExportFormat
- func (fake *FakeConversationRepository) ExportCallCount() int
- func (fake *FakeConversationRepository) ExportCalls(stub func(domain.ExportFormat) ([]byte, error))
- func (fake *FakeConversationRepository) ExportReturns(result1 []byte, result2 error)
- func (fake *FakeConversationRepository) ExportReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeConversationRepository) GetMessageCount() int
- func (fake *FakeConversationRepository) GetMessageCountCallCount() int
- func (fake *FakeConversationRepository) GetMessageCountCalls(stub func() int)
- func (fake *FakeConversationRepository) GetMessageCountReturns(result1 int)
- func (fake *FakeConversationRepository) GetMessageCountReturnsOnCall(i int, result1 int)
- func (fake *FakeConversationRepository) GetMessages() []domain.ConversationEntry
- func (fake *FakeConversationRepository) GetMessagesCallCount() int
- func (fake *FakeConversationRepository) GetMessagesCalls(stub func() []domain.ConversationEntry)
- func (fake *FakeConversationRepository) GetMessagesReturns(result1 []domain.ConversationEntry)
- func (fake *FakeConversationRepository) GetMessagesReturnsOnCall(i int, result1 []domain.ConversationEntry)
- func (fake *FakeConversationRepository) GetSessionTokens() domain.SessionTokenStats
- func (fake *FakeConversationRepository) GetSessionTokensCallCount() int
- func (fake *FakeConversationRepository) GetSessionTokensCalls(stub func() domain.SessionTokenStats)
- func (fake *FakeConversationRepository) GetSessionTokensReturns(result1 domain.SessionTokenStats)
- func (fake *FakeConversationRepository) GetSessionTokensReturnsOnCall(i int, result1 domain.SessionTokenStats)
- func (fake *FakeConversationRepository) Invocations() map[string][][]interface{}
- func (fake *FakeConversationRepository) UpdateLastMessage(arg1 string) error
- func (fake *FakeConversationRepository) UpdateLastMessageArgsForCall(i int) string
- func (fake *FakeConversationRepository) UpdateLastMessageCallCount() int
- func (fake *FakeConversationRepository) UpdateLastMessageCalls(stub func(string) error)
- func (fake *FakeConversationRepository) UpdateLastMessageReturns(result1 error)
- func (fake *FakeConversationRepository) UpdateLastMessageReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationRepository) UpdateLastMessageToolCalls(arg1 *[]sdk.ChatCompletionMessageToolCall) error
- func (fake *FakeConversationRepository) UpdateLastMessageToolCallsArgsForCall(i int) *[]sdk.ChatCompletionMessageToolCall
- func (fake *FakeConversationRepository) UpdateLastMessageToolCallsCallCount() int
- func (fake *FakeConversationRepository) UpdateLastMessageToolCallsCalls(stub func(*[]sdk.ChatCompletionMessageToolCall) error)
- func (fake *FakeConversationRepository) UpdateLastMessageToolCallsReturns(result1 error)
- func (fake *FakeConversationRepository) UpdateLastMessageToolCallsReturnsOnCall(i int, result1 error)
- type FakeConversationStorage
- func (fake *FakeConversationStorage) Close() error
- func (fake *FakeConversationStorage) CloseCallCount() int
- func (fake *FakeConversationStorage) CloseCalls(stub func() error)
- func (fake *FakeConversationStorage) CloseReturns(result1 error)
- func (fake *FakeConversationStorage) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationStorage) DeleteConversation(arg1 context.Context, arg2 string) error
- func (fake *FakeConversationStorage) DeleteConversationArgsForCall(i int) (context.Context, string)
- func (fake *FakeConversationStorage) DeleteConversationCallCount() int
- func (fake *FakeConversationStorage) DeleteConversationCalls(stub func(context.Context, string) error)
- func (fake *FakeConversationStorage) DeleteConversationReturns(result1 error)
- func (fake *FakeConversationStorage) DeleteConversationReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationStorage) Health(arg1 context.Context) error
- func (fake *FakeConversationStorage) HealthArgsForCall(i int) context.Context
- func (fake *FakeConversationStorage) HealthCallCount() int
- func (fake *FakeConversationStorage) HealthCalls(stub func(context.Context) error)
- func (fake *FakeConversationStorage) HealthReturns(result1 error)
- func (fake *FakeConversationStorage) HealthReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationStorage) Invocations() map[string][][]interface{}
- func (fake *FakeConversationStorage) ListConversations(arg1 context.Context, arg2 int, arg3 int) ([]storage.ConversationSummary, error)
- func (fake *FakeConversationStorage) ListConversationsArgsForCall(i int) (context.Context, int, int)
- func (fake *FakeConversationStorage) ListConversationsCallCount() int
- func (fake *FakeConversationStorage) ListConversationsCalls(stub func(context.Context, int, int) ([]storage.ConversationSummary, error))
- func (fake *FakeConversationStorage) ListConversationsNeedingTitles(arg1 context.Context, arg2 int) ([]storage.ConversationSummary, error)
- func (fake *FakeConversationStorage) ListConversationsNeedingTitlesArgsForCall(i int) (context.Context, int)
- func (fake *FakeConversationStorage) ListConversationsNeedingTitlesCallCount() int
- func (fake *FakeConversationStorage) ListConversationsNeedingTitlesCalls(stub func(context.Context, int) ([]storage.ConversationSummary, error))
- func (fake *FakeConversationStorage) ListConversationsNeedingTitlesReturns(result1 []storage.ConversationSummary, result2 error)
- func (fake *FakeConversationStorage) ListConversationsNeedingTitlesReturnsOnCall(i int, result1 []storage.ConversationSummary, result2 error)
- func (fake *FakeConversationStorage) ListConversationsReturns(result1 []storage.ConversationSummary, result2 error)
- func (fake *FakeConversationStorage) ListConversationsReturnsOnCall(i int, result1 []storage.ConversationSummary, result2 error)
- func (fake *FakeConversationStorage) LoadConversation(arg1 context.Context, arg2 string) ([]domain.ConversationEntry, storage.ConversationMetadata, error)
- func (fake *FakeConversationStorage) LoadConversationArgsForCall(i int) (context.Context, string)
- func (fake *FakeConversationStorage) LoadConversationCallCount() int
- func (fake *FakeConversationStorage) LoadConversationCalls(...)
- func (fake *FakeConversationStorage) LoadConversationReturns(result1 []domain.ConversationEntry, result2 storage.ConversationMetadata, ...)
- func (fake *FakeConversationStorage) LoadConversationReturnsOnCall(i int, result1 []domain.ConversationEntry, ...)
- func (fake *FakeConversationStorage) SaveConversation(arg1 context.Context, arg2 string, arg3 []domain.ConversationEntry, ...) error
- func (fake *FakeConversationStorage) SaveConversationArgsForCall(i int) (context.Context, string, []domain.ConversationEntry, ...)
- func (fake *FakeConversationStorage) SaveConversationCallCount() int
- func (fake *FakeConversationStorage) SaveConversationCalls(stub func(context.Context, string, []domain.ConversationEntry, ...) error)
- func (fake *FakeConversationStorage) SaveConversationReturns(result1 error)
- func (fake *FakeConversationStorage) SaveConversationReturnsOnCall(i int, result1 error)
- func (fake *FakeConversationStorage) UpdateConversationMetadata(arg1 context.Context, arg2 string, arg3 storage.ConversationMetadata) error
- func (fake *FakeConversationStorage) UpdateConversationMetadataArgsForCall(i int) (context.Context, string, storage.ConversationMetadata)
- func (fake *FakeConversationStorage) UpdateConversationMetadataCallCount() int
- func (fake *FakeConversationStorage) UpdateConversationMetadataCalls(stub func(context.Context, string, storage.ConversationMetadata) error)
- func (fake *FakeConversationStorage) UpdateConversationMetadataReturns(result1 error)
- func (fake *FakeConversationStorage) UpdateConversationMetadataReturnsOnCall(i int, result1 error)
- type FakeFileService
- func (fake *FakeFileService) GetFileInfo(arg1 string) (domain.FileInfo, error)
- func (fake *FakeFileService) GetFileInfoArgsForCall(i int) string
- func (fake *FakeFileService) GetFileInfoCallCount() int
- func (fake *FakeFileService) GetFileInfoCalls(stub func(string) (domain.FileInfo, error))
- func (fake *FakeFileService) GetFileInfoReturns(result1 domain.FileInfo, result2 error)
- func (fake *FakeFileService) GetFileInfoReturnsOnCall(i int, result1 domain.FileInfo, result2 error)
- func (fake *FakeFileService) Invocations() map[string][][]interface{}
- func (fake *FakeFileService) ListProjectFiles() ([]string, error)
- func (fake *FakeFileService) ListProjectFilesCallCount() int
- func (fake *FakeFileService) ListProjectFilesCalls(stub func() ([]string, error))
- func (fake *FakeFileService) ListProjectFilesReturns(result1 []string, result2 error)
- func (fake *FakeFileService) ListProjectFilesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeFileService) ReadFile(arg1 string) (string, error)
- func (fake *FakeFileService) ReadFileArgsForCall(i int) string
- func (fake *FakeFileService) ReadFileCallCount() int
- func (fake *FakeFileService) ReadFileCalls(stub func(string) (string, error))
- func (fake *FakeFileService) ReadFileLines(arg1 string, arg2 int, arg3 int) (string, error)
- func (fake *FakeFileService) ReadFileLinesArgsForCall(i int) (string, int, int)
- func (fake *FakeFileService) ReadFileLinesCallCount() int
- func (fake *FakeFileService) ReadFileLinesCalls(stub func(string, int, int) (string, error))
- func (fake *FakeFileService) ReadFileLinesReturns(result1 string, result2 error)
- func (fake *FakeFileService) ReadFileLinesReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeFileService) ReadFileReturns(result1 string, result2 error)
- func (fake *FakeFileService) ReadFileReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeFileService) ValidateFile(arg1 string) error
- func (fake *FakeFileService) ValidateFileArgsForCall(i int) string
- func (fake *FakeFileService) ValidateFileCallCount() int
- func (fake *FakeFileService) ValidateFileCalls(stub func(string) error)
- func (fake *FakeFileService) ValidateFileReturns(result1 error)
- func (fake *FakeFileService) ValidateFileReturnsOnCall(i int, result1 error)
- type FakeHelpBarComponent
- func (fake *FakeHelpBarComponent) Invocations() map[string][][]interface{}
- func (fake *FakeHelpBarComponent) IsEnabled() bool
- func (fake *FakeHelpBarComponent) IsEnabledCallCount() int
- func (fake *FakeHelpBarComponent) IsEnabledCalls(stub func() bool)
- func (fake *FakeHelpBarComponent) IsEnabledReturns(result1 bool)
- func (fake *FakeHelpBarComponent) IsEnabledReturnsOnCall(i int, result1 bool)
- func (fake *FakeHelpBarComponent) Render() string
- func (fake *FakeHelpBarComponent) RenderCallCount() int
- func (fake *FakeHelpBarComponent) RenderCalls(stub func() string)
- func (fake *FakeHelpBarComponent) RenderReturns(result1 string)
- func (fake *FakeHelpBarComponent) RenderReturnsOnCall(i int, result1 string)
- func (fake *FakeHelpBarComponent) SetEnabled(arg1 bool)
- func (fake *FakeHelpBarComponent) SetEnabledArgsForCall(i int) bool
- func (fake *FakeHelpBarComponent) SetEnabledCallCount() int
- func (fake *FakeHelpBarComponent) SetEnabledCalls(stub func(bool))
- func (fake *FakeHelpBarComponent) SetHeight(arg1 int)
- func (fake *FakeHelpBarComponent) SetHeightArgsForCall(i int) int
- func (fake *FakeHelpBarComponent) SetHeightCallCount() int
- func (fake *FakeHelpBarComponent) SetHeightCalls(stub func(int))
- func (fake *FakeHelpBarComponent) SetShortcuts(arg1 []shared.KeyShortcut)
- func (fake *FakeHelpBarComponent) SetShortcutsArgsForCall(i int) []shared.KeyShortcut
- func (fake *FakeHelpBarComponent) SetShortcutsCallCount() int
- func (fake *FakeHelpBarComponent) SetShortcutsCalls(stub func([]shared.KeyShortcut))
- func (fake *FakeHelpBarComponent) SetWidth(arg1 int)
- func (fake *FakeHelpBarComponent) SetWidthArgsForCall(i int) int
- func (fake *FakeHelpBarComponent) SetWidthCallCount() int
- func (fake *FakeHelpBarComponent) SetWidthCalls(stub func(int))
- type FakeInputComponent
- func (fake *FakeInputComponent) AddToHistory(arg1 string) error
- func (fake *FakeInputComponent) AddToHistoryArgsForCall(i int) string
- func (fake *FakeInputComponent) AddToHistoryCallCount() int
- func (fake *FakeInputComponent) AddToHistoryCalls(stub func(string) error)
- func (fake *FakeInputComponent) AddToHistoryReturns(result1 error)
- func (fake *FakeInputComponent) AddToHistoryReturnsOnCall(i int, result1 error)
- func (fake *FakeInputComponent) CanHandle(arg1 tea.KeyMsg) bool
- func (fake *FakeInputComponent) CanHandleArgsForCall(i int) tea.KeyMsg
- func (fake *FakeInputComponent) CanHandleCallCount() int
- func (fake *FakeInputComponent) CanHandleCalls(stub func(tea.KeyMsg) bool)
- func (fake *FakeInputComponent) CanHandleReturns(result1 bool)
- func (fake *FakeInputComponent) CanHandleReturnsOnCall(i int, result1 bool)
- func (fake *FakeInputComponent) ClearInput()
- func (fake *FakeInputComponent) ClearInputCallCount() int
- func (fake *FakeInputComponent) ClearInputCalls(stub func())
- func (fake *FakeInputComponent) GetCursor() int
- func (fake *FakeInputComponent) GetCursorCallCount() int
- func (fake *FakeInputComponent) GetCursorCalls(stub func() int)
- func (fake *FakeInputComponent) GetCursorReturns(result1 int)
- func (fake *FakeInputComponent) GetCursorReturnsOnCall(i int, result1 int)
- func (fake *FakeInputComponent) GetInput() string
- func (fake *FakeInputComponent) GetInputCallCount() int
- func (fake *FakeInputComponent) GetInputCalls(stub func() string)
- func (fake *FakeInputComponent) GetInputReturns(result1 string)
- func (fake *FakeInputComponent) GetInputReturnsOnCall(i int, result1 string)
- func (fake *FakeInputComponent) HandleKey(arg1 tea.KeyMsg) (tea.Model, tea.Cmd)
- func (fake *FakeInputComponent) HandleKeyArgsForCall(i int) tea.KeyMsg
- func (fake *FakeInputComponent) HandleKeyCallCount() int
- func (fake *FakeInputComponent) HandleKeyCalls(stub func(tea.KeyMsg) (tea.Model, tea.Cmd))
- func (fake *FakeInputComponent) HandleKeyReturns(result1 tea.Model, result2 tea.Cmd)
- func (fake *FakeInputComponent) HandleKeyReturnsOnCall(i int, result1 tea.Model, result2 tea.Cmd)
- func (fake *FakeInputComponent) Invocations() map[string][][]interface{}
- func (fake *FakeInputComponent) IsAutocompleteVisible() bool
- func (fake *FakeInputComponent) IsAutocompleteVisibleCallCount() int
- func (fake *FakeInputComponent) IsAutocompleteVisibleCalls(stub func() bool)
- func (fake *FakeInputComponent) IsAutocompleteVisibleReturns(result1 bool)
- func (fake *FakeInputComponent) IsAutocompleteVisibleReturnsOnCall(i int, result1 bool)
- func (fake *FakeInputComponent) IsTextSelectionMode() bool
- func (fake *FakeInputComponent) IsTextSelectionModeCallCount() int
- func (fake *FakeInputComponent) IsTextSelectionModeCalls(stub func() bool)
- func (fake *FakeInputComponent) IsTextSelectionModeReturns(result1 bool)
- func (fake *FakeInputComponent) IsTextSelectionModeReturnsOnCall(i int, result1 bool)
- func (fake *FakeInputComponent) NavigateHistoryDown()
- func (fake *FakeInputComponent) NavigateHistoryDownCallCount() int
- func (fake *FakeInputComponent) NavigateHistoryDownCalls(stub func())
- func (fake *FakeInputComponent) NavigateHistoryUp()
- func (fake *FakeInputComponent) NavigateHistoryUpCallCount() int
- func (fake *FakeInputComponent) NavigateHistoryUpCalls(stub func())
- func (fake *FakeInputComponent) Render() string
- func (fake *FakeInputComponent) RenderCallCount() int
- func (fake *FakeInputComponent) RenderCalls(stub func() string)
- func (fake *FakeInputComponent) RenderReturns(result1 string)
- func (fake *FakeInputComponent) RenderReturnsOnCall(i int, result1 string)
- func (fake *FakeInputComponent) SetCursor(arg1 int)
- func (fake *FakeInputComponent) SetCursorArgsForCall(i int) int
- func (fake *FakeInputComponent) SetCursorCallCount() int
- func (fake *FakeInputComponent) SetCursorCalls(stub func(int))
- func (fake *FakeInputComponent) SetHeight(arg1 int)
- func (fake *FakeInputComponent) SetHeightArgsForCall(i int) int
- func (fake *FakeInputComponent) SetHeightCallCount() int
- func (fake *FakeInputComponent) SetHeightCalls(stub func(int))
- func (fake *FakeInputComponent) SetPlaceholder(arg1 string)
- func (fake *FakeInputComponent) SetPlaceholderArgsForCall(i int) string
- func (fake *FakeInputComponent) SetPlaceholderCallCount() int
- func (fake *FakeInputComponent) SetPlaceholderCalls(stub func(string))
- func (fake *FakeInputComponent) SetText(arg1 string)
- func (fake *FakeInputComponent) SetTextArgsForCall(i int) string
- func (fake *FakeInputComponent) SetTextCallCount() int
- func (fake *FakeInputComponent) SetTextCalls(stub func(string))
- func (fake *FakeInputComponent) SetTextSelectionMode(arg1 bool)
- func (fake *FakeInputComponent) SetTextSelectionModeArgsForCall(i int) bool
- func (fake *FakeInputComponent) SetTextSelectionModeCallCount() int
- func (fake *FakeInputComponent) SetTextSelectionModeCalls(stub func(bool))
- func (fake *FakeInputComponent) SetWidth(arg1 int)
- func (fake *FakeInputComponent) SetWidthArgsForCall(i int) int
- func (fake *FakeInputComponent) SetWidthCallCount() int
- func (fake *FakeInputComponent) SetWidthCalls(stub func(int))
- func (fake *FakeInputComponent) TryHandleAutocomplete(arg1 tea.KeyMsg) (bool, string)
- func (fake *FakeInputComponent) TryHandleAutocompleteArgsForCall(i int) tea.KeyMsg
- func (fake *FakeInputComponent) TryHandleAutocompleteCallCount() int
- func (fake *FakeInputComponent) TryHandleAutocompleteCalls(stub func(tea.KeyMsg) (bool, string))
- func (fake *FakeInputComponent) TryHandleAutocompleteReturns(result1 bool, result2 string)
- func (fake *FakeInputComponent) TryHandleAutocompleteReturnsOnCall(i int, result1 bool, result2 string)
- type FakeModelService
- func (fake *FakeModelService) GetCurrentModel() string
- func (fake *FakeModelService) GetCurrentModelCallCount() int
- func (fake *FakeModelService) GetCurrentModelCalls(stub func() string)
- func (fake *FakeModelService) GetCurrentModelReturns(result1 string)
- func (fake *FakeModelService) GetCurrentModelReturnsOnCall(i int, result1 string)
- func (fake *FakeModelService) Invocations() map[string][][]interface{}
- func (fake *FakeModelService) IsModelAvailable(arg1 string) bool
- func (fake *FakeModelService) IsModelAvailableArgsForCall(i int) string
- func (fake *FakeModelService) IsModelAvailableCallCount() int
- func (fake *FakeModelService) IsModelAvailableCalls(stub func(string) bool)
- func (fake *FakeModelService) IsModelAvailableReturns(result1 bool)
- func (fake *FakeModelService) IsModelAvailableReturnsOnCall(i int, result1 bool)
- func (fake *FakeModelService) ListModels(arg1 context.Context) ([]string, error)
- func (fake *FakeModelService) ListModelsArgsForCall(i int) context.Context
- func (fake *FakeModelService) ListModelsCallCount() int
- func (fake *FakeModelService) ListModelsCalls(stub func(context.Context) ([]string, error))
- func (fake *FakeModelService) ListModelsReturns(result1 []string, result2 error)
- func (fake *FakeModelService) ListModelsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeModelService) SelectModel(arg1 string) error
- func (fake *FakeModelService) SelectModelArgsForCall(i int) string
- func (fake *FakeModelService) SelectModelCallCount() int
- func (fake *FakeModelService) SelectModelCalls(stub func(string) error)
- func (fake *FakeModelService) SelectModelReturns(result1 error)
- func (fake *FakeModelService) SelectModelReturnsOnCall(i int, result1 error)
- func (fake *FakeModelService) ValidateModel(arg1 string) error
- func (fake *FakeModelService) ValidateModelArgsForCall(i int) string
- func (fake *FakeModelService) ValidateModelCallCount() int
- func (fake *FakeModelService) ValidateModelCalls(stub func(string) error)
- func (fake *FakeModelService) ValidateModelReturns(result1 error)
- func (fake *FakeModelService) ValidateModelReturnsOnCall(i int, result1 error)
- type FakeSDKClient
- func (fake *FakeSDKClient) GenerateContent(arg1 context.Context, arg2 sdk.Provider, arg3 string, arg4 []sdk.Message) (*sdk.CreateChatCompletionResponse, error)
- func (fake *FakeSDKClient) GenerateContentArgsForCall(i int) (context.Context, sdk.Provider, string, []sdk.Message)
- func (fake *FakeSDKClient) GenerateContentCallCount() int
- func (fake *FakeSDKClient) GenerateContentCalls(...)
- func (fake *FakeSDKClient) GenerateContentReturns(result1 *sdk.CreateChatCompletionResponse, result2 error)
- func (fake *FakeSDKClient) GenerateContentReturnsOnCall(i int, result1 *sdk.CreateChatCompletionResponse, result2 error)
- func (fake *FakeSDKClient) Invocations() map[string][][]interface{}
- func (fake *FakeSDKClient) WithMiddlewareOptions(arg1 *sdk.MiddlewareOptions) domain.SDKClient
- func (fake *FakeSDKClient) WithMiddlewareOptionsArgsForCall(i int) *sdk.MiddlewareOptions
- func (fake *FakeSDKClient) WithMiddlewareOptionsCallCount() int
- func (fake *FakeSDKClient) WithMiddlewareOptionsCalls(stub func(*sdk.MiddlewareOptions) domain.SDKClient)
- func (fake *FakeSDKClient) WithMiddlewareOptionsReturns(result1 domain.SDKClient)
- func (fake *FakeSDKClient) WithMiddlewareOptionsReturnsOnCall(i int, result1 domain.SDKClient)
- func (fake *FakeSDKClient) WithOptions(arg1 *sdk.CreateChatCompletionRequest) domain.SDKClient
- func (fake *FakeSDKClient) WithOptionsArgsForCall(i int) *sdk.CreateChatCompletionRequest
- func (fake *FakeSDKClient) WithOptionsCallCount() int
- func (fake *FakeSDKClient) WithOptionsCalls(stub func(*sdk.CreateChatCompletionRequest) domain.SDKClient)
- func (fake *FakeSDKClient) WithOptionsReturns(result1 domain.SDKClient)
- func (fake *FakeSDKClient) WithOptionsReturnsOnCall(i int, result1 domain.SDKClient)
- type FakeSelectionComponent
- func (fake *FakeSelectionComponent) GetOptions() []string
- func (fake *FakeSelectionComponent) GetOptionsCallCount() int
- func (fake *FakeSelectionComponent) GetOptionsCalls(stub func() []string)
- func (fake *FakeSelectionComponent) GetOptionsReturns(result1 []string)
- func (fake *FakeSelectionComponent) GetOptionsReturnsOnCall(i int, result1 []string)
- func (fake *FakeSelectionComponent) GetSelected() string
- func (fake *FakeSelectionComponent) GetSelectedCallCount() int
- func (fake *FakeSelectionComponent) GetSelectedCalls(stub func() string)
- func (fake *FakeSelectionComponent) GetSelectedIndex() int
- func (fake *FakeSelectionComponent) GetSelectedIndexCallCount() int
- func (fake *FakeSelectionComponent) GetSelectedIndexCalls(stub func() int)
- func (fake *FakeSelectionComponent) GetSelectedIndexReturns(result1 int)
- func (fake *FakeSelectionComponent) GetSelectedIndexReturnsOnCall(i int, result1 int)
- func (fake *FakeSelectionComponent) GetSelectedReturns(result1 string)
- func (fake *FakeSelectionComponent) GetSelectedReturnsOnCall(i int, result1 string)
- func (fake *FakeSelectionComponent) Invocations() map[string][][]interface{}
- func (fake *FakeSelectionComponent) IsCancelled() bool
- func (fake *FakeSelectionComponent) IsCancelledCallCount() int
- func (fake *FakeSelectionComponent) IsCancelledCalls(stub func() bool)
- func (fake *FakeSelectionComponent) IsCancelledReturns(result1 bool)
- func (fake *FakeSelectionComponent) IsCancelledReturnsOnCall(i int, result1 bool)
- func (fake *FakeSelectionComponent) IsSelected() bool
- func (fake *FakeSelectionComponent) IsSelectedCallCount() int
- func (fake *FakeSelectionComponent) IsSelectedCalls(stub func() bool)
- func (fake *FakeSelectionComponent) IsSelectedReturns(result1 bool)
- func (fake *FakeSelectionComponent) IsSelectedReturnsOnCall(i int, result1 bool)
- func (fake *FakeSelectionComponent) Render() string
- func (fake *FakeSelectionComponent) RenderCallCount() int
- func (fake *FakeSelectionComponent) RenderCalls(stub func() string)
- func (fake *FakeSelectionComponent) RenderReturns(result1 string)
- func (fake *FakeSelectionComponent) RenderReturnsOnCall(i int, result1 string)
- func (fake *FakeSelectionComponent) SetHeight(arg1 int)
- func (fake *FakeSelectionComponent) SetHeightArgsForCall(i int) int
- func (fake *FakeSelectionComponent) SetHeightCallCount() int
- func (fake *FakeSelectionComponent) SetHeightCalls(stub func(int))
- func (fake *FakeSelectionComponent) SetOptions(arg1 []string)
- func (fake *FakeSelectionComponent) SetOptionsArgsForCall(i int) []string
- func (fake *FakeSelectionComponent) SetOptionsCallCount() int
- func (fake *FakeSelectionComponent) SetOptionsCalls(stub func([]string))
- func (fake *FakeSelectionComponent) SetSelected(arg1 int)
- func (fake *FakeSelectionComponent) SetSelectedArgsForCall(i int) int
- func (fake *FakeSelectionComponent) SetSelectedCallCount() int
- func (fake *FakeSelectionComponent) SetSelectedCalls(stub func(int))
- func (fake *FakeSelectionComponent) SetWidth(arg1 int)
- func (fake *FakeSelectionComponent) SetWidthArgsForCall(i int) int
- func (fake *FakeSelectionComponent) SetWidthCallCount() int
- func (fake *FakeSelectionComponent) SetWidthCalls(stub func(int))
- type FakeStatusComponent
- func (fake *FakeStatusComponent) ClearStatus()
- func (fake *FakeStatusComponent) ClearStatusCallCount() int
- func (fake *FakeStatusComponent) ClearStatusCalls(stub func())
- func (fake *FakeStatusComponent) HasSavedState() bool
- func (fake *FakeStatusComponent) HasSavedStateCallCount() int
- func (fake *FakeStatusComponent) HasSavedStateCalls(stub func() bool)
- func (fake *FakeStatusComponent) HasSavedStateReturns(result1 bool)
- func (fake *FakeStatusComponent) HasSavedStateReturnsOnCall(i int, result1 bool)
- func (fake *FakeStatusComponent) Invocations() map[string][][]interface{}
- func (fake *FakeStatusComponent) IsShowingError() bool
- func (fake *FakeStatusComponent) IsShowingErrorCallCount() int
- func (fake *FakeStatusComponent) IsShowingErrorCalls(stub func() bool)
- func (fake *FakeStatusComponent) IsShowingErrorReturns(result1 bool)
- func (fake *FakeStatusComponent) IsShowingErrorReturnsOnCall(i int, result1 bool)
- func (fake *FakeStatusComponent) IsShowingSpinner() bool
- func (fake *FakeStatusComponent) IsShowingSpinnerCallCount() int
- func (fake *FakeStatusComponent) IsShowingSpinnerCalls(stub func() bool)
- func (fake *FakeStatusComponent) IsShowingSpinnerReturns(result1 bool)
- func (fake *FakeStatusComponent) IsShowingSpinnerReturnsOnCall(i int, result1 bool)
- func (fake *FakeStatusComponent) Render() string
- func (fake *FakeStatusComponent) RenderCallCount() int
- func (fake *FakeStatusComponent) RenderCalls(stub func() string)
- func (fake *FakeStatusComponent) RenderReturns(result1 string)
- func (fake *FakeStatusComponent) RenderReturnsOnCall(i int, result1 string)
- func (fake *FakeStatusComponent) RestoreSavedState() tea.Cmd
- func (fake *FakeStatusComponent) RestoreSavedStateCallCount() int
- func (fake *FakeStatusComponent) RestoreSavedStateCalls(stub func() tea.Cmd)
- func (fake *FakeStatusComponent) RestoreSavedStateReturns(result1 tea.Cmd)
- func (fake *FakeStatusComponent) RestoreSavedStateReturnsOnCall(i int, result1 tea.Cmd)
- func (fake *FakeStatusComponent) SaveCurrentState()
- func (fake *FakeStatusComponent) SaveCurrentStateCallCount() int
- func (fake *FakeStatusComponent) SaveCurrentStateCalls(stub func())
- func (fake *FakeStatusComponent) SetHeight(arg1 int)
- func (fake *FakeStatusComponent) SetHeightArgsForCall(i int) int
- func (fake *FakeStatusComponent) SetHeightCallCount() int
- func (fake *FakeStatusComponent) SetHeightCalls(stub func(int))
- func (fake *FakeStatusComponent) SetTokenUsage(arg1 string)
- func (fake *FakeStatusComponent) SetTokenUsageArgsForCall(i int) string
- func (fake *FakeStatusComponent) SetTokenUsageCallCount() int
- func (fake *FakeStatusComponent) SetTokenUsageCalls(stub func(string))
- func (fake *FakeStatusComponent) SetWidth(arg1 int)
- func (fake *FakeStatusComponent) SetWidthArgsForCall(i int) int
- func (fake *FakeStatusComponent) SetWidthCallCount() int
- func (fake *FakeStatusComponent) SetWidthCalls(stub func(int))
- func (fake *FakeStatusComponent) ShowError(arg1 string)
- func (fake *FakeStatusComponent) ShowErrorArgsForCall(i int) string
- func (fake *FakeStatusComponent) ShowErrorCallCount() int
- func (fake *FakeStatusComponent) ShowErrorCalls(stub func(string))
- func (fake *FakeStatusComponent) ShowSpinner(arg1 string)
- func (fake *FakeStatusComponent) ShowSpinnerArgsForCall(i int) string
- func (fake *FakeStatusComponent) ShowSpinnerCallCount() int
- func (fake *FakeStatusComponent) ShowSpinnerCalls(stub func(string))
- func (fake *FakeStatusComponent) ShowStatus(arg1 string)
- func (fake *FakeStatusComponent) ShowStatusArgsForCall(i int) string
- func (fake *FakeStatusComponent) ShowStatusCallCount() int
- func (fake *FakeStatusComponent) ShowStatusCalls(stub func(string))
- type FakeTheme
- func (fake *FakeTheme) GetAccentColor() string
- func (fake *FakeTheme) GetAccentColorCallCount() int
- func (fake *FakeTheme) GetAccentColorCalls(stub func() string)
- func (fake *FakeTheme) GetAccentColorReturns(result1 string)
- func (fake *FakeTheme) GetAccentColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetAssistantColor() string
- func (fake *FakeTheme) GetAssistantColorCallCount() int
- func (fake *FakeTheme) GetAssistantColorCalls(stub func() string)
- func (fake *FakeTheme) GetAssistantColorReturns(result1 string)
- func (fake *FakeTheme) GetAssistantColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetBorderColor() string
- func (fake *FakeTheme) GetBorderColorCallCount() int
- func (fake *FakeTheme) GetBorderColorCalls(stub func() string)
- func (fake *FakeTheme) GetBorderColorReturns(result1 string)
- func (fake *FakeTheme) GetBorderColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetDiffAddColor() string
- func (fake *FakeTheme) GetDiffAddColorCallCount() int
- func (fake *FakeTheme) GetDiffAddColorCalls(stub func() string)
- func (fake *FakeTheme) GetDiffAddColorReturns(result1 string)
- func (fake *FakeTheme) GetDiffAddColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetDiffRemoveColor() string
- func (fake *FakeTheme) GetDiffRemoveColorCallCount() int
- func (fake *FakeTheme) GetDiffRemoveColorCalls(stub func() string)
- func (fake *FakeTheme) GetDiffRemoveColorReturns(result1 string)
- func (fake *FakeTheme) GetDiffRemoveColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetDimColor() string
- func (fake *FakeTheme) GetDimColorCallCount() int
- func (fake *FakeTheme) GetDimColorCalls(stub func() string)
- func (fake *FakeTheme) GetDimColorReturns(result1 string)
- func (fake *FakeTheme) GetDimColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetErrorColor() string
- func (fake *FakeTheme) GetErrorColorCallCount() int
- func (fake *FakeTheme) GetErrorColorCalls(stub func() string)
- func (fake *FakeTheme) GetErrorColorReturns(result1 string)
- func (fake *FakeTheme) GetErrorColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetStatusColor() string
- func (fake *FakeTheme) GetStatusColorCallCount() int
- func (fake *FakeTheme) GetStatusColorCalls(stub func() string)
- func (fake *FakeTheme) GetStatusColorReturns(result1 string)
- func (fake *FakeTheme) GetStatusColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) GetUserColor() string
- func (fake *FakeTheme) GetUserColorCallCount() int
- func (fake *FakeTheme) GetUserColorCalls(stub func() string)
- func (fake *FakeTheme) GetUserColorReturns(result1 string)
- func (fake *FakeTheme) GetUserColorReturnsOnCall(i int, result1 string)
- func (fake *FakeTheme) Invocations() map[string][][]interface{}
- type FakeTool
- func (fake *FakeTool) Definition() domain.ToolDefinition
- func (fake *FakeTool) DefinitionCallCount() int
- func (fake *FakeTool) DefinitionCalls(stub func() domain.ToolDefinition)
- func (fake *FakeTool) DefinitionReturns(result1 domain.ToolDefinition)
- func (fake *FakeTool) DefinitionReturnsOnCall(i int, result1 domain.ToolDefinition)
- func (fake *FakeTool) Execute(arg1 context.Context, arg2 map[string]any) (*domain.ToolExecutionResult, error)
- func (fake *FakeTool) ExecuteArgsForCall(i int) (context.Context, map[string]any)
- func (fake *FakeTool) ExecuteCallCount() int
- func (fake *FakeTool) ExecuteCalls(...)
- func (fake *FakeTool) ExecuteReturns(result1 *domain.ToolExecutionResult, result2 error)
- func (fake *FakeTool) ExecuteReturnsOnCall(i int, result1 *domain.ToolExecutionResult, result2 error)
- func (fake *FakeTool) FormatPreview(arg1 *domain.ToolExecutionResult) string
- func (fake *FakeTool) FormatPreviewArgsForCall(i int) *domain.ToolExecutionResult
- func (fake *FakeTool) FormatPreviewCallCount() int
- func (fake *FakeTool) FormatPreviewCalls(stub func(*domain.ToolExecutionResult) string)
- func (fake *FakeTool) FormatPreviewReturns(result1 string)
- func (fake *FakeTool) FormatPreviewReturnsOnCall(i int, result1 string)
- func (fake *FakeTool) FormatResult(arg1 *domain.ToolExecutionResult, arg2 domain.FormatterType) string
- func (fake *FakeTool) FormatResultArgsForCall(i int) (*domain.ToolExecutionResult, domain.FormatterType)
- func (fake *FakeTool) FormatResultCallCount() int
- func (fake *FakeTool) FormatResultCalls(stub func(*domain.ToolExecutionResult, domain.FormatterType) string)
- func (fake *FakeTool) FormatResultReturns(result1 string)
- func (fake *FakeTool) FormatResultReturnsOnCall(i int, result1 string)
- func (fake *FakeTool) Invocations() map[string][][]interface{}
- func (fake *FakeTool) IsEnabled() bool
- func (fake *FakeTool) IsEnabledCallCount() int
- func (fake *FakeTool) IsEnabledCalls(stub func() bool)
- func (fake *FakeTool) IsEnabledReturns(result1 bool)
- func (fake *FakeTool) IsEnabledReturnsOnCall(i int, result1 bool)
- func (fake *FakeTool) ShouldAlwaysExpand() bool
- func (fake *FakeTool) ShouldAlwaysExpandCallCount() int
- func (fake *FakeTool) ShouldAlwaysExpandCalls(stub func() bool)
- func (fake *FakeTool) ShouldAlwaysExpandReturns(result1 bool)
- func (fake *FakeTool) ShouldAlwaysExpandReturnsOnCall(i int, result1 bool)
- func (fake *FakeTool) ShouldCollapseArg(arg1 string) bool
- func (fake *FakeTool) ShouldCollapseArgArgsForCall(i int) string
- func (fake *FakeTool) ShouldCollapseArgCallCount() int
- func (fake *FakeTool) ShouldCollapseArgCalls(stub func(string) bool)
- func (fake *FakeTool) ShouldCollapseArgReturns(result1 bool)
- func (fake *FakeTool) ShouldCollapseArgReturnsOnCall(i int, result1 bool)
- func (fake *FakeTool) Validate(arg1 map[string]any) error
- func (fake *FakeTool) ValidateArgsForCall(i int) map[string]any
- func (fake *FakeTool) ValidateCallCount() int
- func (fake *FakeTool) ValidateCalls(stub func(map[string]any) error)
- func (fake *FakeTool) ValidateReturns(result1 error)
- func (fake *FakeTool) ValidateReturnsOnCall(i int, result1 error)
- type FakeToolFactory
- func (fake *FakeToolFactory) CreateTool(arg1 string) (domain.Tool, error)
- func (fake *FakeToolFactory) CreateToolArgsForCall(i int) string
- func (fake *FakeToolFactory) CreateToolCallCount() int
- func (fake *FakeToolFactory) CreateToolCalls(stub func(string) (domain.Tool, error))
- func (fake *FakeToolFactory) CreateToolReturns(result1 domain.Tool, result2 error)
- func (fake *FakeToolFactory) CreateToolReturnsOnCall(i int, result1 domain.Tool, result2 error)
- func (fake *FakeToolFactory) Invocations() map[string][][]interface{}
- func (fake *FakeToolFactory) ListAvailableTools() []string
- func (fake *FakeToolFactory) ListAvailableToolsCallCount() int
- func (fake *FakeToolFactory) ListAvailableToolsCalls(stub func() []string)
- func (fake *FakeToolFactory) ListAvailableToolsReturns(result1 []string)
- func (fake *FakeToolFactory) ListAvailableToolsReturnsOnCall(i int, result1 []string)
- type FakeToolService
- func (fake *FakeToolService) ExecuteTool(arg1 context.Context, arg2 string, arg3 map[string]any) (*domain.ToolExecutionResult, error)
- func (fake *FakeToolService) ExecuteToolArgsForCall(i int) (context.Context, string, map[string]any)
- func (fake *FakeToolService) ExecuteToolCallCount() int
- func (fake *FakeToolService) ExecuteToolCalls(...)
- func (fake *FakeToolService) ExecuteToolReturns(result1 *domain.ToolExecutionResult, result2 error)
- func (fake *FakeToolService) ExecuteToolReturnsOnCall(i int, result1 *domain.ToolExecutionResult, result2 error)
- func (fake *FakeToolService) Invocations() map[string][][]interface{}
- func (fake *FakeToolService) IsToolEnabled(arg1 string) bool
- func (fake *FakeToolService) IsToolEnabledArgsForCall(i int) string
- func (fake *FakeToolService) IsToolEnabledCallCount() int
- func (fake *FakeToolService) IsToolEnabledCalls(stub func(string) bool)
- func (fake *FakeToolService) IsToolEnabledReturns(result1 bool)
- func (fake *FakeToolService) IsToolEnabledReturnsOnCall(i int, result1 bool)
- func (fake *FakeToolService) ListAvailableTools() []string
- func (fake *FakeToolService) ListAvailableToolsCallCount() int
- func (fake *FakeToolService) ListAvailableToolsCalls(stub func() []string)
- func (fake *FakeToolService) ListAvailableToolsReturns(result1 []string)
- func (fake *FakeToolService) ListAvailableToolsReturnsOnCall(i int, result1 []string)
- func (fake *FakeToolService) ListTools() []domain.ToolDefinition
- func (fake *FakeToolService) ListToolsCallCount() int
- func (fake *FakeToolService) ListToolsCalls(stub func() []domain.ToolDefinition)
- func (fake *FakeToolService) ListToolsReturns(result1 []domain.ToolDefinition)
- func (fake *FakeToolService) ListToolsReturnsOnCall(i int, result1 []domain.ToolDefinition)
- func (fake *FakeToolService) ValidateTool(arg1 string, arg2 map[string]any) error
- func (fake *FakeToolService) ValidateToolArgsForCall(i int) (string, map[string]any)
- func (fake *FakeToolService) ValidateToolCallCount() int
- func (fake *FakeToolService) ValidateToolCalls(stub func(string, map[string]any) error)
- func (fake *FakeToolService) ValidateToolReturns(result1 error)
- func (fake *FakeToolService) ValidateToolReturnsOnCall(i int, result1 error)
- type FakeWebFetchService
- func (fake *FakeWebFetchService) ClearCache()
- func (fake *FakeWebFetchService) ClearCacheCallCount() int
- func (fake *FakeWebFetchService) ClearCacheCalls(stub func())
- func (fake *FakeWebFetchService) FetchContent(arg1 context.Context, arg2 string) (*domain.FetchResult, error)
- func (fake *FakeWebFetchService) FetchContentArgsForCall(i int) (context.Context, string)
- func (fake *FakeWebFetchService) FetchContentCallCount() int
- func (fake *FakeWebFetchService) FetchContentCalls(stub func(context.Context, string) (*domain.FetchResult, error))
- func (fake *FakeWebFetchService) FetchContentReturns(result1 *domain.FetchResult, result2 error)
- func (fake *FakeWebFetchService) FetchContentReturnsOnCall(i int, result1 *domain.FetchResult, result2 error)
- func (fake *FakeWebFetchService) GetCacheStats() map[string]any
- func (fake *FakeWebFetchService) GetCacheStatsCallCount() int
- func (fake *FakeWebFetchService) GetCacheStatsCalls(stub func() map[string]any)
- func (fake *FakeWebFetchService) GetCacheStatsReturns(result1 map[string]any)
- func (fake *FakeWebFetchService) GetCacheStatsReturnsOnCall(i int, result1 map[string]any)
- func (fake *FakeWebFetchService) Invocations() map[string][][]interface{}
- func (fake *FakeWebFetchService) ValidateURL(arg1 string) error
- func (fake *FakeWebFetchService) ValidateURLArgsForCall(i int) string
- func (fake *FakeWebFetchService) ValidateURLCallCount() int
- func (fake *FakeWebFetchService) ValidateURLCalls(stub func(string) error)
- func (fake *FakeWebFetchService) ValidateURLReturns(result1 error)
- func (fake *FakeWebFetchService) ValidateURLReturnsOnCall(i int, result1 error)
- type FakeWebSearchService
- func (fake *FakeWebSearchService) Invocations() map[string][][]interface{}
- func (fake *FakeWebSearchService) IsEnabled() bool
- func (fake *FakeWebSearchService) IsEnabledCallCount() int
- func (fake *FakeWebSearchService) IsEnabledCalls(stub func() bool)
- func (fake *FakeWebSearchService) IsEnabledReturns(result1 bool)
- func (fake *FakeWebSearchService) IsEnabledReturnsOnCall(i int, result1 bool)
- func (fake *FakeWebSearchService) SearchDuckDuckGo(arg1 context.Context, arg2 string, arg3 int) (*domain.WebSearchResponse, error)
- func (fake *FakeWebSearchService) SearchDuckDuckGoArgsForCall(i int) (context.Context, string, int)
- func (fake *FakeWebSearchService) SearchDuckDuckGoCallCount() int
- func (fake *FakeWebSearchService) SearchDuckDuckGoCalls(stub func(context.Context, string, int) (*domain.WebSearchResponse, error))
- func (fake *FakeWebSearchService) SearchDuckDuckGoReturns(result1 *domain.WebSearchResponse, result2 error)
- func (fake *FakeWebSearchService) SearchDuckDuckGoReturnsOnCall(i int, result1 *domain.WebSearchResponse, result2 error)
- func (fake *FakeWebSearchService) SearchGoogle(arg1 context.Context, arg2 string, arg3 int) (*domain.WebSearchResponse, error)
- func (fake *FakeWebSearchService) SearchGoogleArgsForCall(i int) (context.Context, string, int)
- func (fake *FakeWebSearchService) SearchGoogleCallCount() int
- func (fake *FakeWebSearchService) SearchGoogleCalls(stub func(context.Context, string, int) (*domain.WebSearchResponse, error))
- func (fake *FakeWebSearchService) SearchGoogleReturns(result1 *domain.WebSearchResponse, result2 error)
- func (fake *FakeWebSearchService) SearchGoogleReturnsOnCall(i int, result1 *domain.WebSearchResponse, result2 error)
- func (fake *FakeWebSearchService) SetEnabled(arg1 bool)
- func (fake *FakeWebSearchService) SetEnabledArgsForCall(i int) bool
- func (fake *FakeWebSearchService) SetEnabledCallCount() int
- func (fake *FakeWebSearchService) SetEnabledCalls(stub func(bool))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAgentService ¶
type FakeAgentService struct {
CancelRequestStub func(string) error
GetMetricsStub func(string) *domain.ChatMetrics
RunStub func(context.Context, *domain.AgentRequest) (*domain.ChatSyncResponse, error)
RunWithStreamStub func(context.Context, *domain.AgentRequest) (<-chan domain.ChatEvent, error)
// contains filtered or unexported fields
}
func (*FakeAgentService) CancelRequest ¶
func (fake *FakeAgentService) CancelRequest(arg1 string) error
func (*FakeAgentService) CancelRequestArgsForCall ¶
func (fake *FakeAgentService) CancelRequestArgsForCall(i int) string
func (*FakeAgentService) CancelRequestCallCount ¶
func (fake *FakeAgentService) CancelRequestCallCount() int
func (*FakeAgentService) CancelRequestCalls ¶
func (fake *FakeAgentService) CancelRequestCalls(stub func(string) error)
func (*FakeAgentService) CancelRequestReturns ¶
func (fake *FakeAgentService) CancelRequestReturns(result1 error)
func (*FakeAgentService) CancelRequestReturnsOnCall ¶
func (fake *FakeAgentService) CancelRequestReturnsOnCall(i int, result1 error)
func (*FakeAgentService) GetMetrics ¶
func (fake *FakeAgentService) GetMetrics(arg1 string) *domain.ChatMetrics
func (*FakeAgentService) GetMetricsArgsForCall ¶
func (fake *FakeAgentService) GetMetricsArgsForCall(i int) string
func (*FakeAgentService) GetMetricsCallCount ¶
func (fake *FakeAgentService) GetMetricsCallCount() int
func (*FakeAgentService) GetMetricsCalls ¶
func (fake *FakeAgentService) GetMetricsCalls(stub func(string) *domain.ChatMetrics)
func (*FakeAgentService) GetMetricsReturns ¶
func (fake *FakeAgentService) GetMetricsReturns(result1 *domain.ChatMetrics)
func (*FakeAgentService) GetMetricsReturnsOnCall ¶
func (fake *FakeAgentService) GetMetricsReturnsOnCall(i int, result1 *domain.ChatMetrics)
func (*FakeAgentService) Invocations ¶
func (fake *FakeAgentService) Invocations() map[string][][]interface{}
func (*FakeAgentService) Run ¶
func (fake *FakeAgentService) Run(arg1 context.Context, arg2 *domain.AgentRequest) (*domain.ChatSyncResponse, error)
func (*FakeAgentService) RunArgsForCall ¶
func (fake *FakeAgentService) RunArgsForCall(i int) (context.Context, *domain.AgentRequest)
func (*FakeAgentService) RunCallCount ¶
func (fake *FakeAgentService) RunCallCount() int
func (*FakeAgentService) RunCalls ¶
func (fake *FakeAgentService) RunCalls(stub func(context.Context, *domain.AgentRequest) (*domain.ChatSyncResponse, error))
func (*FakeAgentService) RunReturns ¶
func (fake *FakeAgentService) RunReturns(result1 *domain.ChatSyncResponse, result2 error)
func (*FakeAgentService) RunReturnsOnCall ¶
func (fake *FakeAgentService) RunReturnsOnCall(i int, result1 *domain.ChatSyncResponse, result2 error)
func (*FakeAgentService) RunWithStream ¶
func (fake *FakeAgentService) RunWithStream(arg1 context.Context, arg2 *domain.AgentRequest) (<-chan domain.ChatEvent, error)
func (*FakeAgentService) RunWithStreamArgsForCall ¶
func (fake *FakeAgentService) RunWithStreamArgsForCall(i int) (context.Context, *domain.AgentRequest)
func (*FakeAgentService) RunWithStreamCallCount ¶
func (fake *FakeAgentService) RunWithStreamCallCount() int
func (*FakeAgentService) RunWithStreamCalls ¶
func (fake *FakeAgentService) RunWithStreamCalls(stub func(context.Context, *domain.AgentRequest) (<-chan domain.ChatEvent, error))
func (*FakeAgentService) RunWithStreamReturns ¶
func (fake *FakeAgentService) RunWithStreamReturns(result1 <-chan domain.ChatEvent, result2 error)
func (*FakeAgentService) RunWithStreamReturnsOnCall ¶
func (fake *FakeAgentService) RunWithStreamReturnsOnCall(i int, result1 <-chan domain.ChatEvent, result2 error)
type FakeAutocompleteInterface ¶
type FakeAutocompleteInterface struct {
GetSelectedShortcutStub func() string
HandleKeyStub func(tea.KeyMsg) (bool, string)
HideStub func()
IsVisibleStub func() bool
RenderStub func() string
SetWidthStub func(int)
UpdateStub func(string, int)
// contains filtered or unexported fields
}
func (*FakeAutocompleteInterface) GetSelectedShortcut ¶
func (fake *FakeAutocompleteInterface) GetSelectedShortcut() string
func (*FakeAutocompleteInterface) GetSelectedShortcutCallCount ¶
func (fake *FakeAutocompleteInterface) GetSelectedShortcutCallCount() int
func (*FakeAutocompleteInterface) GetSelectedShortcutCalls ¶
func (fake *FakeAutocompleteInterface) GetSelectedShortcutCalls(stub func() string)
func (*FakeAutocompleteInterface) GetSelectedShortcutReturns ¶
func (fake *FakeAutocompleteInterface) GetSelectedShortcutReturns(result1 string)
func (*FakeAutocompleteInterface) GetSelectedShortcutReturnsOnCall ¶
func (fake *FakeAutocompleteInterface) GetSelectedShortcutReturnsOnCall(i int, result1 string)
func (*FakeAutocompleteInterface) HandleKey ¶
func (fake *FakeAutocompleteInterface) HandleKey(arg1 tea.KeyMsg) (bool, string)
func (*FakeAutocompleteInterface) HandleKeyArgsForCall ¶
func (fake *FakeAutocompleteInterface) HandleKeyArgsForCall(i int) tea.KeyMsg
func (*FakeAutocompleteInterface) HandleKeyCallCount ¶
func (fake *FakeAutocompleteInterface) HandleKeyCallCount() int
func (*FakeAutocompleteInterface) HandleKeyCalls ¶
func (fake *FakeAutocompleteInterface) HandleKeyCalls(stub func(tea.KeyMsg) (bool, string))
func (*FakeAutocompleteInterface) HandleKeyReturns ¶
func (fake *FakeAutocompleteInterface) HandleKeyReturns(result1 bool, result2 string)
func (*FakeAutocompleteInterface) HandleKeyReturnsOnCall ¶
func (fake *FakeAutocompleteInterface) HandleKeyReturnsOnCall(i int, result1 bool, result2 string)
func (*FakeAutocompleteInterface) Hide ¶
func (fake *FakeAutocompleteInterface) Hide()
func (*FakeAutocompleteInterface) HideCallCount ¶
func (fake *FakeAutocompleteInterface) HideCallCount() int
func (*FakeAutocompleteInterface) HideCalls ¶
func (fake *FakeAutocompleteInterface) HideCalls(stub func())
func (*FakeAutocompleteInterface) Invocations ¶
func (fake *FakeAutocompleteInterface) Invocations() map[string][][]interface{}
func (*FakeAutocompleteInterface) IsVisible ¶
func (fake *FakeAutocompleteInterface) IsVisible() bool
func (*FakeAutocompleteInterface) IsVisibleCallCount ¶
func (fake *FakeAutocompleteInterface) IsVisibleCallCount() int
func (*FakeAutocompleteInterface) IsVisibleCalls ¶
func (fake *FakeAutocompleteInterface) IsVisibleCalls(stub func() bool)
func (*FakeAutocompleteInterface) IsVisibleReturns ¶
func (fake *FakeAutocompleteInterface) IsVisibleReturns(result1 bool)
func (*FakeAutocompleteInterface) IsVisibleReturnsOnCall ¶
func (fake *FakeAutocompleteInterface) IsVisibleReturnsOnCall(i int, result1 bool)
func (*FakeAutocompleteInterface) Render ¶
func (fake *FakeAutocompleteInterface) Render() string
func (*FakeAutocompleteInterface) RenderCallCount ¶
func (fake *FakeAutocompleteInterface) RenderCallCount() int
func (*FakeAutocompleteInterface) RenderCalls ¶
func (fake *FakeAutocompleteInterface) RenderCalls(stub func() string)
func (*FakeAutocompleteInterface) RenderReturns ¶
func (fake *FakeAutocompleteInterface) RenderReturns(result1 string)
func (*FakeAutocompleteInterface) RenderReturnsOnCall ¶
func (fake *FakeAutocompleteInterface) RenderReturnsOnCall(i int, result1 string)
func (*FakeAutocompleteInterface) SetWidth ¶
func (fake *FakeAutocompleteInterface) SetWidth(arg1 int)
func (*FakeAutocompleteInterface) SetWidthArgsForCall ¶
func (fake *FakeAutocompleteInterface) SetWidthArgsForCall(i int) int
func (*FakeAutocompleteInterface) SetWidthCallCount ¶
func (fake *FakeAutocompleteInterface) SetWidthCallCount() int
func (*FakeAutocompleteInterface) SetWidthCalls ¶
func (fake *FakeAutocompleteInterface) SetWidthCalls(stub func(int))
func (*FakeAutocompleteInterface) Update ¶
func (fake *FakeAutocompleteInterface) Update(arg1 string, arg2 int)
func (*FakeAutocompleteInterface) UpdateArgsForCall ¶
func (fake *FakeAutocompleteInterface) UpdateArgsForCall(i int) (string, int)
func (*FakeAutocompleteInterface) UpdateCallCount ¶
func (fake *FakeAutocompleteInterface) UpdateCallCount() int
func (*FakeAutocompleteInterface) UpdateCalls ¶
func (fake *FakeAutocompleteInterface) UpdateCalls(stub func(string, int))
type FakeConfigService ¶
type FakeConfigService struct {
GetAPIKeyStub func() string
GetDefaultModelStub func() string
GetGatewayURLStub func() string
GetOutputDirectoryStub func() string
GetProtectedPathsStub func() []string
GetSandboxDirectoriesStub func() []string
GetSystemPromptStub func() string
GetTimeoutStub func() int
IsApprovalRequiredStub func(string) bool
// contains filtered or unexported fields
}
func (*FakeConfigService) GetAPIKey ¶
func (fake *FakeConfigService) GetAPIKey() string
func (*FakeConfigService) GetAPIKeyCallCount ¶
func (fake *FakeConfigService) GetAPIKeyCallCount() int
func (*FakeConfigService) GetAPIKeyCalls ¶
func (fake *FakeConfigService) GetAPIKeyCalls(stub func() string)
func (*FakeConfigService) GetAPIKeyReturns ¶
func (fake *FakeConfigService) GetAPIKeyReturns(result1 string)
func (*FakeConfigService) GetAPIKeyReturnsOnCall ¶
func (fake *FakeConfigService) GetAPIKeyReturnsOnCall(i int, result1 string)
func (*FakeConfigService) GetDefaultModel ¶
func (fake *FakeConfigService) GetDefaultModel() string
func (*FakeConfigService) GetDefaultModelCallCount ¶
func (fake *FakeConfigService) GetDefaultModelCallCount() int
func (*FakeConfigService) GetDefaultModelCalls ¶
func (fake *FakeConfigService) GetDefaultModelCalls(stub func() string)
func (*FakeConfigService) GetDefaultModelReturns ¶
func (fake *FakeConfigService) GetDefaultModelReturns(result1 string)
func (*FakeConfigService) GetDefaultModelReturnsOnCall ¶
func (fake *FakeConfigService) GetDefaultModelReturnsOnCall(i int, result1 string)
func (*FakeConfigService) GetGatewayURL ¶
func (fake *FakeConfigService) GetGatewayURL() string
func (*FakeConfigService) GetGatewayURLCallCount ¶
func (fake *FakeConfigService) GetGatewayURLCallCount() int
func (*FakeConfigService) GetGatewayURLCalls ¶
func (fake *FakeConfigService) GetGatewayURLCalls(stub func() string)
func (*FakeConfigService) GetGatewayURLReturns ¶
func (fake *FakeConfigService) GetGatewayURLReturns(result1 string)
func (*FakeConfigService) GetGatewayURLReturnsOnCall ¶
func (fake *FakeConfigService) GetGatewayURLReturnsOnCall(i int, result1 string)
func (*FakeConfigService) GetOutputDirectory ¶
func (fake *FakeConfigService) GetOutputDirectory() string
func (*FakeConfigService) GetOutputDirectoryCallCount ¶
func (fake *FakeConfigService) GetOutputDirectoryCallCount() int
func (*FakeConfigService) GetOutputDirectoryCalls ¶
func (fake *FakeConfigService) GetOutputDirectoryCalls(stub func() string)
func (*FakeConfigService) GetOutputDirectoryReturns ¶
func (fake *FakeConfigService) GetOutputDirectoryReturns(result1 string)
func (*FakeConfigService) GetOutputDirectoryReturnsOnCall ¶
func (fake *FakeConfigService) GetOutputDirectoryReturnsOnCall(i int, result1 string)
func (*FakeConfigService) GetProtectedPaths ¶
func (fake *FakeConfigService) GetProtectedPaths() []string
func (*FakeConfigService) GetProtectedPathsCallCount ¶
func (fake *FakeConfigService) GetProtectedPathsCallCount() int
func (*FakeConfigService) GetProtectedPathsCalls ¶
func (fake *FakeConfigService) GetProtectedPathsCalls(stub func() []string)
func (*FakeConfigService) GetProtectedPathsReturns ¶
func (fake *FakeConfigService) GetProtectedPathsReturns(result1 []string)
func (*FakeConfigService) GetProtectedPathsReturnsOnCall ¶
func (fake *FakeConfigService) GetProtectedPathsReturnsOnCall(i int, result1 []string)
func (*FakeConfigService) GetSandboxDirectories ¶
func (fake *FakeConfigService) GetSandboxDirectories() []string
func (*FakeConfigService) GetSandboxDirectoriesCallCount ¶
func (fake *FakeConfigService) GetSandboxDirectoriesCallCount() int
func (*FakeConfigService) GetSandboxDirectoriesCalls ¶
func (fake *FakeConfigService) GetSandboxDirectoriesCalls(stub func() []string)
func (*FakeConfigService) GetSandboxDirectoriesReturns ¶
func (fake *FakeConfigService) GetSandboxDirectoriesReturns(result1 []string)
func (*FakeConfigService) GetSandboxDirectoriesReturnsOnCall ¶
func (fake *FakeConfigService) GetSandboxDirectoriesReturnsOnCall(i int, result1 []string)
func (*FakeConfigService) GetSystemPrompt ¶
func (fake *FakeConfigService) GetSystemPrompt() string
func (*FakeConfigService) GetSystemPromptCallCount ¶
func (fake *FakeConfigService) GetSystemPromptCallCount() int
func (*FakeConfigService) GetSystemPromptCalls ¶
func (fake *FakeConfigService) GetSystemPromptCalls(stub func() string)
func (*FakeConfigService) GetSystemPromptReturns ¶
func (fake *FakeConfigService) GetSystemPromptReturns(result1 string)
func (*FakeConfigService) GetSystemPromptReturnsOnCall ¶
func (fake *FakeConfigService) GetSystemPromptReturnsOnCall(i int, result1 string)
func (*FakeConfigService) GetTimeout ¶
func (fake *FakeConfigService) GetTimeout() int
func (*FakeConfigService) GetTimeoutCallCount ¶
func (fake *FakeConfigService) GetTimeoutCallCount() int
func (*FakeConfigService) GetTimeoutCalls ¶
func (fake *FakeConfigService) GetTimeoutCalls(stub func() int)
func (*FakeConfigService) GetTimeoutReturns ¶
func (fake *FakeConfigService) GetTimeoutReturns(result1 int)
func (*FakeConfigService) GetTimeoutReturnsOnCall ¶
func (fake *FakeConfigService) GetTimeoutReturnsOnCall(i int, result1 int)
func (*FakeConfigService) Invocations ¶
func (fake *FakeConfigService) Invocations() map[string][][]interface{}
func (*FakeConfigService) IsApprovalRequired ¶
func (fake *FakeConfigService) IsApprovalRequired(arg1 string) bool
func (*FakeConfigService) IsApprovalRequiredArgsForCall ¶
func (fake *FakeConfigService) IsApprovalRequiredArgsForCall(i int) string
func (*FakeConfigService) IsApprovalRequiredCallCount ¶
func (fake *FakeConfigService) IsApprovalRequiredCallCount() int
func (*FakeConfigService) IsApprovalRequiredCalls ¶
func (fake *FakeConfigService) IsApprovalRequiredCalls(stub func(string) bool)
func (*FakeConfigService) IsApprovalRequiredReturns ¶
func (fake *FakeConfigService) IsApprovalRequiredReturns(result1 bool)
func (*FakeConfigService) IsApprovalRequiredReturnsOnCall ¶
func (fake *FakeConfigService) IsApprovalRequiredReturnsOnCall(i int, result1 bool)
type FakeConversationRenderer ¶
type FakeConversationRenderer struct {
CanScrollDownStub func() bool
CanScrollUpStub func() bool
GetScrollOffsetStub func() int
IsToolResultExpandedStub func(int) bool
RenderStub func() string
SetConversationStub func([]domain.ConversationEntry)
SetHeightStub func(int)
SetWidthStub func(int)
ToggleAllToolResultsExpansionStub func()
ToggleToolResultExpansionStub func(int)
// contains filtered or unexported fields
}
func (*FakeConversationRenderer) CanScrollDown ¶
func (fake *FakeConversationRenderer) CanScrollDown() bool
func (*FakeConversationRenderer) CanScrollDownCallCount ¶
func (fake *FakeConversationRenderer) CanScrollDownCallCount() int
func (*FakeConversationRenderer) CanScrollDownCalls ¶
func (fake *FakeConversationRenderer) CanScrollDownCalls(stub func() bool)
func (*FakeConversationRenderer) CanScrollDownReturns ¶
func (fake *FakeConversationRenderer) CanScrollDownReturns(result1 bool)
func (*FakeConversationRenderer) CanScrollDownReturnsOnCall ¶
func (fake *FakeConversationRenderer) CanScrollDownReturnsOnCall(i int, result1 bool)
func (*FakeConversationRenderer) CanScrollUp ¶
func (fake *FakeConversationRenderer) CanScrollUp() bool
func (*FakeConversationRenderer) CanScrollUpCallCount ¶
func (fake *FakeConversationRenderer) CanScrollUpCallCount() int
func (*FakeConversationRenderer) CanScrollUpCalls ¶
func (fake *FakeConversationRenderer) CanScrollUpCalls(stub func() bool)
func (*FakeConversationRenderer) CanScrollUpReturns ¶
func (fake *FakeConversationRenderer) CanScrollUpReturns(result1 bool)
func (*FakeConversationRenderer) CanScrollUpReturnsOnCall ¶
func (fake *FakeConversationRenderer) CanScrollUpReturnsOnCall(i int, result1 bool)
func (*FakeConversationRenderer) GetScrollOffset ¶
func (fake *FakeConversationRenderer) GetScrollOffset() int
func (*FakeConversationRenderer) GetScrollOffsetCallCount ¶
func (fake *FakeConversationRenderer) GetScrollOffsetCallCount() int
func (*FakeConversationRenderer) GetScrollOffsetCalls ¶
func (fake *FakeConversationRenderer) GetScrollOffsetCalls(stub func() int)
func (*FakeConversationRenderer) GetScrollOffsetReturns ¶
func (fake *FakeConversationRenderer) GetScrollOffsetReturns(result1 int)
func (*FakeConversationRenderer) GetScrollOffsetReturnsOnCall ¶
func (fake *FakeConversationRenderer) GetScrollOffsetReturnsOnCall(i int, result1 int)
func (*FakeConversationRenderer) Invocations ¶
func (fake *FakeConversationRenderer) Invocations() map[string][][]interface{}
func (*FakeConversationRenderer) IsToolResultExpanded ¶
func (fake *FakeConversationRenderer) IsToolResultExpanded(arg1 int) bool
func (*FakeConversationRenderer) IsToolResultExpandedArgsForCall ¶
func (fake *FakeConversationRenderer) IsToolResultExpandedArgsForCall(i int) int
func (*FakeConversationRenderer) IsToolResultExpandedCallCount ¶
func (fake *FakeConversationRenderer) IsToolResultExpandedCallCount() int
func (*FakeConversationRenderer) IsToolResultExpandedCalls ¶
func (fake *FakeConversationRenderer) IsToolResultExpandedCalls(stub func(int) bool)
func (*FakeConversationRenderer) IsToolResultExpandedReturns ¶
func (fake *FakeConversationRenderer) IsToolResultExpandedReturns(result1 bool)
func (*FakeConversationRenderer) IsToolResultExpandedReturnsOnCall ¶
func (fake *FakeConversationRenderer) IsToolResultExpandedReturnsOnCall(i int, result1 bool)
func (*FakeConversationRenderer) Render ¶
func (fake *FakeConversationRenderer) Render() string
func (*FakeConversationRenderer) RenderCallCount ¶
func (fake *FakeConversationRenderer) RenderCallCount() int
func (*FakeConversationRenderer) RenderCalls ¶
func (fake *FakeConversationRenderer) RenderCalls(stub func() string)
func (*FakeConversationRenderer) RenderReturns ¶
func (fake *FakeConversationRenderer) RenderReturns(result1 string)
func (*FakeConversationRenderer) RenderReturnsOnCall ¶
func (fake *FakeConversationRenderer) RenderReturnsOnCall(i int, result1 string)
func (*FakeConversationRenderer) SetConversation ¶
func (fake *FakeConversationRenderer) SetConversation(arg1 []domain.ConversationEntry)
func (*FakeConversationRenderer) SetConversationArgsForCall ¶
func (fake *FakeConversationRenderer) SetConversationArgsForCall(i int) []domain.ConversationEntry
func (*FakeConversationRenderer) SetConversationCallCount ¶
func (fake *FakeConversationRenderer) SetConversationCallCount() int
func (*FakeConversationRenderer) SetConversationCalls ¶
func (fake *FakeConversationRenderer) SetConversationCalls(stub func([]domain.ConversationEntry))
func (*FakeConversationRenderer) SetHeight ¶
func (fake *FakeConversationRenderer) SetHeight(arg1 int)
func (*FakeConversationRenderer) SetHeightArgsForCall ¶
func (fake *FakeConversationRenderer) SetHeightArgsForCall(i int) int
func (*FakeConversationRenderer) SetHeightCallCount ¶
func (fake *FakeConversationRenderer) SetHeightCallCount() int
func (*FakeConversationRenderer) SetHeightCalls ¶
func (fake *FakeConversationRenderer) SetHeightCalls(stub func(int))
func (*FakeConversationRenderer) SetWidth ¶
func (fake *FakeConversationRenderer) SetWidth(arg1 int)
func (*FakeConversationRenderer) SetWidthArgsForCall ¶
func (fake *FakeConversationRenderer) SetWidthArgsForCall(i int) int
func (*FakeConversationRenderer) SetWidthCallCount ¶
func (fake *FakeConversationRenderer) SetWidthCallCount() int
func (*FakeConversationRenderer) SetWidthCalls ¶
func (fake *FakeConversationRenderer) SetWidthCalls(stub func(int))
func (*FakeConversationRenderer) ToggleAllToolResultsExpansion ¶
func (fake *FakeConversationRenderer) ToggleAllToolResultsExpansion()
func (*FakeConversationRenderer) ToggleAllToolResultsExpansionCallCount ¶
func (fake *FakeConversationRenderer) ToggleAllToolResultsExpansionCallCount() int
func (*FakeConversationRenderer) ToggleAllToolResultsExpansionCalls ¶
func (fake *FakeConversationRenderer) ToggleAllToolResultsExpansionCalls(stub func())
func (*FakeConversationRenderer) ToggleToolResultExpansion ¶
func (fake *FakeConversationRenderer) ToggleToolResultExpansion(arg1 int)
func (*FakeConversationRenderer) ToggleToolResultExpansionArgsForCall ¶
func (fake *FakeConversationRenderer) ToggleToolResultExpansionArgsForCall(i int) int
func (*FakeConversationRenderer) ToggleToolResultExpansionCallCount ¶
func (fake *FakeConversationRenderer) ToggleToolResultExpansionCallCount() int
func (*FakeConversationRenderer) ToggleToolResultExpansionCalls ¶
func (fake *FakeConversationRenderer) ToggleToolResultExpansionCalls(stub func(int))
type FakeConversationRepository ¶
type FakeConversationRepository struct {
AddMessageStub func(domain.ConversationEntry) error
AddTokenUsageStub func(int, int, int) error
ClearStub func() error
ExportStub func(domain.ExportFormat) ([]byte, error)
GetMessageCountStub func() int
GetMessagesStub func() []domain.ConversationEntry
GetSessionTokensStub func() domain.SessionTokenStats
UpdateLastMessageStub func(string) error
UpdateLastMessageToolCallsStub func(*[]sdk.ChatCompletionMessageToolCall) error
// contains filtered or unexported fields
}
func (*FakeConversationRepository) AddMessage ¶
func (fake *FakeConversationRepository) AddMessage(arg1 domain.ConversationEntry) error
func (*FakeConversationRepository) AddMessageArgsForCall ¶
func (fake *FakeConversationRepository) AddMessageArgsForCall(i int) domain.ConversationEntry
func (*FakeConversationRepository) AddMessageCallCount ¶
func (fake *FakeConversationRepository) AddMessageCallCount() int
func (*FakeConversationRepository) AddMessageCalls ¶
func (fake *FakeConversationRepository) AddMessageCalls(stub func(domain.ConversationEntry) error)
func (*FakeConversationRepository) AddMessageReturns ¶
func (fake *FakeConversationRepository) AddMessageReturns(result1 error)
func (*FakeConversationRepository) AddMessageReturnsOnCall ¶
func (fake *FakeConversationRepository) AddMessageReturnsOnCall(i int, result1 error)
func (*FakeConversationRepository) AddTokenUsage ¶
func (fake *FakeConversationRepository) AddTokenUsage(arg1 int, arg2 int, arg3 int) error
func (*FakeConversationRepository) AddTokenUsageArgsForCall ¶
func (fake *FakeConversationRepository) AddTokenUsageArgsForCall(i int) (int, int, int)
func (*FakeConversationRepository) AddTokenUsageCallCount ¶
func (fake *FakeConversationRepository) AddTokenUsageCallCount() int
func (*FakeConversationRepository) AddTokenUsageCalls ¶
func (fake *FakeConversationRepository) AddTokenUsageCalls(stub func(int, int, int) error)
func (*FakeConversationRepository) AddTokenUsageReturns ¶
func (fake *FakeConversationRepository) AddTokenUsageReturns(result1 error)
func (*FakeConversationRepository) AddTokenUsageReturnsOnCall ¶
func (fake *FakeConversationRepository) AddTokenUsageReturnsOnCall(i int, result1 error)
func (*FakeConversationRepository) Clear ¶
func (fake *FakeConversationRepository) Clear() error
func (*FakeConversationRepository) ClearCallCount ¶
func (fake *FakeConversationRepository) ClearCallCount() int
func (*FakeConversationRepository) ClearCalls ¶
func (fake *FakeConversationRepository) ClearCalls(stub func() error)
func (*FakeConversationRepository) ClearReturns ¶
func (fake *FakeConversationRepository) ClearReturns(result1 error)
func (*FakeConversationRepository) ClearReturnsOnCall ¶
func (fake *FakeConversationRepository) ClearReturnsOnCall(i int, result1 error)
func (*FakeConversationRepository) Export ¶
func (fake *FakeConversationRepository) Export(arg1 domain.ExportFormat) ([]byte, error)
func (*FakeConversationRepository) ExportArgsForCall ¶
func (fake *FakeConversationRepository) ExportArgsForCall(i int) domain.ExportFormat
func (*FakeConversationRepository) ExportCallCount ¶
func (fake *FakeConversationRepository) ExportCallCount() int
func (*FakeConversationRepository) ExportCalls ¶
func (fake *FakeConversationRepository) ExportCalls(stub func(domain.ExportFormat) ([]byte, error))
func (*FakeConversationRepository) ExportReturns ¶
func (fake *FakeConversationRepository) ExportReturns(result1 []byte, result2 error)
func (*FakeConversationRepository) ExportReturnsOnCall ¶
func (fake *FakeConversationRepository) ExportReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeConversationRepository) GetMessageCount ¶
func (fake *FakeConversationRepository) GetMessageCount() int
func (*FakeConversationRepository) GetMessageCountCallCount ¶
func (fake *FakeConversationRepository) GetMessageCountCallCount() int
func (*FakeConversationRepository) GetMessageCountCalls ¶
func (fake *FakeConversationRepository) GetMessageCountCalls(stub func() int)
func (*FakeConversationRepository) GetMessageCountReturns ¶
func (fake *FakeConversationRepository) GetMessageCountReturns(result1 int)
func (*FakeConversationRepository) GetMessageCountReturnsOnCall ¶
func (fake *FakeConversationRepository) GetMessageCountReturnsOnCall(i int, result1 int)
func (*FakeConversationRepository) GetMessages ¶
func (fake *FakeConversationRepository) GetMessages() []domain.ConversationEntry
func (*FakeConversationRepository) GetMessagesCallCount ¶
func (fake *FakeConversationRepository) GetMessagesCallCount() int
func (*FakeConversationRepository) GetMessagesCalls ¶
func (fake *FakeConversationRepository) GetMessagesCalls(stub func() []domain.ConversationEntry)
func (*FakeConversationRepository) GetMessagesReturns ¶
func (fake *FakeConversationRepository) GetMessagesReturns(result1 []domain.ConversationEntry)
func (*FakeConversationRepository) GetMessagesReturnsOnCall ¶
func (fake *FakeConversationRepository) GetMessagesReturnsOnCall(i int, result1 []domain.ConversationEntry)
func (*FakeConversationRepository) GetSessionTokens ¶
func (fake *FakeConversationRepository) GetSessionTokens() domain.SessionTokenStats
func (*FakeConversationRepository) GetSessionTokensCallCount ¶
func (fake *FakeConversationRepository) GetSessionTokensCallCount() int
func (*FakeConversationRepository) GetSessionTokensCalls ¶
func (fake *FakeConversationRepository) GetSessionTokensCalls(stub func() domain.SessionTokenStats)
func (*FakeConversationRepository) GetSessionTokensReturns ¶
func (fake *FakeConversationRepository) GetSessionTokensReturns(result1 domain.SessionTokenStats)
func (*FakeConversationRepository) GetSessionTokensReturnsOnCall ¶
func (fake *FakeConversationRepository) GetSessionTokensReturnsOnCall(i int, result1 domain.SessionTokenStats)
func (*FakeConversationRepository) Invocations ¶
func (fake *FakeConversationRepository) Invocations() map[string][][]interface{}
func (*FakeConversationRepository) UpdateLastMessage ¶
func (fake *FakeConversationRepository) UpdateLastMessage(arg1 string) error
func (*FakeConversationRepository) UpdateLastMessageArgsForCall ¶
func (fake *FakeConversationRepository) UpdateLastMessageArgsForCall(i int) string
func (*FakeConversationRepository) UpdateLastMessageCallCount ¶
func (fake *FakeConversationRepository) UpdateLastMessageCallCount() int
func (*FakeConversationRepository) UpdateLastMessageCalls ¶
func (fake *FakeConversationRepository) UpdateLastMessageCalls(stub func(string) error)
func (*FakeConversationRepository) UpdateLastMessageReturns ¶
func (fake *FakeConversationRepository) UpdateLastMessageReturns(result1 error)
func (*FakeConversationRepository) UpdateLastMessageReturnsOnCall ¶
func (fake *FakeConversationRepository) UpdateLastMessageReturnsOnCall(i int, result1 error)
func (*FakeConversationRepository) UpdateLastMessageToolCalls ¶
func (fake *FakeConversationRepository) UpdateLastMessageToolCalls(arg1 *[]sdk.ChatCompletionMessageToolCall) error
func (*FakeConversationRepository) UpdateLastMessageToolCallsArgsForCall ¶
func (fake *FakeConversationRepository) UpdateLastMessageToolCallsArgsForCall(i int) *[]sdk.ChatCompletionMessageToolCall
func (*FakeConversationRepository) UpdateLastMessageToolCallsCallCount ¶
func (fake *FakeConversationRepository) UpdateLastMessageToolCallsCallCount() int
func (*FakeConversationRepository) UpdateLastMessageToolCallsCalls ¶
func (fake *FakeConversationRepository) UpdateLastMessageToolCallsCalls(stub func(*[]sdk.ChatCompletionMessageToolCall) error)
func (*FakeConversationRepository) UpdateLastMessageToolCallsReturns ¶
func (fake *FakeConversationRepository) UpdateLastMessageToolCallsReturns(result1 error)
func (*FakeConversationRepository) UpdateLastMessageToolCallsReturnsOnCall ¶
func (fake *FakeConversationRepository) UpdateLastMessageToolCallsReturnsOnCall(i int, result1 error)
type FakeConversationStorage ¶
type FakeConversationStorage struct {
CloseStub func() error
DeleteConversationStub func(context.Context, string) error
HealthStub func(context.Context) error
ListConversationsStub func(context.Context, int, int) ([]storage.ConversationSummary, error)
ListConversationsNeedingTitlesStub func(context.Context, int) ([]storage.ConversationSummary, error)
LoadConversationStub func(context.Context, string) ([]domain.ConversationEntry, storage.ConversationMetadata, error)
SaveConversationStub func(context.Context, string, []domain.ConversationEntry, storage.ConversationMetadata) error
UpdateConversationMetadataStub func(context.Context, string, storage.ConversationMetadata) error
// contains filtered or unexported fields
}
func (*FakeConversationStorage) Close ¶
func (fake *FakeConversationStorage) Close() error
func (*FakeConversationStorage) CloseCallCount ¶
func (fake *FakeConversationStorage) CloseCallCount() int
func (*FakeConversationStorage) CloseCalls ¶
func (fake *FakeConversationStorage) CloseCalls(stub func() error)
func (*FakeConversationStorage) CloseReturns ¶
func (fake *FakeConversationStorage) CloseReturns(result1 error)
func (*FakeConversationStorage) CloseReturnsOnCall ¶
func (fake *FakeConversationStorage) CloseReturnsOnCall(i int, result1 error)
func (*FakeConversationStorage) DeleteConversation ¶
func (fake *FakeConversationStorage) DeleteConversation(arg1 context.Context, arg2 string) error
func (*FakeConversationStorage) DeleteConversationArgsForCall ¶
func (fake *FakeConversationStorage) DeleteConversationArgsForCall(i int) (context.Context, string)
func (*FakeConversationStorage) DeleteConversationCallCount ¶
func (fake *FakeConversationStorage) DeleteConversationCallCount() int
func (*FakeConversationStorage) DeleteConversationCalls ¶
func (fake *FakeConversationStorage) DeleteConversationCalls(stub func(context.Context, string) error)
func (*FakeConversationStorage) DeleteConversationReturns ¶
func (fake *FakeConversationStorage) DeleteConversationReturns(result1 error)
func (*FakeConversationStorage) DeleteConversationReturnsOnCall ¶
func (fake *FakeConversationStorage) DeleteConversationReturnsOnCall(i int, result1 error)
func (*FakeConversationStorage) Health ¶
func (fake *FakeConversationStorage) Health(arg1 context.Context) error
func (*FakeConversationStorage) HealthArgsForCall ¶
func (fake *FakeConversationStorage) HealthArgsForCall(i int) context.Context
func (*FakeConversationStorage) HealthCallCount ¶
func (fake *FakeConversationStorage) HealthCallCount() int
func (*FakeConversationStorage) HealthCalls ¶
func (fake *FakeConversationStorage) HealthCalls(stub func(context.Context) error)
func (*FakeConversationStorage) HealthReturns ¶
func (fake *FakeConversationStorage) HealthReturns(result1 error)
func (*FakeConversationStorage) HealthReturnsOnCall ¶
func (fake *FakeConversationStorage) HealthReturnsOnCall(i int, result1 error)
func (*FakeConversationStorage) Invocations ¶
func (fake *FakeConversationStorage) Invocations() map[string][][]interface{}
func (*FakeConversationStorage) ListConversations ¶
func (fake *FakeConversationStorage) ListConversations(arg1 context.Context, arg2 int, arg3 int) ([]storage.ConversationSummary, error)
func (*FakeConversationStorage) ListConversationsArgsForCall ¶
func (*FakeConversationStorage) ListConversationsCallCount ¶
func (fake *FakeConversationStorage) ListConversationsCallCount() int
func (*FakeConversationStorage) ListConversationsCalls ¶
func (fake *FakeConversationStorage) ListConversationsCalls(stub func(context.Context, int, int) ([]storage.ConversationSummary, error))
func (*FakeConversationStorage) ListConversationsNeedingTitles ¶
func (fake *FakeConversationStorage) ListConversationsNeedingTitles(arg1 context.Context, arg2 int) ([]storage.ConversationSummary, error)
func (*FakeConversationStorage) ListConversationsNeedingTitlesArgsForCall ¶
func (fake *FakeConversationStorage) ListConversationsNeedingTitlesArgsForCall(i int) (context.Context, int)
func (*FakeConversationStorage) ListConversationsNeedingTitlesCallCount ¶
func (fake *FakeConversationStorage) ListConversationsNeedingTitlesCallCount() int
func (*FakeConversationStorage) ListConversationsNeedingTitlesCalls ¶
func (fake *FakeConversationStorage) ListConversationsNeedingTitlesCalls(stub func(context.Context, int) ([]storage.ConversationSummary, error))
func (*FakeConversationStorage) ListConversationsNeedingTitlesReturns ¶
func (fake *FakeConversationStorage) ListConversationsNeedingTitlesReturns(result1 []storage.ConversationSummary, result2 error)
func (*FakeConversationStorage) ListConversationsNeedingTitlesReturnsOnCall ¶
func (fake *FakeConversationStorage) ListConversationsNeedingTitlesReturnsOnCall(i int, result1 []storage.ConversationSummary, result2 error)
func (*FakeConversationStorage) ListConversationsReturns ¶
func (fake *FakeConversationStorage) ListConversationsReturns(result1 []storage.ConversationSummary, result2 error)
func (*FakeConversationStorage) ListConversationsReturnsOnCall ¶
func (fake *FakeConversationStorage) ListConversationsReturnsOnCall(i int, result1 []storage.ConversationSummary, result2 error)
func (*FakeConversationStorage) LoadConversation ¶
func (fake *FakeConversationStorage) LoadConversation(arg1 context.Context, arg2 string) ([]domain.ConversationEntry, storage.ConversationMetadata, error)
func (*FakeConversationStorage) LoadConversationArgsForCall ¶
func (fake *FakeConversationStorage) LoadConversationArgsForCall(i int) (context.Context, string)
func (*FakeConversationStorage) LoadConversationCallCount ¶
func (fake *FakeConversationStorage) LoadConversationCallCount() int
func (*FakeConversationStorage) LoadConversationCalls ¶
func (fake *FakeConversationStorage) LoadConversationCalls(stub func(context.Context, string) ([]domain.ConversationEntry, storage.ConversationMetadata, error))
func (*FakeConversationStorage) LoadConversationReturns ¶
func (fake *FakeConversationStorage) LoadConversationReturns(result1 []domain.ConversationEntry, result2 storage.ConversationMetadata, result3 error)
func (*FakeConversationStorage) LoadConversationReturnsOnCall ¶
func (fake *FakeConversationStorage) LoadConversationReturnsOnCall(i int, result1 []domain.ConversationEntry, result2 storage.ConversationMetadata, result3 error)
func (*FakeConversationStorage) SaveConversation ¶
func (fake *FakeConversationStorage) SaveConversation(arg1 context.Context, arg2 string, arg3 []domain.ConversationEntry, arg4 storage.ConversationMetadata) error
func (*FakeConversationStorage) SaveConversationArgsForCall ¶
func (fake *FakeConversationStorage) SaveConversationArgsForCall(i int) (context.Context, string, []domain.ConversationEntry, storage.ConversationMetadata)
func (*FakeConversationStorage) SaveConversationCallCount ¶
func (fake *FakeConversationStorage) SaveConversationCallCount() int
func (*FakeConversationStorage) SaveConversationCalls ¶
func (fake *FakeConversationStorage) SaveConversationCalls(stub func(context.Context, string, []domain.ConversationEntry, storage.ConversationMetadata) error)
func (*FakeConversationStorage) SaveConversationReturns ¶
func (fake *FakeConversationStorage) SaveConversationReturns(result1 error)
func (*FakeConversationStorage) SaveConversationReturnsOnCall ¶
func (fake *FakeConversationStorage) SaveConversationReturnsOnCall(i int, result1 error)
func (*FakeConversationStorage) UpdateConversationMetadata ¶
func (fake *FakeConversationStorage) UpdateConversationMetadata(arg1 context.Context, arg2 string, arg3 storage.ConversationMetadata) error
func (*FakeConversationStorage) UpdateConversationMetadataArgsForCall ¶
func (fake *FakeConversationStorage) UpdateConversationMetadataArgsForCall(i int) (context.Context, string, storage.ConversationMetadata)
func (*FakeConversationStorage) UpdateConversationMetadataCallCount ¶
func (fake *FakeConversationStorage) UpdateConversationMetadataCallCount() int
func (*FakeConversationStorage) UpdateConversationMetadataCalls ¶
func (fake *FakeConversationStorage) UpdateConversationMetadataCalls(stub func(context.Context, string, storage.ConversationMetadata) error)
func (*FakeConversationStorage) UpdateConversationMetadataReturns ¶
func (fake *FakeConversationStorage) UpdateConversationMetadataReturns(result1 error)
func (*FakeConversationStorage) UpdateConversationMetadataReturnsOnCall ¶
func (fake *FakeConversationStorage) UpdateConversationMetadataReturnsOnCall(i int, result1 error)
type FakeFileService ¶
type FakeFileService struct {
GetFileInfoStub func(string) (domain.FileInfo, error)
ListProjectFilesStub func() ([]string, error)
ReadFileStub func(string) (string, error)
ReadFileLinesStub func(string, int, int) (string, error)
ValidateFileStub func(string) error
// contains filtered or unexported fields
}
func (*FakeFileService) GetFileInfo ¶
func (fake *FakeFileService) GetFileInfo(arg1 string) (domain.FileInfo, error)
func (*FakeFileService) GetFileInfoArgsForCall ¶
func (fake *FakeFileService) GetFileInfoArgsForCall(i int) string
func (*FakeFileService) GetFileInfoCallCount ¶
func (fake *FakeFileService) GetFileInfoCallCount() int
func (*FakeFileService) GetFileInfoCalls ¶
func (fake *FakeFileService) GetFileInfoCalls(stub func(string) (domain.FileInfo, error))
func (*FakeFileService) GetFileInfoReturns ¶
func (fake *FakeFileService) GetFileInfoReturns(result1 domain.FileInfo, result2 error)
func (*FakeFileService) GetFileInfoReturnsOnCall ¶
func (fake *FakeFileService) GetFileInfoReturnsOnCall(i int, result1 domain.FileInfo, result2 error)
func (*FakeFileService) Invocations ¶
func (fake *FakeFileService) Invocations() map[string][][]interface{}
func (*FakeFileService) ListProjectFiles ¶
func (fake *FakeFileService) ListProjectFiles() ([]string, error)
func (*FakeFileService) ListProjectFilesCallCount ¶
func (fake *FakeFileService) ListProjectFilesCallCount() int
func (*FakeFileService) ListProjectFilesCalls ¶
func (fake *FakeFileService) ListProjectFilesCalls(stub func() ([]string, error))
func (*FakeFileService) ListProjectFilesReturns ¶
func (fake *FakeFileService) ListProjectFilesReturns(result1 []string, result2 error)
func (*FakeFileService) ListProjectFilesReturnsOnCall ¶
func (fake *FakeFileService) ListProjectFilesReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeFileService) ReadFile ¶
func (fake *FakeFileService) ReadFile(arg1 string) (string, error)
func (*FakeFileService) ReadFileArgsForCall ¶
func (fake *FakeFileService) ReadFileArgsForCall(i int) string
func (*FakeFileService) ReadFileCallCount ¶
func (fake *FakeFileService) ReadFileCallCount() int
func (*FakeFileService) ReadFileCalls ¶
func (fake *FakeFileService) ReadFileCalls(stub func(string) (string, error))
func (*FakeFileService) ReadFileLines ¶
func (*FakeFileService) ReadFileLinesArgsForCall ¶
func (fake *FakeFileService) ReadFileLinesArgsForCall(i int) (string, int, int)
func (*FakeFileService) ReadFileLinesCallCount ¶
func (fake *FakeFileService) ReadFileLinesCallCount() int
func (*FakeFileService) ReadFileLinesCalls ¶
func (*FakeFileService) ReadFileLinesReturns ¶
func (fake *FakeFileService) ReadFileLinesReturns(result1 string, result2 error)
func (*FakeFileService) ReadFileLinesReturnsOnCall ¶
func (fake *FakeFileService) ReadFileLinesReturnsOnCall(i int, result1 string, result2 error)
func (*FakeFileService) ReadFileReturns ¶
func (fake *FakeFileService) ReadFileReturns(result1 string, result2 error)
func (*FakeFileService) ReadFileReturnsOnCall ¶
func (fake *FakeFileService) ReadFileReturnsOnCall(i int, result1 string, result2 error)
func (*FakeFileService) ValidateFile ¶
func (fake *FakeFileService) ValidateFile(arg1 string) error
func (*FakeFileService) ValidateFileArgsForCall ¶
func (fake *FakeFileService) ValidateFileArgsForCall(i int) string
func (*FakeFileService) ValidateFileCallCount ¶
func (fake *FakeFileService) ValidateFileCallCount() int
func (*FakeFileService) ValidateFileCalls ¶
func (fake *FakeFileService) ValidateFileCalls(stub func(string) error)
func (*FakeFileService) ValidateFileReturns ¶
func (fake *FakeFileService) ValidateFileReturns(result1 error)
func (*FakeFileService) ValidateFileReturnsOnCall ¶
func (fake *FakeFileService) ValidateFileReturnsOnCall(i int, result1 error)
type FakeHelpBarComponent ¶
type FakeHelpBarComponent struct {
IsEnabledStub func() bool
RenderStub func() string
SetEnabledStub func(bool)
SetHeightStub func(int)
SetShortcutsStub func([]shared.KeyShortcut)
SetWidthStub func(int)
// contains filtered or unexported fields
}
func (*FakeHelpBarComponent) Invocations ¶
func (fake *FakeHelpBarComponent) Invocations() map[string][][]interface{}
func (*FakeHelpBarComponent) IsEnabled ¶
func (fake *FakeHelpBarComponent) IsEnabled() bool
func (*FakeHelpBarComponent) IsEnabledCallCount ¶
func (fake *FakeHelpBarComponent) IsEnabledCallCount() int
func (*FakeHelpBarComponent) IsEnabledCalls ¶
func (fake *FakeHelpBarComponent) IsEnabledCalls(stub func() bool)
func (*FakeHelpBarComponent) IsEnabledReturns ¶
func (fake *FakeHelpBarComponent) IsEnabledReturns(result1 bool)
func (*FakeHelpBarComponent) IsEnabledReturnsOnCall ¶
func (fake *FakeHelpBarComponent) IsEnabledReturnsOnCall(i int, result1 bool)
func (*FakeHelpBarComponent) Render ¶
func (fake *FakeHelpBarComponent) Render() string
func (*FakeHelpBarComponent) RenderCallCount ¶
func (fake *FakeHelpBarComponent) RenderCallCount() int
func (*FakeHelpBarComponent) RenderCalls ¶
func (fake *FakeHelpBarComponent) RenderCalls(stub func() string)
func (*FakeHelpBarComponent) RenderReturns ¶
func (fake *FakeHelpBarComponent) RenderReturns(result1 string)
func (*FakeHelpBarComponent) RenderReturnsOnCall ¶
func (fake *FakeHelpBarComponent) RenderReturnsOnCall(i int, result1 string)
func (*FakeHelpBarComponent) SetEnabled ¶
func (fake *FakeHelpBarComponent) SetEnabled(arg1 bool)
func (*FakeHelpBarComponent) SetEnabledArgsForCall ¶
func (fake *FakeHelpBarComponent) SetEnabledArgsForCall(i int) bool
func (*FakeHelpBarComponent) SetEnabledCallCount ¶
func (fake *FakeHelpBarComponent) SetEnabledCallCount() int
func (*FakeHelpBarComponent) SetEnabledCalls ¶
func (fake *FakeHelpBarComponent) SetEnabledCalls(stub func(bool))
func (*FakeHelpBarComponent) SetHeight ¶
func (fake *FakeHelpBarComponent) SetHeight(arg1 int)
func (*FakeHelpBarComponent) SetHeightArgsForCall ¶
func (fake *FakeHelpBarComponent) SetHeightArgsForCall(i int) int
func (*FakeHelpBarComponent) SetHeightCallCount ¶
func (fake *FakeHelpBarComponent) SetHeightCallCount() int
func (*FakeHelpBarComponent) SetHeightCalls ¶
func (fake *FakeHelpBarComponent) SetHeightCalls(stub func(int))
func (*FakeHelpBarComponent) SetShortcuts ¶
func (fake *FakeHelpBarComponent) SetShortcuts(arg1 []shared.KeyShortcut)
func (*FakeHelpBarComponent) SetShortcutsArgsForCall ¶
func (fake *FakeHelpBarComponent) SetShortcutsArgsForCall(i int) []shared.KeyShortcut
func (*FakeHelpBarComponent) SetShortcutsCallCount ¶
func (fake *FakeHelpBarComponent) SetShortcutsCallCount() int
func (*FakeHelpBarComponent) SetShortcutsCalls ¶
func (fake *FakeHelpBarComponent) SetShortcutsCalls(stub func([]shared.KeyShortcut))
func (*FakeHelpBarComponent) SetWidth ¶
func (fake *FakeHelpBarComponent) SetWidth(arg1 int)
func (*FakeHelpBarComponent) SetWidthArgsForCall ¶
func (fake *FakeHelpBarComponent) SetWidthArgsForCall(i int) int
func (*FakeHelpBarComponent) SetWidthCallCount ¶
func (fake *FakeHelpBarComponent) SetWidthCallCount() int
func (*FakeHelpBarComponent) SetWidthCalls ¶
func (fake *FakeHelpBarComponent) SetWidthCalls(stub func(int))
type FakeInputComponent ¶
type FakeInputComponent struct {
AddToHistoryStub func(string) error
CanHandleStub func(tea.KeyMsg) bool
ClearInputStub func()
GetCursorStub func() int
GetInputStub func() string
HandleKeyStub func(tea.KeyMsg) (tea.Model, tea.Cmd)
IsAutocompleteVisibleStub func() bool
IsTextSelectionModeStub func() bool
RenderStub func() string
SetCursorStub func(int)
SetHeightStub func(int)
SetPlaceholderStub func(string)
SetTextStub func(string)
SetTextSelectionModeStub func(bool)
SetWidthStub func(int)
TryHandleAutocompleteStub func(tea.KeyMsg) (bool, string)
// contains filtered or unexported fields
}
func (*FakeInputComponent) AddToHistory ¶
func (fake *FakeInputComponent) AddToHistory(arg1 string) error
func (*FakeInputComponent) AddToHistoryArgsForCall ¶
func (fake *FakeInputComponent) AddToHistoryArgsForCall(i int) string
func (*FakeInputComponent) AddToHistoryCallCount ¶
func (fake *FakeInputComponent) AddToHistoryCallCount() int
func (*FakeInputComponent) AddToHistoryCalls ¶
func (fake *FakeInputComponent) AddToHistoryCalls(stub func(string) error)
func (*FakeInputComponent) AddToHistoryReturns ¶
func (fake *FakeInputComponent) AddToHistoryReturns(result1 error)
func (*FakeInputComponent) AddToHistoryReturnsOnCall ¶
func (fake *FakeInputComponent) AddToHistoryReturnsOnCall(i int, result1 error)
func (*FakeInputComponent) CanHandle ¶
func (fake *FakeInputComponent) CanHandle(arg1 tea.KeyMsg) bool
func (*FakeInputComponent) CanHandleArgsForCall ¶
func (fake *FakeInputComponent) CanHandleArgsForCall(i int) tea.KeyMsg
func (*FakeInputComponent) CanHandleCallCount ¶
func (fake *FakeInputComponent) CanHandleCallCount() int
func (*FakeInputComponent) CanHandleCalls ¶
func (fake *FakeInputComponent) CanHandleCalls(stub func(tea.KeyMsg) bool)
func (*FakeInputComponent) CanHandleReturns ¶
func (fake *FakeInputComponent) CanHandleReturns(result1 bool)
func (*FakeInputComponent) CanHandleReturnsOnCall ¶
func (fake *FakeInputComponent) CanHandleReturnsOnCall(i int, result1 bool)
func (*FakeInputComponent) ClearInput ¶
func (fake *FakeInputComponent) ClearInput()
func (*FakeInputComponent) ClearInputCallCount ¶
func (fake *FakeInputComponent) ClearInputCallCount() int
func (*FakeInputComponent) ClearInputCalls ¶
func (fake *FakeInputComponent) ClearInputCalls(stub func())
func (*FakeInputComponent) GetCursor ¶
func (fake *FakeInputComponent) GetCursor() int
func (*FakeInputComponent) GetCursorCallCount ¶
func (fake *FakeInputComponent) GetCursorCallCount() int
func (*FakeInputComponent) GetCursorCalls ¶
func (fake *FakeInputComponent) GetCursorCalls(stub func() int)
func (*FakeInputComponent) GetCursorReturns ¶
func (fake *FakeInputComponent) GetCursorReturns(result1 int)
func (*FakeInputComponent) GetCursorReturnsOnCall ¶
func (fake *FakeInputComponent) GetCursorReturnsOnCall(i int, result1 int)
func (*FakeInputComponent) GetInput ¶
func (fake *FakeInputComponent) GetInput() string
func (*FakeInputComponent) GetInputCallCount ¶
func (fake *FakeInputComponent) GetInputCallCount() int
func (*FakeInputComponent) GetInputCalls ¶
func (fake *FakeInputComponent) GetInputCalls(stub func() string)
func (*FakeInputComponent) GetInputReturns ¶
func (fake *FakeInputComponent) GetInputReturns(result1 string)
func (*FakeInputComponent) GetInputReturnsOnCall ¶
func (fake *FakeInputComponent) GetInputReturnsOnCall(i int, result1 string)
func (*FakeInputComponent) HandleKeyArgsForCall ¶
func (fake *FakeInputComponent) HandleKeyArgsForCall(i int) tea.KeyMsg
func (*FakeInputComponent) HandleKeyCallCount ¶
func (fake *FakeInputComponent) HandleKeyCallCount() int
func (*FakeInputComponent) HandleKeyCalls ¶
func (*FakeInputComponent) HandleKeyReturns ¶
func (fake *FakeInputComponent) HandleKeyReturns(result1 tea.Model, result2 tea.Cmd)
func (*FakeInputComponent) HandleKeyReturnsOnCall ¶
func (*FakeInputComponent) Invocations ¶
func (fake *FakeInputComponent) Invocations() map[string][][]interface{}
func (*FakeInputComponent) IsAutocompleteVisible ¶
func (fake *FakeInputComponent) IsAutocompleteVisible() bool
func (*FakeInputComponent) IsAutocompleteVisibleCallCount ¶
func (fake *FakeInputComponent) IsAutocompleteVisibleCallCount() int
func (*FakeInputComponent) IsAutocompleteVisibleCalls ¶
func (fake *FakeInputComponent) IsAutocompleteVisibleCalls(stub func() bool)
func (*FakeInputComponent) IsAutocompleteVisibleReturns ¶
func (fake *FakeInputComponent) IsAutocompleteVisibleReturns(result1 bool)
func (*FakeInputComponent) IsAutocompleteVisibleReturnsOnCall ¶
func (fake *FakeInputComponent) IsAutocompleteVisibleReturnsOnCall(i int, result1 bool)
func (*FakeInputComponent) IsTextSelectionMode ¶
func (fake *FakeInputComponent) IsTextSelectionMode() bool
func (*FakeInputComponent) IsTextSelectionModeCallCount ¶
func (fake *FakeInputComponent) IsTextSelectionModeCallCount() int
func (*FakeInputComponent) IsTextSelectionModeCalls ¶
func (fake *FakeInputComponent) IsTextSelectionModeCalls(stub func() bool)
func (*FakeInputComponent) IsTextSelectionModeReturns ¶
func (fake *FakeInputComponent) IsTextSelectionModeReturns(result1 bool)
func (*FakeInputComponent) IsTextSelectionModeReturnsOnCall ¶
func (fake *FakeInputComponent) IsTextSelectionModeReturnsOnCall(i int, result1 bool)
func (*FakeInputComponent) NavigateHistoryDown ¶
func (fake *FakeInputComponent) NavigateHistoryDown()
func (*FakeInputComponent) NavigateHistoryDownCallCount ¶
func (fake *FakeInputComponent) NavigateHistoryDownCallCount() int
func (*FakeInputComponent) NavigateHistoryDownCalls ¶
func (fake *FakeInputComponent) NavigateHistoryDownCalls(stub func())
func (*FakeInputComponent) NavigateHistoryUp ¶
func (fake *FakeInputComponent) NavigateHistoryUp()
func (*FakeInputComponent) NavigateHistoryUpCallCount ¶
func (fake *FakeInputComponent) NavigateHistoryUpCallCount() int
func (*FakeInputComponent) NavigateHistoryUpCalls ¶
func (fake *FakeInputComponent) NavigateHistoryUpCalls(stub func())
func (*FakeInputComponent) Render ¶
func (fake *FakeInputComponent) Render() string
func (*FakeInputComponent) RenderCallCount ¶
func (fake *FakeInputComponent) RenderCallCount() int
func (*FakeInputComponent) RenderCalls ¶
func (fake *FakeInputComponent) RenderCalls(stub func() string)
func (*FakeInputComponent) RenderReturns ¶
func (fake *FakeInputComponent) RenderReturns(result1 string)
func (*FakeInputComponent) RenderReturnsOnCall ¶
func (fake *FakeInputComponent) RenderReturnsOnCall(i int, result1 string)
func (*FakeInputComponent) SetCursor ¶
func (fake *FakeInputComponent) SetCursor(arg1 int)
func (*FakeInputComponent) SetCursorArgsForCall ¶
func (fake *FakeInputComponent) SetCursorArgsForCall(i int) int
func (*FakeInputComponent) SetCursorCallCount ¶
func (fake *FakeInputComponent) SetCursorCallCount() int
func (*FakeInputComponent) SetCursorCalls ¶
func (fake *FakeInputComponent) SetCursorCalls(stub func(int))
func (*FakeInputComponent) SetHeight ¶
func (fake *FakeInputComponent) SetHeight(arg1 int)
func (*FakeInputComponent) SetHeightArgsForCall ¶
func (fake *FakeInputComponent) SetHeightArgsForCall(i int) int
func (*FakeInputComponent) SetHeightCallCount ¶
func (fake *FakeInputComponent) SetHeightCallCount() int
func (*FakeInputComponent) SetHeightCalls ¶
func (fake *FakeInputComponent) SetHeightCalls(stub func(int))
func (*FakeInputComponent) SetPlaceholder ¶
func (fake *FakeInputComponent) SetPlaceholder(arg1 string)
func (*FakeInputComponent) SetPlaceholderArgsForCall ¶
func (fake *FakeInputComponent) SetPlaceholderArgsForCall(i int) string
func (*FakeInputComponent) SetPlaceholderCallCount ¶
func (fake *FakeInputComponent) SetPlaceholderCallCount() int
func (*FakeInputComponent) SetPlaceholderCalls ¶
func (fake *FakeInputComponent) SetPlaceholderCalls(stub func(string))
func (*FakeInputComponent) SetText ¶
func (fake *FakeInputComponent) SetText(arg1 string)
func (*FakeInputComponent) SetTextArgsForCall ¶
func (fake *FakeInputComponent) SetTextArgsForCall(i int) string
func (*FakeInputComponent) SetTextCallCount ¶
func (fake *FakeInputComponent) SetTextCallCount() int
func (*FakeInputComponent) SetTextCalls ¶
func (fake *FakeInputComponent) SetTextCalls(stub func(string))
func (*FakeInputComponent) SetTextSelectionMode ¶
func (fake *FakeInputComponent) SetTextSelectionMode(arg1 bool)
func (*FakeInputComponent) SetTextSelectionModeArgsForCall ¶
func (fake *FakeInputComponent) SetTextSelectionModeArgsForCall(i int) bool
func (*FakeInputComponent) SetTextSelectionModeCallCount ¶
func (fake *FakeInputComponent) SetTextSelectionModeCallCount() int
func (*FakeInputComponent) SetTextSelectionModeCalls ¶
func (fake *FakeInputComponent) SetTextSelectionModeCalls(stub func(bool))
func (*FakeInputComponent) SetWidth ¶
func (fake *FakeInputComponent) SetWidth(arg1 int)
func (*FakeInputComponent) SetWidthArgsForCall ¶
func (fake *FakeInputComponent) SetWidthArgsForCall(i int) int
func (*FakeInputComponent) SetWidthCallCount ¶
func (fake *FakeInputComponent) SetWidthCallCount() int
func (*FakeInputComponent) SetWidthCalls ¶
func (fake *FakeInputComponent) SetWidthCalls(stub func(int))
func (*FakeInputComponent) TryHandleAutocomplete ¶
func (fake *FakeInputComponent) TryHandleAutocomplete(arg1 tea.KeyMsg) (bool, string)
func (*FakeInputComponent) TryHandleAutocompleteArgsForCall ¶
func (fake *FakeInputComponent) TryHandleAutocompleteArgsForCall(i int) tea.KeyMsg
func (*FakeInputComponent) TryHandleAutocompleteCallCount ¶
func (fake *FakeInputComponent) TryHandleAutocompleteCallCount() int
func (*FakeInputComponent) TryHandleAutocompleteCalls ¶
func (fake *FakeInputComponent) TryHandleAutocompleteCalls(stub func(tea.KeyMsg) (bool, string))
func (*FakeInputComponent) TryHandleAutocompleteReturns ¶
func (fake *FakeInputComponent) TryHandleAutocompleteReturns(result1 bool, result2 string)
func (*FakeInputComponent) TryHandleAutocompleteReturnsOnCall ¶
func (fake *FakeInputComponent) TryHandleAutocompleteReturnsOnCall(i int, result1 bool, result2 string)
type FakeModelService ¶
type FakeModelService struct {
GetCurrentModelStub func() string
IsModelAvailableStub func(string) bool
ListModelsStub func(context.Context) ([]string, error)
SelectModelStub func(string) error
ValidateModelStub func(string) error
// contains filtered or unexported fields
}
func (*FakeModelService) GetCurrentModel ¶
func (fake *FakeModelService) GetCurrentModel() string
func (*FakeModelService) GetCurrentModelCallCount ¶
func (fake *FakeModelService) GetCurrentModelCallCount() int
func (*FakeModelService) GetCurrentModelCalls ¶
func (fake *FakeModelService) GetCurrentModelCalls(stub func() string)
func (*FakeModelService) GetCurrentModelReturns ¶
func (fake *FakeModelService) GetCurrentModelReturns(result1 string)
func (*FakeModelService) GetCurrentModelReturnsOnCall ¶
func (fake *FakeModelService) GetCurrentModelReturnsOnCall(i int, result1 string)
func (*FakeModelService) Invocations ¶
func (fake *FakeModelService) Invocations() map[string][][]interface{}
func (*FakeModelService) IsModelAvailable ¶
func (fake *FakeModelService) IsModelAvailable(arg1 string) bool
func (*FakeModelService) IsModelAvailableArgsForCall ¶
func (fake *FakeModelService) IsModelAvailableArgsForCall(i int) string
func (*FakeModelService) IsModelAvailableCallCount ¶
func (fake *FakeModelService) IsModelAvailableCallCount() int
func (*FakeModelService) IsModelAvailableCalls ¶
func (fake *FakeModelService) IsModelAvailableCalls(stub func(string) bool)
func (*FakeModelService) IsModelAvailableReturns ¶
func (fake *FakeModelService) IsModelAvailableReturns(result1 bool)
func (*FakeModelService) IsModelAvailableReturnsOnCall ¶
func (fake *FakeModelService) IsModelAvailableReturnsOnCall(i int, result1 bool)
func (*FakeModelService) ListModels ¶
func (fake *FakeModelService) ListModels(arg1 context.Context) ([]string, error)
func (*FakeModelService) ListModelsArgsForCall ¶
func (fake *FakeModelService) ListModelsArgsForCall(i int) context.Context
func (*FakeModelService) ListModelsCallCount ¶
func (fake *FakeModelService) ListModelsCallCount() int
func (*FakeModelService) ListModelsCalls ¶
func (fake *FakeModelService) ListModelsCalls(stub func(context.Context) ([]string, error))
func (*FakeModelService) ListModelsReturns ¶
func (fake *FakeModelService) ListModelsReturns(result1 []string, result2 error)
func (*FakeModelService) ListModelsReturnsOnCall ¶
func (fake *FakeModelService) ListModelsReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeModelService) SelectModel ¶
func (fake *FakeModelService) SelectModel(arg1 string) error
func (*FakeModelService) SelectModelArgsForCall ¶
func (fake *FakeModelService) SelectModelArgsForCall(i int) string
func (*FakeModelService) SelectModelCallCount ¶
func (fake *FakeModelService) SelectModelCallCount() int
func (*FakeModelService) SelectModelCalls ¶
func (fake *FakeModelService) SelectModelCalls(stub func(string) error)
func (*FakeModelService) SelectModelReturns ¶
func (fake *FakeModelService) SelectModelReturns(result1 error)
func (*FakeModelService) SelectModelReturnsOnCall ¶
func (fake *FakeModelService) SelectModelReturnsOnCall(i int, result1 error)
func (*FakeModelService) ValidateModel ¶
func (fake *FakeModelService) ValidateModel(arg1 string) error
func (*FakeModelService) ValidateModelArgsForCall ¶
func (fake *FakeModelService) ValidateModelArgsForCall(i int) string
func (*FakeModelService) ValidateModelCallCount ¶
func (fake *FakeModelService) ValidateModelCallCount() int
func (*FakeModelService) ValidateModelCalls ¶
func (fake *FakeModelService) ValidateModelCalls(stub func(string) error)
func (*FakeModelService) ValidateModelReturns ¶
func (fake *FakeModelService) ValidateModelReturns(result1 error)
func (*FakeModelService) ValidateModelReturnsOnCall ¶
func (fake *FakeModelService) ValidateModelReturnsOnCall(i int, result1 error)
type FakeSDKClient ¶
type FakeSDKClient struct {
GenerateContentStub func(context.Context, sdk.Provider, string, []sdk.Message) (*sdk.CreateChatCompletionResponse, error)
WithMiddlewareOptionsStub func(*sdk.MiddlewareOptions) domain.SDKClient
WithOptionsStub func(*sdk.CreateChatCompletionRequest) domain.SDKClient
// contains filtered or unexported fields
}
func (*FakeSDKClient) GenerateContent ¶
func (*FakeSDKClient) GenerateContentArgsForCall ¶
func (*FakeSDKClient) GenerateContentCallCount ¶
func (fake *FakeSDKClient) GenerateContentCallCount() int
func (*FakeSDKClient) GenerateContentCalls ¶
func (*FakeSDKClient) GenerateContentReturns ¶
func (fake *FakeSDKClient) GenerateContentReturns(result1 *sdk.CreateChatCompletionResponse, result2 error)
func (*FakeSDKClient) GenerateContentReturnsOnCall ¶
func (fake *FakeSDKClient) GenerateContentReturnsOnCall(i int, result1 *sdk.CreateChatCompletionResponse, result2 error)
func (*FakeSDKClient) Invocations ¶
func (fake *FakeSDKClient) Invocations() map[string][][]interface{}
func (*FakeSDKClient) WithMiddlewareOptions ¶
func (fake *FakeSDKClient) WithMiddlewareOptions(arg1 *sdk.MiddlewareOptions) domain.SDKClient
func (*FakeSDKClient) WithMiddlewareOptionsArgsForCall ¶
func (fake *FakeSDKClient) WithMiddlewareOptionsArgsForCall(i int) *sdk.MiddlewareOptions
func (*FakeSDKClient) WithMiddlewareOptionsCallCount ¶
func (fake *FakeSDKClient) WithMiddlewareOptionsCallCount() int
func (*FakeSDKClient) WithMiddlewareOptionsCalls ¶
func (fake *FakeSDKClient) WithMiddlewareOptionsCalls(stub func(*sdk.MiddlewareOptions) domain.SDKClient)
func (*FakeSDKClient) WithMiddlewareOptionsReturns ¶
func (fake *FakeSDKClient) WithMiddlewareOptionsReturns(result1 domain.SDKClient)
func (*FakeSDKClient) WithMiddlewareOptionsReturnsOnCall ¶
func (fake *FakeSDKClient) WithMiddlewareOptionsReturnsOnCall(i int, result1 domain.SDKClient)
func (*FakeSDKClient) WithOptions ¶
func (fake *FakeSDKClient) WithOptions(arg1 *sdk.CreateChatCompletionRequest) domain.SDKClient
func (*FakeSDKClient) WithOptionsArgsForCall ¶
func (fake *FakeSDKClient) WithOptionsArgsForCall(i int) *sdk.CreateChatCompletionRequest
func (*FakeSDKClient) WithOptionsCallCount ¶
func (fake *FakeSDKClient) WithOptionsCallCount() int
func (*FakeSDKClient) WithOptionsCalls ¶
func (fake *FakeSDKClient) WithOptionsCalls(stub func(*sdk.CreateChatCompletionRequest) domain.SDKClient)
func (*FakeSDKClient) WithOptionsReturns ¶
func (fake *FakeSDKClient) WithOptionsReturns(result1 domain.SDKClient)
func (*FakeSDKClient) WithOptionsReturnsOnCall ¶
func (fake *FakeSDKClient) WithOptionsReturnsOnCall(i int, result1 domain.SDKClient)
type FakeSelectionComponent ¶
type FakeSelectionComponent struct {
GetOptionsStub func() []string
GetSelectedStub func() string
GetSelectedIndexStub func() int
IsCancelledStub func() bool
IsSelectedStub func() bool
RenderStub func() string
SetHeightStub func(int)
SetOptionsStub func([]string)
SetSelectedStub func(int)
SetWidthStub func(int)
// contains filtered or unexported fields
}
func (*FakeSelectionComponent) GetOptions ¶
func (fake *FakeSelectionComponent) GetOptions() []string
func (*FakeSelectionComponent) GetOptionsCallCount ¶
func (fake *FakeSelectionComponent) GetOptionsCallCount() int
func (*FakeSelectionComponent) GetOptionsCalls ¶
func (fake *FakeSelectionComponent) GetOptionsCalls(stub func() []string)
func (*FakeSelectionComponent) GetOptionsReturns ¶
func (fake *FakeSelectionComponent) GetOptionsReturns(result1 []string)
func (*FakeSelectionComponent) GetOptionsReturnsOnCall ¶
func (fake *FakeSelectionComponent) GetOptionsReturnsOnCall(i int, result1 []string)
func (*FakeSelectionComponent) GetSelected ¶
func (fake *FakeSelectionComponent) GetSelected() string
func (*FakeSelectionComponent) GetSelectedCallCount ¶
func (fake *FakeSelectionComponent) GetSelectedCallCount() int
func (*FakeSelectionComponent) GetSelectedCalls ¶
func (fake *FakeSelectionComponent) GetSelectedCalls(stub func() string)
func (*FakeSelectionComponent) GetSelectedIndex ¶
func (fake *FakeSelectionComponent) GetSelectedIndex() int
func (*FakeSelectionComponent) GetSelectedIndexCallCount ¶
func (fake *FakeSelectionComponent) GetSelectedIndexCallCount() int
func (*FakeSelectionComponent) GetSelectedIndexCalls ¶
func (fake *FakeSelectionComponent) GetSelectedIndexCalls(stub func() int)
func (*FakeSelectionComponent) GetSelectedIndexReturns ¶
func (fake *FakeSelectionComponent) GetSelectedIndexReturns(result1 int)
func (*FakeSelectionComponent) GetSelectedIndexReturnsOnCall ¶
func (fake *FakeSelectionComponent) GetSelectedIndexReturnsOnCall(i int, result1 int)
func (*FakeSelectionComponent) GetSelectedReturns ¶
func (fake *FakeSelectionComponent) GetSelectedReturns(result1 string)
func (*FakeSelectionComponent) GetSelectedReturnsOnCall ¶
func (fake *FakeSelectionComponent) GetSelectedReturnsOnCall(i int, result1 string)
func (*FakeSelectionComponent) Invocations ¶
func (fake *FakeSelectionComponent) Invocations() map[string][][]interface{}
func (*FakeSelectionComponent) IsCancelled ¶
func (fake *FakeSelectionComponent) IsCancelled() bool
func (*FakeSelectionComponent) IsCancelledCallCount ¶
func (fake *FakeSelectionComponent) IsCancelledCallCount() int
func (*FakeSelectionComponent) IsCancelledCalls ¶
func (fake *FakeSelectionComponent) IsCancelledCalls(stub func() bool)
func (*FakeSelectionComponent) IsCancelledReturns ¶
func (fake *FakeSelectionComponent) IsCancelledReturns(result1 bool)
func (*FakeSelectionComponent) IsCancelledReturnsOnCall ¶
func (fake *FakeSelectionComponent) IsCancelledReturnsOnCall(i int, result1 bool)
func (*FakeSelectionComponent) IsSelected ¶
func (fake *FakeSelectionComponent) IsSelected() bool
func (*FakeSelectionComponent) IsSelectedCallCount ¶
func (fake *FakeSelectionComponent) IsSelectedCallCount() int
func (*FakeSelectionComponent) IsSelectedCalls ¶
func (fake *FakeSelectionComponent) IsSelectedCalls(stub func() bool)
func (*FakeSelectionComponent) IsSelectedReturns ¶
func (fake *FakeSelectionComponent) IsSelectedReturns(result1 bool)
func (*FakeSelectionComponent) IsSelectedReturnsOnCall ¶
func (fake *FakeSelectionComponent) IsSelectedReturnsOnCall(i int, result1 bool)
func (*FakeSelectionComponent) Render ¶
func (fake *FakeSelectionComponent) Render() string
func (*FakeSelectionComponent) RenderCallCount ¶
func (fake *FakeSelectionComponent) RenderCallCount() int
func (*FakeSelectionComponent) RenderCalls ¶
func (fake *FakeSelectionComponent) RenderCalls(stub func() string)
func (*FakeSelectionComponent) RenderReturns ¶
func (fake *FakeSelectionComponent) RenderReturns(result1 string)
func (*FakeSelectionComponent) RenderReturnsOnCall ¶
func (fake *FakeSelectionComponent) RenderReturnsOnCall(i int, result1 string)
func (*FakeSelectionComponent) SetHeight ¶
func (fake *FakeSelectionComponent) SetHeight(arg1 int)
func (*FakeSelectionComponent) SetHeightArgsForCall ¶
func (fake *FakeSelectionComponent) SetHeightArgsForCall(i int) int
func (*FakeSelectionComponent) SetHeightCallCount ¶
func (fake *FakeSelectionComponent) SetHeightCallCount() int
func (*FakeSelectionComponent) SetHeightCalls ¶
func (fake *FakeSelectionComponent) SetHeightCalls(stub func(int))
func (*FakeSelectionComponent) SetOptions ¶
func (fake *FakeSelectionComponent) SetOptions(arg1 []string)
func (*FakeSelectionComponent) SetOptionsArgsForCall ¶
func (fake *FakeSelectionComponent) SetOptionsArgsForCall(i int) []string
func (*FakeSelectionComponent) SetOptionsCallCount ¶
func (fake *FakeSelectionComponent) SetOptionsCallCount() int
func (*FakeSelectionComponent) SetOptionsCalls ¶
func (fake *FakeSelectionComponent) SetOptionsCalls(stub func([]string))
func (*FakeSelectionComponent) SetSelected ¶
func (fake *FakeSelectionComponent) SetSelected(arg1 int)
func (*FakeSelectionComponent) SetSelectedArgsForCall ¶
func (fake *FakeSelectionComponent) SetSelectedArgsForCall(i int) int
func (*FakeSelectionComponent) SetSelectedCallCount ¶
func (fake *FakeSelectionComponent) SetSelectedCallCount() int
func (*FakeSelectionComponent) SetSelectedCalls ¶
func (fake *FakeSelectionComponent) SetSelectedCalls(stub func(int))
func (*FakeSelectionComponent) SetWidth ¶
func (fake *FakeSelectionComponent) SetWidth(arg1 int)
func (*FakeSelectionComponent) SetWidthArgsForCall ¶
func (fake *FakeSelectionComponent) SetWidthArgsForCall(i int) int
func (*FakeSelectionComponent) SetWidthCallCount ¶
func (fake *FakeSelectionComponent) SetWidthCallCount() int
func (*FakeSelectionComponent) SetWidthCalls ¶
func (fake *FakeSelectionComponent) SetWidthCalls(stub func(int))
type FakeStatusComponent ¶
type FakeStatusComponent struct {
ClearStatusStub func()
HasSavedStateStub func() bool
IsShowingErrorStub func() bool
IsShowingSpinnerStub func() bool
RenderStub func() string
RestoreSavedStateStub func() tea.Cmd
SaveCurrentStateStub func()
SetHeightStub func(int)
SetTokenUsageStub func(string)
SetWidthStub func(int)
ShowErrorStub func(string)
ShowSpinnerStub func(string)
ShowStatusStub func(string)
// contains filtered or unexported fields
}
func (*FakeStatusComponent) ClearStatus ¶
func (fake *FakeStatusComponent) ClearStatus()
func (*FakeStatusComponent) ClearStatusCallCount ¶
func (fake *FakeStatusComponent) ClearStatusCallCount() int
func (*FakeStatusComponent) ClearStatusCalls ¶
func (fake *FakeStatusComponent) ClearStatusCalls(stub func())
func (*FakeStatusComponent) HasSavedState ¶
func (fake *FakeStatusComponent) HasSavedState() bool
func (*FakeStatusComponent) HasSavedStateCallCount ¶
func (fake *FakeStatusComponent) HasSavedStateCallCount() int
func (*FakeStatusComponent) HasSavedStateCalls ¶
func (fake *FakeStatusComponent) HasSavedStateCalls(stub func() bool)
func (*FakeStatusComponent) HasSavedStateReturns ¶
func (fake *FakeStatusComponent) HasSavedStateReturns(result1 bool)
func (*FakeStatusComponent) HasSavedStateReturnsOnCall ¶
func (fake *FakeStatusComponent) HasSavedStateReturnsOnCall(i int, result1 bool)
func (*FakeStatusComponent) Invocations ¶
func (fake *FakeStatusComponent) Invocations() map[string][][]interface{}
func (*FakeStatusComponent) IsShowingError ¶
func (fake *FakeStatusComponent) IsShowingError() bool
func (*FakeStatusComponent) IsShowingErrorCallCount ¶
func (fake *FakeStatusComponent) IsShowingErrorCallCount() int
func (*FakeStatusComponent) IsShowingErrorCalls ¶
func (fake *FakeStatusComponent) IsShowingErrorCalls(stub func() bool)
func (*FakeStatusComponent) IsShowingErrorReturns ¶
func (fake *FakeStatusComponent) IsShowingErrorReturns(result1 bool)
func (*FakeStatusComponent) IsShowingErrorReturnsOnCall ¶
func (fake *FakeStatusComponent) IsShowingErrorReturnsOnCall(i int, result1 bool)
func (*FakeStatusComponent) IsShowingSpinner ¶
func (fake *FakeStatusComponent) IsShowingSpinner() bool
func (*FakeStatusComponent) IsShowingSpinnerCallCount ¶
func (fake *FakeStatusComponent) IsShowingSpinnerCallCount() int
func (*FakeStatusComponent) IsShowingSpinnerCalls ¶
func (fake *FakeStatusComponent) IsShowingSpinnerCalls(stub func() bool)
func (*FakeStatusComponent) IsShowingSpinnerReturns ¶
func (fake *FakeStatusComponent) IsShowingSpinnerReturns(result1 bool)
func (*FakeStatusComponent) IsShowingSpinnerReturnsOnCall ¶
func (fake *FakeStatusComponent) IsShowingSpinnerReturnsOnCall(i int, result1 bool)
func (*FakeStatusComponent) Render ¶
func (fake *FakeStatusComponent) Render() string
func (*FakeStatusComponent) RenderCallCount ¶
func (fake *FakeStatusComponent) RenderCallCount() int
func (*FakeStatusComponent) RenderCalls ¶
func (fake *FakeStatusComponent) RenderCalls(stub func() string)
func (*FakeStatusComponent) RenderReturns ¶
func (fake *FakeStatusComponent) RenderReturns(result1 string)
func (*FakeStatusComponent) RenderReturnsOnCall ¶
func (fake *FakeStatusComponent) RenderReturnsOnCall(i int, result1 string)
func (*FakeStatusComponent) RestoreSavedState ¶
func (fake *FakeStatusComponent) RestoreSavedState() tea.Cmd
func (*FakeStatusComponent) RestoreSavedStateCallCount ¶
func (fake *FakeStatusComponent) RestoreSavedStateCallCount() int
func (*FakeStatusComponent) RestoreSavedStateCalls ¶
func (fake *FakeStatusComponent) RestoreSavedStateCalls(stub func() tea.Cmd)
func (*FakeStatusComponent) RestoreSavedStateReturns ¶
func (fake *FakeStatusComponent) RestoreSavedStateReturns(result1 tea.Cmd)
func (*FakeStatusComponent) RestoreSavedStateReturnsOnCall ¶
func (fake *FakeStatusComponent) RestoreSavedStateReturnsOnCall(i int, result1 tea.Cmd)
func (*FakeStatusComponent) SaveCurrentState ¶
func (fake *FakeStatusComponent) SaveCurrentState()
func (*FakeStatusComponent) SaveCurrentStateCallCount ¶
func (fake *FakeStatusComponent) SaveCurrentStateCallCount() int
func (*FakeStatusComponent) SaveCurrentStateCalls ¶
func (fake *FakeStatusComponent) SaveCurrentStateCalls(stub func())
func (*FakeStatusComponent) SetHeight ¶
func (fake *FakeStatusComponent) SetHeight(arg1 int)
func (*FakeStatusComponent) SetHeightArgsForCall ¶
func (fake *FakeStatusComponent) SetHeightArgsForCall(i int) int
func (*FakeStatusComponent) SetHeightCallCount ¶
func (fake *FakeStatusComponent) SetHeightCallCount() int
func (*FakeStatusComponent) SetHeightCalls ¶
func (fake *FakeStatusComponent) SetHeightCalls(stub func(int))
func (*FakeStatusComponent) SetTokenUsage ¶
func (fake *FakeStatusComponent) SetTokenUsage(arg1 string)
func (*FakeStatusComponent) SetTokenUsageArgsForCall ¶
func (fake *FakeStatusComponent) SetTokenUsageArgsForCall(i int) string
func (*FakeStatusComponent) SetTokenUsageCallCount ¶
func (fake *FakeStatusComponent) SetTokenUsageCallCount() int
func (*FakeStatusComponent) SetTokenUsageCalls ¶
func (fake *FakeStatusComponent) SetTokenUsageCalls(stub func(string))
func (*FakeStatusComponent) SetWidth ¶
func (fake *FakeStatusComponent) SetWidth(arg1 int)
func (*FakeStatusComponent) SetWidthArgsForCall ¶
func (fake *FakeStatusComponent) SetWidthArgsForCall(i int) int
func (*FakeStatusComponent) SetWidthCallCount ¶
func (fake *FakeStatusComponent) SetWidthCallCount() int
func (*FakeStatusComponent) SetWidthCalls ¶
func (fake *FakeStatusComponent) SetWidthCalls(stub func(int))
func (*FakeStatusComponent) ShowError ¶
func (fake *FakeStatusComponent) ShowError(arg1 string)
func (*FakeStatusComponent) ShowErrorArgsForCall ¶
func (fake *FakeStatusComponent) ShowErrorArgsForCall(i int) string
func (*FakeStatusComponent) ShowErrorCallCount ¶
func (fake *FakeStatusComponent) ShowErrorCallCount() int
func (*FakeStatusComponent) ShowErrorCalls ¶
func (fake *FakeStatusComponent) ShowErrorCalls(stub func(string))
func (*FakeStatusComponent) ShowSpinner ¶
func (fake *FakeStatusComponent) ShowSpinner(arg1 string)
func (*FakeStatusComponent) ShowSpinnerArgsForCall ¶
func (fake *FakeStatusComponent) ShowSpinnerArgsForCall(i int) string
func (*FakeStatusComponent) ShowSpinnerCallCount ¶
func (fake *FakeStatusComponent) ShowSpinnerCallCount() int
func (*FakeStatusComponent) ShowSpinnerCalls ¶
func (fake *FakeStatusComponent) ShowSpinnerCalls(stub func(string))
func (*FakeStatusComponent) ShowStatus ¶
func (fake *FakeStatusComponent) ShowStatus(arg1 string)
func (*FakeStatusComponent) ShowStatusArgsForCall ¶
func (fake *FakeStatusComponent) ShowStatusArgsForCall(i int) string
func (*FakeStatusComponent) ShowStatusCallCount ¶
func (fake *FakeStatusComponent) ShowStatusCallCount() int
func (*FakeStatusComponent) ShowStatusCalls ¶
func (fake *FakeStatusComponent) ShowStatusCalls(stub func(string))
type FakeTheme ¶
type FakeTheme struct {
GetAccentColorStub func() string
GetAssistantColorStub func() string
GetBorderColorStub func() string
GetDiffAddColorStub func() string
GetDiffRemoveColorStub func() string
GetDimColorStub func() string
GetErrorColorStub func() string
GetStatusColorStub func() string
GetUserColorStub func() string
// contains filtered or unexported fields
}
func (*FakeTheme) GetAccentColor ¶
func (*FakeTheme) GetAccentColorCallCount ¶
func (*FakeTheme) GetAccentColorCalls ¶
func (*FakeTheme) GetAccentColorReturns ¶
func (*FakeTheme) GetAccentColorReturnsOnCall ¶
func (*FakeTheme) GetAssistantColor ¶
func (*FakeTheme) GetAssistantColorCallCount ¶
func (*FakeTheme) GetAssistantColorCalls ¶
func (*FakeTheme) GetAssistantColorReturns ¶
func (*FakeTheme) GetAssistantColorReturnsOnCall ¶
func (*FakeTheme) GetBorderColor ¶
func (*FakeTheme) GetBorderColorCallCount ¶
func (*FakeTheme) GetBorderColorCalls ¶
func (*FakeTheme) GetBorderColorReturns ¶
func (*FakeTheme) GetBorderColorReturnsOnCall ¶
func (*FakeTheme) GetDiffAddColor ¶
func (*FakeTheme) GetDiffAddColorCallCount ¶
func (*FakeTheme) GetDiffAddColorCalls ¶
func (*FakeTheme) GetDiffAddColorReturns ¶
func (*FakeTheme) GetDiffAddColorReturnsOnCall ¶
func (*FakeTheme) GetDiffRemoveColor ¶
func (*FakeTheme) GetDiffRemoveColorCallCount ¶
func (*FakeTheme) GetDiffRemoveColorCalls ¶
func (*FakeTheme) GetDiffRemoveColorReturns ¶
func (*FakeTheme) GetDiffRemoveColorReturnsOnCall ¶
func (*FakeTheme) GetDimColor ¶
func (*FakeTheme) GetDimColorCallCount ¶
func (*FakeTheme) GetDimColorCalls ¶
func (*FakeTheme) GetDimColorReturns ¶
func (*FakeTheme) GetDimColorReturnsOnCall ¶
func (*FakeTheme) GetErrorColor ¶
func (*FakeTheme) GetErrorColorCallCount ¶
func (*FakeTheme) GetErrorColorCalls ¶
func (*FakeTheme) GetErrorColorReturns ¶
func (*FakeTheme) GetErrorColorReturnsOnCall ¶
func (*FakeTheme) GetStatusColor ¶
func (*FakeTheme) GetStatusColorCallCount ¶
func (*FakeTheme) GetStatusColorCalls ¶
func (*FakeTheme) GetStatusColorReturns ¶
func (*FakeTheme) GetStatusColorReturnsOnCall ¶
func (*FakeTheme) GetUserColor ¶
func (*FakeTheme) GetUserColorCallCount ¶
func (*FakeTheme) GetUserColorCalls ¶
func (*FakeTheme) GetUserColorReturns ¶
func (*FakeTheme) GetUserColorReturnsOnCall ¶
func (*FakeTheme) Invocations ¶
type FakeTool ¶
type FakeTool struct {
DefinitionStub func() domain.ToolDefinition
ExecuteStub func(context.Context, map[string]any) (*domain.ToolExecutionResult, error)
FormatPreviewStub func(*domain.ToolExecutionResult) string
FormatResultStub func(*domain.ToolExecutionResult, domain.FormatterType) string
IsEnabledStub func() bool
ShouldAlwaysExpandStub func() bool
ShouldCollapseArgStub func(string) bool
ValidateStub func(map[string]any) error
// contains filtered or unexported fields
}
func (*FakeTool) Definition ¶
func (fake *FakeTool) Definition() domain.ToolDefinition
func (*FakeTool) DefinitionCallCount ¶
func (*FakeTool) DefinitionCalls ¶
func (fake *FakeTool) DefinitionCalls(stub func() domain.ToolDefinition)
func (*FakeTool) DefinitionReturns ¶
func (fake *FakeTool) DefinitionReturns(result1 domain.ToolDefinition)
func (*FakeTool) DefinitionReturnsOnCall ¶
func (fake *FakeTool) DefinitionReturnsOnCall(i int, result1 domain.ToolDefinition)
func (*FakeTool) ExecuteArgsForCall ¶
func (*FakeTool) ExecuteCallCount ¶
func (*FakeTool) ExecuteCalls ¶
func (*FakeTool) ExecuteReturns ¶
func (fake *FakeTool) ExecuteReturns(result1 *domain.ToolExecutionResult, result2 error)
func (*FakeTool) ExecuteReturnsOnCall ¶
func (fake *FakeTool) ExecuteReturnsOnCall(i int, result1 *domain.ToolExecutionResult, result2 error)
func (*FakeTool) FormatPreview ¶
func (fake *FakeTool) FormatPreview(arg1 *domain.ToolExecutionResult) string
func (*FakeTool) FormatPreviewArgsForCall ¶
func (fake *FakeTool) FormatPreviewArgsForCall(i int) *domain.ToolExecutionResult
func (*FakeTool) FormatPreviewCallCount ¶
func (*FakeTool) FormatPreviewCalls ¶
func (fake *FakeTool) FormatPreviewCalls(stub func(*domain.ToolExecutionResult) string)
func (*FakeTool) FormatPreviewReturns ¶
func (*FakeTool) FormatPreviewReturnsOnCall ¶
func (*FakeTool) FormatResult ¶
func (fake *FakeTool) FormatResult(arg1 *domain.ToolExecutionResult, arg2 domain.FormatterType) string
func (*FakeTool) FormatResultArgsForCall ¶
func (fake *FakeTool) FormatResultArgsForCall(i int) (*domain.ToolExecutionResult, domain.FormatterType)
func (*FakeTool) FormatResultCallCount ¶
func (*FakeTool) FormatResultCalls ¶
func (fake *FakeTool) FormatResultCalls(stub func(*domain.ToolExecutionResult, domain.FormatterType) string)
func (*FakeTool) FormatResultReturns ¶
func (*FakeTool) FormatResultReturnsOnCall ¶
func (*FakeTool) Invocations ¶
func (*FakeTool) IsEnabledCallCount ¶
func (*FakeTool) IsEnabledCalls ¶
func (*FakeTool) IsEnabledReturns ¶
func (*FakeTool) IsEnabledReturnsOnCall ¶
func (*FakeTool) ShouldAlwaysExpand ¶
func (*FakeTool) ShouldAlwaysExpandCallCount ¶
func (*FakeTool) ShouldAlwaysExpandCalls ¶
func (*FakeTool) ShouldAlwaysExpandReturns ¶
func (*FakeTool) ShouldAlwaysExpandReturnsOnCall ¶
func (*FakeTool) ShouldCollapseArg ¶
func (*FakeTool) ShouldCollapseArgArgsForCall ¶
func (*FakeTool) ShouldCollapseArgCallCount ¶
func (*FakeTool) ShouldCollapseArgCalls ¶
func (*FakeTool) ShouldCollapseArgReturns ¶
func (*FakeTool) ShouldCollapseArgReturnsOnCall ¶
func (*FakeTool) ValidateArgsForCall ¶
func (*FakeTool) ValidateCallCount ¶
func (*FakeTool) ValidateCalls ¶
func (*FakeTool) ValidateReturns ¶
func (*FakeTool) ValidateReturnsOnCall ¶
type FakeToolFactory ¶
type FakeToolFactory struct {
CreateToolStub func(string) (domain.Tool, error)
ListAvailableToolsStub func() []string
// contains filtered or unexported fields
}
func (*FakeToolFactory) CreateTool ¶
func (fake *FakeToolFactory) CreateTool(arg1 string) (domain.Tool, error)
func (*FakeToolFactory) CreateToolArgsForCall ¶
func (fake *FakeToolFactory) CreateToolArgsForCall(i int) string
func (*FakeToolFactory) CreateToolCallCount ¶
func (fake *FakeToolFactory) CreateToolCallCount() int
func (*FakeToolFactory) CreateToolCalls ¶
func (fake *FakeToolFactory) CreateToolCalls(stub func(string) (domain.Tool, error))
func (*FakeToolFactory) CreateToolReturns ¶
func (fake *FakeToolFactory) CreateToolReturns(result1 domain.Tool, result2 error)
func (*FakeToolFactory) CreateToolReturnsOnCall ¶
func (fake *FakeToolFactory) CreateToolReturnsOnCall(i int, result1 domain.Tool, result2 error)
func (*FakeToolFactory) Invocations ¶
func (fake *FakeToolFactory) Invocations() map[string][][]interface{}
func (*FakeToolFactory) ListAvailableTools ¶
func (fake *FakeToolFactory) ListAvailableTools() []string
func (*FakeToolFactory) ListAvailableToolsCallCount ¶
func (fake *FakeToolFactory) ListAvailableToolsCallCount() int
func (*FakeToolFactory) ListAvailableToolsCalls ¶
func (fake *FakeToolFactory) ListAvailableToolsCalls(stub func() []string)
func (*FakeToolFactory) ListAvailableToolsReturns ¶
func (fake *FakeToolFactory) ListAvailableToolsReturns(result1 []string)
func (*FakeToolFactory) ListAvailableToolsReturnsOnCall ¶
func (fake *FakeToolFactory) ListAvailableToolsReturnsOnCall(i int, result1 []string)
type FakeToolService ¶
type FakeToolService struct {
ExecuteToolStub func(context.Context, string, map[string]any) (*domain.ToolExecutionResult, error)
IsToolEnabledStub func(string) bool
ListAvailableToolsStub func() []string
ListToolsStub func() []domain.ToolDefinition
ValidateToolStub func(string, map[string]any) error
// contains filtered or unexported fields
}
func (*FakeToolService) ExecuteTool ¶
func (fake *FakeToolService) ExecuteTool(arg1 context.Context, arg2 string, arg3 map[string]any) (*domain.ToolExecutionResult, error)
func (*FakeToolService) ExecuteToolArgsForCall ¶
func (*FakeToolService) ExecuteToolCallCount ¶
func (fake *FakeToolService) ExecuteToolCallCount() int
func (*FakeToolService) ExecuteToolCalls ¶
func (fake *FakeToolService) ExecuteToolCalls(stub func(context.Context, string, map[string]any) (*domain.ToolExecutionResult, error))
func (*FakeToolService) ExecuteToolReturns ¶
func (fake *FakeToolService) ExecuteToolReturns(result1 *domain.ToolExecutionResult, result2 error)
func (*FakeToolService) ExecuteToolReturnsOnCall ¶
func (fake *FakeToolService) ExecuteToolReturnsOnCall(i int, result1 *domain.ToolExecutionResult, result2 error)
func (*FakeToolService) Invocations ¶
func (fake *FakeToolService) Invocations() map[string][][]interface{}
func (*FakeToolService) IsToolEnabled ¶
func (fake *FakeToolService) IsToolEnabled(arg1 string) bool
func (*FakeToolService) IsToolEnabledArgsForCall ¶
func (fake *FakeToolService) IsToolEnabledArgsForCall(i int) string
func (*FakeToolService) IsToolEnabledCallCount ¶
func (fake *FakeToolService) IsToolEnabledCallCount() int
func (*FakeToolService) IsToolEnabledCalls ¶
func (fake *FakeToolService) IsToolEnabledCalls(stub func(string) bool)
func (*FakeToolService) IsToolEnabledReturns ¶
func (fake *FakeToolService) IsToolEnabledReturns(result1 bool)
func (*FakeToolService) IsToolEnabledReturnsOnCall ¶
func (fake *FakeToolService) IsToolEnabledReturnsOnCall(i int, result1 bool)
func (*FakeToolService) ListAvailableTools ¶
func (fake *FakeToolService) ListAvailableTools() []string
func (*FakeToolService) ListAvailableToolsCallCount ¶
func (fake *FakeToolService) ListAvailableToolsCallCount() int
func (*FakeToolService) ListAvailableToolsCalls ¶
func (fake *FakeToolService) ListAvailableToolsCalls(stub func() []string)
func (*FakeToolService) ListAvailableToolsReturns ¶
func (fake *FakeToolService) ListAvailableToolsReturns(result1 []string)
func (*FakeToolService) ListAvailableToolsReturnsOnCall ¶
func (fake *FakeToolService) ListAvailableToolsReturnsOnCall(i int, result1 []string)
func (*FakeToolService) ListTools ¶
func (fake *FakeToolService) ListTools() []domain.ToolDefinition
func (*FakeToolService) ListToolsCallCount ¶
func (fake *FakeToolService) ListToolsCallCount() int
func (*FakeToolService) ListToolsCalls ¶
func (fake *FakeToolService) ListToolsCalls(stub func() []domain.ToolDefinition)
func (*FakeToolService) ListToolsReturns ¶
func (fake *FakeToolService) ListToolsReturns(result1 []domain.ToolDefinition)
func (*FakeToolService) ListToolsReturnsOnCall ¶
func (fake *FakeToolService) ListToolsReturnsOnCall(i int, result1 []domain.ToolDefinition)
func (*FakeToolService) ValidateTool ¶
func (fake *FakeToolService) ValidateTool(arg1 string, arg2 map[string]any) error
func (*FakeToolService) ValidateToolArgsForCall ¶
func (fake *FakeToolService) ValidateToolArgsForCall(i int) (string, map[string]any)
func (*FakeToolService) ValidateToolCallCount ¶
func (fake *FakeToolService) ValidateToolCallCount() int
func (*FakeToolService) ValidateToolCalls ¶
func (fake *FakeToolService) ValidateToolCalls(stub func(string, map[string]any) error)
func (*FakeToolService) ValidateToolReturns ¶
func (fake *FakeToolService) ValidateToolReturns(result1 error)
func (*FakeToolService) ValidateToolReturnsOnCall ¶
func (fake *FakeToolService) ValidateToolReturnsOnCall(i int, result1 error)
type FakeWebFetchService ¶
type FakeWebFetchService struct {
ClearCacheStub func()
FetchContentStub func(context.Context, string) (*domain.FetchResult, error)
GetCacheStatsStub func() map[string]any
ValidateURLStub func(string) error
// contains filtered or unexported fields
}
func (*FakeWebFetchService) ClearCache ¶
func (fake *FakeWebFetchService) ClearCache()
func (*FakeWebFetchService) ClearCacheCallCount ¶
func (fake *FakeWebFetchService) ClearCacheCallCount() int
func (*FakeWebFetchService) ClearCacheCalls ¶
func (fake *FakeWebFetchService) ClearCacheCalls(stub func())
func (*FakeWebFetchService) FetchContent ¶
func (fake *FakeWebFetchService) FetchContent(arg1 context.Context, arg2 string) (*domain.FetchResult, error)
func (*FakeWebFetchService) FetchContentArgsForCall ¶
func (fake *FakeWebFetchService) FetchContentArgsForCall(i int) (context.Context, string)
func (*FakeWebFetchService) FetchContentCallCount ¶
func (fake *FakeWebFetchService) FetchContentCallCount() int
func (*FakeWebFetchService) FetchContentCalls ¶
func (fake *FakeWebFetchService) FetchContentCalls(stub func(context.Context, string) (*domain.FetchResult, error))
func (*FakeWebFetchService) FetchContentReturns ¶
func (fake *FakeWebFetchService) FetchContentReturns(result1 *domain.FetchResult, result2 error)
func (*FakeWebFetchService) FetchContentReturnsOnCall ¶
func (fake *FakeWebFetchService) FetchContentReturnsOnCall(i int, result1 *domain.FetchResult, result2 error)
func (*FakeWebFetchService) GetCacheStats ¶
func (fake *FakeWebFetchService) GetCacheStats() map[string]any
func (*FakeWebFetchService) GetCacheStatsCallCount ¶
func (fake *FakeWebFetchService) GetCacheStatsCallCount() int
func (*FakeWebFetchService) GetCacheStatsCalls ¶
func (fake *FakeWebFetchService) GetCacheStatsCalls(stub func() map[string]any)
func (*FakeWebFetchService) GetCacheStatsReturns ¶
func (fake *FakeWebFetchService) GetCacheStatsReturns(result1 map[string]any)
func (*FakeWebFetchService) GetCacheStatsReturnsOnCall ¶
func (fake *FakeWebFetchService) GetCacheStatsReturnsOnCall(i int, result1 map[string]any)
func (*FakeWebFetchService) Invocations ¶
func (fake *FakeWebFetchService) Invocations() map[string][][]interface{}
func (*FakeWebFetchService) ValidateURL ¶
func (fake *FakeWebFetchService) ValidateURL(arg1 string) error
func (*FakeWebFetchService) ValidateURLArgsForCall ¶
func (fake *FakeWebFetchService) ValidateURLArgsForCall(i int) string
func (*FakeWebFetchService) ValidateURLCallCount ¶
func (fake *FakeWebFetchService) ValidateURLCallCount() int
func (*FakeWebFetchService) ValidateURLCalls ¶
func (fake *FakeWebFetchService) ValidateURLCalls(stub func(string) error)
func (*FakeWebFetchService) ValidateURLReturns ¶
func (fake *FakeWebFetchService) ValidateURLReturns(result1 error)
func (*FakeWebFetchService) ValidateURLReturnsOnCall ¶
func (fake *FakeWebFetchService) ValidateURLReturnsOnCall(i int, result1 error)
type FakeWebSearchService ¶
type FakeWebSearchService struct {
IsEnabledStub func() bool
SearchDuckDuckGoStub func(context.Context, string, int) (*domain.WebSearchResponse, error)
SearchGoogleStub func(context.Context, string, int) (*domain.WebSearchResponse, error)
SetEnabledStub func(bool)
// contains filtered or unexported fields
}
func (*FakeWebSearchService) Invocations ¶
func (fake *FakeWebSearchService) Invocations() map[string][][]interface{}
func (*FakeWebSearchService) IsEnabled ¶
func (fake *FakeWebSearchService) IsEnabled() bool
func (*FakeWebSearchService) IsEnabledCallCount ¶
func (fake *FakeWebSearchService) IsEnabledCallCount() int
func (*FakeWebSearchService) IsEnabledCalls ¶
func (fake *FakeWebSearchService) IsEnabledCalls(stub func() bool)
func (*FakeWebSearchService) IsEnabledReturns ¶
func (fake *FakeWebSearchService) IsEnabledReturns(result1 bool)
func (*FakeWebSearchService) IsEnabledReturnsOnCall ¶
func (fake *FakeWebSearchService) IsEnabledReturnsOnCall(i int, result1 bool)
func (*FakeWebSearchService) SearchDuckDuckGo ¶
func (fake *FakeWebSearchService) SearchDuckDuckGo(arg1 context.Context, arg2 string, arg3 int) (*domain.WebSearchResponse, error)
func (*FakeWebSearchService) SearchDuckDuckGoArgsForCall ¶
func (*FakeWebSearchService) SearchDuckDuckGoCallCount ¶
func (fake *FakeWebSearchService) SearchDuckDuckGoCallCount() int
func (*FakeWebSearchService) SearchDuckDuckGoCalls ¶
func (fake *FakeWebSearchService) SearchDuckDuckGoCalls(stub func(context.Context, string, int) (*domain.WebSearchResponse, error))
func (*FakeWebSearchService) SearchDuckDuckGoReturns ¶
func (fake *FakeWebSearchService) SearchDuckDuckGoReturns(result1 *domain.WebSearchResponse, result2 error)
func (*FakeWebSearchService) SearchDuckDuckGoReturnsOnCall ¶
func (fake *FakeWebSearchService) SearchDuckDuckGoReturnsOnCall(i int, result1 *domain.WebSearchResponse, result2 error)
func (*FakeWebSearchService) SearchGoogle ¶
func (fake *FakeWebSearchService) SearchGoogle(arg1 context.Context, arg2 string, arg3 int) (*domain.WebSearchResponse, error)
func (*FakeWebSearchService) SearchGoogleArgsForCall ¶
func (*FakeWebSearchService) SearchGoogleCallCount ¶
func (fake *FakeWebSearchService) SearchGoogleCallCount() int
func (*FakeWebSearchService) SearchGoogleCalls ¶
func (fake *FakeWebSearchService) SearchGoogleCalls(stub func(context.Context, string, int) (*domain.WebSearchResponse, error))
func (*FakeWebSearchService) SearchGoogleReturns ¶
func (fake *FakeWebSearchService) SearchGoogleReturns(result1 *domain.WebSearchResponse, result2 error)
func (*FakeWebSearchService) SearchGoogleReturnsOnCall ¶
func (fake *FakeWebSearchService) SearchGoogleReturnsOnCall(i int, result1 *domain.WebSearchResponse, result2 error)
func (*FakeWebSearchService) SetEnabled ¶
func (fake *FakeWebSearchService) SetEnabled(arg1 bool)
func (*FakeWebSearchService) SetEnabledArgsForCall ¶
func (fake *FakeWebSearchService) SetEnabledArgsForCall(i int) bool
func (*FakeWebSearchService) SetEnabledCallCount ¶
func (fake *FakeWebSearchService) SetEnabledCallCount() int
func (*FakeWebSearchService) SetEnabledCalls ¶
func (fake *FakeWebSearchService) SetEnabledCalls(stub func(bool))
Source Files
¶
- fake_agent_service.go
- fake_autocomplete_interface.go
- fake_config_service.go
- fake_conversation_renderer.go
- fake_conversation_repository.go
- fake_conversation_storage.go
- fake_file_service.go
- fake_help_bar_component.go
- fake_input_component.go
- fake_model_service.go
- fake_sdkclient.go
- fake_selection_component.go
- fake_status_component.go
- fake_theme.go
- fake_tool.go
- fake_tool_factory.go
- fake_tool_service.go
- fake_web_fetch_service.go
- fake_web_search_service.go