Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
error handling improvements during stream
Dane Schneidercf1edbbb2283
diff --git a/.gitignore b/.gitignoreindex 2dd618d5..6764afc8 100644--- a/.gitignore+++ b/.gitignore@@ -17,3 +17,4 @@ node_modules/dist/.aider.*+*.code-workspacediff --git a/app/cli/api/methods.go b/app/cli/api/methods.goindex 1829903b..fcada3dc 100644--- a/app/cli/api/methods.go+++ b/app/cli/api/methods.go@@ -2,6 +2,7 @@ package apiimport ("bytes"+ "context""encoding/json""fmt""io"@@ -2295,15 +2296,24 @@ func (a *Api) GetContextBody(planId, branch, contextId string) (*shared.GetContereturn &respBody, nil}-func (a *Api) AutoLoadContext(planId, branch string, req shared.LoadContextRequest) (*shared.LoadContextResponse, *shared.ApiError) {+func (a *Api) AutoLoadContext(ctx context.Context, planId, branch string, req shared.LoadContextRequest) (*shared.LoadContextResponse, *shared.ApiError) {serverUrl := fmt.Sprintf("%s/plans/%s/%s/auto_load_context", GetApiHost(), planId, branch)reqBytes, err := json.Marshal(req)if err != nil {return nil, &shared.ApiError{Type: shared.ApiErrorTypeOther, Msg: fmt.Sprintf("error marshalling request: %v", err)}}- // use the slow client since we may be uploading relatively large files- resp, err := authenticatedSlowClient.Post(serverUrl, "application/json", bytes.NewBuffer(reqBytes))+ // Create a new request with context+ httpReq, err := http.NewRequestWithContext(ctx, "POST", serverUrl, bytes.NewBuffer(reqBytes))+ if err != nil {+ return nil, &shared.ApiError{Type: shared.ApiErrorTypeOther, Msg: fmt.Sprintf("error creating request: %v", err)}+ }++ // Set the content type header+ httpReq.Header.Set("Content-Type", "application/json")++ // Use the slow client since we may be uploading relatively large files+ resp, err := authenticatedSlowClient.Do(httpReq)if err != nil {return nil, &shared.ApiError{Type: shared.ApiErrorTypeOther, Msg: fmt.Sprintf("error sending request: %v", err)}}diff --git a/app/cli/lib/context_load.go b/app/cli/lib/context_load.goindex a3a93182..f6ffdec0 100644--- a/app/cli/lib/context_load.go+++ b/app/cli/lib/context_load.go@@ -2,6 +2,7 @@ package libimport ("bufio"+ "context""encoding/base64""fmt""io"@@ -622,7 +623,7 @@ func MustLoadContext(resources []string, params *types.LoadContextParams) {}}-func AutoLoadContextFiles(files []string) (string, error) {+func AutoLoadContextFiles(ctx context.Context, files []string) (string, error) {loadContextReqs := shared.LoadContextRequest{}errCh := make(chan error, len(files))var mu sync.Mutex@@ -656,7 +657,7 @@ func AutoLoadContextFiles(files []string) (string, error) {}}- res, apiErr := api.Client.AutoLoadContext(CurrentPlanId, CurrentBranch, loadContextReqs)+ res, apiErr := api.Client.AutoLoadContext(ctx, CurrentPlanId, CurrentBranch, loadContextReqs)if apiErr != nil {return "", fmt.Errorf("failed to load context: %v", apiErr.Msg)diff --git a/app/cli/main.go b/app/cli/main.goindex ef426a8a..20d4c77e 100644--- a/app/cli/main.go+++ b/app/cli/main.go@@ -46,7 +46,7 @@ func init() {// set up a rotating file loggerlogger := &lumberjack.Logger{- Filename: filepath.Join(fs.HomePlandexDir, "plandex-v2.log"),+ Filename: filepath.Join(fs.HomePlandexDir, "plandex.log"),MaxSize: 10, // megabytes before rotationMaxBackups: 3, // number of backups to keepMaxAge: 28, // days to keep old logs@@ -55,7 +55,7 @@ func init() {// Set the output of the loggerlog.SetOutput(logger)- log.SetFlags(log.LstdFlags | log.Lmicroseconds)+ log.SetFlags(log.LstdFlags | log.Lmicroseconds | log.Lshortfile)// log.Println("Starting Plandex - logging initialized")}diff --git a/app/cli/stream_tui/model.go b/app/cli/stream_tui/model.goindex 32ceacec..fb04776e 100644--- a/app/cli/stream_tui/model.go+++ b/app/cli/stream_tui/model.go@@ -1,6 +1,7 @@package streamtuiimport (+ "context""log""sync""time"@@ -78,6 +79,8 @@ type streamUIModel struct {apiErr *shared.ApiErrorupdateDebouncer *UpdateDebouncer++ autoLoadContextCancelFn context.CancelFunc}type keymap = struct {diff --git a/app/cli/stream_tui/update.go b/app/cli/stream_tui/update.goindex b60b5ebf..e041cf64 100644--- a/app/cli/stream_tui/update.go+++ b/app/cli/stream_tui/update.go@@ -1,6 +1,7 @@package streamtuiimport (+ "context""fmt""log""os"@@ -17,6 +18,7 @@ import ("github.com/charmbracelet/bubbles/viewport"tea "github.com/charmbracelet/bubbletea""github.com/charmbracelet/lipgloss"+ "github.com/davecgh/go-spew/spew""github.com/fatih/color")@@ -436,7 +438,14 @@ func (m *streamUIModel) streamUpdate(msg *shared.StreamMessage, deferUIUpdate bocase shared.StreamMessageLoadContext:log.Println("Stream message auto-load context")- msg, err := lib.AutoLoadContextFiles(msg.LoadContextFiles)++ ctx, cancel := context.WithCancel(context.Background())+ m.autoLoadContextCancelFn = cancel++ msg, err := lib.AutoLoadContextFiles(ctx, msg.LoadContextFiles)++ m.autoLoadContextCancelFn = nil+if err != nil {log.Println("failed to auto load context files:", err)m.err = err@@ -452,6 +461,15 @@ func (m *streamUIModel) streamUpdate(msg *shared.StreamMessage, deferUIUpdate boreturn m, m.Tick()case shared.StreamMessageError:+ log.Println("Stream message error")+ log.Println(spew.Sdump(msg))++ state := m.readState()++ if state.autoLoadContextCancelFn != nil {+ state.autoLoadContextCancelFn()+ }+m.updateState(func() {m.apiErr = msg.Error})diff --git a/app/cli/term/errors.go b/app/cli/term/errors.goindex 95d4c668..c049155c 100644--- a/app/cli/term/errors.go+++ b/app/cli/term/errors.go@@ -165,7 +165,7 @@ func HandleApiError(apiError *shared.ApiError) {if apiError.Type == shared.ApiErrorTypeCloudInsufficientCredits {if apiError.BillingError.HasBillingPermission {StopSpinner()- OutputSimpleError("Insufficient credits.")+ OutputSimpleError("Insufficient credits")res, err := ConfirmYesNo("Go to billing settings?")if err != nil {OutputErrorAndExit("error getting confirmation")@@ -177,7 +177,7 @@ func HandleApiError(apiError *shared.ApiError) {os.Exit(0)}} else {- OutputErrorAndExit("Insufficient credits.")+ OutputErrorAndExit("Insufficient credits")}}diff --git a/app/cli/types/api.go b/app/cli/types/api.goindex efd2c509..68c0b188 100644--- a/app/cli/types/api.go+++ b/app/cli/types/api.go@@ -1,6 +1,7 @@package typesimport (+ "context"shared "plandex-shared")@@ -110,5 +111,5 @@ type ApiClient interface {GetCreditsTransactions(pageSize, pageNum int) (*shared.CreditsLogResponse, *shared.ApiError)GetFileMap(req shared.GetFileMapRequest) (*shared.GetFileMapResponse, *shared.ApiError)GetContextBody(planId, branch, contextId string) (*shared.GetContextBodyResponse, *shared.ApiError)- AutoLoadContext(planId, branch string, req shared.LoadContextRequest) (*shared.LoadContextResponse, *shared.ApiError)+ AutoLoadContext(ctx context.Context, planId, branch string, req shared.LoadContextRequest) (*shared.LoadContextResponse, *shared.ApiError)}diff --git a/app/server/handlers/plans_exec.go b/app/server/handlers/plans_exec.goindex 36f68fd5..2863f9dd 100644--- a/app/server/handlers/plans_exec.go+++ b/app/server/handlers/plans_exec.go@@ -18,8 +18,6 @@ import ("github.com/gorilla/mux")-const TrialMaxReplies = 10-func TellPlanHandler(w http.ResponseWriter, r *http.Request) {log.Println("Received request for TellPlanHandler", "ip:", host.Ip)diff --git a/app/server/main.go b/app/server/main.goindex cc941ed1..6c3e094e 100644--- a/app/server/main.go+++ b/app/server/main.go@@ -10,7 +10,7 @@ import (func main() {// Configure the default logger to include milliseconds in timestamps- log.SetFlags(log.LstdFlags | log.Lmicroseconds | log.Llongfile)+ log.SetFlags(log.LstdFlags | log.Lmicroseconds | log.Lshortfile)r := mux.NewRouter()routes.AddHealthRoutes(r)diff --git a/app/server/model/plan/commit_msg.go b/app/server/model/plan/commit_msg.goindex 6aad1695..d9362516 100644--- a/app/server/model/plan/commit_msg.go+++ b/app/server/model/plan/commit_msg.go@@ -6,6 +6,7 @@ import ("errors""fmt""log"+ "net/http""plandex-server/db""plandex-server/hooks""plandex-server/model"@@ -18,7 +19,7 @@ import ("github.com/sashabaranov/go-openai")-func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescription, error) {+func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescription, *shared.ApiError) {auth := state.authplan := state.planplanId := plan.Id@@ -29,7 +30,11 @@ func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescriactivePlan := GetActivePlan(planId, branch)if activePlan == nil {- return nil, fmt.Errorf("active plan not found")+ return nil, &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: fmt.Sprintf("active plan not found for plan %s and branch %s", planId, branch),+ }}messages := []openai.ChatCompletionMessage{@@ -55,7 +60,7 @@ func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescri},})if apiErr != nil {- return nil, errors.New(apiErr.Msg)+ return nil, apiErr}log.Println("Sending plan description model request")@@ -86,7 +91,11 @@ func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescriif err != nil {fmt.Printf("Error during plan description model call: %v\n", err)- return nil, err+ return nil, &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: fmt.Sprintf("error during plan description model call: %v", err),+ }}log.Println("Plan description model call complete")@@ -144,7 +153,11 @@ func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescrispew.Dump(descResp)- return nil, fmt.Errorf("No describePlan function call found in response. This usually means the model failed to generate a valid response.")+ return nil, &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: "No describePlan function call found in response. This usually means the model failed to generate a valid response.",+ }}descByteRes := []byte(descStrRes)@@ -152,7 +165,11 @@ func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessageDescrierr = json.Unmarshal(descByteRes, &desc)if err != nil {fmt.Printf("Error unmarshalling plan description response: %v\n", err)- return nil, err+ return nil, &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: fmt.Sprintf("error unmarshalling plan description response: %v", err),+ }}return &db.ConvoMessageDescription{diff --git a/app/server/model/plan/exec_status.go b/app/server/model/plan/exec_status.goindex 67c40084..9410f311 100644--- a/app/server/model/plan/exec_status.go+++ b/app/server/model/plan/exec_status.go@@ -17,7 +17,7 @@ import ("github.com/sashabaranov/go-openai")-func (state *activeTellStreamState) execStatusShouldContinue(message string, ctx context.Context) (bool, bool, error) {+func (state *activeTellStreamState) execStatusShouldContinue(message string, ctx context.Context) (bool, bool, *shared.ApiError) {auth := state.authplan := state.plansettings := state.settings@@ -63,7 +63,7 @@ func (state *activeTellStreamState) execStatusShouldContinue(message string, ctx},})if apiErr != nil {- return false, false, fmt.Errorf("error executing hook: %v", apiErr)+ return false, false, apiErr}log.Println("Calling model to check if plan should continue")diff --git a/app/server/model/plan/state.go b/app/server/model/plan/state.goindex 7b5f16e7..93a1e7ea 100644--- a/app/server/model/plan/state.go+++ b/app/server/model/plan/state.go@@ -64,6 +64,7 @@ func CreateActivePlan(orgId, userId, planId, branch, prompt string, buildOnly, aType: shared.StreamMessageError,Error: apiErr,})+ activePlan.FlushStreamBuffer()log.Println("Stopping any active summary stream")activePlan.SummaryCancelFn()diff --git a/app/server/model/plan/tell_stream_error.go b/app/server/model/plan/tell_stream_error.goindex a86a9670..6d44e67a 100644--- a/app/server/model/plan/tell_stream_error.go+++ b/app/server/model/plan/tell_stream_error.go@@ -14,6 +14,7 @@ import (type onErrorParams struct {streamErr error+ streamApiErr *shared.ApiErrorstoreDesc boolconvoMessageId stringcommitMsg string@@ -157,15 +158,19 @@ func (state *activeTellStreamState) onError(params onErrorParams) onErrorResultstoreDescAndReply()- msg := "Stream error: " + streamErr.Error()- if params.canRetry && numRetries >= NumTellStreamRetries {- msg += " | Failed after " + strconv.Itoa(numRetries) + " retries."- }+ if params.streamApiErr != nil {+ active.StreamDoneCh <- params.streamApiErr+ } else {+ msg := "Stream error: " + streamErr.Error()+ if params.canRetry && numRetries >= NumTellStreamRetries {+ msg += " | Failed after " + strconv.Itoa(numRetries) + " retries."+ }- active.StreamDoneCh <- &shared.ApiError{- Type: shared.ApiErrorTypeOther,- Status: http.StatusInternalServerError,- Msg: msg,+ active.StreamDoneCh <- &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: msg,+ }}return onErrorResult{diff --git a/app/server/model/plan/tell_stream_finish.go b/app/server/model/plan/tell_stream_finish.goindex 68f401d2..46e81abc 100644--- a/app/server/model/plan/tell_stream_finish.go+++ b/app/server/model/plan/tell_stream_finish.go@@ -112,11 +112,7 @@ func (state *activeTellStreamState) handleStreamFinished() handleStreamFinishedRif err != nil {log.Printf("Error summarizing convo: %v\n", err)- active.StreamDoneCh <- &shared.ApiError{- Type: shared.ApiErrorTypeOther,- Status: http.StatusInternalServerError,- Msg: fmt.Sprintf("Error summarizing convo: %v", err),- }+ active.StreamDoneCh <- err}}()@@ -283,7 +279,7 @@ func (state *activeTellStreamState) handleDescAndExecStatus(autoLoadContextFilesvar shouldContinue boolvar subtaskFinished bool- var errCh = make(chan error, 2)+ var errCh = make(chan *shared.ApiError, 2)go func() {if len(replyOperations) > 0 {@@ -291,7 +287,7 @@ func (state *activeTellStreamState) handleDescAndExecStatus(autoLoadContextFilesres, err := state.genPlanDescription()if err != nil {- errCh <- fmt.Errorf("failed to generate plan description: %v", err)+ errCh <- errreturn}@@ -324,10 +320,10 @@ func (state *activeTellStreamState) handleDescAndExecStatus(autoLoadContextFiles} else {go func() {log.Println("Getting exec status")- var err error+ var err *shared.ApiErrorsubtaskFinished, shouldContinue, err = state.execStatusShouldContinue(active.CurrentReplyContent, active.Ctx)if err != nil {- errCh <- fmt.Errorf("failed to get exec status: %v", err)+ errCh <- errreturn}@@ -341,8 +337,8 @@ func (state *activeTellStreamState) handleDescAndExecStatus(autoLoadContextFileserr := <-errChif err != nil {res := state.onError(onErrorParams{- streamErr: err,- storeDesc: true,+ streamApiErr: err,+ storeDesc: true,})return handleDescAndExecStatusResult{handleStreamFinishedResult: handleStreamFinishedResult{diff --git a/app/server/model/plan/tell_summary.go b/app/server/model/plan/tell_summary.goindex ae093ac1..5fc38ecf 100644--- a/app/server/model/plan/tell_summary.go+++ b/app/server/model/plan/tell_summary.go@@ -196,7 +196,7 @@ type summarizeConvoParams struct {modelPackName string}-func summarizeConvo(clients map[string]model.ClientInfo, config shared.ModelRoleConfig, params summarizeConvoParams, ctx context.Context) error {+func summarizeConvo(clients map[string]model.ClientInfo, config shared.ModelRoleConfig, params summarizeConvoParams, ctx context.Context) *shared.ApiError {plan := params.planplanId := plan.Idlog.Printf("summarizeConvo: Called for plan ID %s on branch %s\n", planId, params.branch)@@ -211,7 +211,11 @@ func summarizeConvo(clients map[string]model.ClientInfo, config shared.ModelRoleif active == nil {log.Printf("Active plan not found for plan ID %s and branch %s\n", planId, branch)- return fmt.Errorf("active plan not found for plan ID %s and branch %s", planId, branch)+ return &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: fmt.Sprintf("active plan not found for plan ID %s and branch %s", planId, branch),+ }}log.Println("Generating plan summary for planId:", planId)@@ -315,7 +319,7 @@ func summarizeConvo(clients map[string]model.ClientInfo, config shared.ModelRole// latestSummaryCh := make(chan *db.ConvoSummary, 1)// active.LatestSummaryCh = latestSummaryCh- summary, err := model.PlanSummary(clients, config, model.PlanSummaryParams{+ summary, apiErr := model.PlanSummary(clients, config, model.PlanSummaryParams{Conversation: summaryMessages,ConversationNumTokens: numTokens,LatestConvoMessageId: latestMessageId,@@ -327,9 +331,9 @@ func summarizeConvo(clients map[string]model.ClientInfo, config shared.ModelRoleActivePlan: active,}, ctx)- if err != nil {- log.Printf("summarizeConvo: Error generating plan summary for plan %s: %v\n", planId, err)- return err+ if apiErr != nil {+ log.Printf("summarizeConvo: Error generating plan summary for plan %s: %v\n", planId, apiErr)+ return apiErr}log.Printf("summarizeConvo: Summary generated and stored for plan %s\n", planId)@@ -337,11 +341,15 @@ func summarizeConvo(clients map[string]model.ClientInfo, config shared.ModelRole// log.Println("Generated summary:")// spew.Dump(summary)- err = db.StoreSummary(summary)+ err := db.StoreSummary(summary)if err != nil {log.Printf("Error storing plan summary for plan %s: %v\n", planId, err)- return err+ return &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: fmt.Sprintf("error storing plan summary for plan %s: %v", planId, err),+ }}// latestSummaryCh <- summarydiff --git a/app/server/model/summarize.go b/app/server/model/summarize.goindex 4d22b963..950bbb17 100644--- a/app/server/model/summarize.go+++ b/app/server/model/summarize.go@@ -2,9 +2,9 @@ package modelimport ("context"- "errors""fmt""log"+ "net/http""plandex-server/db""plandex-server/hooks""plandex-server/model/prompts"@@ -29,7 +29,7 @@ type PlanSummaryParams struct {NumMessages int}-func PlanSummary(clients map[string]ClientInfo, config shared.ModelRoleConfig, params PlanSummaryParams, ctx context.Context) (*db.ConvoSummary, error) {+func PlanSummary(clients map[string]ClientInfo, config shared.ModelRoleConfig, params PlanSummaryParams, ctx context.Context) (*db.ConvoSummary, *shared.ApiError) {messages := []openai.ChatCompletionMessage{{Role: openai.ChatMessageRoleSystem,@@ -58,7 +58,7 @@ func PlanSummary(clients map[string]ClientInfo, config shared.ModelRoleConfig, p},})if apiErr != nil {- return nil, errors.New(apiErr.Msg)+ return nil, apiErr}fmt.Println("summarizing messages:")@@ -79,11 +79,19 @@ func PlanSummary(clients map[string]ClientInfo, config shared.ModelRoleConfig, pif err != nil {fmt.Println("PlanSummary err:", err)- return nil, err+ return nil, &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: fmt.Sprintf("error generating plan summary: %v", err),+ }}if len(resp.Choices) == 0 {- return nil, fmt.Errorf("plan summary - no choices in response. This usually means the model failed to generate a valid response.")+ return nil, &shared.ApiError{+ Type: shared.ApiErrorTypeOther,+ Status: http.StatusInternalServerError,+ Msg: "plan summary - no choices in response. This usually means the model failed to generate a valid response.",+ }}content := resp.Choices[0].Message.Content@@ -124,7 +132,7 @@ func PlanSummary(clients map[string]ClientInfo, config shared.ModelRoleConfig, p}()if apiErr != nil {- return nil, errors.New(apiErr.Msg)+ return nil, apiErr}// log.Println("Plan summary content:")diff --git a/app/server/setup/setup.go b/app/server/setup/setup.goindex 85f1e9c0..ed0d1156 100644--- a/app/server/setup/setup.go+++ b/app/server/setup/setup.go@@ -50,12 +50,9 @@ func loggingMiddleware(next http.Handler) http.Handler {return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {start := time.Now()- log.Println()- log.Printf("Request: %s %s", r.Method, r.URL.Path)+ log.Printf("\n\nRequest: %s %s\n\n", r.Method, r.URL.Path)next.ServeHTTP(w, r)- log.Printf("Completed: %s %s in %v", r.Method, r.URL.Path, time.Since(start))- log.Println()- log.Println()+ log.Printf("\n\nCompleted: %s %s in %v\n\n", r.Method, r.URL.Path, time.Since(start))})}diff --git a/app/server/types/active_plan.go b/app/server/types/active_plan.goindex efef94e4..b879cdd9 100644--- a/app/server/types/active_plan.go+++ b/app/server/types/active_plan.go@@ -193,7 +193,7 @@ func (ap *ActivePlan) Stream(msg shared.StreamMessage) {ap.streamMu.Lock()skipBuffer := false- if msg.Type == shared.StreamMessagePromptMissingFile || msg.Type == shared.StreamMessageFinished {+ if msg.Type == shared.StreamMessagePromptMissingFile || msg.Type == shared.StreamMessageFinished || msg.Type == shared.StreamMessageError {skipBuffer = true}diff --git a/plandex-cursor.code-workspace b/plandex-cursor.code-workspacedeleted file mode 100644index 71834411..00000000--- a/plandex-cursor.code-workspace+++ /dev/null@@ -1,57 +0,0 @@-{- "folders": [- {- "name": "plandex",- "path": "."- },- {- "name": "static",- "path": "static"- },- {- "name": "infra",- "path": "infra"- },- {- "name": "docs",- "path": "docs"- },- {- "name": "cli",- "path": "app/cli"- },- {- "name": "server",- "path": "app/server"- },- {- "name": "shared",- "path": "app/shared"- },- {- "name": "cloud",- "path": "app/server/cloud"- },- {- "name": "node",- "path": "app/server/cloud/ui/node"- },- {- "name": "vscode",- "path": "vscode"- },- {- "path": "../go-prompt"- },- {- "path": "../survey"- },- {- "path": "../bubbletea"- }- ],- "settings": {- "git.ignoreLimitWarning": true,- "git.enabled": false- }-}