Repository navigation
chore: model sync skill adds new models and always bumps minor - #8
Merged
Merged
Conversation
The model-sync skill now keeps langchain-zerogpu fully in sync with the dashboard API, in both directions: - new loop 4 "add what is new": every API model no tool calls gets a tool copied from the closest existing tool, with exports, README, and tests; embedding and moderation models are skipped because the client has no endpoint for them - audit script reports those models as ADD findings, naming the template - every sync bumps the minor version (make bump-minor), including removals - CHANGELOG and PR templates gain an Added section Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Updates
.claude/skills/model-syncso each sync leaveslangchain-zerogpufully in sync withhttps://api-dashboard.zerogpu.ai/api/models, the source of truth.What changed
Adds models. New loop 4, Add what is new, runs after remove. Each API model that no tool calls gets a new tool, copied from the existing tool for its task:
Text Generation→ZeroGPUReasonCodeToolSummarization→ZeroGPUSummarizeToolText Classification→ZeroGPUClassifyDomainToolPII→ZeroGPUExtractPIIToolThe copy keeps the template's input schema and endpoint, with a
MODEL_*constant, class name andnamethat follow the existing pattern. Its description comes from API facts only. It is added toALL_TOOL_CLASSES,__init__.py, the README, the tests and the tool counts.Embedding and moderation models get no tool.
_client.pyonly calls the Responses and Chat Completions endpoints, and those models answer only on their own. The audit lists them asNOTElines.Audit script. Models no tool calls are now
ADDfindings that name the template to copy, so--strictfails until they're added.Always a minor bump. Every sync runs
make bump-minor, including tool removals. The patch/minor/major table is gone, and the changelog calls out a removed class.Templates. The CHANGELOG, commit and PR templates gain an Added section.
This PR changes nothing under
langchain_zerogpu/, so the release check needs no version bump.Live API check
The audit reports 3 models to add:
deepseek-v4.1-flashandllama-guard-4-12b(Text Generation) andzlm-v1-signal-extract(Text Classification). The embedding and moderation models are listed asNOTElines.Note
RELEASING.mdstill describes patch and major bumps. The skill now overrides that for syncs.🤖 Generated with Claude Code