Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modelstudioai/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.14.2
Choose a base ref
...
head repository: modelstudioai/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.14.3
Choose a head ref
  • 3 commits
  • 17 files changed
  • 1 contributor

Commits on Aug 12, 2026

  1. refactor(usage): consolidate shared poll logic; migrate freeTrial API…

    …s to bailian-commerce
    
    Dedup:
    - shared.ts: extract generic pollConsoleUntilDone (request-builder callback
      absorbs each wrapper convention); pollTelemetryApi becomes a thin wrapper;
      add pollFreeTierBatch
    - freetier.ts / stats.ts: drop inline duplicates of extractResponseData,
      polling, model-list paging, free-tier extractors and usage label maps;
      import from shared.ts (behaviour unchanged: freetier keeps its 20-poll
      budget, telemetry keeps 30)
    
    Endpoint migration (broadscope-bailian.freeTrial -> bailian-commerce.freeTrial):
    - queryFreeTierQuota, queryFreeTierOnlyStatus, batchActivateFreeTierOnly,
      batchDeactivateFreeTierOnly
    - update the console call example and the gateway doc comment to match
    
    Note: verified statically and via dry-run; live calls pending a fresh
    console login (session expired).
    gujieye committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    69eb759 View commit details
    Browse the repository at this point in the history
  2. fix: 1.14.3

    gujieye committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    61d9a74 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #148 from modelstudioai/feat/usage_free_api

    refactor(usage): consolidate shared poll logic; migrate freeTrial API…
    gujieye authored Aug 12, 2026
    Configuration menu
    Copy the full SHA
    0e4dd4b View commit details
    Browse the repository at this point in the history
Loading