Bugfix in the built-in prompt references definition

This commit is contained in:
2026-07-05 18:48:45 -05:00
parent 7d4c027d09
commit 3df686f474
13 changed files with 274 additions and 46 deletions

View File

@@ -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)