Skip to content

Commit 92a68bd

Browse files
unamedkrclaude
andcommitted
Fix: tq_convert runs without arguments (auto-detect mode)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8e0e2b8 commit 92a68bd

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tools/tq_convert.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ static void print_usage(const char* prog) {
3232
}
3333

3434
int main(int argc, char** argv) {
35-
if (argc < 2) {
36-
print_usage(argv[0]);
37-
return 1;
38-
}
35+
/* argc < 2 is OK — auto-detect will find model */
3936

4037
const char* model_path = NULL;
4138
const char* tokenizer_path = NULL;

0 commit comments

Comments
 (0)