Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterSeshatServiceServer(s grpc.ServiceRegistrar, srv SeshatServiceServer)
- type ChunkDelta
- func (*ChunkDelta) Descriptor() ([]byte, []int)deprecated
- func (x *ChunkDelta) GetDelta() string
- func (x *ChunkDelta) GetDeltaType() string
- func (x *ChunkDelta) GetType() string
- func (*ChunkDelta) ProtoMessage()
- func (x *ChunkDelta) ProtoReflect() protoreflect.Message
- func (x *ChunkDelta) Reset()
- func (x *ChunkDelta) String() string
- type ConnectMCPRequest
- func (*ConnectMCPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectMCPRequest) GetArgs() []string
- func (x *ConnectMCPRequest) GetCommand() string
- func (x *ConnectMCPRequest) GetEnv() map[string]string
- func (x *ConnectMCPRequest) GetName() string
- func (x *ConnectMCPRequest) GetTimeout() int32
- func (x *ConnectMCPRequest) GetType() string
- func (x *ConnectMCPRequest) GetUrl() string
- func (*ConnectMCPRequest) ProtoMessage()
- func (x *ConnectMCPRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectMCPRequest) Reset()
- func (x *ConnectMCPRequest) String() string
- type ConnectMCPResponse
- func (*ConnectMCPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectMCPResponse) GetError() string
- func (x *ConnectMCPResponse) GetSuccess() bool
- func (*ConnectMCPResponse) ProtoMessage()
- func (x *ConnectMCPResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectMCPResponse) Reset()
- func (x *ConnectMCPResponse) String() string
- type DisconnectMCPRequest
- func (*DisconnectMCPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectMCPRequest) GetName() string
- func (*DisconnectMCPRequest) ProtoMessage()
- func (x *DisconnectMCPRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectMCPRequest) Reset()
- func (x *DisconnectMCPRequest) String() string
- type DisconnectMCPResponse
- func (*DisconnectMCPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectMCPResponse) GetError() string
- func (x *DisconnectMCPResponse) GetSuccess() bool
- func (*DisconnectMCPResponse) ProtoMessage()
- func (x *DisconnectMCPResponse) ProtoReflect() protoreflect.Message
- func (x *DisconnectMCPResponse) Reset()
- func (x *DisconnectMCPResponse) String() string
- type GetModelsRequest
- type GetModelsResponse
- func (*GetModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelsResponse) GetModels() []*ModelInfo
- func (*GetModelsResponse) ProtoMessage()
- func (x *GetModelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelsResponse) Reset()
- func (x *GetModelsResponse) String() string
- type GetSkillDetailsRequest
- func (*GetSkillDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkillDetailsRequest) GetName() string
- func (*GetSkillDetailsRequest) ProtoMessage()
- func (x *GetSkillDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSkillDetailsRequest) Reset()
- func (x *GetSkillDetailsRequest) String() string
- type GetSkillDetailsResponse
- func (*GetSkillDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkillDetailsResponse) GetPrompt() string
- func (x *GetSkillDetailsResponse) GetSkill() *Skill
- func (*GetSkillDetailsResponse) ProtoMessage()
- func (x *GetSkillDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSkillDetailsResponse) Reset()
- func (x *GetSkillDetailsResponse) String() string
- type HealthCheckRequest
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() string
- func (x *HealthCheckResponse) GetUptime() string
- func (x *HealthCheckResponse) GetVersion() string
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type ListMCPRequest
- type ListMCPResponse
- func (*ListMCPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMCPResponse) GetServers() []*MCPServer
- func (x *ListMCPResponse) GetTotalCount() int32
- func (*ListMCPResponse) ProtoMessage()
- func (x *ListMCPResponse) ProtoReflect() protoreflect.Message
- func (x *ListMCPResponse) Reset()
- func (x *ListMCPResponse) String() string
- type ListSkillsRequest
- func (*ListSkillsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillsRequest) GetSourceFilter() string
- func (*ListSkillsRequest) ProtoMessage()
- func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSkillsRequest) Reset()
- func (x *ListSkillsRequest) String() string
- type ListSkillsResponse
- func (*ListSkillsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillsResponse) GetSkills() []*Skill
- func (x *ListSkillsResponse) GetTotalCount() int32
- func (*ListSkillsResponse) ProtoMessage()
- func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSkillsResponse) Reset()
- func (x *ListSkillsResponse) String() string
- type MCPServer
- func (*MCPServer) Descriptor() ([]byte, []int)deprecated
- func (x *MCPServer) GetLastError() string
- func (x *MCPServer) GetName() string
- func (x *MCPServer) GetStatus() string
- func (x *MCPServer) GetToolCount() int32
- func (*MCPServer) ProtoMessage()
- func (x *MCPServer) ProtoReflect() protoreflect.Message
- func (x *MCPServer) Reset()
- func (x *MCPServer) String() string
- type ModelInfo
- func (*ModelInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ModelInfo) GetId() string
- func (x *ModelInfo) GetMaxTokens() int32
- func (x *ModelInfo) GetName() string
- func (x *ModelInfo) GetProvider() string
- func (*ModelInfo) ProtoMessage()
- func (x *ModelInfo) ProtoReflect() protoreflect.Message
- func (x *ModelInfo) Reset()
- func (x *ModelInfo) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetApiKey() string
- func (x *QueryRequest) GetContextId() string
- func (x *QueryRequest) GetMaxTokens() int32
- func (x *QueryRequest) GetModel() string
- func (x *QueryRequest) GetPrompt() string
- func (x *QueryRequest) GetStream() booldeprecated
- func (x *QueryRequest) GetTemperature() float32deprecated
- func (x *QueryRequest) GetTools() []string
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetChunk() *ChunkDelta
- func (x *QueryResponse) GetContent() string
- func (x *QueryResponse) GetConversationId() string
- func (x *QueryResponse) GetItemType() string
- func (x *QueryResponse) GetModel() string
- func (x *QueryResponse) GetRuntimeEvent() *RuntimeEvent
- func (x *QueryResponse) GetStopped() bool
- func (x *QueryResponse) GetTokenUsage() *TokenUsage
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type RuntimeEvent
- func (*RuntimeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeEvent) GetChunk() *ChunkDelta
- func (x *RuntimeEvent) GetError() string
- func (x *RuntimeEvent) GetSessionId() string
- func (x *RuntimeEvent) GetStopReason() string
- func (x *RuntimeEvent) GetTimestamp() string
- func (x *RuntimeEvent) GetTokenUsage() *TokenUsage
- func (x *RuntimeEvent) GetToolMessage() string
- func (x *RuntimeEvent) GetToolName() string
- func (x *RuntimeEvent) GetToolPercentComplete() float32
- func (x *RuntimeEvent) GetToolStage() string
- func (x *RuntimeEvent) GetTurnId() string
- func (x *RuntimeEvent) GetTurnNumber() int32
- func (x *RuntimeEvent) GetType() string
- func (*RuntimeEvent) ProtoMessage()
- func (x *RuntimeEvent) ProtoReflect() protoreflect.Message
- func (x *RuntimeEvent) Reset()
- func (x *RuntimeEvent) String() string
- type SeshatServiceClient
- type SeshatServiceServer
- type SeshatService_QueryStreamClient
- type SeshatService_QueryStreamServer
- type Skill
- func (*Skill) Descriptor() ([]byte, []int)deprecated
- func (x *Skill) GetAllowedTools() []string
- func (x *Skill) GetDescription() string
- func (x *Skill) GetName() string
- func (x *Skill) GetSource() string
- func (x *Skill) GetWhenToUse() string
- func (*Skill) ProtoMessage()
- func (x *Skill) ProtoReflect() protoreflect.Message
- func (x *Skill) Reset()
- func (x *Skill) String() string
- type TokenUsage
- func (*TokenUsage) Descriptor() ([]byte, []int)deprecated
- func (x *TokenUsage) GetInputTokens() int64
- func (x *TokenUsage) GetOutputTokens() int64
- func (x *TokenUsage) GetTotalTokens() int64
- func (*TokenUsage) ProtoMessage()
- func (x *TokenUsage) ProtoReflect() protoreflect.Message
- func (x *TokenUsage) Reset()
- func (x *TokenUsage) String() string
- type UnimplementedSeshatServiceServer
- func (UnimplementedSeshatServiceServer) ConnectMCP(context.Context, *ConnectMCPRequest) (*ConnectMCPResponse, error)
- func (UnimplementedSeshatServiceServer) DisconnectMCP(context.Context, *DisconnectMCPRequest) (*DisconnectMCPResponse, error)
- func (UnimplementedSeshatServiceServer) GetModels(context.Context, *GetModelsRequest) (*GetModelsResponse, error)
- func (UnimplementedSeshatServiceServer) GetSkillDetails(context.Context, *GetSkillDetailsRequest) (*GetSkillDetailsResponse, error)
- func (UnimplementedSeshatServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (UnimplementedSeshatServiceServer) ListMCP(context.Context, *ListMCPRequest) (*ListMCPResponse, error)
- func (UnimplementedSeshatServiceServer) ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
- func (UnimplementedSeshatServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (UnimplementedSeshatServiceServer) QueryStream(*QueryRequest, grpc.ServerStreamingServer[QueryResponse]) error
- type UnsafeSeshatServiceServer
Constants ¶
const ( SeshatService_Query_FullMethodName = "/seshat.SeshatService/Query" SeshatService_QueryStream_FullMethodName = "/seshat.SeshatService/QueryStream" SeshatService_ListSkills_FullMethodName = "/seshat.SeshatService/ListSkills" SeshatService_GetSkillDetails_FullMethodName = "/seshat.SeshatService/GetSkillDetails" SeshatService_ListMCP_FullMethodName = "/seshat.SeshatService/ListMCP" SeshatService_ConnectMCP_FullMethodName = "/seshat.SeshatService/ConnectMCP" SeshatService_DisconnectMCP_FullMethodName = "/seshat.SeshatService/DisconnectMCP" SeshatService_GetModels_FullMethodName = "/seshat.SeshatService/GetModels" SeshatService_HealthCheck_FullMethodName = "/seshat.SeshatService/HealthCheck" )
Variables ¶
var File_pkg_grpc_proto_seshat_proto protoreflect.FileDescriptor
var SeshatService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "seshat.SeshatService", HandlerType: (*SeshatServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Query", Handler: _SeshatService_Query_Handler, }, { MethodName: "ListSkills", Handler: _SeshatService_ListSkills_Handler, }, { MethodName: "GetSkillDetails", Handler: _SeshatService_GetSkillDetails_Handler, }, { MethodName: "ListMCP", Handler: _SeshatService_ListMCP_Handler, }, { MethodName: "ConnectMCP", Handler: _SeshatService_ConnectMCP_Handler, }, { MethodName: "DisconnectMCP", Handler: _SeshatService_DisconnectMCP_Handler, }, { MethodName: "GetModels", Handler: _SeshatService_GetModels_Handler, }, { MethodName: "HealthCheck", Handler: _SeshatService_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "QueryStream", Handler: _SeshatService_QueryStream_Handler, ServerStreams: true, }, }, Metadata: "pkg/grpc/proto/seshat.proto", }
SeshatService_ServiceDesc is the grpc.ServiceDesc for SeshatService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSeshatServiceServer ¶
func RegisterSeshatServiceServer(s grpc.ServiceRegistrar, srv SeshatServiceServer)
Types ¶
type ChunkDelta ¶
type ChunkDelta struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
DeltaType string `protobuf:"bytes,2,opt,name=delta_type,json=deltaType,proto3" json:"delta_type,omitempty"`
Delta string `protobuf:"bytes,3,opt,name=delta,proto3" json:"delta,omitempty"`
// contains filtered or unexported fields
}
Delta de réponse streamé
func (*ChunkDelta) Descriptor
deprecated
func (*ChunkDelta) Descriptor() ([]byte, []int)
Deprecated: Use ChunkDelta.ProtoReflect.Descriptor instead.
func (*ChunkDelta) GetDelta ¶
func (x *ChunkDelta) GetDelta() string
func (*ChunkDelta) GetDeltaType ¶
func (x *ChunkDelta) GetDeltaType() string
func (*ChunkDelta) GetType ¶
func (x *ChunkDelta) GetType() string
func (*ChunkDelta) ProtoMessage ¶
func (*ChunkDelta) ProtoMessage()
func (*ChunkDelta) ProtoReflect ¶
func (x *ChunkDelta) ProtoReflect() protoreflect.Message
func (*ChunkDelta) Reset ¶
func (x *ChunkDelta) Reset()
func (*ChunkDelta) String ¶
func (x *ChunkDelta) String() string
type ConnectMCPRequest ¶
type ConnectMCPRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nom du serveur
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Type: "stdio", "http", "sse", "ws"
Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` // Commande (pour stdio)
Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // Arguments de la commande
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // URL (pour http/sse/ws)
Env map[string]string `` // Variables d'environnement
/* 133-byte string literal not displayed */
Timeout int32 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` // Timeout en secondes
// contains filtered or unexported fields
}
Requête pour connecter un serveur MCP
func (*ConnectMCPRequest) Descriptor
deprecated
func (*ConnectMCPRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectMCPRequest.ProtoReflect.Descriptor instead.
func (*ConnectMCPRequest) GetArgs ¶
func (x *ConnectMCPRequest) GetArgs() []string
func (*ConnectMCPRequest) GetCommand ¶
func (x *ConnectMCPRequest) GetCommand() string
func (*ConnectMCPRequest) GetEnv ¶
func (x *ConnectMCPRequest) GetEnv() map[string]string
func (*ConnectMCPRequest) GetName ¶
func (x *ConnectMCPRequest) GetName() string
func (*ConnectMCPRequest) GetTimeout ¶
func (x *ConnectMCPRequest) GetTimeout() int32
func (*ConnectMCPRequest) GetType ¶
func (x *ConnectMCPRequest) GetType() string
func (*ConnectMCPRequest) GetUrl ¶
func (x *ConnectMCPRequest) GetUrl() string
func (*ConnectMCPRequest) ProtoMessage ¶
func (*ConnectMCPRequest) ProtoMessage()
func (*ConnectMCPRequest) ProtoReflect ¶
func (x *ConnectMCPRequest) ProtoReflect() protoreflect.Message
func (*ConnectMCPRequest) Reset ¶
func (x *ConnectMCPRequest) Reset()
func (*ConnectMCPRequest) String ¶
func (x *ConnectMCPRequest) String() string
type ConnectMCPResponse ¶
type ConnectMCPResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Message d'erreur si échec
// contains filtered or unexported fields
}
Réponse pour ConnectMCP
func (*ConnectMCPResponse) Descriptor
deprecated
func (*ConnectMCPResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectMCPResponse.ProtoReflect.Descriptor instead.
func (*ConnectMCPResponse) GetError ¶
func (x *ConnectMCPResponse) GetError() string
func (*ConnectMCPResponse) GetSuccess ¶
func (x *ConnectMCPResponse) GetSuccess() bool
func (*ConnectMCPResponse) ProtoMessage ¶
func (*ConnectMCPResponse) ProtoMessage()
func (*ConnectMCPResponse) ProtoReflect ¶
func (x *ConnectMCPResponse) ProtoReflect() protoreflect.Message
func (*ConnectMCPResponse) Reset ¶
func (x *ConnectMCPResponse) Reset()
func (*ConnectMCPResponse) String ¶
func (x *ConnectMCPResponse) String() string
type DisconnectMCPRequest ¶
type DisconnectMCPRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nom du serveur à déconnecter
// contains filtered or unexported fields
}
Requête pour déconnecter un serveur MCP
func (*DisconnectMCPRequest) Descriptor
deprecated
func (*DisconnectMCPRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectMCPRequest.ProtoReflect.Descriptor instead.
func (*DisconnectMCPRequest) GetName ¶
func (x *DisconnectMCPRequest) GetName() string
func (*DisconnectMCPRequest) ProtoMessage ¶
func (*DisconnectMCPRequest) ProtoMessage()
func (*DisconnectMCPRequest) ProtoReflect ¶
func (x *DisconnectMCPRequest) ProtoReflect() protoreflect.Message
func (*DisconnectMCPRequest) Reset ¶
func (x *DisconnectMCPRequest) Reset()
func (*DisconnectMCPRequest) String ¶
func (x *DisconnectMCPRequest) String() string
type DisconnectMCPResponse ¶
type DisconnectMCPResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Réponse pour DisconnectMCP
func (*DisconnectMCPResponse) Descriptor
deprecated
func (*DisconnectMCPResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectMCPResponse.ProtoReflect.Descriptor instead.
func (*DisconnectMCPResponse) GetError ¶
func (x *DisconnectMCPResponse) GetError() string
func (*DisconnectMCPResponse) GetSuccess ¶
func (x *DisconnectMCPResponse) GetSuccess() bool
func (*DisconnectMCPResponse) ProtoMessage ¶
func (*DisconnectMCPResponse) ProtoMessage()
func (*DisconnectMCPResponse) ProtoReflect ¶
func (x *DisconnectMCPResponse) ProtoReflect() protoreflect.Message
func (*DisconnectMCPResponse) Reset ¶
func (x *DisconnectMCPResponse) Reset()
func (*DisconnectMCPResponse) String ¶
func (x *DisconnectMCPResponse) String() string
type GetModelsRequest ¶
type GetModelsRequest struct {
// contains filtered or unexported fields
}
Requête pour lister les modèles
func (*GetModelsRequest) Descriptor
deprecated
func (*GetModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelsRequest.ProtoReflect.Descriptor instead.
func (*GetModelsRequest) ProtoMessage ¶
func (*GetModelsRequest) ProtoMessage()
func (*GetModelsRequest) ProtoReflect ¶
func (x *GetModelsRequest) ProtoReflect() protoreflect.Message
func (*GetModelsRequest) Reset ¶
func (x *GetModelsRequest) Reset()
func (*GetModelsRequest) String ¶
func (x *GetModelsRequest) String() string
type GetModelsResponse ¶
type GetModelsResponse struct {
Models []*ModelInfo `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
// contains filtered or unexported fields
}
Réponse pour GetModels
func (*GetModelsResponse) Descriptor
deprecated
func (*GetModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelsResponse.ProtoReflect.Descriptor instead.
func (*GetModelsResponse) GetModels ¶
func (x *GetModelsResponse) GetModels() []*ModelInfo
func (*GetModelsResponse) ProtoMessage ¶
func (*GetModelsResponse) ProtoMessage()
func (*GetModelsResponse) ProtoReflect ¶
func (x *GetModelsResponse) ProtoReflect() protoreflect.Message
func (*GetModelsResponse) Reset ¶
func (x *GetModelsResponse) Reset()
func (*GetModelsResponse) String ¶
func (x *GetModelsResponse) String() string
type GetSkillDetailsRequest ¶
type GetSkillDetailsRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nom du skill
// contains filtered or unexported fields
}
Requête pour obtenir les détails d'un skill
func (*GetSkillDetailsRequest) Descriptor
deprecated
func (*GetSkillDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSkillDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetSkillDetailsRequest) GetName ¶
func (x *GetSkillDetailsRequest) GetName() string
func (*GetSkillDetailsRequest) ProtoMessage ¶
func (*GetSkillDetailsRequest) ProtoMessage()
func (*GetSkillDetailsRequest) ProtoReflect ¶
func (x *GetSkillDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetSkillDetailsRequest) Reset ¶
func (x *GetSkillDetailsRequest) Reset()
func (*GetSkillDetailsRequest) String ¶
func (x *GetSkillDetailsRequest) String() string
type GetSkillDetailsResponse ¶
type GetSkillDetailsResponse struct {
Skill *Skill `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"` // Détails du skill
Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"` // Contenu du skill (si autorisé)
// contains filtered or unexported fields
}
Réponse pour GetSkillDetails
func (*GetSkillDetailsResponse) Descriptor
deprecated
func (*GetSkillDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSkillDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetSkillDetailsResponse) GetPrompt ¶
func (x *GetSkillDetailsResponse) GetPrompt() string
func (*GetSkillDetailsResponse) GetSkill ¶
func (x *GetSkillDetailsResponse) GetSkill() *Skill
func (*GetSkillDetailsResponse) ProtoMessage ¶
func (*GetSkillDetailsResponse) ProtoMessage()
func (*GetSkillDetailsResponse) ProtoReflect ¶
func (x *GetSkillDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetSkillDetailsResponse) Reset ¶
func (x *GetSkillDetailsResponse) Reset()
func (*GetSkillDetailsResponse) String ¶
func (x *GetSkillDetailsResponse) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
Requête pour health check
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // "ok", "degraded", "down"
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Version du serveur
Uptime string `protobuf:"bytes,3,opt,name=uptime,proto3" json:"uptime,omitempty"` // Durée de fonctionnement
// contains filtered or unexported fields
}
Réponse pour HealthCheck
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶
func (x *HealthCheckResponse) GetStatus() string
func (*HealthCheckResponse) GetUptime ¶
func (x *HealthCheckResponse) GetUptime() string
func (*HealthCheckResponse) GetVersion ¶
func (x *HealthCheckResponse) GetVersion() string
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type ListMCPRequest ¶
type ListMCPRequest struct {
// contains filtered or unexported fields
}
Requête pour lister les serveurs MCP
func (*ListMCPRequest) Descriptor
deprecated
func (*ListMCPRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMCPRequest.ProtoReflect.Descriptor instead.
func (*ListMCPRequest) ProtoMessage ¶
func (*ListMCPRequest) ProtoMessage()
func (*ListMCPRequest) ProtoReflect ¶
func (x *ListMCPRequest) ProtoReflect() protoreflect.Message
func (*ListMCPRequest) Reset ¶
func (x *ListMCPRequest) Reset()
func (*ListMCPRequest) String ¶
func (x *ListMCPRequest) String() string
type ListMCPResponse ¶
type ListMCPResponse struct {
Servers []*MCPServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
Réponse pour ListMCP
func (*ListMCPResponse) Descriptor
deprecated
func (*ListMCPResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMCPResponse.ProtoReflect.Descriptor instead.
func (*ListMCPResponse) GetServers ¶
func (x *ListMCPResponse) GetServers() []*MCPServer
func (*ListMCPResponse) GetTotalCount ¶
func (x *ListMCPResponse) GetTotalCount() int32
func (*ListMCPResponse) ProtoMessage ¶
func (*ListMCPResponse) ProtoMessage()
func (*ListMCPResponse) ProtoReflect ¶
func (x *ListMCPResponse) ProtoReflect() protoreflect.Message
func (*ListMCPResponse) Reset ¶
func (x *ListMCPResponse) Reset()
func (*ListMCPResponse) String ¶
func (x *ListMCPResponse) String() string
type ListSkillsRequest ¶
type ListSkillsRequest struct {
SourceFilter string `protobuf:"bytes,1,opt,name=source_filter,json=sourceFilter,proto3" json:"source_filter,omitempty"` // Filter par source: "all", "bundled", "mcp", "file"
// contains filtered or unexported fields
}
Requête pour lister les skills
func (*ListSkillsRequest) Descriptor
deprecated
func (*ListSkillsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillsRequest.ProtoReflect.Descriptor instead.
func (*ListSkillsRequest) GetSourceFilter ¶
func (x *ListSkillsRequest) GetSourceFilter() string
func (*ListSkillsRequest) ProtoMessage ¶
func (*ListSkillsRequest) ProtoMessage()
func (*ListSkillsRequest) ProtoReflect ¶
func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message
func (*ListSkillsRequest) Reset ¶
func (x *ListSkillsRequest) Reset()
func (*ListSkillsRequest) String ¶
func (x *ListSkillsRequest) String() string
type ListSkillsResponse ¶
type ListSkillsResponse struct {
Skills []*Skill `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"` // Liste des skills
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Nombre total
// contains filtered or unexported fields
}
Réponse pour ListSkills
func (*ListSkillsResponse) Descriptor
deprecated
func (*ListSkillsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillsResponse.ProtoReflect.Descriptor instead.
func (*ListSkillsResponse) GetSkills ¶
func (x *ListSkillsResponse) GetSkills() []*Skill
func (*ListSkillsResponse) GetTotalCount ¶
func (x *ListSkillsResponse) GetTotalCount() int32
func (*ListSkillsResponse) ProtoMessage ¶
func (*ListSkillsResponse) ProtoMessage()
func (*ListSkillsResponse) ProtoReflect ¶
func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message
func (*ListSkillsResponse) Reset ¶
func (x *ListSkillsResponse) Reset()
func (*ListSkillsResponse) String ¶
func (x *ListSkillsResponse) String() string
type MCPServer ¶
type MCPServer struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // "connected", "disconnected", "error"
ToolCount int32 `protobuf:"varint,3,opt,name=tool_count,json=toolCount,proto3" json:"tool_count,omitempty"` // Nombre de tools
LastError string `protobuf:"bytes,4,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"` // Dernière erreur si applicable
// contains filtered or unexported fields
}
Informations sur un serveur MCP
func (*MCPServer) Descriptor
deprecated
func (*MCPServer) GetLastError ¶
func (*MCPServer) GetToolCount ¶
func (*MCPServer) ProtoMessage ¶
func (*MCPServer) ProtoMessage()
func (*MCPServer) ProtoReflect ¶
func (x *MCPServer) ProtoReflect() protoreflect.Message
type ModelInfo ¶
type ModelInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID du modèle (ex: "claude-3-5-sonnet-20241022")
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Nom lisible (ex: "Claude 3.5 Sonnet")
Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` // Provider (ex: "anthropic")
MaxTokens int32 `protobuf:"varint,4,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` // Token max en entrée
// contains filtered or unexported fields
}
Informations sur un modèle
func (*ModelInfo) Descriptor
deprecated
func (*ModelInfo) GetMaxTokens ¶
func (*ModelInfo) GetProvider ¶
func (*ModelInfo) ProtoMessage ¶
func (*ModelInfo) ProtoMessage()
func (*ModelInfo) ProtoReflect ¶
func (x *ModelInfo) ProtoReflect() protoreflect.Message
type QueryRequest ¶
type QueryRequest struct {
Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` // Le prompt à exécuter
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Modèle à utiliser (ex: "claude-3-5-sonnet-20241022")
Tools []string `protobuf:"bytes,3,rep,name=tools,proto3" json:"tools,omitempty"` // Liste des tools à activer
// Deprecated: Marked as deprecated in pkg/grpc/proto/seshat.proto.
Stream bool `protobuf:"varint,4,opt,name=stream,proto3" json:"stream,omitempty"` // Ignoré par le serveur: la méthode appelée (Query ou QueryStream) décide du mode
ContextId string `protobuf:"bytes,5,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // ID de contexte pour la continuité de conversation
// Paramètres optionnels
//
// Deprecated: Marked as deprecated in pkg/grpc/proto/seshat.proto.
Temperature float32 `protobuf:"fixed32,10,opt,name=temperature,proto3" json:"temperature,omitempty"` // Ignoré par le serveur pour le moment (non transmis au modèle)
MaxTokens int32 `protobuf:"varint,11,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` // Nombre max de tokens en sortie
ApiKey string `protobuf:"bytes,12,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` // Clé API ou bearer token OAuth explicite pour cette requête
// contains filtered or unexported fields
}
Requête pour exécuter une requête IA
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetApiKey ¶
func (x *QueryRequest) GetApiKey() string
func (*QueryRequest) GetContextId ¶
func (x *QueryRequest) GetContextId() string
func (*QueryRequest) GetMaxTokens ¶
func (x *QueryRequest) GetMaxTokens() int32
func (*QueryRequest) GetModel ¶
func (x *QueryRequest) GetModel() string
func (*QueryRequest) GetPrompt ¶
func (x *QueryRequest) GetPrompt() string
func (*QueryRequest) GetStream
deprecated
func (x *QueryRequest) GetStream() bool
Deprecated: Marked as deprecated in pkg/grpc/proto/seshat.proto.
func (*QueryRequest) GetTemperature
deprecated
func (x *QueryRequest) GetTemperature() float32
Deprecated: Marked as deprecated in pkg/grpc/proto/seshat.proto.
func (*QueryRequest) GetTools ¶
func (x *QueryRequest) GetTools() []string
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // Contenu de la réponse
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Modèle utilisé
TokenUsage *TokenUsage `protobuf:"bytes,3,opt,name=token_usage,json=tokenUsage,proto3" json:"token_usage,omitempty"` // Utilisation des tokens
// Métadonnées additionnelles
ConversationId string `protobuf:"bytes,10,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"` // ID de conversation
Stopped bool `protobuf:"varint,11,opt,name=stopped,proto3" json:"stopped,omitempty"` // Si la réponse a été coupée
ItemType string `protobuf:"bytes,12,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` // "chunk", "runtime_event", "final"
Chunk *ChunkDelta `protobuf:"bytes,13,opt,name=chunk,proto3" json:"chunk,omitempty"` // Détails structurés pour un delta streamé
RuntimeEvent *RuntimeEvent `protobuf:"bytes,14,opt,name=runtime_event,json=runtimeEvent,proto3" json:"runtime_event,omitempty"` // Événement runtime structuré
// contains filtered or unexported fields
}
Réponse à une requête Query
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetChunk ¶
func (x *QueryResponse) GetChunk() *ChunkDelta
func (*QueryResponse) GetContent ¶
func (x *QueryResponse) GetContent() string
func (*QueryResponse) GetConversationId ¶
func (x *QueryResponse) GetConversationId() string
func (*QueryResponse) GetItemType ¶
func (x *QueryResponse) GetItemType() string
func (*QueryResponse) GetModel ¶
func (x *QueryResponse) GetModel() string
func (*QueryResponse) GetRuntimeEvent ¶
func (x *QueryResponse) GetRuntimeEvent() *RuntimeEvent
func (*QueryResponse) GetStopped ¶
func (x *QueryResponse) GetStopped() bool
func (*QueryResponse) GetTokenUsage ¶
func (x *QueryResponse) GetTokenUsage() *TokenUsage
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type RuntimeEvent ¶
type RuntimeEvent struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
TurnId string `protobuf:"bytes,3,opt,name=turn_id,json=turnId,proto3" json:"turn_id,omitempty"`
TurnNumber int32 `protobuf:"varint,4,opt,name=turn_number,json=turnNumber,proto3" json:"turn_number,omitempty"`
Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
StopReason string `protobuf:"bytes,6,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
TokenUsage *TokenUsage `protobuf:"bytes,7,opt,name=token_usage,json=tokenUsage,proto3" json:"token_usage,omitempty"`
Chunk *ChunkDelta `protobuf:"bytes,8,opt,name=chunk,proto3" json:"chunk,omitempty"`
ToolName string `protobuf:"bytes,9,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
ToolStage string `protobuf:"bytes,10,opt,name=tool_stage,json=toolStage,proto3" json:"tool_stage,omitempty"`
ToolMessage string `protobuf:"bytes,11,opt,name=tool_message,json=toolMessage,proto3" json:"tool_message,omitempty"`
ToolPercentComplete float32 `protobuf:"fixed32,12,opt,name=tool_percent_complete,json=toolPercentComplete,proto3" json:"tool_percent_complete,omitempty"`
Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Événement runtime structuré du moteur
func (*RuntimeEvent) Descriptor
deprecated
func (*RuntimeEvent) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeEvent.ProtoReflect.Descriptor instead.
func (*RuntimeEvent) GetChunk ¶
func (x *RuntimeEvent) GetChunk() *ChunkDelta
func (*RuntimeEvent) GetError ¶
func (x *RuntimeEvent) GetError() string
func (*RuntimeEvent) GetSessionId ¶
func (x *RuntimeEvent) GetSessionId() string
func (*RuntimeEvent) GetStopReason ¶
func (x *RuntimeEvent) GetStopReason() string
func (*RuntimeEvent) GetTimestamp ¶
func (x *RuntimeEvent) GetTimestamp() string
func (*RuntimeEvent) GetTokenUsage ¶
func (x *RuntimeEvent) GetTokenUsage() *TokenUsage
func (*RuntimeEvent) GetToolMessage ¶
func (x *RuntimeEvent) GetToolMessage() string
func (*RuntimeEvent) GetToolName ¶
func (x *RuntimeEvent) GetToolName() string
func (*RuntimeEvent) GetToolPercentComplete ¶
func (x *RuntimeEvent) GetToolPercentComplete() float32
func (*RuntimeEvent) GetToolStage ¶
func (x *RuntimeEvent) GetToolStage() string
func (*RuntimeEvent) GetTurnId ¶
func (x *RuntimeEvent) GetTurnId() string
func (*RuntimeEvent) GetTurnNumber ¶
func (x *RuntimeEvent) GetTurnNumber() int32
func (*RuntimeEvent) GetType ¶
func (x *RuntimeEvent) GetType() string
func (*RuntimeEvent) ProtoMessage ¶
func (*RuntimeEvent) ProtoMessage()
func (*RuntimeEvent) ProtoReflect ¶
func (x *RuntimeEvent) ProtoReflect() protoreflect.Message
func (*RuntimeEvent) Reset ¶
func (x *RuntimeEvent) Reset()
func (*RuntimeEvent) String ¶
func (x *RuntimeEvent) String() string
type SeshatServiceClient ¶
type SeshatServiceClient interface {
// Exécute une requête simple (non-streaming)
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
// Exécute une requête en mode streaming (pour les réponses longues)
QueryStream(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[QueryResponse], error)
// Liste tous les skills disponibles
ListSkills(ctx context.Context, in *ListSkillsRequest, opts ...grpc.CallOption) (*ListSkillsResponse, error)
// Retourne les détails d'un skill spécifique
GetSkillDetails(ctx context.Context, in *GetSkillDetailsRequest, opts ...grpc.CallOption) (*GetSkillDetailsResponse, error)
// Liste les serveurs MCP connectés
ListMCP(ctx context.Context, in *ListMCPRequest, opts ...grpc.CallOption) (*ListMCPResponse, error)
// Connecte à un serveur MCP
ConnectMCP(ctx context.Context, in *ConnectMCPRequest, opts ...grpc.CallOption) (*ConnectMCPResponse, error)
// Déconnecte un serveur MCP
DisconnectMCP(ctx context.Context, in *DisconnectMCPRequest, opts ...grpc.CallOption) (*DisconnectMCPResponse, error)
// Liste les modèles disponibles
GetModels(ctx context.Context, in *GetModelsRequest, opts ...grpc.CallOption) (*GetModelsResponse, error)
// Health check pour le monitoring
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
SeshatServiceClient is the client API for SeshatService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
SeshatService est le service principal pour les interactions avec le moteur IA
func NewSeshatServiceClient ¶
func NewSeshatServiceClient(cc grpc.ClientConnInterface) SeshatServiceClient
type SeshatServiceServer ¶
type SeshatServiceServer interface {
// Exécute une requête simple (non-streaming)
Query(context.Context, *QueryRequest) (*QueryResponse, error)
// Exécute une requête en mode streaming (pour les réponses longues)
QueryStream(*QueryRequest, grpc.ServerStreamingServer[QueryResponse]) error
// Liste tous les skills disponibles
ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
// Retourne les détails d'un skill spécifique
GetSkillDetails(context.Context, *GetSkillDetailsRequest) (*GetSkillDetailsResponse, error)
// Liste les serveurs MCP connectés
ListMCP(context.Context, *ListMCPRequest) (*ListMCPResponse, error)
// Connecte à un serveur MCP
ConnectMCP(context.Context, *ConnectMCPRequest) (*ConnectMCPResponse, error)
// Déconnecte un serveur MCP
DisconnectMCP(context.Context, *DisconnectMCPRequest) (*DisconnectMCPResponse, error)
// Liste les modèles disponibles
GetModels(context.Context, *GetModelsRequest) (*GetModelsResponse, error)
// Health check pour le monitoring
HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
// contains filtered or unexported methods
}
SeshatServiceServer is the server API for SeshatService service. All implementations must embed UnimplementedSeshatServiceServer for forward compatibility.
SeshatService est le service principal pour les interactions avec le moteur IA
type SeshatService_QueryStreamClient ¶
type SeshatService_QueryStreamClient = grpc.ServerStreamingClient[QueryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeshatService_QueryStreamServer ¶
type SeshatService_QueryStreamServer = grpc.ServerStreamingServer[QueryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Skill ¶
type Skill struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // "bundled", "file", "mcp"
WhenToUse string `protobuf:"bytes,4,opt,name=when_to_use,json=whenToUse,proto3" json:"when_to_use,omitempty"` // Quand utiliser ce skill
AllowedTools []string `protobuf:"bytes,5,rep,name=allowed_tools,json=allowedTools,proto3" json:"allowed_tools,omitempty"`
// contains filtered or unexported fields
}
Informations sur un skill
func (*Skill) Descriptor
deprecated
func (*Skill) GetAllowedTools ¶
func (*Skill) GetDescription ¶
func (*Skill) GetWhenToUse ¶
func (*Skill) ProtoMessage ¶
func (*Skill) ProtoMessage()
func (*Skill) ProtoReflect ¶
func (x *Skill) ProtoReflect() protoreflect.Message
type TokenUsage ¶
type TokenUsage struct {
InputTokens int64 `protobuf:"varint,1,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
OutputTokens int64 `protobuf:"varint,2,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
TotalTokens int64 `protobuf:"varint,3,opt,name=total_tokens,json=totalTokens,proto3" json:"total_tokens,omitempty"`
// contains filtered or unexported fields
}
Utilisation des tokens
func (*TokenUsage) Descriptor
deprecated
func (*TokenUsage) Descriptor() ([]byte, []int)
Deprecated: Use TokenUsage.ProtoReflect.Descriptor instead.
func (*TokenUsage) GetInputTokens ¶
func (x *TokenUsage) GetInputTokens() int64
func (*TokenUsage) GetOutputTokens ¶
func (x *TokenUsage) GetOutputTokens() int64
func (*TokenUsage) GetTotalTokens ¶
func (x *TokenUsage) GetTotalTokens() int64
func (*TokenUsage) ProtoMessage ¶
func (*TokenUsage) ProtoMessage()
func (*TokenUsage) ProtoReflect ¶
func (x *TokenUsage) ProtoReflect() protoreflect.Message
func (*TokenUsage) Reset ¶
func (x *TokenUsage) Reset()
func (*TokenUsage) String ¶
func (x *TokenUsage) String() string
type UnimplementedSeshatServiceServer ¶
type UnimplementedSeshatServiceServer struct{}
UnimplementedSeshatServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSeshatServiceServer) ConnectMCP ¶
func (UnimplementedSeshatServiceServer) ConnectMCP(context.Context, *ConnectMCPRequest) (*ConnectMCPResponse, error)
func (UnimplementedSeshatServiceServer) DisconnectMCP ¶
func (UnimplementedSeshatServiceServer) DisconnectMCP(context.Context, *DisconnectMCPRequest) (*DisconnectMCPResponse, error)
func (UnimplementedSeshatServiceServer) GetModels ¶
func (UnimplementedSeshatServiceServer) GetModels(context.Context, *GetModelsRequest) (*GetModelsResponse, error)
func (UnimplementedSeshatServiceServer) GetSkillDetails ¶
func (UnimplementedSeshatServiceServer) GetSkillDetails(context.Context, *GetSkillDetailsRequest) (*GetSkillDetailsResponse, error)
func (UnimplementedSeshatServiceServer) HealthCheck ¶
func (UnimplementedSeshatServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (UnimplementedSeshatServiceServer) ListMCP ¶
func (UnimplementedSeshatServiceServer) ListMCP(context.Context, *ListMCPRequest) (*ListMCPResponse, error)
func (UnimplementedSeshatServiceServer) ListSkills ¶
func (UnimplementedSeshatServiceServer) ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
func (UnimplementedSeshatServiceServer) Query ¶
func (UnimplementedSeshatServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (UnimplementedSeshatServiceServer) QueryStream ¶
func (UnimplementedSeshatServiceServer) QueryStream(*QueryRequest, grpc.ServerStreamingServer[QueryResponse]) error
type UnsafeSeshatServiceServer ¶
type UnsafeSeshatServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSeshatServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SeshatServiceServer will result in compilation errors.