mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 03:04:21 +01:00
minor fixes
This commit is contained in:
@@ -48,9 +48,10 @@ func New(ctx context.Context, conn *sql.DB) (*App, error) {
|
||||
LSPClients: make(map[string]*lsp.Client),
|
||||
}
|
||||
|
||||
app.initLSPClients(ctx)
|
||||
|
||||
var err error
|
||||
app.CoderAgent, err = agent.NewCoderAgent(
|
||||
|
||||
app.Permissions,
|
||||
app.Sessions,
|
||||
app.Messages,
|
||||
@@ -61,8 +62,6 @@ func New(ctx context.Context, conn *sql.DB) (*App, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
app.initLSPClients(ctx)
|
||||
|
||||
return app, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user