Skip to content

feat(sync): add Requesty as automated sync provider#1846

Open
Thibault00 wants to merge 1 commit into
anomalyco:devfrom
Thibault00:feat/sync-requesty
Open

feat(sync): add Requesty as automated sync provider#1846
Thibault00 wants to merge 1 commit into
anomalyco:devfrom
Thibault00:feat/sync-requesty

Conversation

@Thibault00
Copy link
Copy Markdown

Summary

  • Adds Requesty as an automated sync provider using the public /v1/models catalog endpoint
  • Follows the same pattern as the existing OpenRouter sync provider
  • Registers Requesty in the aggregators sync group so it runs on the hourly cron
  • Adds REQUESTY_API_KEY to the sync workflow environment (optional, catalog is public)
  • Initial sync run: 267 models across all Requesty-supported providers (anthropic, openai, google, xai, deepseek, mistral, vertex, bedrock, azure, etc.)

How it works

The Requesty /v1/models endpoint returns the full public model catalog with pricing, context windows, and capability flags. The sync script:

  1. Fetches the public catalog (no auth required for the full list)
  2. Filters out region-specific variants (models with @region suffixes)
  3. Maps models to canonical provider definitions where possible (using extends)
  4. Generates TOML files following the models.dev schema

Test plan

  • bun packages/core/script/sync-models.ts requesty --dry-run shows expected changes
  • bun packages/core/script/sync-models.ts requesty completes successfully
  • bun validate passes with exit code 0
  • Second dry run shows no changes (idempotent)

Add sync provider for Requesty model catalog using their public
/v1/models endpoint. Follows the same pattern as OpenRouter sync.
@rekram1-node
Copy link
Copy Markdown
Collaborator

ci fails

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.

2 participants