Preserve manager skill bootstrap work
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"github.com/coder/websocket"
|
||||
"github.com/coder/websocket/wsjson"
|
||||
|
||||
"git.a-wan.net/alan/pipelines/internal/pipeline"
|
||||
"git.a-wan.net/alan/pipelines/internal/protocol"
|
||||
)
|
||||
|
||||
@@ -74,6 +75,14 @@ func (c *channelChat) Messages(context.Context, string, int) ([]protocol.ChatMes
|
||||
|
||||
func (c *channelChat) Sessions(context.Context) ([]protocol.ChatSession, error) { return nil, nil }
|
||||
|
||||
func (c *channelChat) BeginChatCreate(context.Context, string, string, string) (pipeline.ChatCreateBootstrap, error) {
|
||||
return pipeline.ChatCreateBootstrap{State: "created"}, nil
|
||||
}
|
||||
func (c *channelChat) SetChatCreateSession(context.Context, string, string) error { return nil }
|
||||
func (c *channelChat) AdvanceChatCreate(context.Context, string, string) error { return nil }
|
||||
|
||||
func (c *channelChat) ActivateSkill(context.Context, string, string) error { return nil }
|
||||
|
||||
func (c *channelChat) Create(_ context.Context, title, directory string) (protocol.ChatSession, error) {
|
||||
return protocol.ChatSession{ID: "ses_created", Title: title, Directory: directory}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user