protocolv1

package
v1.0.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AutocompleteOutcome_name = map[int32]string{
		0: "AUTOCOMPLETE_OUTCOME_UNSPECIFIED",
		1: "AUTOCOMPLETE_OUTCOME_COMPLETION",
		2: "AUTOCOMPLETE_OUTCOME_CANCELLED",
	}
	AutocompleteOutcome_value = map[string]int32{
		"AUTOCOMPLETE_OUTCOME_UNSPECIFIED": 0,
		"AUTOCOMPLETE_OUTCOME_COMPLETION":  1,
		"AUTOCOMPLETE_OUTCOME_CANCELLED":   2,
	}
)

Enum value maps for AutocompleteOutcome.

View Source
var (
	NextEditOutcome_name = map[int32]string{
		0: "NEXT_EDIT_OUTCOME_UNSPECIFIED",
		1: "NEXT_EDIT_OUTCOME_EDITS",
		2: "NEXT_EDIT_OUTCOME_CANCELLED",
	}
	NextEditOutcome_value = map[string]int32{
		"NEXT_EDIT_OUTCOME_UNSPECIFIED": 0,
		"NEXT_EDIT_OUTCOME_EDITS":       1,
		"NEXT_EDIT_OUTCOME_CANCELLED":   2,
	}
)

Enum value maps for NextEditOutcome.

View Source
var File_contenox_v1_completion_proto protoreflect.FileDescriptor
View Source
var File_contenox_v1_contract_proto protoreflect.FileDescriptor
View Source
var File_contenox_v1_inference_proto protoreflect.FileDescriptor
View Source
var File_contenox_v1_workers_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AutocompleteContext

