Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
当前,保存的配置文件名为纯数字时间戳,如
1709263480595.toml
。这种命名方式容易混淆,难以区分不同的配置文件。为了改善这一点,我对相关代码进行了修改,使保存的配置文件名包含
output_name
前缀,格式为[output_name]_[timestamp].toml
。例如,如果output_name
为 "model",保存的配置文件名将变为 "model_1709263480595.toml"。这种命名方式更加直观,便于识别和管理不同的配置文件。
修改详情
api.py
文件中,修改了toml_file的命名,确保下载的配置文件名也包含了output_name
前缀。修改了 #364