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
Handle file paths with ### prefixes, closes #77
Dane Schneider5e591f40d67b
diff --git a/app/server/types/reply.go b/app/server/types/reply.goindex 4ae93868..b17ff0b3 100644--- a/app/server/types/reply.go+++ b/app/server/types/reply.go@@ -234,6 +234,9 @@ func extractFilePath(line string) string {p = strings.ReplaceAll(p, "'", "")p = strings.ReplaceAll(p, `"`, "")p = strings.TrimPrefix(p, "-")+ p = strings.TrimPrefix(p, "###")+ p = strings.TrimPrefix(p, "##")+ p = strings.TrimPrefix(p, "#")p = strings.TrimSpace(p)p = strings.TrimPrefix(p, "file:")p = strings.TrimPrefix(p, "file path:")diff --git a/releases/server/versions/0.8.4.md b/releases/server/versions/0.8.4.mdindex 9ed64182..e4acba87 100644--- a/releases/server/versions/0.8.4.md+++ b/releases/server/versions/0.8.4.md@@ -1,2 +1,3 @@- Add support for new OpenAI models: `gpt-4-turbo` and `gpt-4-turbo-2024-04-09` -- these models haven't been set as defaults yet since they need more testing, but can be used with the `set-model` command-- Fix for handling files that are loaded into context and later deleted from the file system (https://github.com/plandex-ai/plandex/issues/47)\ No newline at end of file+- Fix for handling files that are loaded into context and later deleted from the file system (https://github.com/plandex-ai/plandex/issues/47)+- Handle file paths with ### prefixes (https://github.com/plandex-ai/plandex/issues/77)\ No newline at end of file