Skip to content

Commit 4519799

Browse files
committed
chore: remove sdk parts
1 parent 85b4d33 commit 4519799

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/httpapi/server.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
"github.com/coder/agentapi/lib/cli/msgfmt"
1818
"github.com/coder/agentapi/lib/cli/termexec"
1919
"github.com/coder/agentapi/lib/logctx"
20-
"github.com/coder/agentapi/lib/sdk"
2120
"github.com/coder/agentapi/lib/types"
2221
"github.com/danielgtaylor/huma/v2"
2322
"github.com/danielgtaylor/huma/v2/adapters/humachi"
@@ -204,7 +203,7 @@ func NewServer(ctx context.Context, config ServerConfig) (*Server, error) {
204203
if config.InteractionType == types.CLIInteractionType {
205204
s.AgentHandler = cli.NewCLIHandler(ctx, config.Process, config.AgentType)
206205
} else if config.InteractionType == types.SDKInteractionType {
207-
s.AgentHandler = sdk.NewSDKHandler(ctx)
206+
// TODO add a SDKHandler for SDK
208207
} else {
209208
return nil, xerrors.Errorf("")
210209
}

0 commit comments

Comments
 (0)