Skip to content

chore: model sync skill adds new models and always bumps minor - #8

Merged
amaan-ai20 merged 1 commit into
mainfrom
chore/model-sync-add-models-minor-bumps
Sep 17, 2026
Merged

amaan-ai20 merged 1 commit into
mainfrom
chore/model-sync-add-models-minor-bumps

Conversation

@amaan-ai20

Copy link
Copy Markdown
Collaborator

Updates .claude/skills/model-sync so each sync leaves langchain-zerogpu fully in sync with https://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 → ZeroGPUReasonCodeTool
    • Summarization → ZeroGPUSummarizeTool
    • Text Classification → ZeroGPUClassifyDomainTool
    • PII → ZeroGPUExtractPIITool

    The copy keeps the template's input schema and endpoint, with a MODEL_* constant, class name and name that follow the existing pattern. Its description comes from API facts only. It is added to ALL_TOOL_CLASSES, __init__.py, the README, the tests and the tool counts.

  • Embedding and moderation models get no tool. _client.py only calls the Responses and Chat Completions endpoints, and those models answer only on their own. The audit lists them as NOTE lines.

  • Audit script. Models no tool calls are now ADD findings that name the template to copy, so --strict fails 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-flash and llama-guard-4-12b (Text Generation) and zlm-v1-signal-extract (Text Classification). The embedding and moderation models are listed as NOTE lines.

Note

RELEASING.md still describes patch and major bumps. The skill now overrides that for syncs.

🤖 Generated with Claude Code

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>
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: f8c9e75a-a950-462d-b6bb-a32aee6f4167


Comment @coderabbitai help to get the list of available commands.

@amaan-ai20
amaan-ai20 merged commit b06f563 into main Sep 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant