refactor(*): 平台架构 - 拆分后端领域模块并同步插件协议与模型能力
This commit is contained in:
1 parent
916043fb5a
commit
6e5cbc8b05
644 files changed
+62731
-2320
No files matched your search
@@ -0,0 +1,70 @@
|
||||
package service
|
||||
|
||||
import "infinite-canvas/backend/internal/app"
|
||||
|
||||
var (
|
||||
ErrPlaybackNotReady = app.ErrPlaybackNotReady
|
||||
AllowedPrivateUpstreamHost = app.AllowedPrivateUpstreamHost
|
||||
AppearanceAssetMaxBytes = app.AppearanceAssetMaxBytes
|
||||
ApplyDefaultOutboundHeaders = app.ApplyDefaultOutboundHeaders
|
||||
ApplyOutboundHeaders = app.ApplyOutboundHeaders
|
||||
BadAuthRequest = app.BadAuthRequest
|
||||
CapabilitySpecFromModelCapabilityConfig = app.CapabilitySpecFromModelCapabilityConfig
|
||||
ChannelAPIURL = app.ChannelAPIURL
|
||||
ChannelAPIURLForProtocol = app.ChannelAPIURLForProtocol
|
||||
ChannelSlotFailureDetails = app.ChannelSlotFailureDetails
|
||||
ComputePriceConfigured = app.ComputePriceConfigured
|
||||
ComputeTierPriceConfigured = app.ComputeTierPriceConfigured
|
||||
CustomRelayHTTPClient = app.CustomRelayHTTPClient
|
||||
CustomRelayHTTPClientForChannel = app.CustomRelayHTTPClientForChannel
|
||||
DecodeCapabilitySpec = app.DecodeCapabilitySpec
|
||||
DecodeModelCapabilityConfig = app.DecodeModelCapabilityConfig
|
||||
DecodeRelayOutboundHeaders = app.DecodeRelayOutboundHeaders
|
||||
DefaultImageCapabilityConfig = app.DefaultImageCapabilityConfig
|
||||
DefaultModelCapabilityConfig = app.DefaultModelCapabilityConfig
|
||||
DefaultModelCapabilityConfigForModel = app.DefaultModelCapabilityConfigForModel
|
||||
EncodeOutboundHeadersJSON = app.EncodeOutboundHeadersJSON
|
||||
EnsureChatCompletionStreamUsageRequest = app.EnsureChatCompletionStreamUsageRequest
|
||||
Forbidden = app.Forbidden
|
||||
FormatModelError = app.FormatModelError
|
||||
GetModelErrorCode = app.GetModelErrorCode
|
||||
HasValidPrice = app.HasValidPrice
|
||||
InvalidModelSelection = app.InvalidModelSelection
|
||||
IsModelError = app.IsModelError
|
||||
IsProjectNotFound = app.IsProjectNotFound
|
||||
MatchCapability = app.MatchCapability
|
||||
ModelCapabilityNotSupported = app.ModelCapabilityNotSupported
|
||||
ModelCatalogMismatch = app.ModelCatalogMismatch
|
||||
ModelPriceNotConfigured = app.ModelPriceNotConfigured
|
||||
ModelRequestIntentFromTaskInput = app.ModelRequestIntentFromTaskInput
|
||||
ModelRouteUnavailable = app.ModelRouteUnavailable
|
||||
New = app.New
|
||||
NewAppError = app.NewAppError
|
||||
NewModelError = app.NewModelError
|
||||
NewWithRuntimeCapabilities = app.NewWithRuntimeCapabilities
|
||||
NormalizeCapabilitySpec = app.NormalizeCapabilitySpec
|
||||
NormalizeModelCapabilityConfig = app.NormalizeModelCapabilityConfig
|
||||
NormalizeModelCapabilityConfigForModel = app.NormalizeModelCapabilityConfigForModel
|
||||
NormalizeOutboundHeaders = app.NormalizeOutboundHeaders
|
||||
NotFound = app.NotFound
|
||||
OutboundHTTPClient = app.OutboundHTTPClient
|
||||
ParseOutboundHeadersJSON = app.ParseOutboundHeadersJSON
|
||||
PaymentNotificationResponseFor = app.PaymentNotificationResponseFor
|
||||
PaymentNotificationResponseForWithRegistry = app.PaymentNotificationResponseForWithRegistry
|
||||
ProviderRequestFailed = app.ProviderRequestFailed
|
||||
QuotaExceeded = app.QuotaExceeded
|
||||
RateLimited = app.RateLimited
|
||||
ReasonForStatus = app.ReasonForStatus
|
||||
RuntimeCapabilitiesForDeployment = app.RuntimeCapabilitiesForDeployment
|
||||
SanitizeAPICallPayload = app.SanitizeAPICallPayload
|
||||
Unauthorized = app.Unauthorized
|
||||
ValidateCapabilitySpec = app.ValidateCapabilitySpec
|
||||
ValidateChannelModelPrice = app.ValidateChannelModelPrice
|
||||
ValidateCustomRelayChannelURL = app.ValidateCustomRelayChannelURL
|
||||
ValidateCustomRelayURL = app.ValidateCustomRelayURL
|
||||
ValidateLogicalModelPrice = app.ValidateLogicalModelPrice
|
||||
ValidateOutboundHost = app.ValidateOutboundHost
|
||||
ValidateOutboundURL = app.ValidateOutboundURL
|
||||
ValidatePriceTierPrice = app.ValidatePriceTierPrice
|
||||
WrapAppError = app.WrapAppError
|
||||
)
|
||||
Reference in new issue
Block a user