Skip to content

Commit

Permalink
Update project_facts with linguist convention
Browse files Browse the repository at this point in the history
  • Loading branch information
slimslenderslacks committed Aug 14, 2024
1 parent 7023789 commit 6609cfa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extractors/registry.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"none"
"--workspace"
"/project"]}
{:name "go-linguist",
{:name "linguist",
:image "vonwig/go-linguist:latest",
:command ["-json"],
:output-handler "linguist"}]}
2 changes: 1 addition & 1 deletion extractors/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ registry:
- none
- --workspace
- /docker
- name: go-linguist
- name: linguist
image: vonwig/go-linguist:latest
command:
- -json
Expand Down
4 changes: 2 additions & 2 deletions prompts/project_type/100_user_prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion prompts/project_type/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
extractors:
- name: go-linguist
- name: linguist
- name: project-facts
model: gpt-4
stream: true
Expand Down

0 comments on commit 6609cfa

Please sign in to comment.