File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2929 run : |
3030 python -m scripts.generate_json_schema_config
3131
32+ - name : Check for changes in JSON Schema
33+ run : |
34+ if ! git diff docs/optimizer_config.schema.json; then
35+ echo "Error: docs/optimizer_config.schema.json has been modified after running the generator script."
36+ else
37+ echo "No changes detected in docs/optimizer_config.schema.json."
38+ exit 0
39+ fi
40+
3241 - name : Commit and push changes
33- if : env.changed == 'true'
3442 env :
3543 GITHUB_TOKEN : ${{ github.token }}
3644 run : |
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class Intent(BaseModel):
128128
129129
130130class ModelConfig (BaseModel ):
131- batch_size : PositiveInt = Field (32 , description = "Batch size for model inference." )
131+ batch_size : PositiveInt = Field (32 , description = "Batch size for model inference. test " )
132132 max_length : PositiveInt | None = Field (None , description = "Maximum length of input sequences." )
133133
134134
You can’t perform that action at this time.
0 commit comments