' Options: 'Date: 2025-01-08 03:50:51 'Version: 8.53 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://blazordiffusion.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: CreateApiProvider.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports AiServer.ServiceModel Namespace Global Namespace AiServer.ServiceModel Public Partial Class ApiProvider Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property ApiBaseUrl As String Public Overridable Property ApiTypeId As Integer Public Overridable Property ApiKeyVar As String Public Overridable Property ApiKey As String Public Overridable Property ApiKeyHeader As String Public Overridable Property HeartbeatUrl As String Public Overridable Property Concurrency As Integer Public Overridable Property Priority As Integer Public Overridable Property Enabled As Boolean Public Overridable Property OfflineDate As Date? Public Overridable Property CreatedDate As Date Public Overridable Property Models As List(Of ApiProviderModel) = New List(Of ApiProviderModel) Public Overridable Property ApiType As ApiType Public Overridable Property SelectedModels As List(Of String) = New List(Of String) End Class Public Partial Class ApiProviderModel Public Overridable Property Model As String Public Overridable Property ApiModel As String End Class Public Partial Class CreateApiProvider Implements IReturn(Of IdResponse) Implements ICreateDb(Of ApiProvider) Public Overridable Property ApiTypeId As Integer Public Overridable Property ApiBaseUrl As String Public Overridable Property Name As String Public Overridable Property ApiKeyVar As String Public Overridable Property ApiKey As String Public Overridable Property ApiKeyHeader As String Public Overridable Property HeartbeatUrl As String Public Overridable Property TaskPaths As Dictionary(Of TaskType, String) Public Overridable Property Concurrency As Integer Public Overridable Property Priority As Integer Public Overridable Property Enabled As Boolean Public Overridable Property Models As List(Of ApiProviderModel) Public Overridable Property SelectedModels As List(Of String) End Class Public Enum TaskType OpenAiChat = 1 Comfy = 2 End Enum End Namespace End Namespace