Add Store interface

This commit is contained in:
2026-03-02 00:01:39 +00:00
parent 27e68f8e4c
commit c45d6cc89b
4 changed files with 194 additions and 16 deletions

View File

@@ -14,12 +14,12 @@ import (
// GatewayServer hosts the Open Responses API for the gateway.
type GatewayServer struct {
registry *providers.Registry
convs *conversation.Store
convs conversation.Store
logger *log.Logger
}
// New creates a GatewayServer bound to the provider registry.
func New(registry *providers.Registry, convs *conversation.Store, logger *log.Logger) *GatewayServer {
func New(registry *providers.Registry, convs conversation.Store, logger *log.Logger) *GatewayServer {
return &GatewayServer{
registry: registry,
convs: convs,