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