Skip to content

chore: update model catalog - #42

Merged
riipandi merged 1 commit into
mainfrom
update-models
Aug 28, 2026
Merged

riipandi merged 1 commit into
mainfrom
update-models

Conversation

@riipandi

Copy link
Copy Markdown
Owner

Summary

Kind

  • Bug fix
  • Feature
  • Docs
  • Other (CI / refactor / pi port)

Tested

Update docs/ in this PR if CLI, crate API, config, or user-visible behavior changed.

@netlify

netlify Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for elph ready!

Name Link
🔨 Latest commit 2ee6925
🔍 Latest deploy log https://app.netlify.com/projects/elph/deploys/6a916918f898e40008fc7810
😎 Deploy Preview https://deploy-preview-42--elph.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@riipandi
riipandi merged commit 0cf7222 into main Aug 28, 2026
7 of 8 checks passed
@riipandi
riipandi deleted the update-models branch August 28, 2026 10:55

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes — a routine model catalog refresh. 23 of 24 changed files are regenerated crates/elph-ai/models/*.json; the single code change is in the generator.

  • generate_models/pricing.rs — extracted parse_live_probe_body from fetch_live_provider_data (behavior-preserving refactor) and extended the live /models probe to read OpenRouter's context_length (fallback) and top_provider.max_completion_tokens (fallback). Covered by a new test asserting exact values for both the OpenRouter and OpenAI-compatible shapes.
  • Catalog JSON diffs — provider pricing/limits/description refreshes across 23 provider files plus index.json count updates.

I recomputed each changed provider's model count against its JSON (the index.json count must balance with the file's model keys) — all match: fireworks 17, huggingface 133, infron 289, kilo 368, nara 55, nvidia 103, ollama-cloud 18, opencode-go 32, openrouter 387, orca 191, wafer 6. Count arithmetic is internally consistent.

Pullfrog  | View workflow run | Using DeepSeek Flash | 𝕏

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