From 6609cfa159af38d416e25278bda133927e1fb398 Mon Sep 17 00:00:00 2001 From: Jim Clark Date: Wed, 14 Aug 2024 16:42:48 -0700 Subject: [PATCH] Update project_facts with linguist convention --- extractors/registry.edn | 2 +- extractors/registry.yaml | 2 +- prompts/project_type/100_user_prompt.md | 4 ++-- prompts/project_type/README.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extractors/registry.edn b/extractors/registry.edn index bd0fe4f..4c97d3f 100644 --- a/extractors/registry.edn +++ b/extractors/registry.edn @@ -6,7 +6,7 @@ "none" "--workspace" "/project"]} - {:name "go-linguist", + {:name "linguist", :image "vonwig/go-linguist:latest", :command ["-json"], :output-handler "linguist"}]} diff --git a/extractors/registry.yaml b/extractors/registry.yaml index 28bdf6c..41a2bb7 100644 --- a/extractors/registry.yaml +++ b/extractors/registry.yaml @@ -8,7 +8,7 @@ registry: - none - --workspace - /docker - - name: go-linguist + - name: linguist image: vonwig/go-linguist:latest command: - -json diff --git a/prompts/project_type/100_user_prompt.md b/prompts/project_type/100_user_prompt.md index 72c074b..3529550 100644 --- a/prompts/project_type/100_user_prompt.md +++ b/prompts/project_type/100_user_prompt.md @@ -6,9 +6,9 @@ This project contains {{language}} code. Here is a list of files that are currently versioned in this project: -{{#project.files}} +{{#project-facts.files}} * {{.}} -{{/project.files}} +{{/project-facts.files}} Use this list of files and the languages that we've detected in the project to figure out what kind of projects this is. It is okay if it appears to be a combination diff --git a/prompts/project_type/README.md b/prompts/project_type/README.md index df78ff5..98ab259 100644 --- a/prompts/project_type/README.md +++ b/prompts/project_type/README.md @@ -1,6 +1,6 @@ --- extractors: - - name: go-linguist + - name: linguist - name: project-facts model: gpt-4 stream: true