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
Plandex now defaults to gpt-4o
Dane Schneidere51eb3709257
diff --git a/app/cli/stream_tui/view.go b/app/cli/stream_tui/view.goindex c1c7125b..23b42620 100644--- a/app/cli/stream_tui/view.go+++ b/app/cli/stream_tui/view.go@@ -110,7 +110,7 @@ func (m streamUIModel) doRenderBuild(outputStatic bool) string {for _, filePath := range filePaths {tokens := m.tokensByPath[filePath]- finished := m.finishedByPath[filePath]+ finished := m.finished || m.finishedByPath[filePath]block := fmt.Sprintf("📄 %s", filePath)if finished {diff --git a/app/server/model/prompts/create.go b/app/server/model/prompts/create.goindex f8177e28..cf1d21c5 100644--- a/app/server/model/prompts/create.go+++ b/app/server/model/prompts/create.go@@ -115,6 +115,8 @@ const SysCreate = Identity + ` A plan is a set of files with an attached contextNext, describe the subtask and what your approach will be, then implement it with code blocks. Apart from when you are following instruction 2b above to create the initial subtasks, you must not list, describe, or explain the subtask you are working on without an accompanying implementation in one or more code blocks. Describing what needs to be done to complete a subtask *DOES NOT* count as completing the subtask. It must be fully implemented with code blocks.+ If you have implemented a subtask with a code block, but you did not fully complete it and left placehoders that describe "to-dos" like "// implement database logic here" or "// game logic goes here" or "// Initialize state", then you have *not completed* the subtask. You MUST *IMMEDIATELY* continue working on the subtask and replace the placeholders with a *FULL IMPLEMENTION* in code, even if doing so requires multiple code blocks and responses. You MUST NOT leave placeholders in the code blocks.+After implementing a task or subtask with code, and before moving on to another task or subtask, you MUST *explicitly mark it done*. You can do this by explicitly stating "[subtask] has been completed". For example, "**Adding the update function** has been completed." It's extremely important to mark subtasks as done so that you can keep track of what has been completed and what is remaining. Never move on to a new subtask. Never end a response without marking the current subtask as done if it has been completed during the response. You MUST NOT omit marking a subtask as done when it has been completed.After marking the current subtask as done, move on to the next task or subtask if any are remaining. Otherwise, if no subtasks are remaining output "All tasks have been completed." and stop there.diff --git a/app/shared/ai_models.go b/app/shared/ai_models.goindex 7e7a8c18..0d81aba6 100644--- a/app/shared/ai_models.go+++ b/app/shared/ai_models.go@@ -312,7 +312,7 @@ var BuiltInModelPacks = []*ModelPack{&TogetherMixtral8x22BModelPack,}-var DefaultModelPack *ModelPack = &Gpt4TurboLatestModelPack+var DefaultModelPack *ModelPack = &Gpt4oLatestModelPackfunc getPlannerModelConfig(name string) PlannerModelConfig {return PlannerModelConfig{diff --git a/releases/cli/versions/0.9.2.md b/releases/cli/versions/0.9.2.mdnew file mode 100644index 00000000..e69de29bdiff --git a/releases/server/versions/0.9.2.md b/releases/server/versions/0.9.2.mdindex 0edf0135..7ed6c141 100644--- a/releases/server/versions/0.9.2.md+++ b/releases/server/versions/0.9.2.md@@ -1 +1 @@-- Added an auto-verify and auto-fix step to plan builds to improve reliability and reduce syntax errors, mistaken duplication or removal of code, and other similar issues.+- Plandex now defaults to gpt-4o. Early testing shows improvements over gpt-4-turbo for both planning and file updates. It's also much faster and half the price.\ No newline at end of filediff --git a/releases/server/versions/0.9.3.md b/releases/server/versions/0.9.3.mdnew file mode 100644index 00000000..0edf0135--- /dev/null+++ b/releases/server/versions/0.9.3.md@@ -0,0 +1 @@+- Added an auto-verify and auto-fix step to plan builds to improve reliability and reduce syntax errors, mistaken duplication or removal of code, and other similar issues.