Documentation
¶
Index ¶
- func GeminiEmbedding(ctx *fasthttp.RequestCtx, stdCtx context.Context, model, action, vk string, ...)
- func GeminiResponse(ctx *fasthttp.RequestCtx, stdCtx context.Context, model, action, vk string, ...)
- func RegisterAgentRoutes(r *router.Router, svc *services.Services)
- func RegisterAuthRoutes(r *router.Router, svc *services.Services, auth *authenticator.Authenticator)
- func RegisterConversationRoutes(r *router.Router, svc *services.Services)
- func RegisterConverseRoute(r *router.Router, svc *services.Services, llmGateway *gateway.LLMGateway)
- func RegisterDurableConverseRoute(r *router.Router, svc *services.Services)
- func RegisterGatewayRoutes(r *router.Group, svc *services.Services, llmGateway *gateway.LLMGateway)
- func RegisterMCPServerRoutes(r *router.Router, svc *services.Services)
- func RegisterModelRoutes(r *router.Router, svc *services.Services)
- func RegisterProjectRoutes(r *router.Router, svc *services.Services)
- func RegisterPromptRoutes(r *router.Router, svc *services.Services)
- func RegisterProviderRoutes(r *router.Router, svc *services.Services)
- func RegisterSchemaRoutes(r *router.Router, svc *services.Services)
- func RegisterTracesRoutes(r *router.Group, svc *services.Services)
- func RegisterVirtualKeyRoutes(r *router.Router, svc *services.Services)
- type ConverseRequest
- type InspectMCPResponse
- type LoginRequest
- type LoginResponse
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeminiEmbedding ¶
func GeminiEmbedding(ctx *fasthttp.RequestCtx, stdCtx context.Context, model, action, vk string, llmGateway *gateway.LLMGateway)
func GeminiResponse ¶
func GeminiResponse(ctx *fasthttp.RequestCtx, stdCtx context.Context, model, action, vk string, llmGateway *gateway.LLMGateway)
func RegisterAuthRoutes ¶
func RegisterAuthRoutes(r *router.Router, svc *services.Services, auth *authenticator.Authenticator)
func RegisterConverseRoute ¶
func RegisterGatewayRoutes ¶
func RegisterMCPServerRoutes ¶
func RegisterTracesRoutes ¶
RegisterTracesRoutes registers trace-related API routes
Types ¶
type ConverseRequest ¶
type ConverseRequest struct {
Message responses.InputMessageUnion `json:"message" doc:"User message"`
Namespace string `json:"namespace" doc:"Namespace ID"`
PreviousMessageID string `json:"previous_message_id" doc:"Previous run ID for threading"`
Context map[string]any `json:"context" doc:"Context to pass to prompt template"`
SessionID string `json:"session_id" required:"true" doc:"Session ID"`
}
type InspectMCPResponse ¶
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
User UserResponse `json:"user"`
}
Source Files
¶
- agent_controller.go
- auth_controller.go
- conversation_controller.go
- converse.go
- durable_converse.go
- gateway_controllers.go
- http_helpers.go
- mcp_server_controller.go
- model_controller.go
- project_controller.go
- prompt_controller.go
- provider_controller.go
- schema_controller.go
- traces_controller.go
- virtual_key_controller.go
Click to show internal directories.
Click to hide internal directories.