Skip to content

Commit 83c1ee8

Browse files
committed
refactor: update file pattern definitions for modelfile
Move text files from ignored list to documentation section, improving file inclusion logic for model-related files Signed-off-by: Zhao Chen <[email protected]>
1 parent 4218bdc commit 83c1ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/modelfile/modelfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ var (
105105
"*.toml", // TOML configuration files
106106
"*.ini", // INI configuration files
107107
"*.config", // Generic config files
108-
"*.txt", // Text files
109108
"*.modelcard", // Model card metadata
110109
"*.meta", // Model metadata
111110

112111
// Documentation files
113112
"*.md", // Markdown documentation
113+
"*.txt", // Text files
114114
"LICENSE*", // License files
115115
"README*", // Project documentation
116116
"SETUP*", // Setup instructions

0 commit comments

Comments
 (0)