Skip to content

Commit d57872e

Browse files
Do not generate Chat Completion types anymore (#3231)
Co-authored-by: célina <hanouticelina@gmail.com>
1 parent e06eac3 commit d57872e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/update-inference-types.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
# Copy Python types to huggingface_hub
5353
- run: cp -r ./huggingface.js/packages/tasks/.python_generated/* ./huggingface_hub/src/huggingface_hub/inference/_generated/types
5454

55+
# Do not auto-generate chat completion types (now manually maintained)
56+
- run: git checkout ./src/huggingface_hub/inference/_generated/types/chat_completion.py
57+
working-directory: ./huggingface_hub
58+
5559
# Post-process
5660
- run: make inference_update
5761
working-directory: ./huggingface_hub

0 commit comments

Comments
 (0)