Skip to content

fix(requesty): filter provider models to account-approved list - #1

Open
techteam-pro-discount wants to merge 191 commits into
devfrom
fix/requesty-models
Open

techteam-pro-discount wants to merge 191 commits into
devfrom
fix/requesty-models

Conversation

@techteam-pro-discount

Copy link
Copy Markdown

Issue for this PR

Closes anomalyco#16344

Type of change

  • Bug fix

What does this PR do?

The Requesty provider currently only shows models from the models.dev snapshot. However, users can enable additional models in their Requesty account (like minimax-2.7, gemini-2.5-pro, etc.) which don't appear in opencode.

The fix:

  1. Fetches /models from Requesty API using the user's API key
  2. Filters known models from snapshot - only approved ones remain visible
  3. Adds new models (not in snapshot) via discoverModels

How did you verify your code works?

  • Added unit test in test/provider/provider.test.ts - verifies discovered models appear
  • All 240 provider tests pass
  • Tested locally with dev build

techteam-pro-discount and others added 30 commits April 1, 2026 14:16
…malyco#18308)

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
…ls from github models endpoint (falls back to models.dev) (anomalyco#20533)
nexxeln and others added 30 commits April 7, 2026 10:15
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
# Conflicts:
#	packages/opencode/src/provider/provider.ts
#	packages/opencode/test/provider/provider.test.ts
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.

Requesty provider does not load approved models