Bugfix in the built-in prompt references definition
This commit is contained in:
@@ -175,6 +175,9 @@ func referenceMediaTypeForPath(path string) string {
|
||||
if extension == ".md" || extension == ".markdown" {
|
||||
return "text/markdown"
|
||||
}
|
||||
if extension == ".yaml" || extension == ".yml" {
|
||||
return "application/yaml"
|
||||
}
|
||||
return unknownMediaType
|
||||
}
|
||||
return canonicalMediaType(mediaType)
|
||||
|
||||
Reference in New Issue
Block a user