mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-13 12:14:47 +00: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