type AutocompleteContext struct {
	Path    string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

AutocompleteContext is one peer file the request carries as read-only context.

func (*AutocompleteContext) Descriptor deprecated

func (*AutocompleteContext) Descriptor() ([]byte, []int)

Deprecated: Use AutocompleteContext.ProtoReflect.Descriptor instead.

func (*AutocompleteContext) GetContent

func (x *AutocompleteContext) GetContent() string

func (*AutocompleteContext) GetPath

func (x *AutocompleteContext) GetPath() string

func (*AutocompleteContext) ProtoMessage

func (*AutocompleteContext) ProtoMessage()

func (*AutocompleteContext) ProtoReflect

func (x *AutocompleteContext) ProtoReflect() protoreflect.Message

func (*AutocompleteContext) Reset

func (x *AutocompleteContext) Reset()

func (*AutocompleteContext) String

func (x *AutocompleteContext) String() string

type AutocompleteOutcome

type AutocompleteOutcome int32

AutocompleteOutcome is the closed set of answers a completion request has.

const (
	AutocompleteOutcome_AUTOCOMPLETE_OUTCOME_UNSPECIFIED AutocompleteOutcome = 0
	AutocompleteOutcome_AUTOCOMPLETE_OUTCOME_COMPLETION  AutocompleteOutcome = 1
	AutocompleteOutcome_AUTOCOMPLETE_OUTCOME_CANCELLED   AutocompleteOutcome = 2
)

func (AutocompleteOutcome) Descriptor

func (AutocompleteOutcome) Enum

func (AutocompleteOutcome) EnumDescriptor deprecated

func (AutocompleteOutcome) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutocompleteOutcome.Descriptor instead.

func (AutocompleteOutcome) Number

func (AutocompleteOutcome) String

func (x AutocompleteOutcome) String() string

func (AutocompleteOutcome) Type

type AutocompleteRequest

type AutocompleteRequest struct {
	Prefix      string                 `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Suffix      string                 `protobuf:"bytes,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
	LanguageId  string                 `protobuf:"bytes,3,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"`
	Uri         string                 `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	Provider    string                 `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	Model       string                 `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
	MaxTokens   int32                  `protobuf:"varint,7,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"`
	CodeContext []*AutocompleteContext `protobuf:"bytes,8,rep,name=code_context,json=codeContext,proto3" json:"code_context,omitempty"`
	// contains filtered or unexported fields
}

AutocompleteRequest is the request of _contenox/autocomplete: the source around the cursor, the document it came from, and the optional peers the runtime's own template renders. provider and model override the role assignment for this request only; empty uses the configured autocomplete role.

func (*AutocompleteRequest) Descriptor deprecated

func (*AutocompleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use AutocompleteRequest.ProtoReflect.Descriptor instead.

func (*AutocompleteRequest) GetCodeContext

func (x *AutocompleteRequest) GetCodeContext() []*AutocompleteContext

func (*AutocompleteRequest) GetLanguageId

func (x *AutocompleteRequest) GetLanguageId() string

func (*AutocompleteRequest) GetMaxTokens

func (x *AutocompleteRequest) GetMaxTokens() int32

func (*AutocompleteRequest) GetModel

func (x *AutocompleteRequest) GetModel() string

func (*AutocompleteRequest) GetPrefix

func (x *AutocompleteRequest) GetPrefix() string

func (*AutocompleteRequest) GetProvider

func (x *AutocompleteRequest) GetProvider() string

func (*AutocompleteRequest) GetSuffix

func (x *AutocompleteRequest) GetSuffix() string

func (*AutocompleteRequest) GetUri

func (x *AutocompleteRequest) GetUri() string

func (*AutocompleteRequest) ProtoMessage

func (*AutocompleteRequest) ProtoMessage()

func (*AutocompleteRequest) ProtoReflect

func (x *AutocompleteRequest) ProtoReflect() protoreflect.Message

func (*AutocompleteRequest) Reset

func (x *AutocompleteRequest) Reset()

func (*AutocompleteRequest) String

func (x *AutocompleteRequest) String() string

type AutocompleteResult

type AutocompleteResult struct {
	Kind        string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Completion  string `protobuf:"bytes,2,opt,name=completion,proto3" json:"completion,omitempty"`
	Mode        string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Fingerprint string `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

AutocompleteResult is the answer to _contenox/autocomplete. kind is an AutocompleteOutcome token; cancelled is a result value, never an error, so a superseded request is distinguishable from a failed one.

mode is the completion mode the runtime resolved for the configured role, and fingerprint identifies the configuration assignment the completion was made under: a shell that sees the fingerprint change knows the answer came from a different assignment than the one it is showing.

func (*AutocompleteResult) Descriptor deprecated

func (*AutocompleteResult) Descriptor() ([]byte, []int)

Deprecated: Use AutocompleteResult.ProtoReflect.Descriptor instead.

func (*AutocompleteResult) GetCompletion

func (x *AutocompleteResult) GetCompletion() string

func (*AutocompleteResult) GetFingerprint

func (x *AutocompleteResult) GetFingerprint() string

func (*AutocompleteResult) GetKind

func (x *AutocompleteResult) GetKind() string

func (*AutocompleteResult) GetMode

func (x *AutocompleteResult) GetMode() string

func (*AutocompleteResult) ProtoMessage

func (*AutocompleteResult) ProtoMessage()

func (*AutocompleteResult) ProtoReflect

func (x *AutocompleteResult) ProtoReflect() protoreflect.Message

func (*AutocompleteResult) Reset

func (x *AutocompleteResult) Reset()

func (*AutocompleteResult) String

func (x *AutocompleteResult) String() string

type ContractInput

type ContractInput struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Summary  string   `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Type     string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Required bool     `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
	Values   []string `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ContractInput describes one named operation input.

func (*ContractInput) Descriptor deprecated

func (*ContractInput) Descriptor() ([]byte, []int)

Deprecated: Use ContractInput.ProtoReflect.Descriptor instead.

func (*ContractInput) GetId

func (x *ContractInput) GetId() string

func (*ContractInput) GetRequired

func (x *ContractInput) GetRequired() bool

func (*ContractInput) GetSummary

func (x *ContractInput) GetSummary() string

func (*ContractInput) GetType

func (x *ContractInput) GetType() string

func (*ContractInput) GetValues

func (x *ContractInput) GetValues() []string

func (*ContractInput) ProtoMessage

func (*ContractInput) ProtoMessage()

func (*ContractInput) ProtoReflect

func (x *ContractInput) ProtoReflect() protoreflect.Message

func (*ContractInput) Reset

func (x *ContractInput) Reset()

func (*ContractInput) String

func (x *ContractInput) String() string

type ContractOperation

type ContractOperation struct {
	Id          string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Summary     string           `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Description string           `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Inputs      []*ContractInput `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// contains filtered or unexported fields
}

ContractOperation describes one callable operation.

func (*ContractOperation) Descriptor deprecated

func (*ContractOperation) Descriptor() ([]byte, []int)

Deprecated: Use ContractOperation.ProtoReflect.Descriptor instead.

func (*ContractOperation) GetDescription

func (x *ContractOperation) GetDescription() string

func (*ContractOperation) GetId

func (x *ContractOperation) GetId() string

func (*ContractOperation) GetInputs

func (x *ContractOperation) GetInputs() []*ContractInput

func (*ContractOperation) GetSummary

func (x *ContractOperation) GetSummary() string

func (*ContractOperation) ProtoMessage

func (*ContractOperation) ProtoMessage()

func (*ContractOperation) ProtoReflect

func (x *ContractOperation) ProtoReflect() protoreflect.Message

func (*ContractOperation) Reset

func (x *ContractOperation) Reset()

func (*ContractOperation) String

func (x *ContractOperation) String() string

type InferenceAcquisitionRequest

type InferenceAcquisitionRequest struct {
	Target       string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Model        string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

InferenceAcquisitionRequest selects the host that receives a complete model bundle: target is "local" or "connection", and connection_id names the saved connection a "connection" target acquires on.

func (*InferenceAcquisitionRequest) Descriptor deprecated

func (*InferenceAcquisitionRequest) Descriptor() ([]byte, []int)

Deprecated: Use InferenceAcquisitionRequest.ProtoReflect.Descriptor instead.

func (*InferenceAcquisitionRequest) GetConnectionId

func (x *InferenceAcquisitionRequest) GetConnectionId() string

func (*InferenceAcquisitionRequest) GetModel

func (x *InferenceAcquisitionRequest) GetModel() string

func (*InferenceAcquisitionRequest) GetTarget

func (x *InferenceAcquisitionRequest) GetTarget() string

func (*InferenceAcquisitionRequest) ProtoMessage

func (*InferenceAcquisitionRequest) ProtoMessage()

func (*InferenceAcquisitionRequest) ProtoReflect

func (*InferenceAcquisitionRequest) Reset

func (x *InferenceAcquisitionRequest) Reset()

func (*InferenceAcquisitionRequest) String

func (x *InferenceAcquisitionRequest) String() string

type InferenceAutomaticSetup

type InferenceAutomaticSetup struct {
	Plan       *InferencePlan   `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	Contract   *ServiceContract `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	State      string           `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	HotContext int32            `protobuf:"varint,4,opt,name=hot_context,json=hotContext,proto3" json:"hot_context,omitempty"`
	// contains filtered or unexported fields
}

InferenceAutomaticSetup carries the reviewed automatic plan beside the state it is in and the hot context it would hold.

func (*InferenceAutomaticSetup) Descriptor deprecated

func (*InferenceAutomaticSetup) Descriptor() ([]byte, []int)

Deprecated: Use InferenceAutomaticSetup.ProtoReflect.Descriptor instead.

func (*InferenceAutomaticSetup) GetContract

func (x *InferenceAutomaticSetup) GetContract() *ServiceContract

func (*InferenceAutomaticSetup) GetHotContext

func (x *InferenceAutomaticSetup) GetHotContext() int32

func (*InferenceAutomaticSetup) GetPlan

func (x *InferenceAutomaticSetup) GetPlan() *InferencePlan

func (*InferenceAutomaticSetup) GetState

func (x *InferenceAutomaticSetup) GetState() string

func (*InferenceAutomaticSetup) ProtoMessage

func (*InferenceAutomaticSetup) ProtoMessage()

func (*InferenceAutomaticSetup) ProtoReflect

func (x *InferenceAutomaticSetup) ProtoReflect() protoreflect.Message

func (*InferenceAutomaticSetup) Reset

func (x *InferenceAutomaticSetup) Reset()

func (*InferenceAutomaticSetup) String

func (x *InferenceAutomaticSetup) String() string

type InferenceAvailableModel

type InferenceAvailableModel struct {
	DeclaredCapabilities   []string `protobuf:"bytes,1,rep,name=declared_capabilities,json=declaredCapabilities,proto3" json:"declared_capabilities,omitempty"`
	AdvertisedCapabilities []string `` /* 127-byte string literal not displayed */
	AdapterCapabilities    []string `protobuf:"bytes,3,rep,name=adapter_capabilities,json=adapterCapabilities,proto3" json:"adapter_capabilities,omitempty"`
	Digest                 string   `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
	NativeBackend          string   `protobuf:"bytes,5,opt,name=native_backend,json=nativeBackend,proto3" json:"native_backend,omitempty"`
	Provider               string   `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	Name                   string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	FimFormat              string   `protobuf:"bytes,8,opt,name=fim_format,json=fimFormat,proto3" json:"fim_format,omitempty"`
	NextEditFormat         string   `protobuf:"bytes,9,opt,name=next_edit_format,json=nextEditFormat,proto3" json:"next_edit_format,omitempty"`
	CompletionMode         string   `protobuf:"bytes,10,opt,name=completion_mode,json=completionMode,proto3" json:"completion_mode,omitempty"`
	ContextTokens          int32    `protobuf:"varint,11,opt,name=context_tokens,json=contextTokens,proto3" json:"context_tokens,omitempty"`
	Registered             bool     `protobuf:"varint,12,opt,name=registered,proto3" json:"registered,omitempty"`
	Vision                 bool     `protobuf:"varint,13,opt,name=vision,proto3" json:"vision,omitempty"`
	Audio                  bool     `protobuf:"varint,14,opt,name=audio,proto3" json:"audio,omitempty"`
	Chat                   bool     `protobuf:"varint,15,opt,name=chat,proto3" json:"chat,omitempty"`
	Embed                  bool     `protobuf:"varint,16,opt,name=embed,proto3" json:"embed,omitempty"`
	Prompt                 bool     `protobuf:"varint,17,opt,name=prompt,proto3" json:"prompt,omitempty"`
	Autocomplete           bool     `protobuf:"varint,18,opt,name=autocomplete,proto3" json:"autocomplete,omitempty"`
	NextEdit               bool     `protobuf:"varint,19,opt,name=next_edit,json=nextEdit,proto3" json:"next_edit,omitempty"`
	// contains filtered or unexported fields
}

InferenceAvailableModel reports a model advertised by a connected provider.

func (*InferenceAvailableModel) Descriptor deprecated

func (*InferenceAvailableModel) Descriptor() ([]byte, []int)

Deprecated: Use InferenceAvailableModel.ProtoReflect.Descriptor instead.

func (*InferenceAvailableModel) GetAdapterCapabilities

func (x *InferenceAvailableModel) GetAdapterCapabilities() []string

func (*InferenceAvailableModel) GetAdvertisedCapabilities

func (x *InferenceAvailableModel) GetAdvertisedCapabilities() []string

func (*InferenceAvailableModel) GetAudio

func (x *InferenceAvailableModel) GetAudio() bool

func (*InferenceAvailableModel) GetAutocomplete

func (x *InferenceAvailableModel) GetAutocomplete() bool

func (*InferenceAvailableModel) GetChat

func (x *InferenceAvailableModel) GetChat() bool

func (*InferenceAvailableModel) GetCompletionMode

func (x *InferenceAvailableModel) GetCompletionMode() string

func (*InferenceAvailableModel) GetContextTokens

func (x *InferenceAvailableModel) GetContextTokens() int32

func (*InferenceAvailableModel) GetDeclaredCapabilities

func (x *InferenceAvailableModel) GetDeclaredCapabilities() []string

func (*InferenceAvailableModel) GetDigest

func (x *InferenceAvailableModel) GetDigest() string

func (*InferenceAvailableModel) GetEmbed

func (x *InferenceAvailableModel) GetEmbed() bool

func (*InferenceAvailableModel) GetFimFormat

func (x *InferenceAvailableModel) GetFimFormat() string

func (*InferenceAvailableModel) GetName

func (x *InferenceAvailableModel) GetName() string

func (*InferenceAvailableModel) GetNativeBackend

func (x *InferenceAvailableModel) GetNativeBackend() string

func (*InferenceAvailableModel) GetNextEdit

func (x *InferenceAvailableModel) GetNextEdit() bool

func (*InferenceAvailableModel) GetNextEditFormat

func (x *InferenceAvailableModel) GetNextEditFormat() string

func (*InferenceAvailableModel) GetPrompt

func (x *InferenceAvailableModel) GetPrompt() bool

func (*InferenceAvailableModel) GetProvider

func (x *InferenceAvailableModel) GetProvider() string

func (*InferenceAvailableModel) GetRegistered

func (x *InferenceAvailableModel) GetRegistered() bool

func (*InferenceAvailableModel) GetVision

func (x *InferenceAvailableModel) GetVision() bool

func (*InferenceAvailableModel) ProtoMessage

func (*InferenceAvailableModel) ProtoMessage()

func (*InferenceAvailableModel) ProtoReflect

func (x *InferenceAvailableModel) ProtoReflect() protoreflect.Message

func (*InferenceAvailableModel) Reset

func (x *InferenceAvailableModel) Reset()

func (*InferenceAvailableModel) String

func (x *InferenceAvailableModel) String() string

type InferenceBackendCheck

type InferenceBackendCheck struct {
	ChatModels      []string `protobuf:"bytes,1,rep,name=chat_models,json=chatModels,proto3" json:"chat_models,omitempty"`
	Id              string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name            string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type            string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	BaseUrl         string   `protobuf:"bytes,5,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	Status          string   `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Error           string   `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	Hint            string   `protobuf:"bytes,8,opt,name=hint,proto3" json:"hint,omitempty"`
	ModelCount      int32    `protobuf:"varint,9,opt,name=model_count,json=modelCount,proto3" json:"model_count,omitempty"`
	ChatModelCount  int32    `protobuf:"varint,10,opt,name=chat_model_count,json=chatModelCount,proto3" json:"chat_model_count,omitempty"`
	Reachable       bool     `protobuf:"varint,11,opt,name=reachable,proto3" json:"reachable,omitempty"`
	DefaultProvider bool     `protobuf:"varint,12,opt,name=default_provider,json=defaultProvider,proto3" json:"default_provider,omitempty"`
	// contains filtered or unexported fields
}

InferenceBackendCheck reports the runtime status of one registered backend.

func (*InferenceBackendCheck) Descriptor deprecated

func (*InferenceBackendCheck) Descriptor() ([]byte, []int)

Deprecated: Use InferenceBackendCheck.ProtoReflect.Descriptor instead.

func (*InferenceBackendCheck) GetBaseUrl

func (x *InferenceBackendCheck) GetBaseUrl() string

func (*InferenceBackendCheck) GetChatModelCount

func (x *InferenceBackendCheck) GetChatModelCount() int32

func (*InferenceBackendCheck) GetChatModels

func (x *InferenceBackendCheck) GetChatModels() []string

func (*InferenceBackendCheck) GetDefaultProvider

func (x *InferenceBackendCheck) GetDefaultProvider() bool

func (*InferenceBackendCheck) GetError

func (x *InferenceBackendCheck) GetError() string

func (*InferenceBackendCheck) GetHint

func (x *InferenceBackendCheck) GetHint() string

func (*InferenceBackendCheck) GetId

func (x *InferenceBackendCheck) GetId() string

func (*InferenceBackendCheck) GetModelCount

func (x *InferenceBackendCheck) GetModelCount() int32

func (*InferenceBackendCheck) GetName

func (x *InferenceBackendCheck) GetName() string

func (*InferenceBackendCheck) GetReachable

func (x *InferenceBackendCheck) GetReachable() bool

func (*InferenceBackendCheck) GetStatus

func (x *InferenceBackendCheck) GetStatus() string

func (*InferenceBackendCheck) GetType

func (x *InferenceBackendCheck) GetType() string

func (*InferenceBackendCheck) ProtoMessage

func (*InferenceBackendCheck) ProtoMessage()

func (*InferenceBackendCheck) ProtoReflect

func (x *InferenceBackendCheck) ProtoReflect() protoreflect.Message

func (*InferenceBackendCheck) Reset

func (x *InferenceBackendCheck) Reset()

func (*InferenceBackendCheck) String

func (x *InferenceBackendCheck) String() string

type InferenceCompletionProfile

type InferenceCompletionProfile struct {
	FimFormat     string `protobuf:"bytes,1,opt,name=fim_format,json=fimFormat,proto3" json:"fim_format,omitempty"`
	Mode          string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	Evidence      string `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
	ContextTokens int32  `protobuf:"varint,4,opt,name=context_tokens,json=contextTokens,proto3" json:"context_tokens,omitempty"`
	// contains filtered or unexported fields
}

InferenceCompletionProfile declares a code-completion execution contract and its curated evidence.

func (*InferenceCompletionProfile) Descriptor deprecated

func (*InferenceCompletionProfile) Descriptor() ([]byte, []int)

Deprecated: Use InferenceCompletionProfile.ProtoReflect.Descriptor instead.

func (*InferenceCompletionProfile) GetContextTokens

func (x *InferenceCompletionProfile) GetContextTokens() int32

func (*InferenceCompletionProfile) GetEvidence

func (x *InferenceCompletionProfile) GetEvidence() string

func (*InferenceCompletionProfile) GetFimFormat

func (x *InferenceCompletionProfile) GetFimFormat() string

func (*InferenceCompletionProfile) GetMode

func (x *InferenceCompletionProfile) GetMode() string

func (*InferenceCompletionProfile) ProtoMessage

func (*InferenceCompletionProfile) ProtoMessage()

func (*InferenceCompletionProfile) ProtoReflect

func (*InferenceCompletionProfile) Reset

func (x *InferenceCompletionProfile) Reset()

func (*InferenceCompletionProfile) String

func (x *InferenceCompletionProfile) String() string

type InferenceCredentialSource

type InferenceCredentialSource struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

InferenceCredentialSource is one supported credential source.

func (*InferenceCredentialSource) Descriptor deprecated

func (*InferenceCredentialSource) Descriptor() ([]byte, []int)

Deprecated: Use InferenceCredentialSource.ProtoReflect.Descriptor instead.

func (*InferenceCredentialSource) GetId

func (x *InferenceCredentialSource) GetId() string

func (*InferenceCredentialSource) GetLabel

func (x *InferenceCredentialSource) GetLabel() string

func (*InferenceCredentialSource) ProtoMessage

func (*InferenceCredentialSource) ProtoMessage()

func (*InferenceCredentialSource) ProtoReflect

func (*InferenceCredentialSource) Reset

func (x *InferenceCredentialSource) Reset()

func (*InferenceCredentialSource) String

func (x *InferenceCredentialSource) String() string

type InferenceEmbeddingProfile

type InferenceEmbeddingProfile struct {
	Pooling        string `protobuf:"bytes,1,opt,name=pooling,proto3" json:"pooling,omitempty"`
	QueryPrefix    string `protobuf:"bytes,2,opt,name=query_prefix,json=queryPrefix,proto3" json:"query_prefix,omitempty"`
	DocumentPrefix string `protobuf:"bytes,3,opt,name=document_prefix,json=documentPrefix,proto3" json:"document_prefix,omitempty"`
	Evidence       string `protobuf:"bytes,4,opt,name=evidence,proto3" json:"evidence,omitempty"`
	ContextTokens  int32  `protobuf:"varint,5,opt,name=context_tokens,json=contextTokens,proto3" json:"context_tokens,omitempty"`
	Dimension      int32  `protobuf:"varint,6,opt,name=dimension,proto3" json:"dimension,omitempty"`
	Normalize      bool   `protobuf:"varint,7,opt,name=normalize,proto3" json:"normalize,omitempty"`
	// contains filtered or unexported fields
}

InferenceEmbeddingProfile declares a retrieval model's execution and input contract.

func (*InferenceEmbeddingProfile) Descriptor deprecated

func (*InferenceEmbeddingProfile) Descriptor() ([]byte, []int)

Deprecated: Use InferenceEmbeddingProfile.ProtoReflect.Descriptor instead.

func (*InferenceEmbeddingProfile) GetContextTokens

func (x *InferenceEmbeddingProfile) GetContextTokens() int32

func (*InferenceEmbeddingProfile) GetDimension

func (x *InferenceEmbeddingProfile) GetDimension() int32

func (*InferenceEmbeddingProfile) GetDocumentPrefix

func (x *InferenceEmbeddingProfile) GetDocumentPrefix() string

func (*InferenceEmbeddingProfile) GetEvidence

func (x *InferenceEmbeddingProfile) GetEvidence() string

func (*InferenceEmbeddingProfile) GetNormalize

func (x *InferenceEmbeddingProfile) GetNormalize() bool

func (*InferenceEmbeddingProfile) GetPooling

func (x *InferenceEmbeddingProfile) GetPooling() string

func (*InferenceEmbeddingProfile) GetQueryPrefix

func (x *InferenceEmbeddingProfile) GetQueryPrefix() string

func (*InferenceEmbeddingProfile) ProtoMessage

func (*InferenceEmbeddingProfile) ProtoMessage()

func (*InferenceEmbeddingProfile) ProtoReflect

func (*InferenceEmbeddingProfile) Reset

func (x *InferenceEmbeddingProfile) Reset()

func (*InferenceEmbeddingProfile) String

func (x *InferenceEmbeddingProfile) String() string

type InferenceHardware

type InferenceHardware struct {
	MemoryBytes          int64                      `protobuf:"varint,1,opt,name=memory_bytes,json=MemoryBytes,proto3" json:"memory_bytes,omitempty"`
	PreferredBackend     string                     `protobuf:"bytes,2,opt,name=preferred_backend,json=PreferredBackend,proto3" json:"preferred_backend,omitempty"`
	Kind                 string                     `protobuf:"bytes,3,opt,name=kind,json=Kind,proto3" json:"kind,omitempty"`
	Label                string                     `protobuf:"bytes,4,opt,name=label,json=Label,proto3" json:"label,omitempty"`
	TotalBytes           int64                      `protobuf:"varint,5,opt,name=total_bytes,json=TotalBytes,proto3" json:"total_bytes,omitempty"`
	AvailableBytes       int64                      `protobuf:"varint,6,opt,name=available_bytes,json=AvailableBytes,proto3" json:"available_bytes,omitempty"`
	Known                bool                       `protobuf:"varint,7,opt,name=known,json=Known,proto3" json:"known,omitempty"`
	SystemTotalBytes     int64                      `protobuf:"varint,8,opt,name=system_total_bytes,json=SystemTotalBytes,proto3" json:"system_total_bytes,omitempty"`
	SystemAvailableBytes int64                      `protobuf:"varint,9,opt,name=system_available_bytes,json=SystemAvailableBytes,proto3" json:"system_available_bytes,omitempty"`
	Devices              []*InferenceHardwareDevice `protobuf:"bytes,10,rep,name=devices,json=Devices,proto3" json:"devices,omitempty"`
	Summary              string                     `protobuf:"bytes,11,opt,name=summary,json=Summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

InferenceHardware describes one conservative memory pool; system RAM and device memory are never added together. Detection does not establish driver or model compatibility, and live modeld capacity remains authoritative.

The engine type carries no JSON tags, so its members reach the wire as Go field names; json_name preserves them rather than inventing a second convention beside the payload.

func (*InferenceHardware) Descriptor deprecated

func (*InferenceHardware) Descriptor() ([]byte, []int)

Deprecated: Use InferenceHardware.ProtoReflect.Descriptor instead.

func (*InferenceHardware) GetAvailableBytes

func (x *InferenceHardware) GetAvailableBytes() int64

func (*InferenceHardware) GetDevices

func (x *InferenceHardware) GetDevices() []*InferenceHardwareDevice

func (*InferenceHardware) GetKind

func (x *InferenceHardware) GetKind() string

func (*InferenceHardware) GetKnown

func (x *InferenceHardware) GetKnown() bool

func (*InferenceHardware) GetLabel

func (x *InferenceHardware) GetLabel() string

func (*InferenceHardware) GetMemoryBytes

func (x *InferenceHardware) GetMemoryBytes() int64

func (*InferenceHardware) GetPreferredBackend

func (x *InferenceHardware) GetPreferredBackend() string

func (*InferenceHardware) GetSummary

func (x *InferenceHardware) GetSummary() string

func (*InferenceHardware) GetSystemAvailableBytes

func (x *InferenceHardware) GetSystemAvailableBytes() int64

func (*InferenceHardware) GetSystemTotalBytes

func (x *InferenceHardware) GetSystemTotalBytes() int64

func (*InferenceHardware) GetTotalBytes

func (x *InferenceHardware) GetTotalBytes() int64

func (*InferenceHardware) ProtoMessage

func (*InferenceHardware) ProtoMessage()

func (*InferenceHardware) ProtoReflect

func (x *InferenceHardware) ProtoReflect() protoreflect.Message

func (*InferenceHardware) Reset

func (x *InferenceHardware) Reset()

func (*InferenceHardware) String

func (x *InferenceHardware) String() string

type InferenceHardwareDevice

type InferenceHardwareDevice struct {
	Vendor               string `protobuf:"bytes,1,opt,name=vendor,json=Vendor,proto3" json:"vendor,omitempty"`
	Name                 string `protobuf:"bytes,2,opt,name=name,json=Name,proto3" json:"name,omitempty"`
	Kind                 string `protobuf:"bytes,3,opt,name=kind,json=Kind,proto3" json:"kind,omitempty"`
	TotalBytes           int64  `protobuf:"varint,4,opt,name=total_bytes,json=TotalBytes,proto3" json:"total_bytes,omitempty"`
	AvailableBytes       int64  `protobuf:"varint,5,opt,name=available_bytes,json=AvailableBytes,proto3" json:"available_bytes,omitempty"`
	MemoryKnown          bool   `protobuf:"varint,6,opt,name=memory_known,json=MemoryKnown,proto3" json:"memory_known,omitempty"`
	Source               string `protobuf:"bytes,7,opt,name=source,json=Source,proto3" json:"source,omitempty"`
	SharedTotalBytes     int64  `protobuf:"varint,8,opt,name=shared_total_bytes,json=SharedTotalBytes,proto3" json:"shared_total_bytes,omitempty"`
	SharedAvailableBytes int64  `protobuf:"varint,9,opt,name=shared_available_bytes,json=SharedAvailableBytes,proto3" json:"shared_available_bytes,omitempty"`
	SharedMemoryKnown    bool   `protobuf:"varint,10,opt,name=shared_memory_known,json=SharedMemoryKnown,proto3" json:"shared_memory_known,omitempty"`
	// contains filtered or unexported fields
}

InferenceHardwareDevice records one observed device. Shared memory is backed by system RAM and is not added to the selected device budget.

func (*InferenceHardwareDevice) Descriptor deprecated

func (*InferenceHardwareDevice) Descriptor() ([]byte, []int)

Deprecated: Use InferenceHardwareDevice.ProtoReflect.Descriptor instead.

func (*InferenceHardwareDevice) GetAvailableBytes

func (x *InferenceHardwareDevice) GetAvailableBytes() int64

func (*InferenceHardwareDevice) GetKind

func (x *InferenceHardwareDevice) GetKind() string

func (*InferenceHardwareDevice) GetMemoryKnown

func (x *InferenceHardwareDevice) GetMemoryKnown() bool

func (*InferenceHardwareDevice) GetName

func (x *InferenceHardwareDevice) GetName() string

func (*InferenceHardwareDevice) GetSharedAvailableBytes

func (x *InferenceHardwareDevice) GetSharedAvailableBytes() int64

func (*InferenceHardwareDevice) GetSharedMemoryKnown

func (x *InferenceHardwareDevice) GetSharedMemoryKnown() bool

func (*InferenceHardwareDevice) GetSharedTotalBytes

func (x *InferenceHardwareDevice) GetSharedTotalBytes() int64

func (*InferenceHardwareDevice) GetSource

func (x *InferenceHardwareDevice) GetSource() string

func (*InferenceHardwareDevice) GetTotalBytes

func (x *InferenceHardwareDevice) GetTotalBytes() int64

func (*InferenceHardwareDevice) GetVendor

func (x *InferenceHardwareDevice) GetVendor() string

func (*InferenceHardwareDevice) ProtoMessage

func (*InferenceHardwareDevice) ProtoMessage()

func (*InferenceHardwareDevice) ProtoReflect

func (x *InferenceHardwareDevice) ProtoReflect() protoreflect.Message

func (*InferenceHardwareDevice) Reset

func (x *InferenceHardwareDevice) Reset()

func (*InferenceHardwareDevice) String

func (x *InferenceHardwareDevice) String() string

type InferenceLayerKVProfile

type InferenceLayerKVProfile struct {
	GlobalLayers    int32 `protobuf:"varint,1,opt,name=global_layers,json=GlobalLayers,proto3" json:"global_layers,omitempty"`
	WindowedLayers  int32 `protobuf:"varint,2,opt,name=windowed_layers,json=WindowedLayers,proto3" json:"windowed_layers,omitempty"`
	Window          int32 `protobuf:"varint,3,opt,name=window,json=Window,proto3" json:"window,omitempty"`
	PerLayerKvBytes int64 `protobuf:"varint,4,opt,name=per_layer_kv_bytes,json=PerLayerKVBytes,proto3" json:"per_layer_kv_bytes,omitempty"`
	// contains filtered or unexported fields
}

InferenceLayerKVProfile conservatively estimates hot KV storage before download. The engine type carries no JSON tags, so its members reach the wire as Go field names.

func (*InferenceLayerKVProfile) Descriptor deprecated

func (*InferenceLayerKVProfile) Descriptor() ([]byte, []int)

Deprecated: Use InferenceLayerKVProfile.ProtoReflect.Descriptor instead.

func (*InferenceLayerKVProfile) GetGlobalLayers

func (x *InferenceLayerKVProfile) GetGlobalLayers() int32

func (*InferenceLayerKVProfile) GetPerLayerKvBytes

func (x *InferenceLayerKVProfile) GetPerLayerKvBytes() int64

func (*InferenceLayerKVProfile) GetWindow

func (x *InferenceLayerKVProfile) GetWindow() int32

func (*InferenceLayerKVProfile) GetWindowedLayers

func (x *InferenceLayerKVProfile) GetWindowedLayers() int32

func (*InferenceLayerKVProfile) ProtoMessage

func (*InferenceLayerKVProfile) ProtoMessage()

func (*InferenceLayerKVProfile) ProtoReflect

func (x *InferenceLayerKVProfile) ProtoReflect() protoreflect.Message

func (*InferenceLayerKVProfile) Reset

func (x *InferenceLayerKVProfile) Reset()

func (*InferenceLayerKVProfile) String

func (x *InferenceLayerKVProfile) String() string

type InferenceModelFacts

type InferenceModelFacts struct {
	Registered      bool                   `protobuf:"varint,1,opt,name=registered,proto3" json:"registered,omitempty"`
	CompletionMode  string                 `protobuf:"bytes,2,opt,name=completion_mode,proto3" json:"completion_mode,omitempty"`
	FimFormat       string                 `protobuf:"bytes,3,opt,name=fim_format,proto3" json:"fim_format,omitempty"`
	NextEditFormat  string                 `protobuf:"bytes,4,opt,name=next_edit_format,proto3" json:"next_edit_format,omitempty"`
	AudioExtension  bool                   `protobuf:"varint,5,opt,name=audio_extension,proto3" json:"audio_extension,omitempty"`
	ContextLength   int32                  `protobuf:"varint,6,opt,name=context_length,proto3" json:"context_length,omitempty"`
	MaxOutputTokens int32                  `protobuf:"varint,7,opt,name=max_output_tokens,proto3" json:"max_output_tokens,omitempty"`
	Capabilities    []string               `protobuf:"bytes,8,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	Pricing         *InferenceModelPricing `protobuf:"bytes,9,opt,name=pricing,proto3" json:"pricing,omitempty"`
	// contains filtered or unexported fields
}

InferenceModelFacts is the declaration an operator states about a model. Every member is an explicit statement: an absent one leaves the model's observed facts in force rather than overriding them with an empty value. The JSON names are the store's own snake_case names, which is the wire the operator-stated declaration already travels as.

func (*InferenceModelFacts) Descriptor deprecated

func (*InferenceModelFacts) Descriptor() ([]byte, []int)

Deprecated: Use InferenceModelFacts.ProtoReflect.Descriptor instead.

func (*InferenceModelFacts) GetAudioExtension

func (x *InferenceModelFacts) GetAudioExtension() bool

func (*InferenceModelFacts) GetCapabilities

func (x *InferenceModelFacts) GetCapabilities() []string

func (*InferenceModelFacts) GetCompletionMode

func (x *InferenceModelFacts) GetCompletionMode() string

func (*InferenceModelFacts) GetContextLength

func (x *InferenceModelFacts) GetContextLength() int32

func (*InferenceModelFacts) GetFimFormat

func (x *InferenceModelFacts) GetFimFormat() string

func (*InferenceModelFacts) GetMaxOutputTokens

func (x *InferenceModelFacts) GetMaxOutputTokens() int32

func (*InferenceModelFacts) GetNextEditFormat

func (x *InferenceModelFacts) GetNextEditFormat() string

func (*InferenceModelFacts) GetPricing

func (x *InferenceModelFacts) GetPricing() *InferenceModelPricing

func (*InferenceModelFacts) GetRegistered

func (x *InferenceModelFacts) GetRegistered() bool

func (*InferenceModelFacts) ProtoMessage

func (*InferenceModelFacts) ProtoMessage()

func (*InferenceModelFacts) ProtoReflect

func (x *InferenceModelFacts) ProtoReflect() protoreflect.Message

func (*InferenceModelFacts) Reset

func (x *InferenceModelFacts) Reset()

func (*InferenceModelFacts) String

func (x *InferenceModelFacts) String() string

type InferenceModelPricing

type InferenceModelPricing struct {
	InputPerMillion      float64 `protobuf:"fixed64,1,opt,name=input_per_million,proto3" json:"input_per_million,omitempty"`
	CacheReadPerMillion  float64 `protobuf:"fixed64,2,opt,name=cache_read_per_million,proto3" json:"cache_read_per_million,omitempty"`
	CacheWritePerMillion float64 `protobuf:"fixed64,3,opt,name=cache_write_per_million,proto3" json:"cache_write_per_million,omitempty"`
	OutputPerMillion     float64 `protobuf:"fixed64,4,opt,name=output_per_million,proto3" json:"output_per_million,omitempty"`
	PerImage             float64 `protobuf:"fixed64,5,opt,name=per_image,proto3" json:"per_image,omitempty"`
	PerAudioMebibyte     float64 `protobuf:"fixed64,6,opt,name=per_audio_mebibyte,proto3" json:"per_audio_mebibyte,omitempty"`
	// contains filtered or unexported fields
}

InferenceModelPricing is the upstream provider's rate card for one model, in US dollars. PerImage prices one image attachment and PerAudioMebibyte one mebibyte of inline audio.

func (*InferenceModelPricing) Descriptor deprecated

func (*InferenceModelPricing) Descriptor() ([]byte, []int)

Deprecated: Use InferenceModelPricing.ProtoReflect.Descriptor instead.

func (*InferenceModelPricing) GetCacheReadPerMillion

func (x *InferenceModelPricing) GetCacheReadPerMillion() float64

func (*InferenceModelPricing) GetCacheWritePerMillion

func (x *InferenceModelPricing) GetCacheWritePerMillion() float64

func (*InferenceModelPricing) GetInputPerMillion

func (x *InferenceModelPricing) GetInputPerMillion() float64

func (*InferenceModelPricing) GetOutputPerMillion

func (x *InferenceModelPricing) GetOutputPerMillion() float64

func (*InferenceModelPricing) GetPerAudioMebibyte

func (x *InferenceModelPricing) GetPerAudioMebibyte() float64

func (*InferenceModelPricing) GetPerImage

func (x *InferenceModelPricing) GetPerImage() float64

func (*InferenceModelPricing) ProtoMessage

func (*InferenceModelPricing) ProtoMessage()

func (*InferenceModelPricing) ProtoReflect

func (x *InferenceModelPricing) ProtoReflect() protoreflect.Message

func (*InferenceModelPricing) Reset

func (x *InferenceModelPricing) Reset()

func (*InferenceModelPricing) String

func (x *InferenceModelPricing) String() string

type InferenceModelRegistration

type InferenceModelRegistration struct {
	ConnectionId string               `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Model        string               `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	Facts        *InferenceModelFacts `protobuf:"bytes,3,opt,name=facts,proto3" json:"facts,omitempty"`
	// contains filtered or unexported fields
}

InferenceModelRegistration is one operator-stated model declaration, scoped to the connection that serves it.

func (*InferenceModelRegistration) Descriptor deprecated

func (*InferenceModelRegistration) Descriptor() ([]byte, []int)

Deprecated: Use InferenceModelRegistration.ProtoReflect.Descriptor instead.

func (*InferenceModelRegistration) GetConnectionId

func (x *InferenceModelRegistration) GetConnectionId() string

func (*InferenceModelRegistration) GetFacts

func (*InferenceModelRegistration) GetModel

func (x *InferenceModelRegistration) GetModel() string

func (*InferenceModelRegistration) ProtoMessage

func (*InferenceModelRegistration) ProtoMessage()

func (*InferenceModelRegistration) ProtoReflect

func (*InferenceModelRegistration) Reset

func (x *InferenceModelRegistration) Reset()

func (*InferenceModelRegistration) String

func (x *InferenceModelRegistration) String() string

type InferenceNativePrerequisite

type InferenceNativePrerequisite struct {
	Backend string `protobuf:"bytes,1,opt,name=backend,proto3" json:"backend,omitempty"`
	// contains filtered or unexported fields
}

InferenceNativePrerequisite selects the native backend to install. backend is "llama" or "openvino"; nothing else is installed on a guess.

func (*InferenceNativePrerequisite) Descriptor deprecated

func (*InferenceNativePrerequisite) Descriptor() ([]byte, []int)

Deprecated: Use InferenceNativePrerequisite.ProtoReflect.Descriptor instead.

func (*InferenceNativePrerequisite) GetBackend

func (x *InferenceNativePrerequisite) GetBackend() string

func (*InferenceNativePrerequisite) ProtoMessage

func (*InferenceNativePrerequisite) ProtoMessage()

func (*InferenceNativePrerequisite) ProtoReflect

func (*InferenceNativePrerequisite) Reset

func (x *InferenceNativePrerequisite) Reset()

func (*InferenceNativePrerequisite) String

func (x *InferenceNativePrerequisite) String() string

type InferenceNextEditProfile

type InferenceNextEditProfile struct {
	Format        string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
	Evidence      string `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
	ContextTokens int32  `protobuf:"varint,3,opt,name=context_tokens,json=contextTokens,proto3" json:"context_tokens,omitempty"`
	// contains filtered or unexported fields
}

InferenceNextEditProfile declares an edit-prediction contract and its curation evidence.

func (*InferenceNextEditProfile) Descriptor deprecated

func (*InferenceNextEditProfile) Descriptor() ([]byte, []int)

Deprecated: Use InferenceNextEditProfile.ProtoReflect.Descriptor instead.

func (*InferenceNextEditProfile) GetContextTokens

func (x *InferenceNextEditProfile) GetContextTokens() int32

func (*InferenceNextEditProfile) GetEvidence

func (x *InferenceNextEditProfile) GetEvidence() string

func (*InferenceNextEditProfile) GetFormat

func (x *InferenceNextEditProfile) GetFormat() string

func (*InferenceNextEditProfile) ProtoMessage

func (*InferenceNextEditProfile) ProtoMessage()

func (*InferenceNextEditProfile) ProtoReflect

func (x *InferenceNextEditProfile) ProtoReflect() protoreflect.Message

func (*InferenceNextEditProfile) Reset

func (x *InferenceNextEditProfile) Reset()

func (*InferenceNextEditProfile) String

func (x *InferenceNextEditProfile) String() string

type InferencePlan

type InferencePlan struct {
	Roles               []*InferenceRolePlan     `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	Mode                string                   `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	Baseline            []*InferencePoolEstimate `protobuf:"bytes,3,rep,name=baseline,proto3" json:"baseline,omitempty"`
	Models              []*ModelDescriptor       `protobuf:"bytes,4,rep,name=models,proto3" json:"models,omitempty"`
	Hardware            *InferenceHardware       `protobuf:"bytes,5,opt,name=hardware,proto3" json:"hardware,omitempty"`
	Model               *ModelDescriptor         `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
	Backend             string                   `protobuf:"bytes,7,opt,name=backend,proto3" json:"backend,omitempty"`
	Reused              bool                     `protobuf:"varint,8,opt,name=reused,proto3" json:"reused,omitempty"`
	EstimatedHotContext int32                    `protobuf:"varint,9,opt,name=estimated_hot_context,json=estimatedHotContext,proto3" json:"estimated_hot_context,omitempty"`
	Fingerprint         string                   `protobuf:"bytes,10,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Assignments         []*InferencePlannedRole  `protobuf:"bytes,11,rep,name=assignments,proto3" json:"assignments,omitempty"`
	Ceilings            []*InferencePoolCeiling  `protobuf:"bytes,12,rep,name=ceilings,proto3" json:"ceilings,omitempty"`
	// contains filtered or unexported fields
}

InferencePlan is a reviewed automatic setup: the hardware it was evaluated against, the models it may use, and the per-role outcome. The JSON names are the engine projection's own names, which is the payload the IDE already reviews. ceilings are the device ceilings a role recommendation was planned under.

func (*InferencePlan) Descriptor deprecated

func (*InferencePlan) Descriptor() ([]byte, []int)

Deprecated: Use InferencePlan.ProtoReflect.Descriptor instead.

func (*InferencePlan) GetAssignments

func (x *InferencePlan) GetAssignments() []*InferencePlannedRole

func (*InferencePlan) GetBackend

func (x *InferencePlan) GetBackend() string

func (*InferencePlan) GetBaseline

func (x *InferencePlan) GetBaseline() []*InferencePoolEstimate

func (*InferencePlan) GetCeilings

func (x *InferencePlan) GetCeilings() []*InferencePoolCeiling

func (*InferencePlan) GetEstimatedHotContext

func (x *InferencePlan) GetEstimatedHotContext() int32

func (*InferencePlan) GetFingerprint

func (x *InferencePlan) GetFingerprint() string

func (*InferencePlan) GetHardware

func (x *InferencePlan) GetHardware() *InferenceHardware

func (*InferencePlan) GetMode

func (x *InferencePlan) GetMode() string

func (*InferencePlan) GetModel

func (x *InferencePlan) GetModel() *ModelDescriptor

func (*InferencePlan) GetModels

func (x *InferencePlan) GetModels() []*ModelDescriptor

func (*InferencePlan) GetReused

func (x *InferencePlan) GetReused() bool

func (*InferencePlan) GetRoles

func (x *InferencePlan) GetRoles() []*InferenceRolePlan

func (*InferencePlan) ProtoMessage

func (*InferencePlan) ProtoMessage()

func (*InferencePlan) ProtoReflect

func (x *InferencePlan) ProtoReflect() protoreflect.Message

func (*InferencePlan) Reset

func (x *InferencePlan) Reset()

func (*InferencePlan) String

func (x *InferencePlan) String() string

type InferencePlannedRole

type InferencePlannedRole struct {
	Role     string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	Model    string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

InferencePlannedRole is one required IDE capability served by the reviewed automatic plan.

func (*InferencePlannedRole) Descriptor deprecated

func (*InferencePlannedRole) Descriptor() ([]byte, []int)

Deprecated: Use InferencePlannedRole.ProtoReflect.Descriptor instead.

func (*InferencePlannedRole) GetModel

func (x *InferencePlannedRole) GetModel() string

func (*InferencePlannedRole) GetProvider

func (x *InferencePlannedRole) GetProvider() string

func (*InferencePlannedRole) GetRole

func (x *InferencePlannedRole) GetRole() string

func (*InferencePlannedRole) ProtoMessage

func (*InferencePlannedRole) ProtoMessage()

func (*InferencePlannedRole) ProtoReflect

func (x *InferencePlannedRole) ProtoReflect() protoreflect.Message

func (*InferencePlannedRole) Reset

func (x *InferencePlannedRole) Reset()

func (*InferencePlannedRole) String

func (x *InferencePlannedRole) String() string

type InferencePoolCeiling

type InferencePoolCeiling struct {
	ConnectionId string  `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	PoolId       string  `protobuf:"bytes,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Share        float64 `protobuf:"fixed64,3,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

InferencePoolCeiling bounds what local inference may hold on one connection's memory pool, as a share of the pool's total bytes, greater than 0 and at most 1.

func (*InferencePoolCeiling) Descriptor deprecated

func (*InferencePoolCeiling) Descriptor() ([]byte, []int)

Deprecated: Use InferencePoolCeiling.ProtoReflect.Descriptor instead.

func (*InferencePoolCeiling) GetConnectionId

func (x *InferencePoolCeiling) GetConnectionId() string

func (*InferencePoolCeiling) GetPoolId

func (x *InferencePoolCeiling) GetPoolId() string

func (*InferencePoolCeiling) GetShare

func (x *InferencePoolCeiling) GetShare() float64

func (*InferencePoolCeiling) ProtoMessage

func (*InferencePoolCeiling) ProtoMessage()

func (*InferencePoolCeiling) ProtoReflect

func (x *InferencePoolCeiling) ProtoReflect() protoreflect.Message

func (*InferencePoolCeiling) Reset

func (x *InferencePoolCeiling) Reset()

func (*InferencePoolCeiling) String

func (x *InferencePoolCeiling) String() string

type InferencePoolEstimate

type InferencePoolEstimate struct {
	Host           string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	PoolId         string `protobuf:"bytes,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Bytes          int64  `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	AvailableBytes int64  `protobuf:"varint,4,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
	CeilingBytes   int64  `protobuf:"varint,5,opt,name=ceiling_bytes,json=ceilingBytes,proto3" json:"ceiling_bytes,omitempty"`
	// contains filtered or unexported fields
}

InferencePoolEstimate scopes a reservation to its owner's host and physical memory pool.

func (*InferencePoolEstimate) Descriptor deprecated

func (*InferencePoolEstimate) Descriptor() ([]byte, []int)

Deprecated: Use InferencePoolEstimate.ProtoReflect.Descriptor instead.

func (*InferencePoolEstimate) GetAvailableBytes

func (x *InferencePoolEstimate) GetAvailableBytes() int64

func (*InferencePoolEstimate) GetBytes

func (x *InferencePoolEstimate) GetBytes() int64

func (*InferencePoolEstimate) GetCeilingBytes

func (x *InferencePoolEstimate) GetCeilingBytes() int64

func (*InferencePoolEstimate) GetHost

func (x *InferencePoolEstimate) GetHost() string

func (*InferencePoolEstimate) GetPoolId

func (x *InferencePoolEstimate) GetPoolId() string

func (*InferencePoolEstimate) ProtoMessage

func (*InferencePoolEstimate) ProtoMessage()

func (*InferencePoolEstimate) ProtoReflect

func (x *InferencePoolEstimate) ProtoReflect() protoreflect.Message

func (*InferencePoolEstimate) Reset

func (x *InferencePoolEstimate) Reset()

func (*InferencePoolEstimate) String

func (x *InferencePoolEstimate) String() string

type InferenceProposalRevision

type InferenceProposalRevision struct {
	Execution *InferenceSessionExecution `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"`
	Proposals []*InferenceRouteProposal  `protobuf:"bytes,2,rep,name=proposals,proto3" json:"proposals,omitempty"`
	Reason    string                     `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

InferenceProposalRevision reports why a reviewed group needs another review, with the proposals and the execution that were rejected.

func (*InferenceProposalRevision) Descriptor deprecated

func (*InferenceProposalRevision) Descriptor() ([]byte, []int)

Deprecated: Use InferenceProposalRevision.ProtoReflect.Descriptor instead.

func (*InferenceProposalRevision) GetExecution

func (*InferenceProposalRevision) GetProposals

func (*InferenceProposalRevision) GetReason

func (x *InferenceProposalRevision) GetReason() string

func (*InferenceProposalRevision) ProtoMessage

func (*InferenceProposalRevision) ProtoMessage()

func (*InferenceProposalRevision) ProtoReflect

func (*InferenceProposalRevision) Reset

func (x *InferenceProposalRevision) Reset()

func (*InferenceProposalRevision) String

func (x *InferenceProposalRevision) String() string

type InferenceProviderCapability

type InferenceProviderCapability struct {
	CredentialSources       []*InferenceCredentialSource `protobuf:"bytes,1,rep,name=credential_sources,json=credentialSources,proto3" json:"credential_sources,omitempty"`
	AutocompleteFormats     []string                     `protobuf:"bytes,2,rep,name=autocomplete_formats,json=autocompleteFormats,proto3" json:"autocomplete_formats,omitempty"`
	NextEditFormats         []string                     `protobuf:"bytes,3,rep,name=next_edit_formats,json=nextEditFormats,proto3" json:"next_edit_formats,omitempty"`
	DefaultCredentialSource string                       `` /* 132-byte string literal not displayed */
	Onboarding              *InferenceProviderOnboarding `protobuf:"bytes,5,opt,name=onboarding,proto3" json:"onboarding,omitempty"`
	Provider                string                       `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	Label                   string                       `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
	Description             string                       `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	AuthKind                string                       `protobuf:"bytes,9,opt,name=auth_kind,json=authKind,proto3" json:"auth_kind,omitempty"`
	DefaultBaseUrl          string                       `protobuf:"bytes,10,opt,name=default_base_url,json=defaultBaseUrl,proto3" json:"default_base_url,omitempty"`
	EndpointHint            string                       `protobuf:"bytes,11,opt,name=endpoint_hint,json=endpointHint,proto3" json:"endpoint_hint,omitempty"`
	RecommendedApiKeyEnv    string                       `` /* 126-byte string literal not displayed */
	RequiresBaseUrl         bool                         `protobuf:"varint,13,opt,name=requires_base_url,json=requiresBaseUrl,proto3" json:"requires_base_url,omitempty"`
	RequiresSecretConfig    bool                         `protobuf:"varint,14,opt,name=requires_secret_config,json=requiresSecretConfig,proto3" json:"requires_secret_config,omitempty"`
	// contains filtered or unexported fields
}

InferenceProviderCapability describes one provider type a connection may name, without exposing credentials.

func (*InferenceProviderCapability) Descriptor deprecated

func (*InferenceProviderCapability) Descriptor() ([]byte, []int)

Deprecated: Use InferenceProviderCapability.ProtoReflect.Descriptor instead.

func (*InferenceProviderCapability) GetAuthKind

func (x *InferenceProviderCapability) GetAuthKind() string

func (*InferenceProviderCapability) GetAutocompleteFormats

func (x *InferenceProviderCapability) GetAutocompleteFormats() []string

func (*InferenceProviderCapability) GetCredentialSources

func (x *InferenceProviderCapability) GetCredentialSources() []*InferenceCredentialSource

func (*InferenceProviderCapability) GetDefaultBaseUrl

func (x *InferenceProviderCapability) GetDefaultBaseUrl() string

func (*InferenceProviderCapability) GetDefaultCredentialSource

func (x *InferenceProviderCapability) GetDefaultCredentialSource() string

func (*InferenceProviderCapability) GetDescription

func (x *InferenceProviderCapability) GetDescription() string

func (*InferenceProviderCapability) GetEndpointHint

func (x *InferenceProviderCapability) GetEndpointHint() string

func (*InferenceProviderCapability) GetLabel

func (x *InferenceProviderCapability) GetLabel() string

func (*InferenceProviderCapability) GetNextEditFormats

func (x *InferenceProviderCapability) GetNextEditFormats() []string

func (*InferenceProviderCapability) GetOnboarding

func (*InferenceProviderCapability) GetProvider

func (x *InferenceProviderCapability) GetProvider() string

func (*InferenceProviderCapability) GetRecommendedApiKeyEnv

func (x *InferenceProviderCapability) GetRecommendedApiKeyEnv() string

func (*InferenceProviderCapability) GetRequiresBaseUrl

func (x *InferenceProviderCapability) GetRequiresBaseUrl() bool

func (*InferenceProviderCapability) GetRequiresSecretConfig

func (x *InferenceProviderCapability) GetRequiresSecretConfig() bool

func (*InferenceProviderCapability) ProtoMessage

func (*InferenceProviderCapability) ProtoMessage()

func (*InferenceProviderCapability) ProtoReflect

func (*InferenceProviderCapability) Reset

func (x *InferenceProviderCapability) Reset()

func (*InferenceProviderCapability) String

func (x *InferenceProviderCapability) String() string

type InferenceProviderConnection

type InferenceProviderConnection struct {
	RegistrationCapabilities []string `` /* 133-byte string literal not displayed */
	CredentialSource         string   `protobuf:"bytes,2,opt,name=credential_source,json=credentialSource,proto3" json:"credential_source,omitempty"`
	AuthorizationState       string   `protobuf:"bytes,3,opt,name=authorization_state,json=authorizationState,proto3" json:"authorization_state,omitempty"`
	AuthorizationError       string   `protobuf:"bytes,4,opt,name=authorization_error,json=authorizationError,proto3" json:"authorization_error,omitempty"`
	DiscoveryState           string   `protobuf:"bytes,5,opt,name=discovery_state,json=discoveryState,proto3" json:"discovery_state,omitempty"`
	Revision                 string   `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
	Selector                 string   `protobuf:"bytes,7,opt,name=selector,proto3" json:"selector,omitempty"`
	Id                       string   `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
	Name                     string   `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	Type                     string   `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	Url                      string   `protobuf:"bytes,11,opt,name=url,proto3" json:"url,omitempty"`
	State                    string   `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"`
	Error                    string   `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

InferenceProviderConnection is one saved provider connection and how its credentials and discovery stand.

func (*InferenceProviderConnection) Descriptor deprecated

func (*InferenceProviderConnection) Descriptor() ([]byte, []int)

Deprecated: Use InferenceProviderConnection.ProtoReflect.Descriptor instead.

func (*InferenceProviderConnection) GetAuthorizationError

func (x *InferenceProviderConnection) GetAuthorizationError() string

func (*InferenceProviderConnection) GetAuthorizationState

func (x *InferenceProviderConnection) GetAuthorizationState() string

func (*InferenceProviderConnection) GetCredentialSource

func (x *InferenceProviderConnection) GetCredentialSource() string

func (*InferenceProviderConnection) GetDiscoveryState

func (x *InferenceProviderConnection) GetDiscoveryState() string

func (*InferenceProviderConnection) GetError

func (x *InferenceProviderConnection) GetError() string

func (*InferenceProviderConnection) GetId

func (*InferenceProviderConnection) GetName

func (x *InferenceProviderConnection) GetName() string

func (*InferenceProviderConnection) GetRegistrationCapabilities

func (x *InferenceProviderConnection) GetRegistrationCapabilities() []string

func (*InferenceProviderConnection) GetRevision

func (x *InferenceProviderConnection) GetRevision() string

func (*InferenceProviderConnection) GetSelector

func (x *InferenceProviderConnection) GetSelector() string

func (*InferenceProviderConnection) GetState

func (x *InferenceProviderConnection) GetState() string

func (*InferenceProviderConnection) GetType

func (x *InferenceProviderConnection) GetType() string

func (*InferenceProviderConnection) GetUrl

func (x *InferenceProviderConnection) GetUrl() string

func (*InferenceProviderConnection) ProtoMessage

func (*InferenceProviderConnection) ProtoMessage()

func (*InferenceProviderConnection) ProtoReflect

func (*InferenceProviderConnection) Reset

func (x *InferenceProviderConnection) Reset()

func (*InferenceProviderConnection) String

func (x *InferenceProviderConnection) String() string

type InferenceProviderEndpoint

type InferenceProviderEndpoint struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	SetupUrl string `protobuf:"bytes,3,opt,name=setup_url,json=setupUrl,proto3" json:"setup_url,omitempty"`
	// contains filtered or unexported fields
}

InferenceProviderEndpoint is an editable endpoint preset and its official setup instructions.

func (*InferenceProviderEndpoint) Descriptor deprecated

func (*InferenceProviderEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use InferenceProviderEndpoint.ProtoReflect.Descriptor instead.

func (*InferenceProviderEndpoint) GetName

func (x *InferenceProviderEndpoint) GetName() string

func (*InferenceProviderEndpoint) GetSetupUrl

func (x *InferenceProviderEndpoint) GetSetupUrl() string

func (*InferenceProviderEndpoint) GetUrl

func (x *InferenceProviderEndpoint) GetUrl() string

func (*InferenceProviderEndpoint) ProtoMessage

func (*InferenceProviderEndpoint) ProtoMessage()

func (*InferenceProviderEndpoint) ProtoReflect

func (*InferenceProviderEndpoint) Reset

func (x *InferenceProviderEndpoint) Reset()

func (*InferenceProviderEndpoint) String

func (x *InferenceProviderEndpoint) String() string

type InferenceProviderOnboarding

type InferenceProviderOnboarding struct {
	Endpoints    []*InferenceProviderEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	ApiKeyUrl    string                       `protobuf:"bytes,2,opt,name=api_key_url,json=apiKeyUrl,proto3" json:"api_key_url,omitempty"`
	ApiKeyLabel  string                       `protobuf:"bytes,3,opt,name=api_key_label,json=apiKeyLabel,proto3" json:"api_key_label,omitempty"`
	SetupUrl     string                       `protobuf:"bytes,4,opt,name=setup_url,json=setupUrl,proto3" json:"setup_url,omitempty"`
	PricingUrl   string                       `protobuf:"bytes,5,opt,name=pricing_url,json=pricingUrl,proto3" json:"pricing_url,omitempty"`
	Instructions string                       `protobuf:"bytes,6,opt,name=instructions,proto3" json:"instructions,omitempty"`
	Availability string                       `protobuf:"bytes,7,opt,name=availability,proto3" json:"availability,omitempty"`
	// contains filtered or unexported fields
}

InferenceProviderOnboarding is the official setup material a surface shows for one provider type.

func (*InferenceProviderOnboarding) Descriptor deprecated

func (*InferenceProviderOnboarding) Descriptor() ([]byte, []int)

Deprecated: Use InferenceProviderOnboarding.ProtoReflect.Descriptor instead.

func (*InferenceProviderOnboarding) GetApiKeyLabel

func (x *InferenceProviderOnboarding) GetApiKeyLabel() string

func (*InferenceProviderOnboarding) GetApiKeyUrl

func (x *InferenceProviderOnboarding) GetApiKeyUrl() string

func (*InferenceProviderOnboarding) GetAvailability

func (x *InferenceProviderOnboarding) GetAvailability() string

func (*InferenceProviderOnboarding) GetEndpoints

func (*InferenceProviderOnboarding) GetInstructions

func (x *InferenceProviderOnboarding) GetInstructions() string

func (*InferenceProviderOnboarding) GetPricingUrl

func (x *InferenceProviderOnboarding) GetPricingUrl() string

func (*InferenceProviderOnboarding) GetSetupUrl

func (x *InferenceProviderOnboarding) GetSetupUrl() string

func (*InferenceProviderOnboarding) ProtoMessage

func (*InferenceProviderOnboarding) ProtoMessage()

func (*InferenceProviderOnboarding) ProtoReflect

func (*InferenceProviderOnboarding) Reset

func (x *InferenceProviderOnboarding) Reset()

func (*InferenceProviderOnboarding) String

func (x *InferenceProviderOnboarding) String() string

type InferenceProviderResult

type InferenceProviderResult struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DiscoveryError string `protobuf:"bytes,2,opt,name=discovery_error,json=discoveryError,proto3" json:"discovery_error,omitempty"`
	// contains filtered or unexported fields
}

InferenceProviderResult reports a saved connection and, separately from persistence, whether its model discovery finished.

func (*InferenceProviderResult) Descriptor deprecated

func (*InferenceProviderResult) Descriptor() ([]byte, []int)

Deprecated: Use InferenceProviderResult.ProtoReflect.Descriptor instead.

func (*InferenceProviderResult) GetDiscoveryError

func (x *InferenceProviderResult) GetDiscoveryError() string

func (*InferenceProviderResult) GetId

func (x *InferenceProviderResult) GetId() string

func (*InferenceProviderResult) ProtoMessage

func (*InferenceProviderResult) ProtoMessage()

func (*InferenceProviderResult) ProtoReflect

func (x *InferenceProviderResult) ProtoReflect() protoreflect.Message

func (*InferenceProviderResult) Reset

func (x *InferenceProviderResult) Reset()

func (*InferenceProviderResult) String

func (x *InferenceProviderResult) String() string

type InferenceReadiness

type InferenceReadiness struct {
	Issues                 []*InferenceReadinessIssue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	BackendChecks          []*InferenceBackendCheck   `protobuf:"bytes,2,rep,name=backend_checks,json=backendChecks,proto3" json:"backend_checks,omitempty"`
	ResolvedFrom           map[string]string          `` /* 171-byte string literal not displayed */
	DefaultModel           string                     `protobuf:"bytes,4,opt,name=default_model,json=defaultModel,proto3" json:"default_model,omitempty"`
	DefaultProvider        string                     `protobuf:"bytes,5,opt,name=default_provider,json=defaultProvider,proto3" json:"default_provider,omitempty"`
	DefaultChain           string                     `protobuf:"bytes,6,opt,name=default_chain,json=defaultChain,proto3" json:"default_chain,omitempty"`
	HitlPolicyName         string                     `protobuf:"bytes,7,opt,name=hitl_policy_name,json=hitlPolicyName,proto3" json:"hitl_policy_name,omitempty"`
	DefaultMaxOutputTokens int32                      `` /* 132-byte string literal not displayed */
	BackendCount           int32                      `protobuf:"varint,9,opt,name=backend_count,json=backendCount,proto3" json:"backend_count,omitempty"`
	ReachableBackendCount  int32                      `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

InferenceReadiness is the setup readiness one action answers: where the effective defaults came from, what each registered backend does, and every issue with the route that fixes it.

func (*InferenceReadiness) Descriptor deprecated

func (*InferenceReadiness) Descriptor() ([]byte, []int)

Deprecated: Use InferenceReadiness.ProtoReflect.Descriptor instead.

func (*InferenceReadiness) GetBackendChecks

func (x *InferenceReadiness) GetBackendChecks() []*InferenceBackendCheck

func (*InferenceReadiness) GetBackendCount

func (x *InferenceReadiness) GetBackendCount() int32

func (*InferenceReadiness) GetDefaultChain

func (x *InferenceReadiness) GetDefaultChain() string

func (*InferenceReadiness) GetDefaultMaxOutputTokens

func (x *InferenceReadiness) GetDefaultMaxOutputTokens() int32

func (*InferenceReadiness) GetDefaultModel

func (x *InferenceReadiness) GetDefaultModel() string

func (*InferenceReadiness) GetDefaultProvider

func (x *InferenceReadiness) GetDefaultProvider() string

func (*InferenceReadiness) GetHitlPolicyName

func (x *InferenceReadiness) GetHitlPolicyName() string

func (*InferenceReadiness) GetIssues

func (x *InferenceReadiness) GetIssues() []*InferenceReadinessIssue

func (*InferenceReadiness) GetReachableBackendCount

func (x *InferenceReadiness) GetReachableBackendCount() int32

func (*InferenceReadiness) GetResolvedFrom

func (x *InferenceReadiness) GetResolvedFrom() map[string]string

func (*InferenceReadiness) ProtoMessage

func (*InferenceReadiness) ProtoMessage()

func (*InferenceReadiness) ProtoReflect

func (x *InferenceReadiness) ProtoReflect() protoreflect.Message

func (*InferenceReadiness) Reset

func (x *InferenceReadiness) Reset()

func (*InferenceReadiness) String

func (x *InferenceReadiness) String() string

type InferenceReadinessIssue

type InferenceReadinessIssue struct {
	Repair     *InferenceRepairAction `protobuf:"bytes,1,opt,name=repair,proto3" json:"repair,omitempty"`
	Code       string                 `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Severity   string                 `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
	Category   string                 `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	Message    string                 `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	FixPath    string                 `protobuf:"bytes,6,opt,name=fix_path,json=fixPath,proto3" json:"fix_path,omitempty"`
	CliCommand string                 `protobuf:"bytes,7,opt,name=cli_command,json=cliCommand,proto3" json:"cli_command,omitempty"`
	// contains filtered or unexported fields
}

InferenceReadinessIssue describes one setup problem, how to fix it, and the native repair action that addresses it.

func (*InferenceReadinessIssue) Descriptor deprecated

func (*InferenceReadinessIssue) Descriptor() ([]byte, []int)

Deprecated: Use InferenceReadinessIssue.ProtoReflect.Descriptor instead.

func (*InferenceReadinessIssue) GetCategory

func (x *InferenceReadinessIssue) GetCategory() string

func (*InferenceReadinessIssue) GetCliCommand

func (x *InferenceReadinessIssue) GetCliCommand() string

func (*InferenceReadinessIssue) GetCode

func (x *InferenceReadinessIssue) GetCode() string

func (*InferenceReadinessIssue) GetFixPath

func (x *InferenceReadinessIssue) GetFixPath() string

func (*InferenceReadinessIssue) GetMessage

func (x *InferenceReadinessIssue) GetMessage() string

func (*InferenceReadinessIssue) GetRepair

func (*InferenceReadinessIssue) GetSeverity

func (x *InferenceReadinessIssue) GetSeverity() string

func (*InferenceReadinessIssue) ProtoMessage

func (*InferenceReadinessIssue) ProtoMessage()

func (*InferenceReadinessIssue) ProtoReflect

func (x *InferenceReadinessIssue) ProtoReflect() protoreflect.Message

func (*InferenceReadinessIssue) Reset

func (x *InferenceReadinessIssue) Reset()

func (*InferenceReadinessIssue) String

func (x *InferenceReadinessIssue) String() string

type InferenceRecommendationRequest

type InferenceRecommendationRequest struct {
	Mode        string                     `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	Origin      string                     `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	Constraints []*InferenceRoleConstraint `protobuf:"bytes,3,rep,name=constraints,proto3" json:"constraints,omitempty"`
	Ceilings    []*InferencePoolCeiling    `protobuf:"bytes,4,rep,name=ceilings,proto3" json:"ceilings,omitempty"`
	// contains filtered or unexported fields
}

InferenceRecommendationRequest chooses the candidates one role review may recommend from and the constraints each role is reviewed against. ceilings replace, per connection and pool, the device ceilings that connection's owner reports, so a plan can be previewed under limits not yet saved.

func (*InferenceRecommendationRequest) Descriptor deprecated

func (*InferenceRecommendationRequest) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRecommendationRequest.ProtoReflect.Descriptor instead.

func (*InferenceRecommendationRequest) GetCeilings

func (*InferenceRecommendationRequest) GetConstraints

func (*InferenceRecommendationRequest) GetMode

func (*InferenceRecommendationRequest) GetOrigin

func (x *InferenceRecommendationRequest) GetOrigin() string

func (*InferenceRecommendationRequest) ProtoMessage

func (*InferenceRecommendationRequest) ProtoMessage()

func (*InferenceRecommendationRequest) ProtoReflect

func (*InferenceRecommendationRequest) Reset

func (x *InferenceRecommendationRequest) Reset()

func (*InferenceRecommendationRequest) String

type InferenceRepairAction

type InferenceRepairAction struct {
	Kind   string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

InferenceRepairAction identifies a native product action that can address an issue. An empty target selects the action's own default.

func (*InferenceRepairAction) Descriptor deprecated

func (*InferenceRepairAction) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRepairAction.ProtoReflect.Descriptor instead.

func (*InferenceRepairAction) GetKind

func (x *InferenceRepairAction) GetKind() string

func (*InferenceRepairAction) GetTarget

func (x *InferenceRepairAction) GetTarget() string

func (*InferenceRepairAction) ProtoMessage

func (*InferenceRepairAction) ProtoMessage()

func (*InferenceRepairAction) ProtoReflect

func (x *InferenceRepairAction) ProtoReflect() protoreflect.Message

func (*InferenceRepairAction) Reset

func (x *InferenceRepairAction) Reset()

func (*InferenceRepairAction) String

func (x *InferenceRepairAction) String() string

type InferenceRequest

type InferenceRequest struct {
	Acquisition        *InferenceAcquisitionRequest    `protobuf:"bytes,1,opt,name=acquisition,proto3" json:"acquisition,omitempty"`
	NativePrerequisite *InferenceNativePrerequisite    `protobuf:"bytes,2,opt,name=native_prerequisite,json=nativePrerequisite,proto3" json:"native_prerequisite,omitempty"`
	Registration       *InferenceModelRegistration     `protobuf:"bytes,3,opt,name=registration,proto3" json:"registration,omitempty"`
	Plan               *InferencePlan                  `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan,omitempty"`
	Recommendation     *InferenceRecommendationRequest `protobuf:"bytes,5,opt,name=recommendation,proto3" json:"recommendation,omitempty"`
	Proposals          []*InferenceRouteProposal       `protobuf:"bytes,6,rep,name=proposals,proto3" json:"proposals,omitempty"`
	Options            *WorkerOptions                  `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	SelectedRoles      []string                        `protobuf:"bytes,8,rep,name=selected_roles,json=selectedRoles,proto3" json:"selected_roles,omitempty"`
	CredentialSource   string                          `protobuf:"bytes,9,opt,name=credential_source,json=credentialSource,proto3" json:"credential_source,omitempty"`
	CredentialFile     string                          `protobuf:"bytes,10,opt,name=credential_file,json=credentialFile,proto3" json:"credential_file,omitempty"`
	Action             string                          `protobuf:"bytes,11,opt,name=action,proto3" json:"action,omitempty"`
	Role               string                          `protobuf:"bytes,12,opt,name=role,proto3" json:"role,omitempty"`
	Provider           string                          `protobuf:"bytes,13,opt,name=provider,proto3" json:"provider,omitempty"`
	Model              string                          `protobuf:"bytes,14,opt,name=model,proto3" json:"model,omitempty"`
	CompletionMode     string                          `protobuf:"bytes,15,opt,name=completion_mode,json=completionMode,proto3" json:"completion_mode,omitempty"`
	Id                 string                          `protobuf:"bytes,16,opt,name=id,proto3" json:"id,omitempty"`
	Name               string                          `protobuf:"bytes,17,opt,name=name,proto3" json:"name,omitempty"`
	Url                string                          `protobuf:"bytes,18,opt,name=url,proto3" json:"url,omitempty"`
	ApiKey             string                          `protobuf:"bytes,19,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	ApiKeyEnv          string                          `protobuf:"bytes,20,opt,name=api_key_env,json=apiKeyEnv,proto3" json:"api_key_env,omitempty"`
	Origin             string                          `protobuf:"bytes,21,opt,name=origin,proto3" json:"origin,omitempty"`
	OperationId        string                          `protobuf:"bytes,22,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	Enabled            bool                            `protobuf:"varint,24,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Inherit            bool                            `protobuf:"varint,25,opt,name=inherit,proto3" json:"inherit,omitempty"`
	Refresh            bool                            `protobuf:"varint,26,opt,name=refresh,proto3" json:"refresh,omitempty"`
	Alternative        int32                           `protobuf:"varint,27,opt,name=alternative,proto3" json:"alternative,omitempty"`
	// pool_id and share select the memory pool configure-ceiling bounds on the
	// native connection id names, and the share of its total bytes local
	// inference may hold there.
	PoolId string  `protobuf:"bytes,28,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Share  float64 `protobuf:"fixed64,29,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

InferenceRequest is the request of every action _contenox/inference answers. action selects the operation, and the remaining fields carry the inputs of whichever action was selected: one request message carries every action's inputs because one method string carries every action. An action that needs an input the payload does not carry is refused, never defaulted.

Requests select a configuration, role, model acquisition or automatic setup action.

func (*InferenceRequest) Descriptor deprecated

func (*InferenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRequest.ProtoReflect.Descriptor instead.

func (*InferenceRequest) GetAcquisition

func (x *InferenceRequest) GetAcquisition() *InferenceAcquisitionRequest

func (*InferenceRequest) GetAction

func (x *InferenceRequest) GetAction() string

func (*InferenceRequest) GetAlternative

func (x *InferenceRequest) GetAlternative() int32

func (*InferenceRequest) GetApiKey

func (x *InferenceRequest) GetApiKey() string

func (*InferenceRequest) GetApiKeyEnv

func (x *InferenceRequest) GetApiKeyEnv() string

func (*InferenceRequest) GetCompletionMode

func (x *InferenceRequest) GetCompletionMode() string

func (*InferenceRequest) GetCredentialFile

func (x *InferenceRequest) GetCredentialFile() string

func (*InferenceRequest) GetCredentialSource

func (x *InferenceRequest) GetCredentialSource() string

func (*InferenceRequest) GetEnabled

func (x *InferenceRequest) GetEnabled() bool

func (*InferenceRequest) GetId

func (x *InferenceRequest) GetId() string

func (*InferenceRequest) GetInherit

func (x *InferenceRequest) GetInherit() bool

func (*InferenceRequest) GetModel

func (x *InferenceRequest) GetModel() string

func (*InferenceRequest) GetName

func (x *InferenceRequest) GetName() string

func (*InferenceRequest) GetNativePrerequisite

func (x *InferenceRequest) GetNativePrerequisite() *InferenceNativePrerequisite

func (*InferenceRequest) GetOperationId

func (x *InferenceRequest) GetOperationId() string

func (*InferenceRequest) GetOptions

func (x *InferenceRequest) GetOptions() *WorkerOptions

func (*InferenceRequest) GetOrigin

func (x *InferenceRequest) GetOrigin() string

func (*InferenceRequest) GetPlan

func (x *InferenceRequest) GetPlan() *InferencePlan

func (*InferenceRequest) GetPoolId

func (x *InferenceRequest) GetPoolId() string

func (*InferenceRequest) GetProposals

func (x *InferenceRequest) GetProposals() []*InferenceRouteProposal

func (*InferenceRequest) GetProvider

func (x *InferenceRequest) GetProvider() string

func (*InferenceRequest) GetRecommendation

func (x *InferenceRequest) GetRecommendation() *InferenceRecommendationRequest

func (*InferenceRequest) GetRefresh

func (x *InferenceRequest) GetRefresh() bool

func (*InferenceRequest) GetRegistration

func (x *InferenceRequest) GetRegistration() *InferenceModelRegistration

func (*InferenceRequest) GetRole

func (x *InferenceRequest) GetRole() string

func (*InferenceRequest) GetSelectedRoles

func (x *InferenceRequest) GetSelectedRoles() []string

func (*InferenceRequest) GetShare

func (x *InferenceRequest) GetShare() float64

func (*InferenceRequest) GetUrl

func (x *InferenceRequest) GetUrl() string

func (*InferenceRequest) ProtoMessage

func (*InferenceRequest) ProtoMessage()

func (*InferenceRequest) ProtoReflect

func (x *InferenceRequest) ProtoReflect() protoreflect.Message

func (*InferenceRequest) Reset

func (x *InferenceRequest) Reset()

func (*InferenceRequest) String

func (x *InferenceRequest) String() string

type InferenceResult

type InferenceResult struct {
	AcquisitionContract   *ServiceContract               `protobuf:"bytes,1,opt,name=acquisition_contract,json=acquisitionContract,proto3" json:"acquisition_contract,omitempty"`
	RegistrationContract  *ServiceContract               `protobuf:"bytes,2,opt,name=registration_contract,json=registrationContract,proto3" json:"registration_contract,omitempty"`
	ConfigurationContract *ServiceContract               `protobuf:"bytes,3,opt,name=configuration_contract,json=configurationContract,proto3" json:"configuration_contract,omitempty"`
	CompletionContract    *ServiceContract               `protobuf:"bytes,4,opt,name=completion_contract,json=completionContract,proto3" json:"completion_contract,omitempty"`
	EditorContract        *ServiceContract               `protobuf:"bytes,5,opt,name=editor_contract,json=editorContract,proto3" json:"editor_contract,omitempty"`
	ProviderResult        *InferenceProviderResult       `protobuf:"bytes,6,opt,name=provider_result,json=providerResult,proto3" json:"provider_result,omitempty"`
	AutomaticSetup        *InferenceAutomaticSetup       `protobuf:"bytes,7,opt,name=automatic_setup,json=automaticSetup,proto3" json:"automatic_setup,omitempty"`
	Readiness             *InferenceReadiness            `protobuf:"bytes,8,opt,name=readiness,proto3" json:"readiness,omitempty"`
	ProposalRevision      *InferenceProposalRevision     `protobuf:"bytes,11,opt,name=proposal_revision,json=proposalRevision,proto3" json:"proposal_revision,omitempty"`
	Roles                 []*InferenceRole               `protobuf:"bytes,12,rep,name=roles,proto3" json:"roles,omitempty"`
	Models                []*InferenceAvailableModel     `protobuf:"bytes,13,rep,name=models,proto3" json:"models,omitempty"`
	Providers             []*InferenceProviderConnection `protobuf:"bytes,14,rep,name=providers,proto3" json:"providers,omitempty"`
	ProviderTypes         []*InferenceProviderCapability `protobuf:"bytes,15,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ReviewedProposals     []*InferenceRouteProposal      `protobuf:"bytes,16,rep,name=reviewed_proposals,json=reviewedProposals,proto3" json:"reviewed_proposals,omitempty"`
	// ceilings are the device ceilings the connection's owner enforces after a
	// configure-ceiling, one entry per bounded pool.
	Ceilings []*InferencePoolCeiling `protobuf:"bytes,19,rep,name=ceilings,proto3" json:"ceilings,omitempty"`
	// contains filtered or unexported fields
}

InferenceResult is the answer to every action _contenox/inference answers with an object: the configuration snapshot with the members the requested action populated. One result message carries every answer because one method string carries every action. An unpopulated member is the declared null, not a member the answer omitted.

func (*InferenceResult) Descriptor deprecated

func (*InferenceResult) Descriptor() ([]byte, []int)

Deprecated: Use InferenceResult.ProtoReflect.Descriptor instead.

func (*InferenceResult) GetAcquisitionContract

func (x *InferenceResult) GetAcquisitionContract() *ServiceContract

func (*InferenceResult) GetAutomaticSetup

func (x *InferenceResult) GetAutomaticSetup() *InferenceAutomaticSetup

func (*InferenceResult) GetCeilings

func (x *InferenceResult) GetCeilings() []*InferencePoolCeiling

func (*InferenceResult) GetCompletionContract

func (x *InferenceResult) GetCompletionContract() *ServiceContract

func (*InferenceResult) GetConfigurationContract

func (x *InferenceResult) GetConfigurationContract() *ServiceContract

func (*InferenceResult) GetEditorContract

func (x *InferenceResult) GetEditorContract() *ServiceContract

func (*InferenceResult) GetModels

func (x *InferenceResult) GetModels() []*InferenceAvailableModel

func (*InferenceResult) GetProposalRevision

func (x *InferenceResult) GetProposalRevision() *InferenceProposalRevision

func (*InferenceResult) GetProviderResult

func (x *InferenceResult) GetProviderResult() *InferenceProviderResult

func (*InferenceResult) GetProviderTypes

func (x *InferenceResult) GetProviderTypes() []*InferenceProviderCapability

func (*InferenceResult) GetProviders

func (x *InferenceResult) GetProviders() []*InferenceProviderConnection

func (*InferenceResult) GetReadiness

func (x *InferenceResult) GetReadiness() *InferenceReadiness

func (*InferenceResult) GetRegistrationContract

func (x *InferenceResult) GetRegistrationContract() *ServiceContract

func (*InferenceResult) GetReviewedProposals

func (x *InferenceResult) GetReviewedProposals() []*InferenceRouteProposal

func (*InferenceResult) GetRoles

func (x *InferenceResult) GetRoles() []*InferenceRole

func (*InferenceResult) ProtoMessage

func (*InferenceResult) ProtoMessage()

func (*InferenceResult) ProtoReflect

func (x *InferenceResult) ProtoReflect() protoreflect.Message

func (*InferenceResult) Reset

func (x *InferenceResult) Reset()

func (*InferenceResult) String

func (x *InferenceResult) String() string

type InferenceRole

type InferenceRole struct {
	Verification    *InferenceVerification `protobuf:"bytes,1,opt,name=verification,proto3" json:"verification,omitempty"`
	AssignmentState string                 `protobuf:"bytes,2,opt,name=assignment_state,json=assignmentState,proto3" json:"assignment_state,omitempty"`
	ConnectionId    string                 `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Revision        string                 `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	Inputs          string                 `protobuf:"bytes,5,opt,name=inputs,proto3" json:"inputs,omitempty"`
	Id              string                 `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	Name            string                 `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Provider        string                 `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"`
	Model           string                 `protobuf:"bytes,9,opt,name=model,proto3" json:"model,omitempty"`
	State           string                 `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"`
	Detail          string                 `protobuf:"bytes,11,opt,name=detail,proto3" json:"detail,omitempty"`
	Problem         string                 `protobuf:"bytes,12,opt,name=problem,proto3" json:"problem,omitempty"`
	Inherited       bool                   `protobuf:"varint,13,opt,name=inherited,proto3" json:"inherited,omitempty"`
	Enabled         bool                   `protobuf:"varint,14,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// source names which path saved the assignment: user or planner;
	// empty for a role saved before the source was recorded.
	Source string `protobuf:"bytes,15,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

InferenceRole is one inference role's effective assignment and whether its current configuration was verified.

func (*InferenceRole) Descriptor deprecated

func (*InferenceRole) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRole.ProtoReflect.Descriptor instead.

func (*InferenceRole) GetAssignmentState

func (x *InferenceRole) GetAssignmentState() string

func (*InferenceRole) GetConnectionId

func (x *InferenceRole) GetConnectionId() string

func (*InferenceRole) GetDetail

func (x *InferenceRole) GetDetail() string

func (*InferenceRole) GetEnabled

func (x *InferenceRole) GetEnabled() bool

func (*InferenceRole) GetId

func (x *InferenceRole) GetId() string

func (*InferenceRole) GetInherited

func (x *InferenceRole) GetInherited() bool

func (*InferenceRole) GetInputs

func (x *InferenceRole) GetInputs() string

func (*InferenceRole) GetModel

func (x *InferenceRole) GetModel() string

func (*InferenceRole) GetName

func (x *InferenceRole) GetName() string

func (*InferenceRole) GetProblem

func (x *InferenceRole) GetProblem() string

func (*InferenceRole) GetProvider

func (x *InferenceRole) GetProvider() string

func (*InferenceRole) GetRevision

func (x *InferenceRole) GetRevision() string

func (*InferenceRole) GetSource

func (x *InferenceRole) GetSource() string

func (*InferenceRole) GetState

func (x *InferenceRole) GetState() string

func (*InferenceRole) GetVerification

func (x *InferenceRole) GetVerification() *InferenceVerification

func (*InferenceRole) ProtoMessage

func (*InferenceRole) ProtoMessage()

func (*InferenceRole) ProtoReflect

func (x *InferenceRole) ProtoReflect() protoreflect.Message

func (*InferenceRole) Reset

func (x *InferenceRole) Reset()

func (*InferenceRole) String

func (x *InferenceRole) String() string

type InferenceRoleCandidate

type InferenceRoleCandidate struct {
	Route             *InferenceRouteProposal  `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	Artifact          *ModelDescriptor         `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"`
	ExecutionSettings *WorkerOptions           `protobuf:"bytes,3,opt,name=execution_settings,json=executionSettings,proto3" json:"execution_settings,omitempty"`
	Pools             []*InferencePoolEstimate `protobuf:"bytes,4,rep,name=pools,proto3" json:"pools,omitempty"`
	CompletionMode    string                   `protobuf:"bytes,5,opt,name=completion_mode,json=completionMode,proto3" json:"completion_mode,omitempty"`
	ConnectionId      string                   `protobuf:"bytes,6,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Endpoint          string                   `protobuf:"bytes,7,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Scheduling        string                   `protobuf:"bytes,8,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	Reason            string                   `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
	ReviewError       string                   `protobuf:"bytes,10,opt,name=review_error,json=reviewError,proto3" json:"review_error,omitempty"`
	ThreadLimit       int32                    `protobuf:"varint,11,opt,name=thread_limit,json=threadLimit,proto3" json:"thread_limit,omitempty"`
	ContextTokens     int32                    `protobuf:"varint,12,opt,name=context_tokens,json=contextTokens,proto3" json:"context_tokens,omitempty"`
	Native            bool                     `protobuf:"varint,13,opt,name=native,proto3" json:"native,omitempty"`
	Installed         bool                     `protobuf:"varint,14,opt,name=installed,proto3" json:"installed,omitempty"`
	SharedMemory      bool                     `protobuf:"varint,15,opt,name=shared_memory,json=sharedMemory,proto3" json:"shared_memory,omitempty"`
	Verified          bool                     `protobuf:"varint,16,opt,name=verified,proto3" json:"verified,omitempty"`
	// contains filtered or unexported fields
}

InferenceRoleCandidate describes an editable route, its prerequisites and its conservative allocation estimate.

func (*InferenceRoleCandidate) Descriptor deprecated

func (*InferenceRoleCandidate) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRoleCandidate.ProtoReflect.Descriptor instead.

func (*InferenceRoleCandidate) GetArtifact

func (x *InferenceRoleCandidate) GetArtifact() *ModelDescriptor

func (*InferenceRoleCandidate) GetCompletionMode

func (x *InferenceRoleCandidate) GetCompletionMode() string

func (*InferenceRoleCandidate) GetConnectionId

func (x *InferenceRoleCandidate) GetConnectionId() string

func (*InferenceRoleCandidate) GetContextTokens

func (x *InferenceRoleCandidate) GetContextTokens() int32

func (*InferenceRoleCandidate) GetEndpoint

func (x *InferenceRoleCandidate) GetEndpoint() string

func (*InferenceRoleCandidate) GetExecutionSettings

func (x *InferenceRoleCandidate) GetExecutionSettings() *WorkerOptions

func (*InferenceRoleCandidate) GetInstalled

func (x *InferenceRoleCandidate) GetInstalled() bool

func (*InferenceRoleCandidate) GetNative

func (x *InferenceRoleCandidate) GetNative() bool

func (*InferenceRoleCandidate) GetPools

func (*InferenceRoleCandidate) GetReason

func (x *InferenceRoleCandidate) GetReason() string

func (*InferenceRoleCandidate) GetReviewError

func (x *InferenceRoleCandidate) GetReviewError() string

func (*InferenceRoleCandidate) GetRoute

func (*InferenceRoleCandidate) GetScheduling

func (x *InferenceRoleCandidate) GetScheduling() string

func (*InferenceRoleCandidate) GetSharedMemory

func (x *InferenceRoleCandidate) GetSharedMemory() bool

func (*InferenceRoleCandidate) GetThreadLimit

func (x *InferenceRoleCandidate) GetThreadLimit() int32

func (*InferenceRoleCandidate) GetVerified

func (x *InferenceRoleCandidate) GetVerified() bool

func (*InferenceRoleCandidate) ProtoMessage

func (*InferenceRoleCandidate) ProtoMessage()

func (*InferenceRoleCandidate) ProtoReflect

func (x *InferenceRoleCandidate) ProtoReflect() protoreflect.Message

func (*InferenceRoleCandidate) Reset

func (x *InferenceRoleCandidate) Reset()

func (*InferenceRoleCandidate) String

func (x *InferenceRoleCandidate) String() string

type InferenceRoleConstraint

type InferenceRoleConstraint struct {
	Role               string   `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Policy             string   `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	ConnectionId       string   `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	AllowedConnections []string `protobuf:"bytes,4,rep,name=allowed_connections,json=allowedConnections,proto3" json:"allowed_connections,omitempty"`
	Inputs             string   `protobuf:"bytes,5,opt,name=inputs,proto3" json:"inputs,omitempty"`
	ExecutionMode      string   `protobuf:"bytes,6,opt,name=execution_mode,json=executionMode,proto3" json:"execution_mode,omitempty"`
	Importance         string   `protobuf:"bytes,7,opt,name=importance,proto3" json:"importance,omitempty"`
	// contains filtered or unexported fields
}

InferenceRoleConstraint is one role's reviewed requirement. importance is an autosetup importance token; empty plans the role at normal importance.

func (*InferenceRoleConstraint) Descriptor deprecated

func (*InferenceRoleConstraint) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRoleConstraint.ProtoReflect.Descriptor instead.

func (*InferenceRoleConstraint) GetAllowedConnections

func (x *InferenceRoleConstraint) GetAllowedConnections() []string

func (*InferenceRoleConstraint) GetConnectionId

func (x *InferenceRoleConstraint) GetConnectionId() string

func (*InferenceRoleConstraint) GetExecutionMode

func (x *InferenceRoleConstraint) GetExecutionMode() string

func (*InferenceRoleConstraint) GetImportance

func (x *InferenceRoleConstraint) GetImportance() string

func (*InferenceRoleConstraint) GetInputs

func (x *InferenceRoleConstraint) GetInputs() string

func (*InferenceRoleConstraint) GetPolicy

func (x *InferenceRoleConstraint) GetPolicy() string

func (*InferenceRoleConstraint) GetRole

func (x *InferenceRoleConstraint) GetRole() string

func (*InferenceRoleConstraint) ProtoMessage

func (*InferenceRoleConstraint) ProtoMessage()

func (*InferenceRoleConstraint) ProtoReflect

func (x *InferenceRoleConstraint) ProtoReflect() protoreflect.Message

func (*InferenceRoleConstraint) Reset

func (x *InferenceRoleConstraint) Reset()

func (*InferenceRoleConstraint) String

func (x *InferenceRoleConstraint) String() string

type InferenceRolePlan

type InferenceRolePlan struct {
	Constraint   *InferenceRoleConstraint  `protobuf:"bytes,1,opt,name=constraint,proto3" json:"constraint,omitempty"`
	State        string                    `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Selected     *InferenceRoleCandidate   `protobuf:"bytes,3,opt,name=selected,proto3" json:"selected,omitempty"`
	Alternatives []*InferenceRoleCandidate `protobuf:"bytes,4,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	Repairs      []string                  `protobuf:"bytes,5,rep,name=repairs,proto3" json:"repairs,omitempty"`
	// contains filtered or unexported fields
}

InferenceRolePlan keeps one role's result available even when another role is unresolved: state is the review's own token, selected is the reviewed candidate, alternatives are the other eligible ones, and repairs names what an unresolved role needs.

func (*InferenceRolePlan) Descriptor deprecated

func (*InferenceRolePlan) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRolePlan.ProtoReflect.Descriptor instead.

func (*InferenceRolePlan) GetAlternatives

func (x *InferenceRolePlan) GetAlternatives() []*InferenceRoleCandidate

func (*InferenceRolePlan) GetConstraint

func (x *InferenceRolePlan) GetConstraint() *InferenceRoleConstraint

func (*InferenceRolePlan) GetRepairs

func (x *InferenceRolePlan) GetRepairs() []string

func (*InferenceRolePlan) GetSelected

func (x *InferenceRolePlan) GetSelected() *InferenceRoleCandidate

func (*InferenceRolePlan) GetState

func (x *InferenceRolePlan) GetState() string

func (*InferenceRolePlan) ProtoMessage

func (*InferenceRolePlan) ProtoMessage()

func (*InferenceRolePlan) ProtoReflect

func (x *InferenceRolePlan) ProtoReflect() protoreflect.Message

func (*InferenceRolePlan) Reset

func (x *InferenceRolePlan) Reset()

func (*InferenceRolePlan) String

func (x *InferenceRolePlan) String() string

type InferenceRouteProposal

type InferenceRouteProposal struct {
	Settings           *WorkerOptions `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	Inputs             string         `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"`
	Role               string         `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Provider           string         `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
	Model              string         `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	RoleRevision       string         `protobuf:"bytes,6,opt,name=role_revision,json=roleRevision,proto3" json:"role_revision,omitempty"`
	ConnectionRevision string         `protobuf:"bytes,7,opt,name=connection_revision,json=connectionRevision,proto3" json:"connection_revision,omitempty"`
	Fingerprint        string         `protobuf:"bytes,8,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	SettingsChange     string         `protobuf:"bytes,9,opt,name=settings_change,json=settingsChange,proto3" json:"settings_change,omitempty"`
	// contains filtered or unexported fields
}

InferenceRouteProposal is one reviewed role assignment with the revisions it was reviewed against and the execution settings it would save.

func (*InferenceRouteProposal) Descriptor deprecated

func (*InferenceRouteProposal) Descriptor() ([]byte, []int)

Deprecated: Use InferenceRouteProposal.ProtoReflect.Descriptor instead.

func (*InferenceRouteProposal) GetConnectionRevision

func (x *InferenceRouteProposal) GetConnectionRevision() string

func (*InferenceRouteProposal) GetFingerprint

func (x *InferenceRouteProposal) GetFingerprint() string

func (*InferenceRouteProposal) GetInputs

func (x *InferenceRouteProposal) GetInputs() string

func (*InferenceRouteProposal) GetModel

func (x *InferenceRouteProposal) GetModel() string

func (*InferenceRouteProposal) GetProvider

func (x *InferenceRouteProposal) GetProvider() string

func (*InferenceRouteProposal) GetRole

func (x *InferenceRouteProposal) GetRole() string

func (*InferenceRouteProposal) GetRoleRevision

func (x *InferenceRouteProposal) GetRoleRevision() string

func (*InferenceRouteProposal) GetSettings

func (x *InferenceRouteProposal) GetSettings() *WorkerOptions

func (*InferenceRouteProposal) GetSettingsChange

func (x *InferenceRouteProposal) GetSettingsChange() string

func (*InferenceRouteProposal) ProtoMessage

func (*InferenceRouteProposal) ProtoMessage()

func (*InferenceRouteProposal) ProtoReflect

func (x *InferenceRouteProposal) ProtoReflect() protoreflect.Message

func (*InferenceRouteProposal) Reset

func (x *InferenceRouteProposal) Reset()

func (*InferenceRouteProposal) String

func (x *InferenceRouteProposal) String() string

type InferenceSessionExecution

type InferenceSessionExecution struct {
	Requested      *WorkerLaunchConfig `protobuf:"bytes,1,opt,name=requested,proto3" json:"requested,omitempty"`
	Resolved       *WorkerLaunchConfig `protobuf:"bytes,2,opt,name=resolved,proto3" json:"resolved,omitempty"`
	Capacity       *WorkerModelInfo    `protobuf:"bytes,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	OwnerEpoch     string              `protobuf:"bytes,4,opt,name=owner_epoch,json=ownerEpoch,proto3" json:"owner_epoch,omitempty"`
	WorkerIdentity string              `protobuf:"bytes,5,opt,name=worker_identity,json=workerIdentity,proto3" json:"worker_identity,omitempty"`
	ModelName      string              `protobuf:"bytes,6,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	Digest         string              `protobuf:"bytes,7,opt,name=digest,proto3" json:"digest,omitempty"`
	Backend        string              `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"`
	DeviceSelector string              `protobuf:"bytes,9,opt,name=device_selector,json=deviceSelector,proto3" json:"device_selector,omitempty"`
	// contains filtered or unexported fields
}

InferenceSessionExecution is one resolved native execution: what was requested, what the owner resolved, and the capacity decision it made.

func (*InferenceSessionExecution) Descriptor deprecated

func (*InferenceSessionExecution) Descriptor() ([]byte, []int)

Deprecated: Use InferenceSessionExecution.ProtoReflect.Descriptor instead.

func (*InferenceSessionExecution) GetBackend

func (x *InferenceSessionExecution) GetBackend() string

func (*InferenceSessionExecution) GetCapacity

func (x *InferenceSessionExecution) GetCapacity() *WorkerModelInfo

func (*InferenceSessionExecution) GetDeviceSelector

func (x *InferenceSessionExecution) GetDeviceSelector() string

func (*InferenceSessionExecution) GetDigest

func (x *InferenceSessionExecution) GetDigest() string

func (*InferenceSessionExecution) GetModelName

func (x *InferenceSessionExecution) GetModelName() string

func (*InferenceSessionExecution) GetOwnerEpoch

func (x *InferenceSessionExecution) GetOwnerEpoch() string

func (*InferenceSessionExecution) GetRequested

func (x *InferenceSessionExecution) GetRequested() *WorkerLaunchConfig

func (*InferenceSessionExecution) GetResolved

func (*InferenceSessionExecution) GetWorkerIdentity

func (x *InferenceSessionExecution) GetWorkerIdentity() string

func (*InferenceSessionExecution) ProtoMessage

func (*InferenceSessionExecution) ProtoMessage()

func (*InferenceSessionExecution) ProtoReflect

func (*InferenceSessionExecution) Reset

func (x *InferenceSessionExecution) Reset()

func (*InferenceSessionExecution) String

func (x *InferenceSessionExecution) String() string

type InferenceVerification

type InferenceVerification struct {
	NativeExecutions      []*InferenceSessionExecution `protobuf:"bytes,1,rep,name=native_executions,json=nativeExecutions,proto3" json:"native_executions,omitempty"`
	Inputs                string                       `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"`
	ConfigurationRevision string                       `protobuf:"bytes,3,opt,name=configuration_revision,json=configurationRevision,proto3" json:"configuration_revision,omitempty"`
	RoleRevision          string                       `protobuf:"bytes,4,opt,name=role_revision,json=roleRevision,proto3" json:"role_revision,omitempty"`
	Role                  string                       `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"`
	Provider              string                       `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	Model                 string                       `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
	Fingerprint           string                       `protobuf:"bytes,8,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	VerifiedAt            string                       `protobuf:"bytes,9,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	Sample                string                       `protobuf:"bytes,10,opt,name=sample,proto3" json:"sample,omitempty"`
	Dimension             int32                        `protobuf:"varint,11,opt,name=dimension,proto3" json:"dimension,omitempty"`
	// contains filtered or unexported fields
}

InferenceVerification records the route and result proven by a real capability request. verified_at is the RFC 3339 instant the verification completed.

func (*InferenceVerification) Descriptor deprecated

func (*InferenceVerification) Descriptor() ([]byte, []int)

Deprecated: Use InferenceVerification.ProtoReflect.Descriptor instead.

func (*InferenceVerification) GetConfigurationRevision

func (x *InferenceVerification) GetConfigurationRevision() string

func (*InferenceVerification) GetDimension

func (x *InferenceVerification) GetDimension() int32

func (*InferenceVerification) GetFingerprint

func (x *InferenceVerification) GetFingerprint() string

func (*InferenceVerification) GetInputs

func (x *InferenceVerification) GetInputs() string

func (*InferenceVerification) GetModel

func (x *InferenceVerification) GetModel() string

func (*InferenceVerification) GetNativeExecutions

func (x *InferenceVerification) GetNativeExecutions() []*InferenceSessionExecution

func (*InferenceVerification) GetProvider

func (x *InferenceVerification) GetProvider() string

func (*InferenceVerification) GetRole

func (x *InferenceVerification) GetRole() string

func (*InferenceVerification) GetRoleRevision

func (x *InferenceVerification) GetRoleRevision() string

func (*InferenceVerification) GetSample

func (x *InferenceVerification) GetSample() string

func (*InferenceVerification) GetVerifiedAt

func (x *InferenceVerification) GetVerifiedAt() string

func (*InferenceVerification) ProtoMessage

func (*InferenceVerification) ProtoMessage()

func (*InferenceVerification) ProtoReflect

func (x *InferenceVerification) ProtoReflect() protoreflect.Message

func (*InferenceVerification) Reset

func (x *InferenceVerification) Reset()

func (*InferenceVerification) String

func (x *InferenceVerification) String() string

type ModelDescriptor

type ModelDescriptor struct {
	Completion           *InferenceCompletionProfile `protobuf:"bytes,1,opt,name=completion,proto3" json:"completion,omitempty"`
	NextEdit             *InferenceNextEditProfile   `protobuf:"bytes,2,opt,name=next_edit,json=nextEdit,proto3" json:"next_edit,omitempty"`
	Embedding            *InferenceEmbeddingProfile  `protobuf:"bytes,3,opt,name=embedding,proto3" json:"embedding,omitempty"`
	AutoKvProfile        *InferenceLayerKVProfile    `protobuf:"bytes,4,opt,name=auto_kv_profile,json=autoKVProfile,proto3" json:"auto_kv_profile,omitempty"`
	Id                   string                      `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string                      `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Origin               string                      `protobuf:"bytes,7,opt,name=origin,proto3" json:"origin,omitempty"`
	ReleasedAt           string                      `protobuf:"bytes,8,opt,name=released_at,json=releasedAt,proto3" json:"released_at,omitempty"`
	License              string                      `protobuf:"bytes,9,opt,name=license,proto3" json:"license,omitempty"`
	SourceUrl            string                      `protobuf:"bytes,10,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	SourceSha256         string                      `protobuf:"bytes,11,opt,name=source_sha256,json=sourceSha256,proto3" json:"source_sha256,omitempty"`
	Repo                 string                      `protobuf:"bytes,12,opt,name=repo,proto3" json:"repo,omitempty"`
	Revision             string                      `protobuf:"bytes,13,opt,name=revision,proto3" json:"revision,omitempty"`
	Backend              string                      `protobuf:"bytes,14,opt,name=backend,proto3" json:"backend,omitempty"`
	TokenizerCompanionId string                      `protobuf:"bytes,15,opt,name=tokenizer_companion_id,json=tokenizerCompanionId,proto3" json:"tokenizer_companion_id,omitempty"`
	ToolProtocol         string                      `protobuf:"bytes,16,opt,name=tool_protocol,json=toolProtocol,proto3" json:"tool_protocol,omitempty"`
	ReasoningProtocol    string                      `protobuf:"bytes,17,opt,name=reasoning_protocol,json=reasoningProtocol,proto3" json:"reasoning_protocol,omitempty"`
	ReasoningFormat      string                      `protobuf:"bytes,18,opt,name=reasoning_format,json=reasoningFormat,proto3" json:"reasoning_format,omitempty"`
	Family               string                      `protobuf:"bytes,19,opt,name=family,proto3" json:"family,omitempty"`
	DisplayLabel         string                      `protobuf:"bytes,20,opt,name=display_label,json=displayLabel,proto3" json:"display_label,omitempty"`
	UseCase              string                      `protobuf:"bytes,21,opt,name=use_case,json=useCase,proto3" json:"use_case,omitempty"`
	AgenticTier          string                      `protobuf:"bytes,22,opt,name=agentic_tier,json=agenticTier,proto3" json:"agentic_tier,omitempty"`
	AgenticEvidence      string                      `protobuf:"bytes,23,opt,name=agentic_evidence,json=agenticEvidence,proto3" json:"agentic_evidence,omitempty"`
	MmprojUrl            string                      `protobuf:"bytes,24,opt,name=mmproj_url,json=mmprojUrl,proto3" json:"mmproj_url,omitempty"`
	ChatTemplateUrl      string                      `protobuf:"bytes,25,opt,name=chat_template_url,json=chatTemplateUrl,proto3" json:"chat_template_url,omitempty"`
	Notes                string                      `protobuf:"bytes,26,opt,name=notes,proto3" json:"notes,omitempty"`
	SizeBytes            int64                       `protobuf:"varint,27,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	MmprojSizeBytes      int64                       `protobuf:"varint,28,opt,name=mmproj_size_bytes,json=mmprojSizeBytes,proto3" json:"mmproj_size_bytes,omitempty"`
	AutoContextLimit     int32                       `protobuf:"varint,29,opt,name=auto_context_limit,json=autoContextLimit,proto3" json:"auto_context_limit,omitempty"`
	RecommendedVramGb    int32                       `protobuf:"varint,30,opt,name=recommended_vram_gb,json=recommendedVramGb,proto3" json:"recommended_vram_gb,omitempty"`
	Curated              bool                        `protobuf:"varint,31,opt,name=curated,proto3" json:"curated,omitempty"`
	AutoEligible         bool                        `protobuf:"varint,32,opt,name=auto_eligible,json=autoEligible,proto3" json:"auto_eligible,omitempty"`
	Vision               bool                        `protobuf:"varint,33,opt,name=vision,proto3" json:"vision,omitempty"`
	// auto_acquirable reports whether the artifact's licence lets setup download
	// and assign it on the user's behalf.
	AutoAcquirable bool `protobuf:"varint,34,opt,name=auto_acquirable,json=autoAcquirable,proto3" json:"auto_acquirable,omitempty"`
	// serves_roles lists the inference roles the artifact's curated execution
	// contracts qualify it for.
	ServesRoles []string `protobuf:"bytes,35,rep,name=serves_roles,json=servesRoles,proto3" json:"serves_roles,omitempty"`
	// contains filtered or unexported fields
}

ModelDescriptor describes one downloadable model and its backend requirements, as the curated catalogue declares it. It is the element of the catalogue action's bare array answer and of every model list an automatic plan carries.

func (*ModelDescriptor) Descriptor deprecated

func (*ModelDescriptor) Descriptor() ([]byte, []int)

Deprecated: Use ModelDescriptor.ProtoReflect.Descriptor instead.

func (*ModelDescriptor) GetAgenticEvidence

func (x *ModelDescriptor) GetAgenticEvidence() string

func (*ModelDescriptor) GetAgenticTier

func (x *ModelDescriptor) GetAgenticTier() string

func (*ModelDescriptor) GetAutoAcquirable

func (x *ModelDescriptor) GetAutoAcquirable() bool

func (*ModelDescriptor) GetAutoContextLimit

func (x *ModelDescriptor) GetAutoContextLimit() int32

func (*ModelDescriptor) GetAutoEligible

func (x *ModelDescriptor) GetAutoEligible() bool

func (*ModelDescriptor) GetAutoKvProfile

func (x *ModelDescriptor) GetAutoKvProfile() *InferenceLayerKVProfile

func (*ModelDescriptor) GetBackend

func (x *ModelDescriptor) GetBackend() string

func (*ModelDescriptor) GetChatTemplateUrl

func (x *ModelDescriptor) GetChatTemplateUrl() string

func (*ModelDescriptor) GetCompletion

func (x *ModelDescriptor) GetCompletion() *InferenceCompletionProfile

func (*ModelDescriptor) GetCurated

func (x *ModelDescriptor) GetCurated() bool

func (*ModelDescriptor) GetDisplayLabel

func (x *ModelDescriptor) GetDisplayLabel() string

func (*ModelDescriptor) GetEmbedding

func (x *ModelDescriptor) GetEmbedding() *InferenceEmbeddingProfile

func (*ModelDescriptor) GetFamily

func (x *ModelDescriptor) GetFamily() string

func (*ModelDescriptor) GetId

func (x *ModelDescriptor) GetId() string

func (*ModelDescriptor) GetLicense

func (x *ModelDescriptor) GetLicense() string

func (*ModelDescriptor) GetMmprojSizeBytes

func (x *ModelDescriptor) GetMmprojSizeBytes() int64

func (*ModelDescriptor) GetMmprojUrl

func (x *ModelDescriptor) GetMmprojUrl() string

func (*ModelDescriptor) GetName

func (x *ModelDescriptor) GetName() string

func (*ModelDescriptor) GetNextEdit

func (x *ModelDescriptor) GetNextEdit() *InferenceNextEditProfile

func (*ModelDescriptor) GetNotes

func (x *ModelDescriptor) GetNotes() string

func (*ModelDescriptor) GetOrigin

func (x *ModelDescriptor) GetOrigin() string

func (*ModelDescriptor) GetReasoningFormat

func (x *ModelDescriptor) GetReasoningFormat() string

func (*ModelDescriptor) GetReasoningProtocol

func (x *ModelDescriptor) GetReasoningProtocol() string

func (*ModelDescriptor) GetRecommendedVramGb

func (x *ModelDescriptor) GetRecommendedVramGb() int32

func (*ModelDescriptor) GetReleasedAt

func (x *ModelDescriptor) GetReleasedAt() string

func (*ModelDescriptor) GetRepo

func (x *ModelDescriptor) GetRepo() string

func (*ModelDescriptor) GetRevision

func (x *ModelDescriptor) GetRevision() string

func (*ModelDescriptor) GetServesRoles

func (x *ModelDescriptor) GetServesRoles() []string

func (*ModelDescriptor) GetSizeBytes

func (x *ModelDescriptor) GetSizeBytes() int64

func (*ModelDescriptor) GetSourceSha256

func (x *ModelDescriptor) GetSourceSha256() string

func (*ModelDescriptor) GetSourceUrl

func (x *ModelDescriptor) GetSourceUrl() string

func (*ModelDescriptor) GetTokenizerCompanionId

func (x *ModelDescriptor) GetTokenizerCompanionId() string

func (*ModelDescriptor) GetToolProtocol

func (x *ModelDescriptor) GetToolProtocol() string

func (*ModelDescriptor) GetUseCase

func (x *ModelDescriptor) GetUseCase() string

func (*ModelDescriptor) GetVision

func (x *ModelDescriptor) GetVision() bool

func (*ModelDescriptor) ProtoMessage

func (*ModelDescriptor) ProtoMessage()

func (*ModelDescriptor) ProtoReflect

func (x *ModelDescriptor) ProtoReflect() protoreflect.Message

func (*ModelDescriptor) Reset

func (x *ModelDescriptor) Reset()

func (*ModelDescriptor) String

func (x *ModelDescriptor) String() string

type NextEditContextFile

type NextEditContextFile struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

NextEditContextFile is one read-only peer file the prediction may read.

func (*NextEditContextFile) Descriptor deprecated

func (*NextEditContextFile) Descriptor() ([]byte, []int)

Deprecated: Use NextEditContextFile.ProtoReflect.Descriptor instead.

func (*NextEditContextFile) GetPath

func (x *NextEditContextFile) GetPath() string

func (*NextEditContextFile) GetText

func (x *NextEditContextFile) GetText() string

func (*NextEditContextFile) ProtoMessage

func (*NextEditContextFile) ProtoMessage()

func (*NextEditContextFile) ProtoReflect

func (x *NextEditContextFile) ProtoReflect() protoreflect.Message

func (*NextEditContextFile) Reset

func (x *NextEditContextFile) Reset()

func (*NextEditContextFile) String

func (x *NextEditContextFile) String() string

type NextEditHistory

type NextEditHistory struct {
	Path   string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Before string `protobuf:"bytes,2,opt,name=before,proto3" json:"before,omitempty"`
	After  string `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"`
	// contains filtered or unexported fields
}

NextEditHistory is one earlier replacement the prediction may learn from.

func (*NextEditHistory) Descriptor deprecated

func (*NextEditHistory) Descriptor() ([]byte, []int)

Deprecated: Use NextEditHistory.ProtoReflect.Descriptor instead.

func (*NextEditHistory) GetAfter

func (x *NextEditHistory) GetAfter() string

func (*NextEditHistory) GetBefore

func (x *NextEditHistory) GetBefore() string

func (*NextEditHistory) GetPath

func (x *NextEditHistory) GetPath() string

func (*NextEditHistory) ProtoMessage

func (*NextEditHistory) ProtoMessage()

func (*NextEditHistory) ProtoReflect

func (x *NextEditHistory) ProtoReflect() protoreflect.Message

func (*NextEditHistory) Reset

func (x *NextEditHistory) Reset()

func (*NextEditHistory) String

func (x *NextEditHistory) String() string

type NextEditOutcome

type NextEditOutcome int32

NextEditOutcome is the closed set of answers a prediction has.

const (
	NextEditOutcome_NEXT_EDIT_OUTCOME_UNSPECIFIED NextEditOutcome = 0
	NextEditOutcome_NEXT_EDIT_OUTCOME_EDITS       NextEditOutcome = 1
	NextEditOutcome_NEXT_EDIT_OUTCOME_CANCELLED   NextEditOutcome = 2
)

func (NextEditOutcome) Descriptor

func (NextEditOutcome) Enum

func (x NextEditOutcome) Enum() *NextEditOutcome

func (NextEditOutcome) EnumDescriptor deprecated

func (NextEditOutcome) EnumDescriptor() ([]byte, []int)

Deprecated: Use NextEditOutcome.Descriptor instead.

func (NextEditOutcome) Number

func (NextEditOutcome) String

func (x NextEditOutcome) String() string

func (NextEditOutcome) Type

type NextEditRequest

type NextEditRequest struct {
	ClientId   string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	Version    int32  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Path       string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Before     string `protobuf:"bytes,5,opt,name=before,proto3" json:"before,omitempty"`
	Current    string `protobuf:"bytes,6,opt,name=current,proto3" json:"current,omitempty"`
	// cursor, start and end are byte offsets into current, as the editor computes
	// them.
	Cursor  int32                  `protobuf:"varint,7,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Start   int32                  `protobuf:"varint,8,opt,name=start,proto3" json:"start,omitempty"`
	End     int32                  `protobuf:"varint,9,opt,name=end,proto3" json:"end,omitempty"`
	History []*NextEditHistory     `protobuf:"bytes,10,rep,name=history,proto3" json:"history,omitempty"`
	Context []*NextEditContextFile `protobuf:"bytes,11,rep,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

NextEditRequest is the request of _contenox/next_edit: one versioned document, the region a prediction may replace, and the history and context the model reads. client_id and document_id identify the editor document a later request supersedes; version is the caller's document version and comes back on the result so a stale answer is recognisable.

func (*NextEditRequest) Descriptor deprecated

func (*NextEditRequest) Descriptor() ([]byte, []int)

Deprecated: Use NextEditRequest.ProtoReflect.Descriptor instead.

func (*NextEditRequest) GetBefore

func (x *NextEditRequest) GetBefore() string

func (*NextEditRequest) GetClientId

func (x *NextEditRequest) GetClientId() string

func (*NextEditRequest) GetContext

func (x *NextEditRequest) GetContext() []*NextEditContextFile

func (*NextEditRequest) GetCurrent

func (x *NextEditRequest) GetCurrent() string

func (*NextEditRequest) GetCursor

func (x *NextEditRequest) GetCursor() int32

func (*NextEditRequest) GetDocumentId

func (x *NextEditRequest) GetDocumentId() string

func (*NextEditRequest) GetEnd

func (x *NextEditRequest) GetEnd() int32

func (*NextEditRequest) GetHistory

func (x *NextEditRequest) GetHistory() []*NextEditHistory

func (*NextEditRequest) GetPath

func (x *NextEditRequest) GetPath() string

func (*NextEditRequest) GetStart

func (x *NextEditRequest) GetStart() int32

func (*NextEditRequest) GetVersion

func (x *NextEditRequest) GetVersion() int32

func (*NextEditRequest) ProtoMessage

func (*NextEditRequest) ProtoMessage()

func (*NextEditRequest) ProtoReflect

func (x *NextEditRequest) ProtoReflect() protoreflect.Message

func (*NextEditRequest) Reset

func (x *NextEditRequest) Reset()

func (*NextEditRequest) String

func (x *NextEditRequest) String() string

type NextEditResult

type NextEditResult struct {
	Kind        string              `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Version     int32               `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Edits       []*NextEditTextEdit `protobuf:"bytes,3,rep,name=edits,proto3" json:"edits,omitempty"`
	Fingerprint string              `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

NextEditResult is the answer to _contenox/next_edit. kind is a NextEditOutcome token; a cancelled prediction carries no edits and is a result value, never an error. Each edit replaces a half-open byte range of the versioned document it was predicted against.

func (*NextEditResult) Descriptor deprecated

func (*NextEditResult) Descriptor() ([]byte, []int)

Deprecated: Use NextEditResult.ProtoReflect.Descriptor instead.

func (*NextEditResult) GetEdits

func (x *NextEditResult) GetEdits() []*NextEditTextEdit

func (*NextEditResult) GetFingerprint

func (x *NextEditResult) GetFingerprint() string

func (*NextEditResult) GetKind

func (x *NextEditResult) GetKind() string

func (*NextEditResult) GetVersion

func (x *NextEditResult) GetVersion() int32

func (*NextEditResult) ProtoMessage

func (*NextEditResult) ProtoMessage()

func (*NextEditResult) ProtoReflect

func (x *NextEditResult) ProtoReflect() protoreflect.Message

func (*NextEditResult) Reset

func (x *NextEditResult) Reset()

func (*NextEditResult) String

func (x *NextEditResult) String() string

type NextEditTextEdit

type NextEditTextEdit struct {
	Start   int32  `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End     int32  `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	OldText string `protobuf:"bytes,3,opt,name=old_text,json=oldText,proto3" json:"old_text,omitempty"`
	NewText string `protobuf:"bytes,4,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"`
	// contains filtered or unexported fields
}

NextEditTextEdit is one replacement: a half-open byte range of the document, the text that range held and the text that replaces it.

func (*NextEditTextEdit) Descriptor deprecated

func (*NextEditTextEdit) Descriptor() ([]byte, []int)

Deprecated: Use NextEditTextEdit.ProtoReflect.Descriptor instead.

func (*NextEditTextEdit) GetEnd

func (x *NextEditTextEdit) GetEnd() int32

func (*NextEditTextEdit) GetNewText

func (x *NextEditTextEdit) GetNewText() string

func (*NextEditTextEdit) GetOldText

func (x *NextEditTextEdit) GetOldText() string

func (*NextEditTextEdit) GetStart

func (x *NextEditTextEdit) GetStart() int32

func (*NextEditTextEdit) ProtoMessage

func (*NextEditTextEdit) ProtoMessage()

func (*NextEditTextEdit) ProtoReflect

func (x *NextEditTextEdit) ProtoReflect() protoreflect.Message

func (*NextEditTextEdit) Reset

func (x *NextEditTextEdit) Reset()

func (*NextEditTextEdit) String

func (x *NextEditTextEdit) String() string

type ServiceContract

type ServiceContract struct {
	Id          string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Summary     string               `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Description string               `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Operations  []*ContractOperation `protobuf:"bytes,4,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

ServiceContract is a service's readable contract: the operations it exposes and the inputs each operation accepts. A surface renders this instead of restating the capability.

func (*ServiceContract) Descriptor deprecated

func (*ServiceContract) Descriptor() ([]byte, []int)

Deprecated: Use ServiceContract.ProtoReflect.Descriptor instead.

func (*ServiceContract) GetDescription

func (x *ServiceContract) GetDescription() string

func (*ServiceContract) GetId

func (x *ServiceContract) GetId() string

func (*ServiceContract) GetOperations

func (x *ServiceContract) GetOperations() []*ContractOperation

func (*ServiceContract) GetSummary

func (x *ServiceContract) GetSummary() string

func (*ServiceContract) ProtoMessage

func (*ServiceContract) ProtoMessage()

func (*ServiceContract) ProtoReflect

func (x *ServiceContract) ProtoReflect() protoreflect.Message

func (*ServiceContract) Reset

func (x *ServiceContract) Reset()

func (*ServiceContract) String

func (x *ServiceContract) String() string

type WorkerActiveModel

type WorkerActiveModel struct {
	ModelName  string              `protobuf:"bytes,1,opt,name=model_name,proto3" json:"model_name,omitempty"`
	Type       string              `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Digest     string              `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	Path       string              `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Config     *WorkerLaunchConfig `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	Adapters   []*WorkerAdapter    `protobuf:"bytes,6,rep,name=adapters,proto3" json:"adapters,omitempty"`
	Generation uint64              `protobuf:"varint,7,opt,name=generation,proto3" json:"generation,omitempty"`
	// contains filtered or unexported fields
}

WorkerActiveModel is the model a slot currently holds.

func (*WorkerActiveModel) Descriptor deprecated

func (*WorkerActiveModel) Descriptor() ([]byte, []int)

Deprecated: Use WorkerActiveModel.ProtoReflect.Descriptor instead.

func (*WorkerActiveModel) GetAdapters

func (x *WorkerActiveModel) GetAdapters() []*WorkerAdapter

func (*WorkerActiveModel) GetConfig

func (x *WorkerActiveModel) GetConfig() *WorkerLaunchConfig

func (*WorkerActiveModel) GetDigest

func (x *WorkerActiveModel) GetDigest() string

func (*WorkerActiveModel) GetGeneration

func (x *WorkerActiveModel) GetGeneration() uint64

func (*WorkerActiveModel) GetModelName

func (x *WorkerActiveModel) GetModelName() string

func (*WorkerActiveModel) GetPath

func (x *WorkerActiveModel) GetPath() string

func (*WorkerActiveModel) GetType

func (x *WorkerActiveModel) GetType() string

func (*WorkerActiveModel) ProtoMessage

func (*WorkerActiveModel) ProtoMessage()

func (*WorkerActiveModel) ProtoReflect

func (x *WorkerActiveModel) ProtoReflect() protoreflect.Message

func (*WorkerActiveModel) Reset

func (x *WorkerActiveModel) Reset()

func (*WorkerActiveModel) String

func (x *WorkerActiveModel) String() string

type WorkerAdapter

type WorkerAdapter struct {
	Name   string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path   string  `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Digest string  `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	Scale  float32 `protobuf:"fixed32,4,opt,name=scale,proto3" json:"scale,omitempty"`
	// contains filtered or unexported fields
}

WorkerAdapter is one LoRA adapter applied to a model variant.

func (*WorkerAdapter) Descriptor deprecated

func (*WorkerAdapter) Descriptor() ([]byte, []int)

Deprecated: Use WorkerAdapter.ProtoReflect.Descriptor instead.

func (*WorkerAdapter) GetDigest

func (x *WorkerAdapter) GetDigest() string

func (*WorkerAdapter) GetName

func (x *WorkerAdapter) GetName() string

func (*WorkerAdapter) GetPath

func (x *WorkerAdapter) GetPath() string

func (*WorkerAdapter) GetScale

func (x *WorkerAdapter) GetScale() float32

func (*WorkerAdapter) ProtoMessage

func (*WorkerAdapter) ProtoMessage()

func (*WorkerAdapter) ProtoReflect

func (x *WorkerAdapter) ProtoReflect() protoreflect.Message

func (*WorkerAdapter) Reset

func (x *WorkerAdapter) Reset()

func (*WorkerAdapter) String

func (x *WorkerAdapter) String() string

type WorkerAdmissionPolicy

type WorkerAdmissionPolicy struct {
	QueueCapacity   int32  `protobuf:"varint,1,opt,name=queue_capacity,proto3" json:"queue_capacity,omitempty"`
	GlobalLimit     int32  `protobuf:"varint,2,opt,name=global_limit,proto3" json:"global_limit,omitempty"`
	ForegroundBurst int32  `protobuf:"varint,3,opt,name=foreground_burst,proto3" json:"foreground_burst,omitempty"`
	MaxQueueWait    string `protobuf:"bytes,4,opt,name=max_queue_wait,proto3" json:"max_queue_wait,omitempty"`
	// contains filtered or unexported fields
}

WorkerAdmissionPolicy is the editable shared-scheduling bound. max_queue_wait is a duration in Go's own string form, so a surface renders what the engine parses rather than a number whose unit it would have to guess.

func (*WorkerAdmissionPolicy) Descriptor deprecated

func (*WorkerAdmissionPolicy) Descriptor() ([]byte, []int)

Deprecated: Use WorkerAdmissionPolicy.ProtoReflect.Descriptor instead.

func (*WorkerAdmissionPolicy) GetForegroundBurst

func (x *WorkerAdmissionPolicy) GetForegroundBurst() int32

func (*WorkerAdmissionPolicy) GetGlobalLimit

func (x *WorkerAdmissionPolicy) GetGlobalLimit() int32

func (*WorkerAdmissionPolicy) GetMaxQueueWait

func (x *WorkerAdmissionPolicy) GetMaxQueueWait() string

func (*WorkerAdmissionPolicy) GetQueueCapacity

func (x *WorkerAdmissionPolicy) GetQueueCapacity() int32

func (*WorkerAdmissionPolicy) ProtoMessage

func (*WorkerAdmissionPolicy) ProtoMessage()

func (*WorkerAdmissionPolicy) ProtoReflect

func (x *WorkerAdmissionPolicy) ProtoReflect() protoreflect.Message

func (*WorkerAdmissionPolicy) Reset

func (x *WorkerAdmissionPolicy) Reset()

func (*WorkerAdmissionPolicy) String

func (x *WorkerAdmissionPolicy) String() string

type WorkerAdmissionRequest

type WorkerAdmissionRequest struct {
	Host            *WorkerHost `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	QueueCapacity   int32       `protobuf:"varint,3,opt,name=queue_capacity,proto3" json:"queue_capacity,omitempty"`
	GlobalLimit     int32       `protobuf:"varint,4,opt,name=global_limit,proto3" json:"global_limit,omitempty"`
	ForegroundBurst int32       `protobuf:"varint,5,opt,name=foreground_burst,proto3" json:"foreground_burst,omitempty"`
	MaxQueueWait    string      `protobuf:"bytes,6,opt,name=max_queue_wait,proto3" json:"max_queue_wait,omitempty"`
	// contains filtered or unexported fields
}

WorkerAdmissionRequest is the request of _contenox/workers/admission: the reviewed shared-scheduling bounds, followed by the host to read. The bounds are the request's own fields because that is the shape the surface that reviews them writes; a bound left out is absent, not a replacement.

func (*WorkerAdmissionRequest) Descriptor deprecated

func (*WorkerAdmissionRequest) Descriptor() ([]byte, []int)

Deprecated: Use WorkerAdmissionRequest.ProtoReflect.Descriptor instead.

func (*WorkerAdmissionRequest) GetForegroundBurst

func (x *WorkerAdmissionRequest) GetForegroundBurst() int32

func (*WorkerAdmissionRequest) GetGlobalLimit

func (x *WorkerAdmissionRequest) GetGlobalLimit() int32

func (*WorkerAdmissionRequest) GetHost

func (x *WorkerAdmissionRequest) GetHost() *WorkerHost

func (*WorkerAdmissionRequest) GetMaxQueueWait

func (x *WorkerAdmissionRequest) GetMaxQueueWait() string

func (*WorkerAdmissionRequest) GetQueueCapacity

func (x *WorkerAdmissionRequest) GetQueueCapacity() int32

func (*WorkerAdmissionRequest) ProtoMessage

func (*WorkerAdmissionRequest) ProtoMessage()

func (*WorkerAdmissionRequest) ProtoReflect

func (x *WorkerAdmissionRequest) ProtoReflect() protoreflect.Message

func (*WorkerAdmissionRequest) Reset

func (x *WorkerAdmissionRequest) Reset()

func (*WorkerAdmissionRequest) String

func (x *WorkerAdmissionRequest) String() string

type WorkerAllocation

type WorkerAllocation struct {
	CanYield    bool                    `protobuf:"varint,1,opt,name=can_yield,json=CanYield,proto3" json:"can_yield,omitempty"`
	WorkerId    string                  `protobuf:"bytes,2,opt,name=worker_id,json=WorkerID,proto3" json:"worker_id,omitempty"`
	OwnerEpoch  string                  `protobuf:"bytes,3,opt,name=owner_epoch,json=OwnerEpoch,proto3" json:"owner_epoch,omitempty"`
	Identity    string                  `protobuf:"bytes,4,opt,name=identity,json=Identity,proto3" json:"identity,omitempty"`
	Pools       []*WorkerPoolAllocation `protobuf:"bytes,5,rep,name=pools,json=Pools,proto3" json:"pools,omitempty"`
	Threads     int32                   `protobuf:"varint,6,opt,name=threads,json=Threads,proto3" json:"threads,omitempty"`
	ThreadLimit int32                   `protobuf:"varint,7,opt,name=thread_limit,json=ThreadLimit,proto3" json:"thread_limit,omitempty"`
	// contains filtered or unexported fields
}

WorkerAllocation is one resident worker's resource claim.

func (*WorkerAllocation) Descriptor deprecated

func (*WorkerAllocation) Descriptor() ([]byte, []int)

Deprecated: Use WorkerAllocation.ProtoReflect.Descriptor instead.

func (*WorkerAllocation) GetCanYield

func (x *WorkerAllocation) GetCanYield() bool

func (*WorkerAllocation) GetIdentity

func (x *WorkerAllocation) GetIdentity() string

func (*WorkerAllocation) GetOwnerEpoch

func (x *WorkerAllocation) GetOwnerEpoch() string

func (*WorkerAllocation) GetPools

func (x *WorkerAllocation) GetPools() []*WorkerPoolAllocation

func (*WorkerAllocation) GetThreadLimit

func (x *WorkerAllocation) GetThreadLimit() int32

func (*WorkerAllocation) GetThreads

func (x *WorkerAllocation) GetThreads() int32

func (*WorkerAllocation) GetWorkerId

func (x *WorkerAllocation) GetWorkerId() string

func (*WorkerAllocation) ProtoMessage

func (*WorkerAllocation) ProtoMessage()

func (*WorkerAllocation) ProtoReflect

func (x *WorkerAllocation) ProtoReflect() protoreflect.Message

func (*WorkerAllocation) Reset

func (x *WorkerAllocation) Reset()

func (*WorkerAllocation) String

func (x *WorkerAllocation) String() string

type WorkerBackend

type WorkerBackend struct {
	Scheduling    *WorkerScheduling `protobuf:"bytes,1,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	Backend       string            `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"`
	State         string            `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	Error         string            `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	RuntimeDigest string            `protobuf:"bytes,5,opt,name=runtime_digest,proto3" json:"runtime_digest,omitempty"`
	Operations    []string          `protobuf:"bytes,6,rep,name=operations,proto3" json:"operations,omitempty"`
	Devices       []*WorkerDevice   `protobuf:"bytes,7,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

WorkerBackend reports one native backend's availability and devices.

func (*WorkerBackend) Descriptor deprecated

func (*WorkerBackend) Descriptor() ([]byte, []int)

Deprecated: Use WorkerBackend.ProtoReflect.Descriptor instead.

func (*WorkerBackend) GetBackend

func (x *WorkerBackend) GetBackend() string

func (*WorkerBackend) GetDevices

func (x *WorkerBackend) GetDevices() []*WorkerDevice

func (*WorkerBackend) GetError

func (x *WorkerBackend) GetError() string

func (*WorkerBackend) GetOperations

func (x *WorkerBackend) GetOperations() []string

func (*WorkerBackend) GetRuntimeDigest

func (x *WorkerBackend) GetRuntimeDigest() string

func (*WorkerBackend) GetScheduling

func (x *WorkerBackend) GetScheduling() *WorkerScheduling

func (*WorkerBackend) GetState

func (x *WorkerBackend) GetState() string

func (*WorkerBackend) ProtoMessage

func (*WorkerBackend) ProtoMessage()

func (*WorkerBackend) ProtoReflect

func (x *WorkerBackend) ProtoReflect() protoreflect.Message

func (*WorkerBackend) Reset

func (x *WorkerBackend) Reset()

func (*WorkerBackend) String

func (x *WorkerBackend) String() string

type WorkerCompletionProtection

type WorkerCompletionProtection struct {
	State        string              `protobuf:"bytes,1,opt,name=state,json=State,proto3" json:"state,omitempty"`
	Reservations []*WorkerProtection `protobuf:"bytes,2,rep,name=reservations,json=Reservations,proto3" json:"reservations,omitempty"`
	// contains filtered or unexported fields
}

WorkerCompletionProtection carries the explicit residency policy for one execution host. state is the policy's own token; reservations are the pools it holds.

func (*WorkerCompletionProtection) Descriptor deprecated

func (*WorkerCompletionProtection) Descriptor() ([]byte, []int)

Deprecated: Use WorkerCompletionProtection.ProtoReflect.Descriptor instead.

func (*WorkerCompletionProtection) GetReservations

func (x *WorkerCompletionProtection) GetReservations() []*WorkerProtection

func (*WorkerCompletionProtection) GetState

func (x *WorkerCompletionProtection) GetState() string

func (*WorkerCompletionProtection) ProtoMessage

func (*WorkerCompletionProtection) ProtoMessage()

func (*WorkerCompletionProtection) ProtoReflect

func (*WorkerCompletionProtection) Reset

func (x *WorkerCompletionProtection) Reset()

func (*WorkerCompletionProtection) String

func (x *WorkerCompletionProtection) String() string

type WorkerConfigureRequest

type WorkerConfigureRequest struct {
	Role    string         `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Options *WorkerOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	Host    *WorkerHost    `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

WorkerConfigureRequest is the request of _contenox/workers/configure: the reviewed launch options for one role, followed by the host to read.

func (*WorkerConfigureRequest) Descriptor deprecated

func (*WorkerConfigureRequest) Descriptor() ([]byte, []int)

Deprecated: Use WorkerConfigureRequest.ProtoReflect.Descriptor instead.

func (*WorkerConfigureRequest) GetHost

func (x *WorkerConfigureRequest) GetHost() *WorkerHost

func (*WorkerConfigureRequest) GetOptions

func (x *WorkerConfigureRequest) GetOptions() *WorkerOptions

func (*WorkerConfigureRequest) GetRole

func (x *WorkerConfigureRequest) GetRole() string

func (*WorkerConfigureRequest) ProtoMessage

func (*WorkerConfigureRequest) ProtoMessage()

func (*WorkerConfigureRequest) ProtoReflect

func (x *WorkerConfigureRequest) ProtoReflect() protoreflect.Message

func (*WorkerConfigureRequest) Reset

func (x *WorkerConfigureRequest) Reset()

func (*WorkerConfigureRequest) String

func (x *WorkerConfigureRequest) String() string

type WorkerDaemonStatus

type WorkerDaemonStatus struct {
	Workers         []*WorkerStatus    `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"`
	OwnerInstanceId string             `protobuf:"bytes,2,opt,name=owner_instance_id,proto3" json:"owner_instance_id,omitempty"`
	Backend         string             `protobuf:"bytes,3,opt,name=backend,proto3" json:"backend,omitempty"`
	State           string             `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	Active          *WorkerActiveModel `protobuf:"bytes,5,opt,name=active,proto3" json:"active,omitempty"`
	BusyOperation   string             `protobuf:"bytes,6,opt,name=busy_operation,proto3" json:"busy_operation,omitempty"`
	LastError       string             `protobuf:"bytes,7,opt,name=last_error,proto3" json:"last_error,omitempty"`
	// contains filtered or unexported fields
}

WorkerDaemonStatus reports the owner-local model slot state. It is about resident compute state, not the offline installed-model library.

func (*WorkerDaemonStatus) Descriptor deprecated

func (*WorkerDaemonStatus) Descriptor() ([]byte, []int)

Deprecated: Use WorkerDaemonStatus.ProtoReflect.Descriptor instead.

func (*WorkerDaemonStatus) GetActive

func (x *WorkerDaemonStatus) GetActive() *WorkerActiveModel

func (*WorkerDaemonStatus) GetBackend

func (x *WorkerDaemonStatus) GetBackend() string

func (*WorkerDaemonStatus) GetBusyOperation

func (x *WorkerDaemonStatus) GetBusyOperation() string

func (*WorkerDaemonStatus) GetLastError

func (x *WorkerDaemonStatus) GetLastError() string

func (*WorkerDaemonStatus) GetOwnerInstanceId

func (x *WorkerDaemonStatus) GetOwnerInstanceId() string

func (*WorkerDaemonStatus) GetState

func (x *WorkerDaemonStatus) GetState() string

func (*WorkerDaemonStatus) GetWorkers

func (x *WorkerDaemonStatus) GetWorkers() []*WorkerStatus

func (*WorkerDaemonStatus) ProtoMessage

func (*WorkerDaemonStatus) ProtoMessage()

func (*WorkerDaemonStatus) ProtoReflect

func (x *WorkerDaemonStatus) ProtoReflect() protoreflect.Message

func (*WorkerDaemonStatus) Reset

func (x *WorkerDaemonStatus) Reset()

func (*WorkerDaemonStatus) String

func (x *WorkerDaemonStatus) String() string

type WorkerDevice

type WorkerDevice struct {
	State            string   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Error            string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	IdentityState    string   `protobuf:"bytes,3,opt,name=identity_state,proto3" json:"identity_state,omitempty"`
	PoolId           string   `protobuf:"bytes,4,opt,name=pool_id,proto3" json:"pool_id,omitempty"`
	Operations       []string `protobuf:"bytes,5,rep,name=operations,proto3" json:"operations,omitempty"`
	Id               string   `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	SharedMemory     bool     `protobuf:"varint,7,opt,name=shared_memory,proto3" json:"shared_memory,omitempty"`
	Index            int32    `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
	Name             string   `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	Description      string   `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	Type             string   `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"`
	MemoryFree       int64    `protobuf:"varint,12,opt,name=memory_free,proto3" json:"memory_free,omitempty"`
	MemoryTotal      int64    `protobuf:"varint,13,opt,name=memory_total,proto3" json:"memory_total,omitempty"`
	MemoryFreeKnown  bool     `protobuf:"varint,14,opt,name=memory_free_known,proto3" json:"memory_free_known,omitempty"`
	MemoryTotalKnown bool     `protobuf:"varint,15,opt,name=memory_total_known,proto3" json:"memory_total_known,omitempty"`
	// contains filtered or unexported fields
}

WorkerDevice is one accelerator or execution device.

memory_free_known and memory_total_known distinguish absent plugin telemetry from a real zero, so a surface never renders an unreported device as a full one.

func (*WorkerDevice) Descriptor deprecated

func (*WorkerDevice) Descriptor() ([]byte, []int)

Deprecated: Use WorkerDevice.ProtoReflect.Descriptor instead.

func (*WorkerDevice) GetDescription

func (x *WorkerDevice) GetDescription() string

func (*WorkerDevice) GetError

func (x *WorkerDevice) GetError() string

func (*WorkerDevice) GetId

func (x *WorkerDevice) GetId() string

func (*WorkerDevice) GetIdentityState

func (x *WorkerDevice) GetIdentityState() string

func (*WorkerDevice) GetIndex

func (x *WorkerDevice) GetIndex() int32

func (*WorkerDevice) GetMemoryFree

func (x *WorkerDevice) GetMemoryFree() int64

func (*WorkerDevice) GetMemoryFreeKnown

func (x *WorkerDevice) GetMemoryFreeKnown() bool

func (*WorkerDevice) GetMemoryTotal

func (x *WorkerDevice) GetMemoryTotal() int64

func (*WorkerDevice) GetMemoryTotalKnown

func (x *WorkerDevice) GetMemoryTotalKnown() bool

func (*WorkerDevice) GetName

func (x *WorkerDevice) GetName() string

func (*WorkerDevice) GetOperations

func (x *WorkerDevice) GetOperations() []string

func (*WorkerDevice) GetPoolId

func (x *WorkerDevice) GetPoolId() string

func (*WorkerDevice) GetSharedMemory

func (x *WorkerDevice) GetSharedMemory() bool

func (*WorkerDevice) GetState

func (x *WorkerDevice) GetState() string

func (*WorkerDevice) GetType

func (x *WorkerDevice) GetType() string

func (*WorkerDevice) ProtoMessage

func (*WorkerDevice) ProtoMessage()

func (*WorkerDevice) ProtoReflect

func (x *WorkerDevice) ProtoReflect() protoreflect.Message

func (*WorkerDevice) Reset

func (x *WorkerDevice) Reset()

func (*WorkerDevice) String

func (x *WorkerDevice) String() string

type WorkerExecution

type WorkerExecution struct {
	Context        int32                       `protobuf:"varint,1,opt,name=context,proto3" json:"context,omitempty"`
	Threads        int32                       `protobuf:"varint,2,opt,name=threads,proto3" json:"threads,omitempty"`
	Batch          int32                       `protobuf:"varint,3,opt,name=batch,proto3" json:"batch,omitempty"`
	KvCacheType    string                      `protobuf:"bytes,4,opt,name=kv_cache_type,json=kvCacheType,proto3" json:"kv_cache_type,omitempty"`
	ClientId       string                      `protobuf:"bytes,5,opt,name=client_id,proto3" json:"client_id,omitempty"`
	Completion     *WorkerCompletionProtection `protobuf:"bytes,6,opt,name=completion,proto3" json:"completion,omitempty"`
	Target         *WorkerExecutionTarget      `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
	Role           string                      `protobuf:"bytes,8,opt,name=role,proto3" json:"role,omitempty"`
	Priority       string                      `protobuf:"bytes,9,opt,name=priority,proto3" json:"priority,omitempty"`
	RequesterId    string                      `protobuf:"bytes,10,opt,name=requester_id,proto3" json:"requester_id,omitempty"`
	Supersede      bool                        `protobuf:"varint,11,opt,name=supersede,proto3" json:"supersede,omitempty"`
	Memory         string                      `protobuf:"bytes,12,opt,name=memory,proto3" json:"memory,omitempty"`
	Reserve        string                      `protobuf:"bytes,13,opt,name=reserve,proto3" json:"reserve,omitempty"`
	ColdMemory     string                      `protobuf:"bytes,14,opt,name=cold_memory,json=coldMemory,proto3" json:"cold_memory,omitempty"`
	IdleTtl        string                      `protobuf:"bytes,15,opt,name=idle_ttl,json=idleTtl,proto3" json:"idle_ttl,omitempty"`
	Headroom       string                      `protobuf:"bytes,16,opt,name=headroom,proto3" json:"headroom,omitempty"`
	ComputeReserve string                      `protobuf:"bytes,17,opt,name=compute_reserve,json=computeReserve,proto3" json:"compute_reserve,omitempty"`
	MinHotContext  string                      `protobuf:"bytes,18,opt,name=min_hot_context,json=minHotContext,proto3" json:"min_hot_context,omitempty"`
	// contains filtered or unexported fields
}

WorkerExecution is the reviewed allocation a launch carries.

func (*WorkerExecution) Descriptor deprecated

func (*WorkerExecution) Descriptor() ([]byte, []int)

Deprecated: Use WorkerExecution.ProtoReflect.Descriptor instead.

func (*WorkerExecution) GetBatch

func (x *WorkerExecution) GetBatch() int32

func (*WorkerExecution) GetClientId

func (x *WorkerExecution) GetClientId() string

func (*WorkerExecution) GetColdMemory

func (x *WorkerExecution) GetColdMemory() string

func (*WorkerExecution) GetCompletion

func (x *WorkerExecution) GetCompletion() *WorkerCompletionProtection

func (*WorkerExecution) GetComputeReserve

func (x *WorkerExecution) GetComputeReserve() string

func (*WorkerExecution) GetContext

func (x *WorkerExecution) GetContext() int32

func (*WorkerExecution) GetHeadroom

func (x *WorkerExecution) GetHeadroom() string

func (*WorkerExecution) GetIdleTtl

func (x *WorkerExecution) GetIdleTtl() string

func (*WorkerExecution) GetKvCacheType

func (x *WorkerExecution) GetKvCacheType() string

func (*WorkerExecution) GetMemory

func (x *WorkerExecution) GetMemory() string

func (*WorkerExecution) GetMinHotContext

func (x *WorkerExecution) GetMinHotContext() string

func (*WorkerExecution) GetPriority

func (x *WorkerExecution) GetPriority() string

func (*WorkerExecution) GetRequesterId

func (x *WorkerExecution) GetRequesterId() string

func (*WorkerExecution) GetReserve

func (x *WorkerExecution) GetReserve() string

func (*WorkerExecution) GetRole

func (x *WorkerExecution) GetRole() string

func (*WorkerExecution) GetSupersede

func (x *WorkerExecution) GetSupersede() bool

func (*WorkerExecution) GetTarget

func (x *WorkerExecution) GetTarget() *WorkerExecutionTarget

func (*WorkerExecution) GetThreads

func (x *WorkerExecution) GetThreads() int32

func (*WorkerExecution) ProtoMessage

func (*WorkerExecution) ProtoMessage()

func (*WorkerExecution) ProtoReflect

func (x *WorkerExecution) ProtoReflect() protoreflect.Message

func (*WorkerExecution) Reset

func (x *WorkerExecution) Reset()

func (*WorkerExecution) String

func (x *WorkerExecution) String() string

type WorkerExecutionTarget

type WorkerExecutionTarget struct {
	Mode     string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

WorkerExecutionTarget selects physical placement independently of the model and backend. mode is "automatic", "cpu" or "accelerator"; an accelerator target names the physical device it binds to.

func (*WorkerExecutionTarget) Descriptor deprecated

func (*WorkerExecutionTarget) Descriptor() ([]byte, []int)

Deprecated: Use WorkerExecutionTarget.ProtoReflect.Descriptor instead.

func (*WorkerExecutionTarget) GetDeviceId

func (x *WorkerExecutionTarget) GetDeviceId() string

func (*WorkerExecutionTarget) GetMode

func (x *WorkerExecutionTarget) GetMode() string

func (*WorkerExecutionTarget) ProtoMessage

func (*WorkerExecutionTarget) ProtoMessage()

func (*WorkerExecutionTarget) ProtoReflect

func (x *WorkerExecutionTarget) ProtoReflect() protoreflect.Message

func (*WorkerExecutionTarget) Reset

func (x *WorkerExecutionTarget) Reset()

func (*WorkerExecutionTarget) String

func (x *WorkerExecutionTarget) String() string

type WorkerHost

type WorkerHost struct {

	// target is "local" or "connection"; empty means this installation.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// connection_id names the saved connection a "connection" target reads.
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

WorkerHost selects this installation or one saved modeld connection.

func (*WorkerHost) Descriptor deprecated

func (*WorkerHost) Descriptor() ([]byte, []int)

Deprecated: Use WorkerHost.ProtoReflect.Descriptor instead.

func (*WorkerHost) GetConnectionId

func (x *WorkerHost) GetConnectionId() string

func (*WorkerHost) GetTarget

func (x *WorkerHost) GetTarget() string

func (*WorkerHost) ProtoMessage

func (*WorkerHost) ProtoMessage()

func (*WorkerHost) ProtoReflect

func (x *WorkerHost) ProtoReflect() protoreflect.Message

func (*WorkerHost) Reset

func (x *WorkerHost) Reset()

func (*WorkerHost) String

func (x *WorkerHost) String() string

type WorkerInspection

type WorkerInspection struct {
	Status        *WorkerDaemonStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Capacity      *WorkerModelInfo    `protobuf:"bytes,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
	CapacityError string              `protobuf:"bytes,3,opt,name=capacity_error,proto3" json:"capacity_error,omitempty"`
	// contains filtered or unexported fields
}

WorkerInspection reports one existing worker's residency and capacity through its owner, without exposing a child connection. capacity_error carries why the capacity reading is absent when it is.

func (*WorkerInspection) Descriptor deprecated

func (*WorkerInspection) Descriptor() ([]byte, []int)

Deprecated: Use WorkerInspection.ProtoReflect.Descriptor instead.

func (*WorkerInspection) GetCapacity

func (x *WorkerInspection) GetCapacity() *WorkerModelInfo

func (*WorkerInspection) GetCapacityError

func (x *WorkerInspection) GetCapacityError() string

func (*WorkerInspection) GetStatus

func (x *WorkerInspection) GetStatus() *WorkerDaemonStatus

func (*WorkerInspection) ProtoMessage

func (*WorkerInspection) ProtoMessage()

func (*WorkerInspection) ProtoReflect

func (x *WorkerInspection) ProtoReflect() protoreflect.Message

func (*WorkerInspection) Reset

func (x *WorkerInspection) Reset()

func (*WorkerInspection) String

func (x *WorkerInspection) String() string

type WorkerInventory

type WorkerInventory struct {
	HostThreads int32               `protobuf:"varint,1,opt,name=host_threads,proto3" json:"host_threads,omitempty"`
	Backends    []*WorkerBackend    `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"`
	Pools       []*WorkerMemoryPool `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"`
	// contains filtered or unexported fields
}

WorkerInventory is what one execution host reports about its native availability, independently of any installed or resident model.

func (*WorkerInventory) Descriptor deprecated

func (*WorkerInventory) Descriptor() ([]byte, []int)

Deprecated: Use WorkerInventory.ProtoReflect.Descriptor instead.

func (*WorkerInventory) GetBackends

func (x *WorkerInventory) GetBackends() []*WorkerBackend

func (*WorkerInventory) GetHostThreads

func (x *WorkerInventory) GetHostThreads() int32

func (*WorkerInventory) GetPools

func (x *WorkerInventory) GetPools() []*WorkerMemoryPool

func (*WorkerInventory) ProtoMessage

func (*WorkerInventory) ProtoMessage()

func (*WorkerInventory) ProtoReflect

func (x *WorkerInventory) ProtoReflect() protoreflect.Message

func (*WorkerInventory) Reset

func (x *WorkerInventory) Reset()

func (*WorkerInventory) String

func (x *WorkerInventory) String() string

type WorkerLaunchConfig

type WorkerLaunchConfig struct {
	Operation               string                 `protobuf:"bytes,1,opt,name=operation,json=Operation,proto3" json:"operation,omitempty"`
	AdmissionPermit         *WorkerPermit          `protobuf:"bytes,2,opt,name=admission_permit,json=AdmissionPermit,proto3" json:"admission_permit,omitempty"`
	Target                  *WorkerExecutionTarget `protobuf:"bytes,3,opt,name=target,json=Target,proto3" json:"target,omitempty"`
	Execution               *WorkerExecution       `protobuf:"bytes,4,opt,name=execution,json=Execution,proto3" json:"execution,omitempty"`
	SessionNamespace        string                 `protobuf:"bytes,5,opt,name=session_namespace,json=SessionNamespace,proto3" json:"session_namespace,omitempty"`
	EmbeddingPooling        string                 `protobuf:"bytes,6,opt,name=embedding_pooling,json=EmbeddingPooling,proto3" json:"embedding_pooling,omitempty"`
	NumCtx                  int32                  `protobuf:"varint,7,opt,name=num_ctx,json=NumCtx,proto3" json:"num_ctx,omitempty"`
	HotContextTokens        int32                  `protobuf:"varint,8,opt,name=hot_context_tokens,json=HotContextTokens,proto3" json:"hot_context_tokens,omitempty"`
	PlannerEffectiveContext int32                  `` /* 133-byte string literal not displayed */
	NumBatch                int32                  `protobuf:"varint,10,opt,name=num_batch,json=NumBatch,proto3" json:"num_batch,omitempty"`
	NumThreads              int32                  `protobuf:"varint,11,opt,name=num_threads,json=NumThreads,proto3" json:"num_threads,omitempty"`
	NumGpuLayers            int32                  `protobuf:"varint,12,opt,name=num_gpu_layers,json=NumGpuLayers,proto3" json:"num_gpu_layers,omitempty"`
	TensorSplit             []float32              `protobuf:"fixed32,13,rep,packed,name=tensor_split,json=TensorSplit,proto3" json:"tensor_split,omitempty"`
	FlashAttn               bool                   `protobuf:"varint,14,opt,name=flash_attn,json=FlashAttn,proto3" json:"flash_attn,omitempty"`
	KvCacheType             string                 `protobuf:"bytes,15,opt,name=kv_cache_type,json=KVCacheType,proto3" json:"kv_cache_type,omitempty"`
	PromptFormat            string                 `protobuf:"bytes,16,opt,name=prompt_format,json=PromptFormat,proto3" json:"prompt_format,omitempty"`
	PromptTemplateDigest    string                 `protobuf:"bytes,17,opt,name=prompt_template_digest,json=PromptTemplateDigest,proto3" json:"prompt_template_digest,omitempty"`
	DisableBos              bool                   `protobuf:"varint,18,opt,name=disable_bos,json=DisableBOS,proto3" json:"disable_bos,omitempty"`
	ReasoningFormat         string                 `protobuf:"bytes,19,opt,name=reasoning_format,json=ReasoningFormat,proto3" json:"reasoning_format,omitempty"`
	// contains filtered or unexported fields
}

WorkerLaunchConfig is one managed launch's explicit hardware and runtime configuration.

func (*WorkerLaunchConfig) Descriptor deprecated

func (*WorkerLaunchConfig) Descriptor() ([]byte, []int)

Deprecated: Use WorkerLaunchConfig.ProtoReflect.Descriptor instead.

func (*WorkerLaunchConfig) GetAdmissionPermit

func (x *WorkerLaunchConfig) GetAdmissionPermit() *WorkerPermit

func (*WorkerLaunchConfig) GetDisableBos

func (x *WorkerLaunchConfig) GetDisableBos() bool

func (*WorkerLaunchConfig) GetEmbeddingPooling

func (x *WorkerLaunchConfig) GetEmbeddingPooling() string

func (*WorkerLaunchConfig) GetExecution

func (x *WorkerLaunchConfig) GetExecution() *WorkerExecution

func (*WorkerLaunchConfig) GetFlashAttn

func (x *WorkerLaunchConfig) GetFlashAttn() bool

func (*WorkerLaunchConfig) GetHotContextTokens

func (x *WorkerLaunchConfig) GetHotContextTokens() int32

func (*WorkerLaunchConfig) GetKvCacheType

func (x *WorkerLaunchConfig) GetKvCacheType() string

func (*WorkerLaunchConfig) GetNumBatch

func (x *WorkerLaunchConfig) GetNumBatch() int32

func (*WorkerLaunchConfig) GetNumCtx

func (x *WorkerLaunchConfig) GetNumCtx() int32

func (*WorkerLaunchConfig) GetNumGpuLayers

func (x *WorkerLaunchConfig) GetNumGpuLayers() int32

func (*WorkerLaunchConfig) GetNumThreads

func (x *WorkerLaunchConfig) GetNumThreads() int32

func (*WorkerLaunchConfig) GetOperation

func (x *WorkerLaunchConfig) GetOperation() string

func (*WorkerLaunchConfig) GetPlannerEffectiveContext

func (x *WorkerLaunchConfig) GetPlannerEffectiveContext() int32

func (*WorkerLaunchConfig) GetPromptFormat

func (x *WorkerLaunchConfig) GetPromptFormat() string

func (*WorkerLaunchConfig) GetPromptTemplateDigest

func (x *WorkerLaunchConfig) GetPromptTemplateDigest() string

func (*WorkerLaunchConfig) GetReasoningFormat

func (x *WorkerLaunchConfig) GetReasoningFormat() string

func (*WorkerLaunchConfig) GetSessionNamespace

func (x *WorkerLaunchConfig) GetSessionNamespace() string

func (*WorkerLaunchConfig) GetTarget

func (x *WorkerLaunchConfig) GetTarget() *WorkerExecutionTarget

func (*WorkerLaunchConfig) GetTensorSplit

func (x *WorkerLaunchConfig) GetTensorSplit() []float32

func (*WorkerLaunchConfig) ProtoMessage

func (*WorkerLaunchConfig) ProtoMessage()

func (*WorkerLaunchConfig) ProtoReflect

func (x *WorkerLaunchConfig) ProtoReflect() protoreflect.Message

func (*WorkerLaunchConfig) Reset

func (x *WorkerLaunchConfig) Reset()

func (*WorkerLaunchConfig) String

func (x *WorkerLaunchConfig) String() string

type WorkerMemoryPool

type WorkerMemoryPool struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind           string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	TotalBytes     int64  `protobuf:"varint,3,opt,name=total_bytes,proto3" json:"total_bytes,omitempty"`
	AvailableBytes int64  `protobuf:"varint,4,opt,name=available_bytes,proto3" json:"available_bytes,omitempty"`
	State          string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	Error          string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

WorkerMemoryPool identifies a physical allocation pool; devices sharing host memory reference the same pool.

func (*WorkerMemoryPool) Descriptor deprecated

func (*WorkerMemoryPool) Descriptor() ([]byte, []int)

Deprecated: Use WorkerMemoryPool.ProtoReflect.Descriptor instead.

func (*WorkerMemoryPool) GetAvailableBytes

func (x *WorkerMemoryPool) GetAvailableBytes() int64

func (*WorkerMemoryPool) GetError

func (x *WorkerMemoryPool) GetError() string

func (*WorkerMemoryPool) GetId

func (x *WorkerMemoryPool) GetId() string

func (*WorkerMemoryPool) GetKind

func (x *WorkerMemoryPool) GetKind() string

func (*WorkerMemoryPool) GetState

func (x *WorkerMemoryPool) GetState() string

func (*WorkerMemoryPool) GetTotalBytes

func (x *WorkerMemoryPool) GetTotalBytes() int64

func (*WorkerMemoryPool) ProtoMessage

func (*WorkerMemoryPool) ProtoMessage()

func (*WorkerMemoryPool) ProtoReflect

func (x *WorkerMemoryPool) ProtoReflect() protoreflect.Message

func (*WorkerMemoryPool) Reset

func (x *WorkerMemoryPool) Reset()

func (*WorkerMemoryPool) String

func (x *WorkerMemoryPool) String() string

type WorkerModelInfo

type WorkerModelInfo struct {
	Allocation              *WorkerNativeAllocation `protobuf:"bytes,1,opt,name=allocation,proto3" json:"allocation,omitempty"`
	SupportsEmbedding       bool                    `protobuf:"varint,2,opt,name=supports_embedding,proto3" json:"supports_embedding,omitempty"`
	ModelMaxContext         int32                   `protobuf:"varint,3,opt,name=model_max_context,proto3" json:"model_max_context,omitempty"`
	EffectiveContext        int32                   `protobuf:"varint,4,opt,name=effective_context,proto3" json:"effective_context,omitempty"`
	MemoryContextTokens     int32                   `protobuf:"varint,5,opt,name=memory_context_tokens,proto3" json:"memory_context_tokens,omitempty"`
	HotContextTokens        int32                   `protobuf:"varint,6,opt,name=hot_context_tokens,proto3" json:"hot_context_tokens,omitempty"`
	PlannerEffectiveContext int32                   `protobuf:"varint,7,opt,name=planner_effective_context,proto3" json:"planner_effective_context,omitempty"`
	KvBytesPerToken         int64                   `protobuf:"varint,8,opt,name=kv_bytes_per_token,proto3" json:"kv_bytes_per_token,omitempty"`
	FreeBytes               int64                   `protobuf:"varint,9,opt,name=free_bytes,proto3" json:"free_bytes,omitempty"`
	WeightsBytes            int64                   `protobuf:"varint,10,opt,name=weights_bytes,proto3" json:"weights_bytes,omitempty"`
	OverheadBytes           int64                   `protobuf:"varint,11,opt,name=overhead_bytes,proto3" json:"overhead_bytes,omitempty"`
	ReservedBytes           int64                   `protobuf:"varint,12,opt,name=reserved_bytes,proto3" json:"reserved_bytes,omitempty"`
	UserLimitBytes          int64                   `protobuf:"varint,13,opt,name=user_limit_bytes,proto3" json:"user_limit_bytes,omitempty"`
	MinFreeBytes            int64                   `protobuf:"varint,14,opt,name=min_free_bytes,proto3" json:"min_free_bytes,omitempty"`
	HostColdBudgetBytes     int64                   `protobuf:"varint,15,opt,name=host_cold_budget_bytes,proto3" json:"host_cold_budget_bytes,omitempty"`
	UsableBytes             int64                   `protobuf:"varint,16,opt,name=usable_bytes,proto3" json:"usable_bytes,omitempty"`
	RequiredBytes           int64                   `protobuf:"varint,17,opt,name=required_bytes,proto3" json:"required_bytes,omitempty"`
	Clamped                 bool                    `protobuf:"varint,18,opt,name=clamped,proto3" json:"clamped,omitempty"`
	Reason                  string                  `protobuf:"bytes,19,opt,name=reason,proto3" json:"reason,omitempty"`
	DeviceKind              string                  `protobuf:"bytes,20,opt,name=device_kind,proto3" json:"device_kind,omitempty"`
	DeviceId                string                  `protobuf:"bytes,21,opt,name=device_id,proto3" json:"device_id,omitempty"`
	DeviceTotalBytes        int64                   `protobuf:"varint,22,opt,name=device_total_bytes,proto3" json:"device_total_bytes,omitempty"`
	SharedWithDisplay       bool                    `protobuf:"varint,23,opt,name=shared_with_display,proto3" json:"shared_with_display,omitempty"`
	// contains filtered or unexported fields
}

WorkerModelInfo is a model's capabilities as the owner read them, and the capacity decision it made from them.

func (*WorkerModelInfo) Descriptor deprecated

func (*WorkerModelInfo) Descriptor() ([]byte, []int)

Deprecated: Use WorkerModelInfo.ProtoReflect.Descriptor instead.

func (*WorkerModelInfo) GetAllocation

func (x *WorkerModelInfo) GetAllocation() *WorkerNativeAllocation

func (*WorkerModelInfo) GetClamped

func (x *WorkerModelInfo) GetClamped() bool

func (*WorkerModelInfo) GetDeviceId

func (x *WorkerModelInfo) GetDeviceId() string

func (*WorkerModelInfo) GetDeviceKind

func (x *WorkerModelInfo) GetDeviceKind() string

func (*WorkerModelInfo) GetDeviceTotalBytes

func (x *WorkerModelInfo) GetDeviceTotalBytes() int64

func (*WorkerModelInfo) GetEffectiveContext

func (x *WorkerModelInfo) GetEffectiveContext() int32

func (*WorkerModelInfo) GetFreeBytes

func (x *WorkerModelInfo) GetFreeBytes() int64

func (*WorkerModelInfo) GetHostColdBudgetBytes

func (x *WorkerModelInfo) GetHostColdBudgetBytes() int64

func (*WorkerModelInfo) GetHotContextTokens

func (x *WorkerModelInfo) GetHotContextTokens() int32

func (*WorkerModelInfo) GetKvBytesPerToken

func (x *WorkerModelInfo) GetKvBytesPerToken() int64

func (*WorkerModelInfo) GetMemoryContextTokens

func (x *WorkerModelInfo) GetMemoryContextTokens() int32

func (*WorkerModelInfo) GetMinFreeBytes

func (x *WorkerModelInfo) GetMinFreeBytes() int64

func (*WorkerModelInfo) GetModelMaxContext

func (x *WorkerModelInfo) GetModelMaxContext() int32

func (*WorkerModelInfo) GetOverheadBytes

func (x *WorkerModelInfo) GetOverheadBytes() int64

func (*WorkerModelInfo) GetPlannerEffectiveContext

func (x *WorkerModelInfo) GetPlannerEffectiveContext() int32

func (*WorkerModelInfo) GetReason

func (x *WorkerModelInfo) GetReason() string

func (*WorkerModelInfo) GetRequiredBytes

func (x *WorkerModelInfo) GetRequiredBytes() int64

func (*WorkerModelInfo) GetReservedBytes

func (x *WorkerModelInfo) GetReservedBytes() int64

func (*WorkerModelInfo) GetSharedWithDisplay

func (x *WorkerModelInfo) GetSharedWithDisplay() bool

func (*WorkerModelInfo) GetSupportsEmbedding

func (x *WorkerModelInfo) GetSupportsEmbedding() bool

func (*WorkerModelInfo) GetUsableBytes

func (x *WorkerModelInfo) GetUsableBytes() int64

func (*WorkerModelInfo) GetUserLimitBytes

func (x *WorkerModelInfo) GetUserLimitBytes() int64

func (*WorkerModelInfo) GetWeightsBytes

func (x *WorkerModelInfo) GetWeightsBytes() int64

func (*WorkerModelInfo) ProtoMessage

func (*WorkerModelInfo) ProtoMessage()

func (*WorkerModelInfo) ProtoReflect

func (x *WorkerModelInfo) ProtoReflect() protoreflect.Message

func (*WorkerModelInfo) Reset

func (x *WorkerModelInfo) Reset()

func (*WorkerModelInfo) String

func (x *WorkerModelInfo) String() string

type WorkerNativeAllocation

type WorkerNativeAllocation struct {
	Devices   []*WorkerDevice     `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	Config    *WorkerLaunchConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Resources *WorkerAllocation   `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

WorkerNativeAllocation is the allocation a managed load claimed.

func (*WorkerNativeAllocation) Descriptor deprecated

func (*WorkerNativeAllocation) Descriptor() ([]byte, []int)

Deprecated: Use WorkerNativeAllocation.ProtoReflect.Descriptor instead.

func (*WorkerNativeAllocation) GetConfig

func (*WorkerNativeAllocation) GetDevices

func (x *WorkerNativeAllocation) GetDevices() []*WorkerDevice

func (*WorkerNativeAllocation) GetResources

func (x *WorkerNativeAllocation) GetResources() *WorkerAllocation

func (*WorkerNativeAllocation) ProtoMessage

func (*WorkerNativeAllocation) ProtoMessage()

func (*WorkerNativeAllocation) ProtoReflect

func (x *WorkerNativeAllocation) ProtoReflect() protoreflect.Message

func (*WorkerNativeAllocation) Reset

func (x *WorkerNativeAllocation) Reset()

func (*WorkerNativeAllocation) String

func (x *WorkerNativeAllocation) String() string

type WorkerOptions

type WorkerOptions struct {

	// scheduling_mode is "protected", "serialized" or empty.
	SchedulingMode string `protobuf:"bytes,1,opt,name=scheduling_mode,proto3" json:"scheduling_mode,omitempty"`
	Context        int32  `protobuf:"varint,2,opt,name=context,proto3" json:"context,omitempty"`
	Threads        int32  `protobuf:"varint,3,opt,name=threads,proto3" json:"threads,omitempty"`
	Batch          int32  `protobuf:"varint,4,opt,name=batch,proto3" json:"batch,omitempty"`
	// kv_cache_type is "f16", "q8_0", "q4_0" or empty.
	KvCacheType string `protobuf:"bytes,5,opt,name=kv_cache_type,proto3" json:"kv_cache_type,omitempty"`
	// residency is "protected", "on-demand" or empty.
	Residency string                 `protobuf:"bytes,6,opt,name=residency,proto3" json:"residency,omitempty"`
	Target    *WorkerExecutionTarget `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
	// backend is "llama", "openvino" or empty.
	Backend        string `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"`
	Memory         string `protobuf:"bytes,9,opt,name=memory,proto3" json:"memory,omitempty"`
	Reserve        string `protobuf:"bytes,10,opt,name=reserve,proto3" json:"reserve,omitempty"`
	ColdMemory     string `protobuf:"bytes,11,opt,name=cold_memory,proto3" json:"cold_memory,omitempty"`
	IdleTtl        string `protobuf:"bytes,12,opt,name=idle_ttl,proto3" json:"idle_ttl,omitempty"`
	Headroom       string `protobuf:"bytes,13,opt,name=headroom,proto3" json:"headroom,omitempty"`
	ComputeReserve string `protobuf:"bytes,14,opt,name=compute_reserve,proto3" json:"compute_reserve,omitempty"`
	MinHotContext  string `protobuf:"bytes,15,opt,name=min_hot_context,proto3" json:"min_hot_context,omitempty"`
	// contains filtered or unexported fields
}

WorkerOptions configures one role's managed local process. Every member is a reviewed choice: a zero or empty one selects the backend's own policy rather than a guessed default.

func (*WorkerOptions) Descriptor deprecated

func (*WorkerOptions) Descriptor() ([]byte, []int)

Deprecated: Use WorkerOptions.ProtoReflect.Descriptor instead.

func (*WorkerOptions) GetBackend

func (x *WorkerOptions) GetBackend() string

func (*WorkerOptions) GetBatch

func (x *WorkerOptions) GetBatch() int32

func (*WorkerOptions) GetColdMemory

func (x *WorkerOptions) GetColdMemory() string

func (*WorkerOptions) GetComputeReserve

func (x *WorkerOptions) GetComputeReserve() string

func (*WorkerOptions) GetContext

func (x *WorkerOptions) GetContext() int32

func (*WorkerOptions) GetHeadroom

func (x *WorkerOptions) GetHeadroom() string

func (*WorkerOptions) GetIdleTtl

func (x *WorkerOptions) GetIdleTtl() string

func (*WorkerOptions) GetKvCacheType

func (x *WorkerOptions) GetKvCacheType() string

func (*WorkerOptions) GetMemory

func (x *WorkerOptions) GetMemory() string

func (*WorkerOptions) GetMinHotContext

func (x *WorkerOptions) GetMinHotContext() string

func (*WorkerOptions) GetReserve

func (x *WorkerOptions) GetReserve() string

func (*WorkerOptions) GetResidency

func (x *WorkerOptions) GetResidency() string

func (*WorkerOptions) GetSchedulingMode

func (x *WorkerOptions) GetSchedulingMode() string

func (*WorkerOptions) GetTarget

func (x *WorkerOptions) GetTarget() *WorkerExecutionTarget

func (*WorkerOptions) GetThreads

func (x *WorkerOptions) GetThreads() int32

func (*WorkerOptions) ProtoMessage

func (*WorkerOptions) ProtoMessage()

func (*WorkerOptions) ProtoReflect

func (x *WorkerOptions) ProtoReflect() protoreflect.Message

func (*WorkerOptions) Reset

func (x *WorkerOptions) Reset()

func (*WorkerOptions) String

func (x *WorkerOptions) String() string

type WorkerPermit

type WorkerPermit struct {
	Id         uint64 `protobuf:"varint,1,opt,name=id,json=ID,proto3" json:"id,omitempty"`
	WorkerId   string `protobuf:"bytes,2,opt,name=worker_id,json=WorkerID,proto3" json:"worker_id,omitempty"`
	OwnerEpoch string `protobuf:"bytes,3,opt,name=owner_epoch,json=OwnerEpoch,proto3" json:"owner_epoch,omitempty"`
	// contains filtered or unexported fields
}

WorkerPermit binds a managed child operation to its owner's accepted request.

func (*WorkerPermit) Descriptor deprecated

func (*WorkerPermit) Descriptor() ([]byte, []int)

Deprecated: Use WorkerPermit.ProtoReflect.Descriptor instead.

func (*WorkerPermit) GetId

func (x *WorkerPermit) GetId() uint64

func (*WorkerPermit) GetOwnerEpoch

func (x *WorkerPermit) GetOwnerEpoch() string

func (*WorkerPermit) GetWorkerId

func (x *WorkerPermit) GetWorkerId() string

func (*WorkerPermit) ProtoMessage

func (*WorkerPermit) ProtoMessage()

func (*WorkerPermit) ProtoReflect

func (x *WorkerPermit) ProtoReflect() protoreflect.Message

func (*WorkerPermit) Reset

func (x *WorkerPermit) Reset()

func (*WorkerPermit) String

func (x *WorkerPermit) String() string

type WorkerPoolAllocation

type WorkerPoolAllocation struct {
	PoolId         string `protobuf:"bytes,1,opt,name=pool_id,json=PoolID,proto3" json:"pool_id,omitempty"`
	Bytes          int64  `protobuf:"varint,2,opt,name=bytes,json=Bytes,proto3" json:"bytes,omitempty"`
	LimitBytes     int64  `protobuf:"varint,3,opt,name=limit_bytes,json=LimitBytes,proto3" json:"limit_bytes,omitempty"`
	AvailableBytes int64  `protobuf:"varint,4,opt,name=available_bytes,json=AvailableBytes,proto3" json:"available_bytes,omitempty"`
	TotalBytes     int64  `protobuf:"varint,5,opt,name=total_bytes,json=TotalBytes,proto3" json:"total_bytes,omitempty"`
	// contains filtered or unexported fields
}

WorkerPoolAllocation is one pool's claim: what it holds, what it may hold, what is left, and the pool's physical size a device ceiling is a share of.

func (*WorkerPoolAllocation) Descriptor deprecated

func (*WorkerPoolAllocation) Descriptor() ([]byte, []int)

Deprecated: Use WorkerPoolAllocation.ProtoReflect.Descriptor instead.

func (*WorkerPoolAllocation) GetAvailableBytes

func (x *WorkerPoolAllocation) GetAvailableBytes() int64

func (*WorkerPoolAllocation) GetBytes

func (x *WorkerPoolAllocation) GetBytes() int64

func (*WorkerPoolAllocation) GetLimitBytes

func (x *WorkerPoolAllocation) GetLimitBytes() int64

func (*WorkerPoolAllocation) GetPoolId

func (x *WorkerPoolAllocation) GetPoolId() string

func (*WorkerPoolAllocation) GetTotalBytes

func (x *WorkerPoolAllocation) GetTotalBytes() int64

func (*WorkerPoolAllocation) ProtoMessage

func (*WorkerPoolAllocation) ProtoMessage()

func (*WorkerPoolAllocation) ProtoReflect

func (x *WorkerPoolAllocation) ProtoReflect() protoreflect.Message

func (*WorkerPoolAllocation) Reset

func (x *WorkerPoolAllocation) Reset()

func (*WorkerPoolAllocation) String

func (x *WorkerPoolAllocation) String() string

type WorkerProtection

type WorkerProtection struct {
	ClientId string                  `protobuf:"bytes,1,opt,name=client_id,json=ClientID,proto3" json:"client_id,omitempty"`
	Identity string                  `protobuf:"bytes,2,opt,name=identity,json=Identity,proto3" json:"identity,omitempty"`
	Pools    []*WorkerPoolAllocation `protobuf:"bytes,3,rep,name=pools,json=Pools,proto3" json:"pools,omitempty"`
	// contains filtered or unexported fields
}

WorkerProtection reserves a reviewed completion route before its worker is resident.

func (*WorkerProtection) Descriptor deprecated

func (*WorkerProtection) Descriptor() ([]byte, []int)

Deprecated: Use WorkerProtection.ProtoReflect.Descriptor instead.

func (*WorkerProtection) GetClientId

func (x *WorkerProtection) GetClientId() string

func (*WorkerProtection) GetIdentity

func (x *WorkerProtection) GetIdentity() string

func (*WorkerProtection) GetPools

func (x *WorkerProtection) GetPools() []*WorkerPoolAllocation

func (*WorkerProtection) ProtoMessage

func (*WorkerProtection) ProtoMessage()

func (*WorkerProtection) ProtoReflect

func (x *WorkerProtection) ProtoReflect() protoreflect.Message

func (*WorkerProtection) Reset

func (x *WorkerProtection) Reset()

func (*WorkerProtection) String

func (x *WorkerProtection) String() string

type WorkerRequest

type WorkerRequest struct {
	Host *WorkerHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

WorkerRequest is the request of _contenox/workers/status and _contenox/workers/restart: which execution host to read or restart. An absent target selects this installation.

func (*WorkerRequest) Descriptor deprecated

func (*WorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use WorkerRequest.ProtoReflect.Descriptor instead.

func (*WorkerRequest) GetHost

func (x *WorkerRequest) GetHost() *WorkerHost

func (*WorkerRequest) ProtoMessage

func (*WorkerRequest) ProtoMessage()

func (*WorkerRequest) ProtoReflect

func (x *WorkerRequest) ProtoReflect() protoreflect.Message

func (*WorkerRequest) Reset

func (x *WorkerRequest) Reset()

func (*WorkerRequest) String

func (x *WorkerRequest) String() string

type WorkerResources

type WorkerResources struct {
	Allocations []*WorkerAllocation `protobuf:"bytes,1,rep,name=allocations,json=Allocations,proto3" json:"allocations,omitempty"`
	Protections []*WorkerProtection `protobuf:"bytes,2,rep,name=protections,json=Protections,proto3" json:"protections,omitempty"`
	Ceilings    map[string]float64  `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

WorkerResources reports resident allocations, configured completion reservations and the device ceilings bounding each pool, as pool id to a share of the pool's total bytes; a pool without a ceiling is absent.

func (*WorkerResources) Descriptor deprecated

func (*WorkerResources) Descriptor() ([]byte, []int)

Deprecated: Use WorkerResources.ProtoReflect.Descriptor instead.

func (*WorkerResources) GetAllocations

func (x *WorkerResources) GetAllocations() []*WorkerAllocation

func (*WorkerResources) GetCeilings

func (x *WorkerResources) GetCeilings() map[string]float64

func (*WorkerResources) GetProtections

func (x *WorkerResources) GetProtections() []*WorkerProtection

func (*WorkerResources) ProtoMessage

func (*WorkerResources) ProtoMessage()

func (*WorkerResources) ProtoReflect

func (x *WorkerResources) ProtoReflect() protoreflect.Message

func (*WorkerResources) Reset

func (x *WorkerResources) Reset()

func (*WorkerResources) String

func (x *WorkerResources) String() string

type WorkerScheduling

type WorkerScheduling struct {
	SingleActiveRequest bool     `protobuf:"varint,1,opt,name=single_active_request,proto3" json:"single_active_request,omitempty"`
	CooperativeYield    bool     `protobuf:"varint,2,opt,name=cooperative_yield,proto3" json:"cooperative_yield,omitempty"`
	ThreadControl       bool     `protobuf:"varint,3,opt,name=thread_control,proto3" json:"thread_control,omitempty"`
	YieldOperations     []string `protobuf:"bytes,4,rep,name=yield_operations,proto3" json:"yield_operations,omitempty"`
	Limitations         []string `protobuf:"bytes,5,rep,name=limitations,proto3" json:"limitations,omitempty"`
	// contains filtered or unexported fields
}

WorkerScheduling reports the native boundaries available to the owner scheduler. Every member is advisory: a backend that cannot yield says so.

func (*WorkerScheduling) Descriptor deprecated

func (*WorkerScheduling) Descriptor() ([]byte, []int)

Deprecated: Use WorkerScheduling.ProtoReflect.Descriptor instead.

func (*WorkerScheduling) GetCooperativeYield

func (x *WorkerScheduling) GetCooperativeYield() bool

func (*WorkerScheduling) GetLimitations

func (x *WorkerScheduling) GetLimitations() []string

func (*WorkerScheduling) GetSingleActiveRequest

func (x *WorkerScheduling) GetSingleActiveRequest() bool

func (*WorkerScheduling) GetThreadControl

func (x *WorkerScheduling) GetThreadControl() bool

func (*WorkerScheduling) GetYieldOperations

func (x *WorkerScheduling) GetYieldOperations() []string

func (*WorkerScheduling) ProtoMessage

func (*WorkerScheduling) ProtoMessage()

func (*WorkerScheduling) ProtoReflect

func (x *WorkerScheduling) ProtoReflect() protoreflect.Message

func (*WorkerScheduling) Reset

func (x *WorkerScheduling) Reset()

func (*WorkerScheduling) String

func (x *WorkerScheduling) String() string

type WorkerSnapshot

type WorkerSnapshot struct {
	Resources *WorkerResources       `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
	Contract  *ServiceContract       `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Admission *WorkerAdmissionPolicy `protobuf:"bytes,3,opt,name=admission,proto3" json:"admission,omitempty"`
	// options carries one entry per role this installation has reviewed.
	Options map[string]*WorkerOptions `` /* 141-byte string literal not displayed */
	// option_errors carries why a role's saved options could not be read, keyed
	// by role; a role whose options read cleanly is absent.
	OptionErrors   map[string]string `` /* 153-byte string literal not displayed */
	Workers        []*WorkerStatus   `protobuf:"bytes,6,rep,name=workers,proto3" json:"workers,omitempty"`
	OwnerState     string            `protobuf:"bytes,7,opt,name=owner_state,proto3" json:"owner_state,omitempty"`
	OwnerError     string            `protobuf:"bytes,8,opt,name=owner_error,proto3" json:"owner_error,omitempty"`
	AdmissionError string            `protobuf:"bytes,9,opt,name=admission_error,proto3" json:"admission_error,omitempty"`
	// contains filtered or unexported fields
}

WorkerSnapshot is the status of this installation's local execution: its saved configuration, reviewed admission bounds, per-role launch options, and the workers the owner currently holds.

owner_state and the two error members report an unavailable owner as a state rather than as a failed read: a machine with no local execution still has settings to review, which is what the configuration surfaces read.

func (*WorkerSnapshot) Descriptor deprecated

func (*WorkerSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use WorkerSnapshot.ProtoReflect.Descriptor instead.

func (*WorkerSnapshot) GetAdmission

func (x *WorkerSnapshot) GetAdmission() *WorkerAdmissionPolicy

func (*WorkerSnapshot) GetAdmissionError

func (x *WorkerSnapshot) GetAdmissionError() string

func (*WorkerSnapshot) GetContract

func (x *WorkerSnapshot) GetContract() *ServiceContract

func (*WorkerSnapshot) GetOptionErrors

func (x *WorkerSnapshot) GetOptionErrors() map[string]string

func (*WorkerSnapshot) GetOptions

func (x *WorkerSnapshot) GetOptions() map[string]*WorkerOptions

func (*WorkerSnapshot) GetOwnerError

func (x *WorkerSnapshot) GetOwnerError() string

func (*WorkerSnapshot) GetOwnerState

func (x *WorkerSnapshot) GetOwnerState() string

func (*WorkerSnapshot) GetResources

func (x *WorkerSnapshot) GetResources() *WorkerResources

func (*WorkerSnapshot) GetWorkers

func (x *WorkerSnapshot) GetWorkers() []*WorkerStatus

func (*WorkerSnapshot) ProtoMessage

func (*WorkerSnapshot) ProtoMessage()

func (*WorkerSnapshot) ProtoReflect

func (x *WorkerSnapshot) ProtoReflect() protoreflect.Message

func (*WorkerSnapshot) Reset

func (x *WorkerSnapshot) Reset()

func (*WorkerSnapshot) String

func (x *WorkerSnapshot) String() string

type WorkerSpec

type WorkerSpec struct {
	ConfigurationDigest string              `protobuf:"bytes,1,opt,name=configuration_digest,json=configurationDigest,proto3" json:"configuration_digest,omitempty"`
	Digest              string              `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	Config              *WorkerLaunchConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	Role                string              `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	Model               string              `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	Backend             string              `protobuf:"bytes,6,opt,name=backend,proto3" json:"backend,omitempty"`
	Memory              string              `protobuf:"bytes,7,opt,name=memory,proto3" json:"memory,omitempty"`
	Reserve             string              `protobuf:"bytes,8,opt,name=reserve,proto3" json:"reserve,omitempty"`
	ColdMemory          string              `protobuf:"bytes,9,opt,name=cold_memory,json=coldMemory,proto3" json:"cold_memory,omitempty"`
	IdleTtl             string              `protobuf:"bytes,10,opt,name=idle_ttl,json=idleTtl,proto3" json:"idle_ttl,omitempty"`
	Headroom            string              `protobuf:"bytes,11,opt,name=headroom,proto3" json:"headroom,omitempty"`
	ComputeReserve      string              `protobuf:"bytes,12,opt,name=compute_reserve,json=computeReserve,proto3" json:"compute_reserve,omitempty"`
	MinHotContext       string              `protobuf:"bytes,13,opt,name=min_hot_context,json=minHotContext,proto3" json:"min_hot_context,omitempty"`
	// contains filtered or unexported fields
}

WorkerSpec selects a role's native process and allocation policy.

config mirrors the engine's own launch configuration as it reaches the wire. Its members are spelled as the engine declares them, which is PascalCase rather than lower_snake_case, because the type carries explicit tags naming each member and those names are what two shipped views read; each field therefore carries the json_name it mirrors, and the engine has a test holding those names so a rename cannot land silently.

func (*WorkerSpec) Descriptor deprecated

func (*WorkerSpec) Descriptor() ([]byte, []int)

Deprecated: Use WorkerSpec.ProtoReflect.Descriptor instead.

func (*WorkerSpec) GetBackend

func (x *WorkerSpec) GetBackend() string

func (*WorkerSpec) GetColdMemory

func (x *WorkerSpec) GetColdMemory() string

func (*WorkerSpec) GetComputeReserve

func (x *WorkerSpec) GetComputeReserve() string

func (*WorkerSpec) GetConfig

func (x *WorkerSpec) GetConfig() *WorkerLaunchConfig

func (*WorkerSpec) GetConfigurationDigest

func (x *WorkerSpec) GetConfigurationDigest() string

func (*WorkerSpec) GetDigest

func (x *WorkerSpec) GetDigest() string

func (*WorkerSpec) GetHeadroom

func (x *WorkerSpec) GetHeadroom() string

func (*WorkerSpec) GetIdleTtl

func (x *WorkerSpec) GetIdleTtl() string

func (*WorkerSpec) GetMemory

func (x *WorkerSpec) GetMemory() string

func (*WorkerSpec) GetMinHotContext

func (x *WorkerSpec) GetMinHotContext() string

func (*WorkerSpec) GetModel

func (x *WorkerSpec) GetModel() string

func (*WorkerSpec) GetReserve

func (x *WorkerSpec) GetReserve() string

func (*WorkerSpec) GetRole

func (x *WorkerSpec) GetRole() string

func (*WorkerSpec) ProtoMessage

func (*WorkerSpec) ProtoMessage()

func (*WorkerSpec) ProtoReflect

func (x *WorkerSpec) ProtoReflect() protoreflect.Message

func (*WorkerSpec) Reset

func (x *WorkerSpec) Reset()

func (*WorkerSpec) String

func (x *WorkerSpec) String() string

type WorkerStatus

type WorkerStatus struct {
	References       int32       `protobuf:"varint,1,opt,name=references,proto3" json:"references,omitempty"`
	Devices          []string    `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	Spec             *WorkerSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	Endpoint         string      `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Instance         string      `protobuf:"bytes,5,opt,name=instance,proto3" json:"instance,omitempty"`
	State            string      `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	Error            string      `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	QueuedForeground int32       `protobuf:"varint,8,opt,name=queued_foreground,proto3" json:"queued_foreground,omitempty"`
	QueuedBackground int32       `protobuf:"varint,9,opt,name=queued_background,proto3" json:"queued_background,omitempty"`
	// contains filtered or unexported fields
}

WorkerStatus reports one managed process without probing unrelated workers.

func (*WorkerStatus) Descriptor deprecated

func (*WorkerStatus) Descriptor() ([]byte, []int)

Deprecated: Use WorkerStatus.ProtoReflect.Descriptor instead.

func (*WorkerStatus) GetDevices

func (x *WorkerStatus) GetDevices() []string

func (*WorkerStatus) GetEndpoint

func (x *WorkerStatus) GetEndpoint() string

func (*WorkerStatus) GetError

func (x *WorkerStatus) GetError() string

func (*WorkerStatus) GetInstance

func (x *WorkerStatus) GetInstance() string

func (*WorkerStatus) GetQueuedBackground

func (x *WorkerStatus) GetQueuedBackground() int32

func (*WorkerStatus) GetQueuedForeground

func (x *WorkerStatus) GetQueuedForeground() int32

func (*WorkerStatus) GetReferences

func (x *WorkerStatus) GetReferences() int32

func (*WorkerStatus) GetSpec

func (x *WorkerStatus) GetSpec() *WorkerSpec

func (*WorkerStatus) GetState

func (x *WorkerStatus) GetState() string

func (*WorkerStatus) ProtoMessage

func (*WorkerStatus) ProtoMessage()

func (*WorkerStatus) ProtoReflect

func (x *WorkerStatus) ProtoReflect() protoreflect.Message

func (*WorkerStatus) Reset

func (x *WorkerStatus) Reset()

func (*WorkerStatus) String

func (x *WorkerStatus) String() string

type WorkerStopRequest

type WorkerStopRequest struct {
	Instance string      `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Host     *WorkerHost `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

WorkerStopRequest is the request of _contenox/workers/stop: the worker to stop.

func (*WorkerStopRequest) Descriptor deprecated

func (*WorkerStopRequest) Descriptor() ([]byte, []int)

Deprecated: Use WorkerStopRequest.ProtoReflect.Descriptor instead.

func (*WorkerStopRequest) GetHost

func (x *WorkerStopRequest) GetHost() *WorkerHost

func (*WorkerStopRequest) GetInstance

func (x *WorkerStopRequest) GetInstance() string

func (*WorkerStopRequest) ProtoMessage

func (*WorkerStopRequest) ProtoMessage()

func (*WorkerStopRequest) ProtoReflect

func (x *WorkerStopRequest) ProtoReflect() protoreflect.Message

func (*WorkerStopRequest) Reset

func (x *WorkerStopRequest) Reset()

func (*WorkerStopRequest) String

func (x *WorkerStopRequest) String() string

Jump to

Keyboard shortcuts

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