| | |
| | | LlmPluginRuntimeConfig runtimeConfig, |
| | | CancellationToken cancellationToken = default); |
| | | |
| | | Task<IReadOnlyList<AiChatProjectSummary>> GetProjectsAsync( |
| | | Task<AiChatProjectsResult> GetProjectsAsync( |
| | | LlmPluginRuntimeConfig runtimeConfig, |
| | | CancellationToken cancellationToken = default); |
| | | |
| | |
| | | CancellationToken cancellationToken = default); |
| | | |
| | | Task CancelAsync(string requestId, CancellationToken cancellationToken = default); |
| | | Task CancelPluginRequestsAsync(string pluginId, CancellationToken cancellationToken = default); |
| | | } |
| | | |
| | | public interface ILlmModelRegistry |
| | |
| | | IAsyncEnumerable<LlmProviderChunk> StreamAsync( |
| | | LlmProviderRequest request, |
| | | CancellationToken cancellationToken = default); |
| | | |
| | | Task<IReadOnlyList<string>> ListModelIdsAsync( |
| | | string baseUrl, |
| | | string? apiKey, |
| | | CancellationToken cancellationToken = default); |
| | | } |
| | | |
| | | public interface ILlmProviderAdapterFactory |